]> git.saurik.com Git - wxWidgets.git/blob - configure
Implememt GetColoursCount() in the generic wxPalette.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.7.0'
274 PACKAGE_STRING='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG 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 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_GST_CFLAGS_set=${GST_CFLAGS+set}
850 ac_env_GST_CFLAGS_value=$GST_CFLAGS
851 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
852 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
853 ac_env_GST_LIBS_set=${GST_LIBS+set}
854 ac_env_GST_LIBS_value=$GST_LIBS
855 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
856 ac_cv_env_GST_LIBS_value=$GST_LIBS
857
858 #
859 # Report the --help message.
860 #
861 if test "$ac_init_help" = "long"; then
862 # Omit some internal or obsolete options to make the list less imposing.
863 # This message is too long to be a string in the A/UX 3.1 sh.
864 cat <<_ACEOF
865 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
866
867 Usage: $0 [OPTION]... [VAR=VALUE]...
868
869 To assign environment variables (e.g., CC, CFLAGS...), specify them as
870 VAR=VALUE. See below for descriptions of some of the useful variables.
871
872 Defaults for the options are specified in brackets.
873
874 Configuration:
875 -h, --help display this help and exit
876 --help=short display options specific to this package
877 --help=recursive display the short help of all the included packages
878 -V, --version display version information and exit
879 -q, --quiet, --silent do not print \`checking...' messages
880 --cache-file=FILE cache test results in FILE [disabled]
881 -C, --config-cache alias for \`--cache-file=config.cache'
882 -n, --no-create do not create output files
883 --srcdir=DIR find the sources in DIR [configure dir or \`..']
884
885 _ACEOF
886
887 cat <<_ACEOF
888 Installation directories:
889 --prefix=PREFIX install architecture-independent files in PREFIX
890 [$ac_default_prefix]
891 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
892 [PREFIX]
893
894 By default, \`make install' will install all the files in
895 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
896 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
897 for instance \`--prefix=\$HOME'.
898
899 For better control, use the options below.
900
901 Fine tuning of the installation directories:
902 --bindir=DIR user executables [EPREFIX/bin]
903 --sbindir=DIR system admin executables [EPREFIX/sbin]
904 --libexecdir=DIR program executables [EPREFIX/libexec]
905 --datadir=DIR read-only architecture-independent data [PREFIX/share]
906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
909 --libdir=DIR object code libraries [EPREFIX/lib]
910 --includedir=DIR C header files [PREFIX/include]
911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
912 --infodir=DIR info documentation [PREFIX/info]
913 --mandir=DIR man documentation [PREFIX/man]
914 _ACEOF
915
916 cat <<\_ACEOF
917
918 X features:
919 --x-includes=DIR X include files are in DIR
920 --x-libraries=DIR X library files are in DIR
921
922 System types:
923 --build=BUILD configure for building on BUILD [guessed]
924 --host=HOST cross-compile to build programs to run on HOST [BUILD]
925 --target=TARGET configure for building compilers for TARGET [HOST]
926 _ACEOF
927 fi
928
929 if test -n "$ac_init_help"; then
930 case $ac_init_help in
931 short | recursive ) echo "Configuration of wxWidgets 2.7.0:";;
932 esac
933 cat <<\_ACEOF
934
935 Optional Features:
936 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
937 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
938 --enable-gui use GUI classes
939 --enable-monolithic build wxWidgets as single library
940 --enable-plugins build parts of wxWidgets as loadable components
941 --enable-universal use wxWidgets GUI controls instead of native ones
942 --enable-nanox use NanoX
943 --disable-gtk2 use GTK+ 1.2 instead of 2.0
944 --enable-gpe use GNOME PDA Environment features if possible
945 --enable-shared create shared library code
946 --enable-optimise create optimised code
947 --enable-debug same as debug_flag and debug_info
948 --enable-stl use STL for containers
949 --enable-omf use OMF object format
950 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
951 --enable-debug_info create code with debugging information
952 --enable-debug_gdb create code with extra GDB debugging information
953 --enable-debug_cntxt use wxDebugContext
954 --enable-mem_tracing create code with memory tracing
955 --enable-profile create code with profiling information
956 --enable-no_rtti create code without RTTI information
957 --enable-no_exceptions create code without C++ exceptions handling
958 --enable-permissive compile code disregarding strict ANSI
959 --enable-no_deps create code without dependency information
960 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
961 --enable-compat24 enable wxWidgets 2.4 compatibility
962 --disable-compat26 disable wxWidgets 2.6 compatibility
963 --disable-rpath disable use of rpath for uninstalled builds
964 --enable-intl use internationalization system
965 --enable-config use wxConfig (and derived) classes
966 --enable-protocols use wxProtocol and derived classes
967 --enable-ftp use wxFTP (requires wxProtocol
968 --enable-http use wxHTTP (requires wxProtocol
969 --enable-fileproto use wxFileProto class (requires wxProtocol
970 --enable-sockets use socket/network classes
971 --enable-ole use OLE classes (Win32 only)
972 --enable-dataobj use data object classes
973 --enable-ipc use interprocess communication (wxSocket etc.)
974 --enable-apple_ieee use the Apple IEEE codec
975 --enable-arcstream use wxArchive streams
976 --enable-backtrace use wxStackWalker class for getting backtraces
977 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
978 --enable-cmdline use wxCmdLineParser class
979 --enable-datetime use wxDateTime class
980 --enable-debugreport use wxDebugReport class
981 --enable-dialupman use dialup network classes
982 --enable-dynlib use wxLibrary class for DLL loading
983 --enable-dynamicloader use (new) wxDynamicLibrary class
984 --enable-exceptions build exception-safe library
985 --enable-ffile use wxFFile class
986 --enable-file use wxFile class
987 --enable-filesystem use virtual file systems classes
988 --enable-fontmap use font encodings conversion classes
989 --enable-fs_inet use virtual HTTP/FTP filesystems
990 --enable-fs_zip use virtual ZIP filesystems
991 --enable-geometry use geometry class
992 --enable-log use logging system
993 --enable-longlong use wxLongLong class
994 --enable-mimetype use wxMimeTypesManager
995 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
996 --enable-snglinst use wxSingleInstanceChecker class
997 --enable-std_iostreams use standard C++ stream classes
998 --enable-std_string use standard C++ string classes
999 --enable-stdpaths use wxStandardPaths class
1000 --enable-stopwatch use wxStopWatch class
1001 --enable-streams use wxStream etc classes
1002 --enable-sysoptions use wxSystemOptions
1003 --enable-textbuf use wxTextBuffer class
1004 --enable-textfile use wxTextFile class
1005 --enable-timer use wxTimer class
1006 --enable-unicode compile wxString with Unicode support
1007 --enable-sound use wxSound class
1008 --enable-mediactrl use wxMediaCtrl class
1009 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1010 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1011 --enable-zipstream use wxZip streams
1012 --enable-url use wxURL class
1013 --enable-protocol use wxProtocol class
1014 --enable-protocol-http HTTP support in wxProtocol
1015 --enable-protocol-ftp FTP support in wxProtocol
1016 --enable-protocol-file FILE support in wxProtocol
1017 --enable-threads use threads
1018 --enable-docview use document view architecture
1019 --enable-help use help subsystem
1020 --enable-mshtmlhelp use MS HTML Help (win32)
1021 --enable-html use wxHTML sub-library
1022 --enable-htmlhelp use wxHTML-based help
1023 --enable-xrc use XRC resources sub-library
1024 --enable-aui use AUI docking library
1025 --enable-constraints use layout-constraints system
1026 --enable-printarch use printing architecture
1027 --enable-mdi use multiple document interface architecture
1028 --enable-mdidoc use docview architecture with MDI
1029 --enable-loggui use standard GUI logger
1030 --enable-logwin use wxLogWindow
1031 --enable-logdialog use wxLogDialog
1032 --enable-webkit use wxWebKitCtrl (Mac)
1033 --enable-richtext use wxRichTextCtrl
1034 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1035 --enable-prologio not available; see contrib
1036 --enable-resources not available; see contrib
1037 --enable-clipboard use wxClipboard class
1038 --enable-dnd use Drag'n'Drop classes
1039 --enable-metafile use win32 metafiles
1040 --enable-controls use all usual controls
1041 --enable-accel use accelerators
1042 --enable-button use wxButton class
1043 --enable-bmpbutton use wxBitmapButton class
1044 --enable-bmpcombobox use wxBitmapComboBox class
1045 --enable-calendar use wxCalendarCtrl class
1046 --enable-caret use wxCaret class
1047 --enable-checkbox use wxCheckBox class
1048 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1049 --enable-choice use wxChoice class
1050 --enable-choicebook use wxChoicebook class
1051 --enable-colourpicker use wxColourPickerCtrl class
1052 --enable-combobox use wxComboBox class
1053 --enable-comboctrl use wxComboCtrl class
1054 --enable-datepick use wxDatePickerCtrl class
1055 --enable-dirpicker use wxDirPickerCtrl class
1056 --enable-display use wxDisplay class
1057 --enable-filepicker use wxFilePickerCtrl class
1058 --enable-fontpicker use wxFontPickerCtrl class
1059 --enable-gauge use wxGauge class
1060 --enable-grid use wxGrid class
1061 --enable-dataviewctrl, use wxDataViewCtrl class
1062 --enable-hyperlink use wxHyperlinkCtrl class
1063 --enable-imaglist use wxImageList class
1064 --enable-listbook use wxListbook class
1065 --enable-listbox use wxListBox class
1066 --enable-listctrl use wxListCtrl class
1067 --enable-notebook use wxNotebook class
1068 --enable-odcombobox use wxOwnerDrawnComboBox class
1069 --enable-radiobox use wxRadioBox class
1070 --enable-radiobtn use wxRadioButton class
1071 --enable-sash use wxSashWindow class
1072 --enable-scrollbar use wxScrollBar class and scrollable windows
1073 --enable-slider use wxSlider class
1074 --enable-spinbtn use wxSpinButton class
1075 --enable-spinctrl use wxSpinCtrl class
1076 --enable-splitter use wxSplitterWindow class
1077 --enable-statbmp use wxStaticBitmap class
1078 --enable-statbox use wxStaticBox class
1079 --enable-statline use wxStaticLine class
1080 --enable-stattext use wxStaticText class
1081 --enable-statusbar use wxStatusBar class
1082 --enable-tabdialog use wxTabControl class
1083 --enable-textctrl use wxTextCtrl class
1084 --enable-togglebtn use wxToggleButton class
1085 --enable-toolbar use wxToolBar class
1086 --enable-tbarnative use native wxToolBar class
1087 --enable-treebook use wxTreebook class
1088 --enable-toolbook use wxToolbook class
1089 --enable-treectrl use wxTreeCtrl class
1090 --enable-tipwindow use wxTipWindow class
1091 --enable-popupwin use wxPopUpWindow class
1092 --enable-commondlg use all common dialogs
1093 --enable-choicedlg use wxChoiceDialog
1094 --enable-coldlg use wxColourDialog
1095 --enable-filedlg use wxFileDialog
1096 --enable-finddlg use wxFindReplaceDialog
1097 --enable-fontdlg use wxFontDialog
1098 --enable-dirdlg use wxDirDialog
1099 --enable-msgdlg use wxMessageDialog
1100 --enable-numberdlg use wxNumberEntryDialog
1101 --enable-splash use wxSplashScreen
1102 --enable-textdlg use wxTextDialog
1103 --enable-tipdlg use startup tips
1104 --enable-progressdlg use wxProgressDialog
1105 --enable-wizarddlg use wxWizard
1106 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1107 --enable-miniframe use wxMiniFrame class
1108 --enable-tooltips use wxToolTip class
1109 --enable-splines use spline drawing code
1110 --enable-mousewheel use mousewheel
1111 --enable-validators use wxValidator and derived classes
1112 --enable-busyinfo use wxBusyInfo
1113 --enable-joystick use wxJoystick
1114 --enable-metafiles use wxMetaFile (Win32 only)
1115 --enable-dragimage use wxDragImage
1116 --enable-accessibility enable accessibility support
1117 --enable-dccache cache temporary wxDC objects (Win32 only)
1118 --enable-palette use wxPalette class
1119 --enable-image use wxImage class
1120 --enable-gif use gif images (GIF file format)
1121 --enable-pcx use pcx images (PCX file format)
1122 --enable-iff use iff images (IFF file format)
1123 --enable-pnm use pnm images (PNM file format)
1124 --enable-xpm use xpm images (XPM file format)
1125 --enable-icocur use Windows ICO and CUR formats
1126 --enable-official_build official build of wxWidgets (win32 DLL only)
1127 --enable-vendor=VENDOR vendor name (win32 DLL only)
1128 --disable-largefile omit support for large files
1129 --disable-gtktest do not try to compile and run a test GTK+ program
1130 --disable-gtktest Do not try to compile and run a test GTK program
1131 --disable-sdltest Do not try to compile and run a test SDL program
1132 --enable-omf use OMF object format (OS/2)
1133 --disable-dependency-tracking
1134 don't use dependency tracking even if the compiler
1135 can
1136 --disable-precomp-headers
1137 don't use precompiled headers even if compiler can
1138
1139 Optional Packages:
1140 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1141 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1142 --without-subdirs don't generate makefiles for samples/demos/...
1143 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1144 --with-motif use Motif/Lesstif
1145 --with-mac use Mac OS X
1146 --with-cocoa use Cocoa
1147 --with-wine use Wine
1148 --with-msw use MS-Windows
1149 --with-pm use OS/2 Presentation Manager
1150 --with-mgl use SciTech MGL
1151 --with-directfb use DirectFB
1152 --with-microwin use MicroWindows
1153 --with-x11 use X11
1154 --with-libpng use libpng (PNG image format)
1155 --with-libjpeg use libjpeg (JPEG file format)
1156 --with-libtiff use libtiff (TIFF file format)
1157 --with-libxpm use libxpm (XPM file format)
1158 --with-libmspack use libmspack (CHM help files loading)
1159 --with-sdl use SDL for audio on Unix
1160 --with-gnomeprint use GNOME print for printing under GNOME
1161 --with-gnomevfs use GNOME VFS for associating MIME types
1162 --with-hildon use Hildon framework for Nokia 770
1163 --with-opengl use OpenGL (or Mesa)
1164 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1165 --with-regex enable support for wxRegEx class
1166 --with-zlib use zlib for LZW compression
1167 --with-odbc use the IODBC and wxODBC classes
1168 --with-expat enable XML support using expat parser
1169 --with-flavour=NAME specify a name to identify this build
1170 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1171 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1172 --with-x use the X Window System
1173 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1174 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1175 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1176 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1177 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1178
1179 Some influential environment variables:
1180 CC C compiler command
1181 CFLAGS C compiler flags
1182 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1183 nonstandard directory <lib dir>
1184 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1185 headers in a nonstandard directory <include dir>
1186 CPP C preprocessor
1187 CXX C++ compiler command
1188 CXXFLAGS C++ compiler flags
1189 CXXCPP C++ preprocessor
1190 PKG_CONFIG path to pkg-config utility
1191 DIRECTFB_CFLAGS
1192 C compiler flags for DIRECTFB, overriding pkg-config
1193 DIRECTFB_LIBS
1194 linker flags for DIRECTFB, overriding pkg-config
1195 PANGOX_CFLAGS
1196 C compiler flags for PANGOX, overriding pkg-config
1197 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1198 PANGOFT2_CFLAGS
1199 C compiler flags for PANGOFT2, overriding pkg-config
1200 PANGOFT2_LIBS
1201 linker flags for PANGOFT2, overriding pkg-config
1202 PANGOXFT_CFLAGS
1203 C compiler flags for PANGOXFT, overriding pkg-config
1204 PANGOXFT_LIBS
1205 linker flags for PANGOXFT, overriding pkg-config
1206 LIBGNOMEPRINTUI_CFLAGS
1207 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1208 LIBGNOMEPRINTUI_LIBS
1209 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1210 GNOMEVFS_CFLAGS
1211 C compiler flags for GNOMEVFS, overriding pkg-config
1212 GNOMEVFS_LIBS
1213 linker flags for GNOMEVFS, overriding pkg-config
1214 HILDON_CFLAGS
1215 C compiler flags for HILDON, overriding pkg-config
1216 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1217 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1218 GST_LIBS linker flags for GST, overriding pkg-config
1219
1220 Use these variables to override the choices made by `configure' or to help
1221 it to find libraries and programs with nonstandard names/locations.
1222
1223 Report bugs to <wx-dev@lists.wxwidgets.org>.
1224 _ACEOF
1225 fi
1226
1227 if test "$ac_init_help" = "recursive"; then
1228 # If there are subdirs, report their specific --help.
1229 ac_popdir=`pwd`
1230 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1231 test -d $ac_dir || continue
1232 ac_builddir=.
1233
1234 if test "$ac_dir" != .; then
1235 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1236 # A "../" for each directory in $ac_dir_suffix.
1237 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1238 else
1239 ac_dir_suffix= ac_top_builddir=
1240 fi
1241
1242 case $srcdir in
1243 .) # No --srcdir option. We are building in place.
1244 ac_srcdir=.
1245 if test -z "$ac_top_builddir"; then
1246 ac_top_srcdir=.
1247 else
1248 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1249 fi ;;
1250 [\\/]* | ?:[\\/]* ) # Absolute path.
1251 ac_srcdir=$srcdir$ac_dir_suffix;
1252 ac_top_srcdir=$srcdir ;;
1253 *) # Relative path.
1254 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1255 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1256 esac
1257
1258 # Do not use `cd foo && pwd` to compute absolute paths, because
1259 # the directories may not exist.
1260 case `pwd` in
1261 .) ac_abs_builddir="$ac_dir";;
1262 *)
1263 case "$ac_dir" in
1264 .) ac_abs_builddir=`pwd`;;
1265 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1266 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1267 esac;;
1268 esac
1269 case $ac_abs_builddir in
1270 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1271 *)
1272 case ${ac_top_builddir}. in
1273 .) ac_abs_top_builddir=$ac_abs_builddir;;
1274 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1275 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1276 esac;;
1277 esac
1278 case $ac_abs_builddir in
1279 .) ac_abs_srcdir=$ac_srcdir;;
1280 *)
1281 case $ac_srcdir in
1282 .) ac_abs_srcdir=$ac_abs_builddir;;
1283 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1284 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1285 esac;;
1286 esac
1287 case $ac_abs_builddir in
1288 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1289 *)
1290 case $ac_top_srcdir in
1291 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1292 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1293 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1294 esac;;
1295 esac
1296
1297 cd $ac_dir
1298 # Check for guested configure; otherwise get Cygnus style configure.
1299 if test -f $ac_srcdir/configure.gnu; then
1300 echo
1301 $SHELL $ac_srcdir/configure.gnu --help=recursive
1302 elif test -f $ac_srcdir/configure; then
1303 echo
1304 $SHELL $ac_srcdir/configure --help=recursive
1305 elif test -f $ac_srcdir/configure.ac ||
1306 test -f $ac_srcdir/configure.in; then
1307 echo
1308 $ac_configure --help
1309 else
1310 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1311 fi
1312 cd $ac_popdir
1313 done
1314 fi
1315
1316 test -n "$ac_init_help" && exit 0
1317 if $ac_init_version; then
1318 cat <<\_ACEOF
1319 wxWidgets configure 2.7.0
1320 generated by GNU Autoconf 2.59
1321
1322 Copyright (C) 2003 Free Software Foundation, Inc.
1323 This configure script is free software; the Free Software Foundation
1324 gives unlimited permission to copy, distribute and modify it.
1325 _ACEOF
1326 exit 0
1327 fi
1328 exec 5>config.log
1329 cat >&5 <<_ACEOF
1330 This file contains any messages produced by compilers while
1331 running configure, to aid debugging if configure makes a mistake.
1332
1333 It was created by wxWidgets $as_me 2.7.0, which was
1334 generated by GNU Autoconf 2.59. Invocation command line was
1335
1336 $ $0 $@
1337
1338 _ACEOF
1339 {
1340 cat <<_ASUNAME
1341 ## --------- ##
1342 ## Platform. ##
1343 ## --------- ##
1344
1345 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1346 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1347 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1348 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1349 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1350
1351 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1352 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1353
1354 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1355 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1356 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1357 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1358 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1359 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1360 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1361
1362 _ASUNAME
1363
1364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1365 for as_dir in $PATH
1366 do
1367 IFS=$as_save_IFS
1368 test -z "$as_dir" && as_dir=.
1369 echo "PATH: $as_dir"
1370 done
1371
1372 } >&5
1373
1374 cat >&5 <<_ACEOF
1375
1376
1377 ## ----------- ##
1378 ## Core tests. ##
1379 ## ----------- ##
1380
1381 _ACEOF
1382
1383
1384 # Keep a trace of the command line.
1385 # Strip out --no-create and --no-recursion so they do not pile up.
1386 # Strip out --silent because we don't want to record it for future runs.
1387 # Also quote any args containing shell meta-characters.
1388 # Make two passes to allow for proper duplicate-argument suppression.
1389 ac_configure_args=
1390 ac_configure_args0=
1391 ac_configure_args1=
1392 ac_sep=
1393 ac_must_keep_next=false
1394 for ac_pass in 1 2
1395 do
1396 for ac_arg
1397 do
1398 case $ac_arg in
1399 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1400 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1401 | -silent | --silent | --silen | --sile | --sil)
1402 continue ;;
1403 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1404 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1405 esac
1406 case $ac_pass in
1407 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1408 2)
1409 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1410 if test $ac_must_keep_next = true; then
1411 ac_must_keep_next=false # Got value, back to normal.
1412 else
1413 case $ac_arg in
1414 *=* | --config-cache | -C | -disable-* | --disable-* \
1415 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1416 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1417 | -with-* | --with-* | -without-* | --without-* | --x)
1418 case "$ac_configure_args0 " in
1419 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1420 esac
1421 ;;
1422 -* ) ac_must_keep_next=true ;;
1423 esac
1424 fi
1425 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1426 # Get rid of the leading space.
1427 ac_sep=" "
1428 ;;
1429 esac
1430 done
1431 done
1432 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1433 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1434
1435 # When interrupted or exit'd, cleanup temporary files, and complete
1436 # config.log. We remove comments because anyway the quotes in there
1437 # would cause problems or look ugly.
1438 # WARNING: Be sure not to use single quotes in there, as some shells,
1439 # such as our DU 5.0 friend, will then `close' the trap.
1440 trap 'exit_status=$?
1441 # Save into config.log some information that might help in debugging.
1442 {
1443 echo
1444
1445 cat <<\_ASBOX
1446 ## ---------------- ##
1447 ## Cache variables. ##
1448 ## ---------------- ##
1449 _ASBOX
1450 echo
1451 # The following way of writing the cache mishandles newlines in values,
1452 {
1453 (set) 2>&1 |
1454 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1455 *ac_space=\ *)
1456 sed -n \
1457 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1458 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1459 ;;
1460 *)
1461 sed -n \
1462 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1463 ;;
1464 esac;
1465 }
1466 echo
1467
1468 cat <<\_ASBOX
1469 ## ----------------- ##
1470 ## Output variables. ##
1471 ## ----------------- ##
1472 _ASBOX
1473 echo
1474 for ac_var in $ac_subst_vars
1475 do
1476 eval ac_val=$`echo $ac_var`
1477 echo "$ac_var='"'"'$ac_val'"'"'"
1478 done | sort
1479 echo
1480
1481 if test -n "$ac_subst_files"; then
1482 cat <<\_ASBOX
1483 ## ------------- ##
1484 ## Output files. ##
1485 ## ------------- ##
1486 _ASBOX
1487 echo
1488 for ac_var in $ac_subst_files
1489 do
1490 eval ac_val=$`echo $ac_var`
1491 echo "$ac_var='"'"'$ac_val'"'"'"
1492 done | sort
1493 echo
1494 fi
1495
1496 if test -s confdefs.h; then
1497 cat <<\_ASBOX
1498 ## ----------- ##
1499 ## confdefs.h. ##
1500 ## ----------- ##
1501 _ASBOX
1502 echo
1503 sed "/^$/d" confdefs.h | sort
1504 echo
1505 fi
1506 test "$ac_signal" != 0 &&
1507 echo "$as_me: caught signal $ac_signal"
1508 echo "$as_me: exit $exit_status"
1509 } >&5
1510 rm -f core *.core &&
1511 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1512 exit $exit_status
1513 ' 0
1514 for ac_signal in 1 2 13 15; do
1515 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1516 done
1517 ac_signal=0
1518
1519 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1520 rm -rf conftest* confdefs.h
1521 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1522 echo >confdefs.h
1523
1524 # Predefined preprocessor variables.
1525
1526 cat >>confdefs.h <<_ACEOF
1527 #define PACKAGE_NAME "$PACKAGE_NAME"
1528 _ACEOF
1529
1530
1531 cat >>confdefs.h <<_ACEOF
1532 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1533 _ACEOF
1534
1535
1536 cat >>confdefs.h <<_ACEOF
1537 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1538 _ACEOF
1539
1540
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE_STRING "$PACKAGE_STRING"
1543 _ACEOF
1544
1545
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1548 _ACEOF
1549
1550
1551 # Let the site file select an alternate cache file if it wants to.
1552 # Prefer explicitly selected file to automatically selected ones.
1553 if test -z "$CONFIG_SITE"; then
1554 if test "x$prefix" != xNONE; then
1555 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1556 else
1557 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1558 fi
1559 fi
1560 for ac_site_file in $CONFIG_SITE; do
1561 if test -r "$ac_site_file"; then
1562 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1563 echo "$as_me: loading site script $ac_site_file" >&6;}
1564 sed 's/^/| /' "$ac_site_file" >&5
1565 . "$ac_site_file"
1566 fi
1567 done
1568
1569 if test -r "$cache_file"; then
1570 # Some versions of bash will fail to source /dev/null (special
1571 # files actually), so we avoid doing that.
1572 if test -f "$cache_file"; then
1573 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1574 echo "$as_me: loading cache $cache_file" >&6;}
1575 case $cache_file in
1576 [\\/]* | ?:[\\/]* ) . $cache_file;;
1577 *) . ./$cache_file;;
1578 esac
1579 fi
1580 else
1581 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1582 echo "$as_me: creating cache $cache_file" >&6;}
1583 >$cache_file
1584 fi
1585
1586 # Check that the precious variables saved in the cache have kept the same
1587 # value.
1588 ac_cache_corrupted=false
1589 for ac_var in `(set) 2>&1 |
1590 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1591 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1592 eval ac_new_set=\$ac_env_${ac_var}_set
1593 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1594 eval ac_new_val="\$ac_env_${ac_var}_value"
1595 case $ac_old_set,$ac_new_set in
1596 set,)
1597 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1598 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1599 ac_cache_corrupted=: ;;
1600 ,set)
1601 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1602 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1603 ac_cache_corrupted=: ;;
1604 ,);;
1605 *)
1606 if test "x$ac_old_val" != "x$ac_new_val"; then
1607 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1608 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1609 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1610 echo "$as_me: former value: $ac_old_val" >&2;}
1611 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1612 echo "$as_me: current value: $ac_new_val" >&2;}
1613 ac_cache_corrupted=:
1614 fi;;
1615 esac
1616 # Pass precious variables to config.status.
1617 if test "$ac_new_set" = set; then
1618 case $ac_new_val in
1619 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1620 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1621 *) ac_arg=$ac_var=$ac_new_val ;;
1622 esac
1623 case " $ac_configure_args " in
1624 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1625 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1626 esac
1627 fi
1628 done
1629 if $ac_cache_corrupted; then
1630 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1631 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1632 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1633 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1634 { (exit 1); exit 1; }; }
1635 fi
1636
1637 ac_ext=c
1638 ac_cpp='$CPP $CPPFLAGS'
1639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672 ac_aux_dir=
1673 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1674 if test -f $ac_dir/install-sh; then
1675 ac_aux_dir=$ac_dir
1676 ac_install_sh="$ac_aux_dir/install-sh -c"
1677 break
1678 elif test -f $ac_dir/install.sh; then
1679 ac_aux_dir=$ac_dir
1680 ac_install_sh="$ac_aux_dir/install.sh -c"
1681 break
1682 elif test -f $ac_dir/shtool; then
1683 ac_aux_dir=$ac_dir
1684 ac_install_sh="$ac_aux_dir/shtool install -c"
1685 break
1686 fi
1687 done
1688 if test -z "$ac_aux_dir"; then
1689 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1690 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1691 { (exit 1); exit 1; }; }
1692 fi
1693 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1694 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1695 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1696
1697 # Make sure we can run config.sub.
1698 $ac_config_sub sun4 >/dev/null 2>&1 ||
1699 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1700 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1701 { (exit 1); exit 1; }; }
1702
1703 echo "$as_me:$LINENO: checking build system type" >&5
1704 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1705 if test "${ac_cv_build+set}" = set; then
1706 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 else
1708 ac_cv_build_alias=$build_alias
1709 test -z "$ac_cv_build_alias" &&
1710 ac_cv_build_alias=`$ac_config_guess`
1711 test -z "$ac_cv_build_alias" &&
1712 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1713 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1714 { (exit 1); exit 1; }; }
1715 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1716 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1717 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1718 { (exit 1); exit 1; }; }
1719
1720 fi
1721 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1722 echo "${ECHO_T}$ac_cv_build" >&6
1723 build=$ac_cv_build
1724 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1725 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1726 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1727
1728
1729 echo "$as_me:$LINENO: checking host system type" >&5
1730 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1731 if test "${ac_cv_host+set}" = set; then
1732 echo $ECHO_N "(cached) $ECHO_C" >&6
1733 else
1734 ac_cv_host_alias=$host_alias
1735 test -z "$ac_cv_host_alias" &&
1736 ac_cv_host_alias=$ac_cv_build_alias
1737 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1738 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1739 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1740 { (exit 1); exit 1; }; }
1741
1742 fi
1743 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1744 echo "${ECHO_T}$ac_cv_host" >&6
1745 host=$ac_cv_host
1746 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1747 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1748 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1749
1750
1751 echo "$as_me:$LINENO: checking target system type" >&5
1752 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1753 if test "${ac_cv_target+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 else
1756 ac_cv_target_alias=$target_alias
1757 test "x$ac_cv_target_alias" = "x" &&
1758 ac_cv_target_alias=$ac_cv_host_alias
1759 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1760 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1761 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1762 { (exit 1); exit 1; }; }
1763
1764 fi
1765 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1766 echo "${ECHO_T}$ac_cv_target" >&6
1767 target=$ac_cv_target
1768 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1769 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1770 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1771
1772
1773 # The aliases save the names the user supplied, while $host etc.
1774 # will get canonicalized.
1775 test -n "$target_alias" &&
1776 test "$program_prefix$program_suffix$program_transform_name" = \
1777 NONENONEs,x,x, &&
1778 program_prefix=${target_alias}-
1779
1780
1781
1782 wx_major_version_number=2
1783 wx_minor_version_number=7
1784 wx_release_number=0
1785 wx_subrelease_number=1
1786
1787 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1788 WX_VERSION=$WX_RELEASE.$wx_release_number
1789 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1790
1791 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1792
1793
1794
1795
1796 USE_UNIX=1
1797 USE_OS2=0
1798 USE_WIN32=0
1799 USE_DOS=0
1800 USE_BEOS=0
1801 USE_MAC=0
1802
1803 USE_AIX=
1804 USE_BSD= USE_DARWIN= USE_FREEBSD=
1805 USE_GNU= USE_HPUX=
1806 USE_LINUX=
1807 USE_NETBSD=
1808 USE_OPENBSD=
1809 USE_OSF= USE_SGI=
1810 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1811 USE_ULTRIX=
1812 USE_UNIXWARE=
1813
1814 USE_ALPHA=
1815
1816 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1817
1818 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1819
1820 DEFAULT_wxUSE_COCOA=0
1821 DEFAULT_wxUSE_GTK=0
1822 DEFAULT_wxUSE_MAC=0
1823 DEFAULT_wxUSE_MGL=0
1824 DEFAULT_wxUSE_MICROWIN=0
1825 DEFAULT_wxUSE_MOTIF=0
1826 DEFAULT_wxUSE_MSW=0
1827 DEFAULT_wxUSE_PM=0
1828 DEFAULT_wxUSE_X11=0
1829 DEFAULT_wxUSE_DFB=0
1830
1831 DEFAULT_DEFAULT_wxUSE_COCOA=0
1832 DEFAULT_DEFAULT_wxUSE_GTK=0
1833 DEFAULT_DEFAULT_wxUSE_MAC=0
1834 DEFAULT_DEFAULT_wxUSE_MGL=0
1835 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1836 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1837 DEFAULT_DEFAULT_wxUSE_MSW=0
1838 DEFAULT_DEFAULT_wxUSE_PM=0
1839 DEFAULT_DEFAULT_wxUSE_X11=0
1840 DEFAULT_DEFAULT_wxUSE_DFB=0
1841
1842 PROGRAM_EXT=
1843 SO_SUFFIX=so
1844 SAMPLES_RPATH_FLAG=
1845 SAMPLES_RPATH_POSTLINK=
1846
1847 DEFAULT_STD_FLAG=yes
1848
1849 case "${host}" in
1850 *-hp-hpux* )
1851 USE_HPUX=1
1852 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1853 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1854 SO_SUFFIX=sl
1855 cat >>confdefs.h <<\_ACEOF
1856 #define __HPUX__ 1
1857 _ACEOF
1858
1859
1860 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1861 ;;
1862 *-*-linux* )
1863 USE_LINUX=1
1864 cat >>confdefs.h <<\_ACEOF
1865 #define __LINUX__ 1
1866 _ACEOF
1867
1868 TMP=`uname -m`
1869 if test "x$TMP" = "xalpha"; then
1870 USE_ALPHA=1
1871 cat >>confdefs.h <<\_ACEOF
1872 #define __ALPHA__ 1
1873 _ACEOF
1874
1875 fi
1876 DEFAULT_DEFAULT_wxUSE_GTK=1
1877 ;;
1878 *-*-gnu* | *-*-k*bsd*-gnu )
1879 USE_GNU=1
1880 TMP=`uname -m`
1881 if test "x$TMP" = "xalpha"; then
1882 USE_ALPHA=1
1883 cat >>confdefs.h <<\_ACEOF
1884 #define __ALPHA__ 1
1885 _ACEOF
1886
1887 fi
1888 DEFAULT_DEFAULT_wxUSE_GTK=1
1889 ;;
1890 *-*-irix5* | *-*-irix6* )
1891 USE_SGI=1
1892 USE_SVR4=1
1893 cat >>confdefs.h <<\_ACEOF
1894 #define __SGI__ 1
1895 _ACEOF
1896
1897 cat >>confdefs.h <<\_ACEOF
1898 #define __SVR4__ 1
1899 _ACEOF
1900
1901 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1902 ;;
1903 *-*-solaris2* )
1904 USE_SUN=1
1905 USE_SOLARIS=1
1906 USE_SVR4=1
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __SUN__ 1
1909 _ACEOF
1910
1911 cat >>confdefs.h <<\_ACEOF
1912 #define __SOLARIS__ 1
1913 _ACEOF
1914
1915 cat >>confdefs.h <<\_ACEOF
1916 #define __SVR4__ 1
1917 _ACEOF
1918
1919 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1920 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1921 ;;
1922 *-*-sunos4* )
1923 USE_SUN=1
1924 USE_SUNOS=1
1925 USE_BSD=1
1926 cat >>confdefs.h <<\_ACEOF
1927 #define __SUN__ 1
1928 _ACEOF
1929
1930 cat >>confdefs.h <<\_ACEOF
1931 #define __SUNOS__ 1
1932 _ACEOF
1933
1934 cat >>confdefs.h <<\_ACEOF
1935 #define __BSD__ 1
1936 _ACEOF
1937
1938 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1939 ;;
1940 *-*-freebsd*)
1941 USE_BSD=1
1942 USE_FREEBSD=1
1943 cat >>confdefs.h <<\_ACEOF
1944 #define __FREEBSD__ 1
1945 _ACEOF
1946
1947 cat >>confdefs.h <<\_ACEOF
1948 #define __BSD__ 1
1949 _ACEOF
1950
1951 DEFAULT_DEFAULT_wxUSE_GTK=1
1952 ;;
1953 *-*-openbsd*|*-*-mirbsd*)
1954 USE_BSD=1
1955 USE_OPENBSD=1
1956 cat >>confdefs.h <<\_ACEOF
1957 #define __OPENBSD__ 1
1958 _ACEOF
1959
1960 cat >>confdefs.h <<\_ACEOF
1961 #define __BSD__ 1
1962 _ACEOF
1963
1964 DEFAULT_DEFAULT_wxUSE_GTK=1
1965 ;;
1966 *-*-netbsd*)
1967 USE_BSD=1
1968 USE_NETBSD=1
1969 cat >>confdefs.h <<\_ACEOF
1970 #define __NETBSD__ 1
1971 _ACEOF
1972
1973 cat >>confdefs.h <<\_ACEOF
1974 #define __BSD__ 1
1975 _ACEOF
1976
1977 DEFAULT_DEFAULT_wxUSE_GTK=1
1978 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1979
1980 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1981 ;;
1982 *-*-osf* )
1983 USE_ALPHA=1
1984 USE_OSF=1
1985 cat >>confdefs.h <<\_ACEOF
1986 #define __ALPHA__ 1
1987 _ACEOF
1988
1989 cat >>confdefs.h <<\_ACEOF
1990 #define __OSF__ 1
1991 _ACEOF
1992
1993 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1994 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1995 ;;
1996 *-*-dgux5* )
1997 USE_ALPHA=1
1998 USE_SVR4=1
1999 cat >>confdefs.h <<\_ACEOF
2000 #define __ALPHA__ 1
2001 _ACEOF
2002
2003 cat >>confdefs.h <<\_ACEOF
2004 #define __SVR4__ 1
2005 _ACEOF
2006
2007 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2008 ;;
2009 *-*-sysv5* )
2010 USE_SYSV=1
2011 USE_SVR4=1
2012 cat >>confdefs.h <<\_ACEOF
2013 #define __SYSV__ 1
2014 _ACEOF
2015
2016 cat >>confdefs.h <<\_ACEOF
2017 #define __SVR4__ 1
2018 _ACEOF
2019
2020 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2021 ;;
2022 *-*-aix* )
2023 USE_AIX=1
2024 USE_SYSV=1
2025 USE_SVR4=1
2026 SO_SUFFIX=a
2027 cat >>confdefs.h <<\_ACEOF
2028 #define __AIX__ 1
2029 _ACEOF
2030
2031 cat >>confdefs.h <<\_ACEOF
2032 #define __SYSV__ 1
2033 _ACEOF
2034
2035 cat >>confdefs.h <<\_ACEOF
2036 #define __SVR4__ 1
2037 _ACEOF
2038
2039 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2040 ;;
2041
2042 *-*-*UnixWare*)
2043 USE_SYSV=1
2044 USE_SVR4=1
2045 USE_UNIXWARE=1
2046 cat >>confdefs.h <<\_ACEOF
2047 #define __UNIXWARE__ 1
2048 _ACEOF
2049
2050 ;;
2051
2052 *-*-cygwin* | *-*-mingw32* )
2053 SO_SUFFIX=dll
2054 PROGRAM_EXT=".exe"
2055 DEFAULT_DEFAULT_wxUSE_MSW=1
2056 DEFAULT_STD_FLAG=no
2057 ;;
2058
2059 *-pc-msdosdjgpp )
2060 USE_UNIX=0
2061 USE_DOS=1
2062 cat >>confdefs.h <<\_ACEOF
2063 #define __DOS__ 1
2064 _ACEOF
2065
2066 PROGRAM_EXT=".exe"
2067 DEFAULT_DEFAULT_wxUSE_MGL=1
2068 ;;
2069
2070 *-pc-os2_emx | *-pc-os2-emx )
2071 cat >>confdefs.h <<\_ACEOF
2072 #define __EMX__ 1
2073 _ACEOF
2074
2075 USE_OS2=1
2076 cat >>confdefs.h <<\_ACEOF
2077 #define __OS2__ 1
2078 _ACEOF
2079
2080 PROGRAM_EXT=".exe"
2081 DEFAULT_DEFAULT_wxUSE_PM=1
2082 CXX=gcc
2083 LDFLAGS="$LDFLAGS -Zcrtdll"
2084 ac_executable_extensions=".exe"
2085 export ac_executable_extensions
2086 ac_save_IFS="$IFS"
2087 IFS='\\'
2088 ac_TEMP_PATH=
2089 for ac_dir in $PATH; do
2090 IFS=$ac_save_IFS
2091 if test -z "$ac_TEMP_PATH"; then
2092 ac_TEMP_PATH="$ac_dir"
2093 else
2094 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2095 fi
2096 done
2097 export PATH="$ac_TEMP_PATH"
2098 unset ac_TEMP_PATH
2099 DEFAULT_STD_FLAG=no
2100 ;;
2101
2102 *-*-darwin* )
2103 USE_BSD=1
2104 USE_DARWIN=1
2105 SO_SUFFIX=dylib
2106 cat >>confdefs.h <<\_ACEOF
2107 #define __BSD__ 1
2108 _ACEOF
2109
2110 cat >>confdefs.h <<\_ACEOF
2111 #define __DARWIN__ 1
2112 _ACEOF
2113
2114 cat >>confdefs.h <<\_ACEOF
2115 #define TARGET_CARBON 1
2116 _ACEOF
2117
2118 DEFAULT_DEFAULT_wxUSE_MAC=1
2119 DEFAULT_STD_FLAG=no
2120 ;;
2121 powerpc-apple-macos* )
2122 USE_UNIX=0
2123 ac_cv_c_bigendian=yes
2124 SO_SUFFIX=shlib
2125 DEFAULT_DEFAULT_wxUSE_MAC=1
2126 DEFAULT_STD_FLAG=no
2127 ;;
2128
2129 *-*-beos* )
2130 USE_BEOS=1
2131 cat >>confdefs.h <<\_ACEOF
2132 #define __BEOS__ 1
2133 _ACEOF
2134
2135 ;;
2136
2137 *)
2138 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2139 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2140 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2141 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2142
2143 DEFAULT_DEFAULT_wxUSE_X11=1
2144 DEFAULT_wxUSE_SHARED=no
2145 esac
2146
2147
2148
2149
2150 wx_arg_cache_file="configarg.cache"
2151 echo "loading argument cache $wx_arg_cache_file"
2152 rm -f ${wx_arg_cache_file}.tmp
2153 touch ${wx_arg_cache_file}.tmp
2154 touch ${wx_arg_cache_file}
2155
2156
2157 DEBUG_CONFIGURE=0
2158 if test $DEBUG_CONFIGURE = 1; then
2159 DEFAULT_wxUSE_UNIVERSAL=no
2160 DEFAULT_wxUSE_STL=no
2161
2162 DEFAULT_wxUSE_NANOX=no
2163
2164 DEFAULT_wxUSE_THREADS=yes
2165
2166 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2167 DEFAULT_wxUSE_OPTIMISE=no
2168 DEFAULT_wxUSE_PROFILE=no
2169 DEFAULT_wxUSE_NO_DEPS=no
2170 DEFAULT_wxUSE_NO_RTTI=no
2171 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2172 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2173 DEFAULT_wxUSE_RPATH=yes
2174 DEFAULT_wxUSE_PERMISSIVE=no
2175 DEFAULT_wxUSE_DEBUG_FLAG=yes
2176 DEFAULT_wxUSE_DEBUG_INFO=yes
2177 DEFAULT_wxUSE_DEBUG_GDB=yes
2178 DEFAULT_wxUSE_MEM_TRACING=no
2179 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2180 DEFAULT_wxUSE_DMALLOC=no
2181 DEFAULT_wxUSE_APPLE_IEEE=no
2182
2183 DEFAULT_wxUSE_EXCEPTIONS=no
2184 DEFAULT_wxUSE_LOG=yes
2185 DEFAULT_wxUSE_LOGWINDOW=no
2186 DEFAULT_wxUSE_LOGGUI=no
2187 DEFAULT_wxUSE_LOGDIALOG=no
2188
2189 DEFAULT_wxUSE_GUI=yes
2190 DEFAULT_wxUSE_CONTROLS=no
2191
2192 DEFAULT_wxUSE_REGEX=no
2193 DEFAULT_wxUSE_XML=no
2194 DEFAULT_wxUSE_EXPAT=no
2195 DEFAULT_wxUSE_ZLIB=no
2196 DEFAULT_wxUSE_LIBPNG=no
2197 DEFAULT_wxUSE_LIBJPEG=no
2198 DEFAULT_wxUSE_LIBTIFF=no
2199 DEFAULT_wxUSE_LIBXPM=no
2200 DEFAULT_wxUSE_LIBMSPACK=no
2201 DEFAULT_wxUSE_LIBSDL=no
2202 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2203 DEFAULT_wxUSE_LIBGNOMEVFS=no
2204 DEFAULT_wxUSE_LIBHILDON=no
2205 DEFAULT_wxUSE_ODBC=no
2206 DEFAULT_wxUSE_OPENGL=no
2207
2208 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2209 DEFAULT_wxUSE_STACKWALKER=no
2210 DEFAULT_wxUSE_DEBUGREPORT=no
2211 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2212 DEFAULT_wxUSE_STD_IOSTREAM=no
2213 DEFAULT_wxUSE_STD_STRING=no
2214 DEFAULT_wxUSE_CMDLINE_PARSER=no
2215 DEFAULT_wxUSE_DATETIME=no
2216 DEFAULT_wxUSE_TIMER=no
2217 DEFAULT_wxUSE_STOPWATCH=no
2218 DEFAULT_wxUSE_FILE=no
2219 DEFAULT_wxUSE_FFILE=no
2220 DEFAULT_wxUSE_STDPATHS=no
2221 DEFAULT_wxUSE_TEXTBUFFER=no
2222 DEFAULT_wxUSE_TEXTFILE=no
2223 DEFAULT_wxUSE_SOUND=no
2224 DEFAULT_wxUSE_MEDIACTRL=no
2225 DEFAULT_wxUSE_GSTREAMER8=no
2226 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2227 DEFAULT_wxUSE_INTL=no
2228 DEFAULT_wxUSE_CONFIG=no
2229 DEFAULT_wxUSE_FONTMAP=no
2230 DEFAULT_wxUSE_STREAMS=no
2231 DEFAULT_wxUSE_SOCKETS=no
2232 DEFAULT_wxUSE_OLE=no
2233 DEFAULT_wxUSE_DATAOBJ=no
2234 DEFAULT_wxUSE_DIALUP_MANAGER=no
2235 DEFAULT_wxUSE_JOYSTICK=no
2236 DEFAULT_wxUSE_DYNLIB_CLASS=no
2237 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2238 DEFAULT_wxUSE_LONGLONG=no
2239 DEFAULT_wxUSE_GEOMETRY=no
2240
2241 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2242 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2243 DEFAULT_wxUSE_POSTSCRIPT=no
2244
2245 DEFAULT_wxUSE_CLIPBOARD=no
2246 DEFAULT_wxUSE_TOOLTIPS=no
2247 DEFAULT_wxUSE_DRAG_AND_DROP=no
2248 DEFAULT_wxUSE_DRAGIMAGE=no
2249 DEFAULT_wxUSE_SPLINES=no
2250 DEFAULT_wxUSE_MOUSEWHEEL=no
2251
2252 DEFAULT_wxUSE_MDI=no
2253 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2254 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2255 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2256
2257 DEFAULT_wxUSE_RESOURCES=no
2258 DEFAULT_wxUSE_CONSTRAINTS=no
2259 DEFAULT_wxUSE_IPC=no
2260 DEFAULT_wxUSE_HELP=no
2261 DEFAULT_wxUSE_MS_HTML_HELP=no
2262 DEFAULT_wxUSE_WXHTML_HELP=no
2263 DEFAULT_wxUSE_TREELAYOUT=no
2264 DEFAULT_wxUSE_METAFILE=no
2265 DEFAULT_wxUSE_MIMETYPE=no
2266 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2267 DEFAULT_wxUSE_PROTOCOL=no
2268 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2269 DEFAULT_wxUSE_PROTOCOL_FTP=no
2270 DEFAULT_wxUSE_PROTOCOL_FILE=no
2271 DEFAULT_wxUSE_URL=no
2272
2273 DEFAULT_wxUSE_COMMONDLGS=no
2274 DEFAULT_wxUSE_CHOICEDLG=no
2275 DEFAULT_wxUSE_COLOURDLG=no
2276 DEFAULT_wxUSE_DIRDLG=no
2277 DEFAULT_wxUSE_FILEDLG=no
2278 DEFAULT_wxUSE_FINDREPLDLG=no
2279 DEFAULT_wxUSE_FONTDLG=no
2280 DEFAULT_wxUSE_MSGDLG=no
2281 DEFAULT_wxUSE_NUMBERDLG=no
2282 DEFAULT_wxUSE_TEXTDLG=no
2283 DEFAULT_wxUSE_SPLASH=no
2284 DEFAULT_wxUSE_STARTUP_TIPS=no
2285 DEFAULT_wxUSE_PROGRESSDLG=no
2286 DEFAULT_wxUSE_WIZARDDLG=no
2287
2288 DEFAULT_wxUSE_MENUS=no
2289 DEFAULT_wxUSE_MINIFRAME=no
2290 DEFAULT_wxUSE_HTML=no
2291 DEFAULT_wxUSE_RICHTEXT=no
2292 DEFAULT_wxUSE_XRC=no
2293 DEFAULT_wxUSE_AUI=no
2294 DEFAULT_wxUSE_WEBKIT=no
2295 DEFAULT_wxUSE_FILESYSTEM=no
2296 DEFAULT_wxUSE_FS_INET=no
2297 DEFAULT_wxUSE_FS_ZIP=no
2298 DEFAULT_wxUSE_BUSYINFO=no
2299 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2300 DEFAULT_wxUSE_ZIPSTREAM=no
2301 DEFAULT_wxUSE_VALIDATORS=no
2302
2303 DEFAULT_wxUSE_ACCEL=no
2304 DEFAULT_wxUSE_BUTTON=no
2305 DEFAULT_wxUSE_BMPBUTTON=no
2306 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2307 DEFAULT_wxUSE_CALCTRL=no
2308 DEFAULT_wxUSE_CARET=no
2309 DEFAULT_wxUSE_CHECKBOX=no
2310 DEFAULT_wxUSE_CHECKLST=no
2311 DEFAULT_wxUSE_CHOICE=no
2312 DEFAULT_wxUSE_CHOICEBOOK=no
2313 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2314 DEFAULT_wxUSE_COMBOBOX=no
2315 DEFAULT_wxUSE_COMBOCTRL=no
2316 DEFAULT_wxUSE_DATEPICKCTRL=no
2317 DEFAULT_wxUSE_DISPLAY=no
2318 DEFAULT_wxUSE_DIRPICKERCTRL=no
2319 DEFAULT_wxUSE_FILEPICKERCTRL=no
2320 DEFAULT_wxUSE_FONTPICKERCTRL=no
2321 DEFAULT_wxUSE_GAUGE=no
2322 DEFAULT_wxUSE_GRID=no
2323 DEFAULT_wxUSE_HYPERLINKCTRL=no
2324 DEFAULT_wxUSE_DATAVIEWCTRL=no
2325 DEFAULT_wxUSE_IMAGLIST=no
2326 DEFAULT_wxUSE_LISTBOOK=no
2327 DEFAULT_wxUSE_LISTBOX=no
2328 DEFAULT_wxUSE_LISTCTRL=no
2329 DEFAULT_wxUSE_NOTEBOOK=no
2330 DEFAULT_wxUSE_ODCOMBOBOX=no
2331 DEFAULT_wxUSE_RADIOBOX=no
2332 DEFAULT_wxUSE_RADIOBTN=no
2333 DEFAULT_wxUSE_SASH=no
2334 DEFAULT_wxUSE_SCROLLBAR=no
2335 DEFAULT_wxUSE_SLIDER=no
2336 DEFAULT_wxUSE_SPINBTN=no
2337 DEFAULT_wxUSE_SPINCTRL=no
2338 DEFAULT_wxUSE_SPLITTER=no
2339 DEFAULT_wxUSE_STATBMP=no
2340 DEFAULT_wxUSE_STATBOX=no
2341 DEFAULT_wxUSE_STATLINE=no
2342 DEFAULT_wxUSE_STATTEXT=no
2343 DEFAULT_wxUSE_STATUSBAR=yes
2344 DEFAULT_wxUSE_TAB_DIALOG=no
2345 DEFAULT_wxUSE_TEXTCTRL=no
2346 DEFAULT_wxUSE_TOGGLEBTN=no
2347 DEFAULT_wxUSE_TOOLBAR=no
2348 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2349 DEFAULT_wxUSE_TREEBOOK=no
2350 DEFAULT_wxUSE_TOOLBOOK=no
2351 DEFAULT_wxUSE_TREECTRL=no
2352 DEFAULT_wxUSE_POPUPWIN=no
2353 DEFAULT_wxUSE_TIPWINDOW=no
2354
2355 DEFAULT_wxUSE_UNICODE=no
2356 DEFAULT_wxUSE_UNICODE_MSLU=no
2357 DEFAULT_wxUSE_WCSRTOMBS=no
2358
2359 DEFAULT_wxUSE_PALETTE=no
2360 DEFAULT_wxUSE_IMAGE=no
2361 DEFAULT_wxUSE_GIF=no
2362 DEFAULT_wxUSE_PCX=no
2363 DEFAULT_wxUSE_PNM=no
2364 DEFAULT_wxUSE_IFF=no
2365 DEFAULT_wxUSE_XPM=no
2366 DEFAULT_wxUSE_ICO_CUR=no
2367 DEFAULT_wxUSE_ACCESSIBILITY=no
2368
2369 DEFAULT_wxUSE_MONOLITHIC=no
2370 DEFAULT_wxUSE_PLUGINS=no
2371 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2372 else
2373 DEFAULT_wxUSE_UNIVERSAL=no
2374 DEFAULT_wxUSE_STL=no
2375
2376 DEFAULT_wxUSE_NANOX=no
2377
2378 DEFAULT_wxUSE_THREADS=yes
2379
2380 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2381 DEFAULT_wxUSE_OPTIMISE=yes
2382 DEFAULT_wxUSE_PROFILE=no
2383 DEFAULT_wxUSE_NO_DEPS=no
2384 DEFAULT_wxUSE_NO_RTTI=no
2385 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2386 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2387 DEFAULT_wxUSE_RPATH=yes
2388 DEFAULT_wxUSE_PERMISSIVE=no
2389 DEFAULT_wxUSE_DEBUG_FLAG=no
2390 DEFAULT_wxUSE_DEBUG_INFO=no
2391 DEFAULT_wxUSE_DEBUG_GDB=no
2392 DEFAULT_wxUSE_MEM_TRACING=no
2393 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2394 DEFAULT_wxUSE_DMALLOC=no
2395 DEFAULT_wxUSE_APPLE_IEEE=yes
2396
2397 DEFAULT_wxUSE_EXCEPTIONS=yes
2398 DEFAULT_wxUSE_LOG=yes
2399 DEFAULT_wxUSE_LOGWINDOW=yes
2400 DEFAULT_wxUSE_LOGGUI=yes
2401 DEFAULT_wxUSE_LOGDIALOG=yes
2402
2403 DEFAULT_wxUSE_GUI=yes
2404
2405 DEFAULT_wxUSE_REGEX=yes
2406 DEFAULT_wxUSE_XML=yes
2407 DEFAULT_wxUSE_EXPAT=yes
2408 DEFAULT_wxUSE_ZLIB=yes
2409 DEFAULT_wxUSE_LIBPNG=yes
2410 DEFAULT_wxUSE_LIBJPEG=yes
2411 DEFAULT_wxUSE_LIBTIFF=yes
2412 DEFAULT_wxUSE_LIBXPM=yes
2413 DEFAULT_wxUSE_LIBMSPACK=yes
2414 DEFAULT_wxUSE_LIBSDL=no
2415 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2416 DEFAULT_wxUSE_LIBGNOMEVFS=no
2417 DEFAULT_wxUSE_LIBHILDON=no
2418 DEFAULT_wxUSE_ODBC=no
2419 DEFAULT_wxUSE_OPENGL=no
2420
2421 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2422 DEFAULT_wxUSE_STACKWALKER=yes
2423 DEFAULT_wxUSE_DEBUGREPORT=yes
2424 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2425 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2426 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2427 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2428 DEFAULT_wxUSE_DATETIME=yes
2429 DEFAULT_wxUSE_TIMER=yes
2430 DEFAULT_wxUSE_STOPWATCH=yes
2431 DEFAULT_wxUSE_FILE=yes
2432 DEFAULT_wxUSE_FFILE=yes
2433 DEFAULT_wxUSE_STDPATHS=yes
2434 DEFAULT_wxUSE_TEXTBUFFER=yes
2435 DEFAULT_wxUSE_TEXTFILE=yes
2436 DEFAULT_wxUSE_SOUND=yes
2437 DEFAULT_wxUSE_MEDIACTRL=no
2438 DEFAULT_wxUSE_GSTREAMER8=no
2439 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2440 DEFAULT_wxUSE_INTL=yes
2441 DEFAULT_wxUSE_CONFIG=yes
2442 DEFAULT_wxUSE_FONTMAP=yes
2443 DEFAULT_wxUSE_STREAMS=yes
2444 DEFAULT_wxUSE_SOCKETS=yes
2445 DEFAULT_wxUSE_OLE=yes
2446 DEFAULT_wxUSE_DATAOBJ=yes
2447 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2448 DEFAULT_wxUSE_JOYSTICK=yes
2449 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2450 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2451 DEFAULT_wxUSE_LONGLONG=yes
2452 DEFAULT_wxUSE_GEOMETRY=yes
2453
2454 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2455 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2456 DEFAULT_wxUSE_POSTSCRIPT=yes
2457
2458 DEFAULT_wxUSE_CLIPBOARD=yes
2459 DEFAULT_wxUSE_TOOLTIPS=yes
2460 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2461 DEFAULT_wxUSE_DRAGIMAGE=yes
2462 DEFAULT_wxUSE_SPLINES=yes
2463 DEFAULT_wxUSE_MOUSEWHEEL=yes
2464
2465 DEFAULT_wxUSE_MDI=yes
2466 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2467 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2468 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2469
2470 DEFAULT_wxUSE_RESOURCES=no
2471 DEFAULT_wxUSE_CONSTRAINTS=yes
2472 DEFAULT_wxUSE_IPC=yes
2473 DEFAULT_wxUSE_HELP=yes
2474 DEFAULT_wxUSE_MS_HTML_HELP=yes
2475 DEFAULT_wxUSE_WXHTML_HELP=yes
2476 DEFAULT_wxUSE_TREELAYOUT=yes
2477 DEFAULT_wxUSE_METAFILE=yes
2478 DEFAULT_wxUSE_MIMETYPE=yes
2479 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2480 DEFAULT_wxUSE_PROTOCOL=yes
2481 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2482 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2483 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2484 DEFAULT_wxUSE_URL=yes
2485
2486 DEFAULT_wxUSE_COMMONDLGS=yes
2487 DEFAULT_wxUSE_CHOICEDLG=yes
2488 DEFAULT_wxUSE_COLOURDLG=yes
2489 DEFAULT_wxUSE_DIRDLG=yes
2490 DEFAULT_wxUSE_FILEDLG=yes
2491 DEFAULT_wxUSE_FINDREPLDLG=yes
2492 DEFAULT_wxUSE_FONTDLG=yes
2493 DEFAULT_wxUSE_MSGDLG=yes
2494 DEFAULT_wxUSE_NUMBERDLG=yes
2495 DEFAULT_wxUSE_TEXTDLG=yes
2496 DEFAULT_wxUSE_SPLASH=yes
2497 DEFAULT_wxUSE_STARTUP_TIPS=yes
2498 DEFAULT_wxUSE_PROGRESSDLG=yes
2499 DEFAULT_wxUSE_WIZARDDLG=yes
2500
2501 DEFAULT_wxUSE_MENUS=yes
2502 DEFAULT_wxUSE_MINIFRAME=yes
2503 DEFAULT_wxUSE_HTML=yes
2504 DEFAULT_wxUSE_RICHTEXT=yes
2505 DEFAULT_wxUSE_XRC=yes
2506 DEFAULT_wxUSE_AUI=yes
2507 DEFAULT_wxUSE_WEBKIT=yes
2508 DEFAULT_wxUSE_FILESYSTEM=yes
2509 DEFAULT_wxUSE_FS_INET=yes
2510 DEFAULT_wxUSE_FS_ZIP=yes
2511 DEFAULT_wxUSE_BUSYINFO=yes
2512 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2513 DEFAULT_wxUSE_ZIPSTREAM=yes
2514 DEFAULT_wxUSE_VALIDATORS=yes
2515
2516 DEFAULT_wxUSE_ACCEL=yes
2517 DEFAULT_wxUSE_BUTTON=yes
2518 DEFAULT_wxUSE_BMPBUTTON=yes
2519 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2520 DEFAULT_wxUSE_CALCTRL=yes
2521 DEFAULT_wxUSE_CARET=yes
2522 DEFAULT_wxUSE_CHECKBOX=yes
2523 DEFAULT_wxUSE_CHECKLST=yes
2524 DEFAULT_wxUSE_CHOICE=yes
2525 DEFAULT_wxUSE_CHOICEBOOK=yes
2526 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2527 DEFAULT_wxUSE_COMBOBOX=yes
2528 DEFAULT_wxUSE_COMBOCTRL=yes
2529 DEFAULT_wxUSE_DATEPICKCTRL=yes
2530 DEFAULT_wxUSE_DISPLAY=yes
2531 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2532 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2533 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2534 DEFAULT_wxUSE_GAUGE=yes
2535 DEFAULT_wxUSE_GRID=yes
2536 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2537 DEFAULT_wxUSE_DATAVIEWCTRL=no
2538 DEFAULT_wxUSE_IMAGLIST=yes
2539 DEFAULT_wxUSE_LISTBOOK=yes
2540 DEFAULT_wxUSE_LISTBOX=yes
2541 DEFAULT_wxUSE_LISTCTRL=yes
2542 DEFAULT_wxUSE_NOTEBOOK=yes
2543 DEFAULT_wxUSE_ODCOMBOBOX=yes
2544 DEFAULT_wxUSE_RADIOBOX=yes
2545 DEFAULT_wxUSE_RADIOBTN=yes
2546 DEFAULT_wxUSE_SASH=yes
2547 DEFAULT_wxUSE_SCROLLBAR=yes
2548 DEFAULT_wxUSE_SLIDER=yes
2549 DEFAULT_wxUSE_SPINBTN=yes
2550 DEFAULT_wxUSE_SPINCTRL=yes
2551 DEFAULT_wxUSE_SPLITTER=yes
2552 DEFAULT_wxUSE_STATBMP=yes
2553 DEFAULT_wxUSE_STATBOX=yes
2554 DEFAULT_wxUSE_STATLINE=yes
2555 DEFAULT_wxUSE_STATTEXT=yes
2556 DEFAULT_wxUSE_STATUSBAR=yes
2557 DEFAULT_wxUSE_TAB_DIALOG=no
2558 DEFAULT_wxUSE_TEXTCTRL=yes
2559 DEFAULT_wxUSE_TOGGLEBTN=yes
2560 DEFAULT_wxUSE_TOOLBAR=yes
2561 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2562 DEFAULT_wxUSE_TREEBOOK=yes
2563 DEFAULT_wxUSE_TOOLBOOK=yes
2564 DEFAULT_wxUSE_TREECTRL=yes
2565 DEFAULT_wxUSE_POPUPWIN=yes
2566 DEFAULT_wxUSE_TIPWINDOW=yes
2567
2568 DEFAULT_wxUSE_UNICODE=no
2569 DEFAULT_wxUSE_UNICODE_MSLU=yes
2570 DEFAULT_wxUSE_WCSRTOMBS=no
2571
2572 DEFAULT_wxUSE_PALETTE=yes
2573 DEFAULT_wxUSE_IMAGE=yes
2574 DEFAULT_wxUSE_GIF=yes
2575 DEFAULT_wxUSE_PCX=yes
2576 DEFAULT_wxUSE_IFF=no
2577 DEFAULT_wxUSE_PNM=yes
2578 DEFAULT_wxUSE_XPM=yes
2579 DEFAULT_wxUSE_ICO_CUR=yes
2580 DEFAULT_wxUSE_ACCESSIBILITY=no
2581
2582 DEFAULT_wxUSE_MONOLITHIC=no
2583 DEFAULT_wxUSE_PLUGINS=no
2584 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2585
2586 DEFAULT_wxUSE_GTK2=yes
2587 fi
2588
2589
2590
2591
2592 for toolkit in `echo $ALL_TOOLKITS`; do
2593 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2594 if test "x$LINE" != "x" ; then
2595 has_toolkit_in_cache=1
2596 eval "DEFAULT_$LINE"
2597 eval "CACHE_$toolkit=1"
2598
2599 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2600 if test "x$LINE" != "x" ; then
2601 eval "DEFAULT_$LINE"
2602 fi
2603 fi
2604 done
2605
2606
2607
2608 enablestring=
2609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2610 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2611 no_cache=0
2612 # Check whether --enable-gui or --disable-gui was given.
2613 if test "${enable_gui+set}" = set; then
2614 enableval="$enable_gui"
2615
2616 if test "$enableval" = yes; then
2617 ac_cv_use_gui='wxUSE_GUI=yes'
2618 else
2619 ac_cv_use_gui='wxUSE_GUI=no'
2620 fi
2621
2622 else
2623
2624 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2625 if test "x$LINE" != x ; then
2626 eval "DEFAULT_$LINE"
2627 else
2628 no_cache=1
2629 fi
2630
2631 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2632
2633 fi;
2634
2635 eval "$ac_cv_use_gui"
2636 if test "$no_cache" != 1; then
2637 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2638 fi
2639
2640 if test "$wxUSE_GUI" = yes; then
2641 echo "$as_me:$LINENO: result: yes" >&5
2642 echo "${ECHO_T}yes" >&6
2643 else
2644 echo "$as_me:$LINENO: result: no" >&5
2645 echo "${ECHO_T}no" >&6
2646 fi
2647
2648
2649 enablestring=
2650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2651 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2652 no_cache=0
2653 # Check whether --enable-monolithic or --disable-monolithic was given.
2654 if test "${enable_monolithic+set}" = set; then
2655 enableval="$enable_monolithic"
2656
2657 if test "$enableval" = yes; then
2658 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2659 else
2660 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2661 fi
2662
2663 else
2664
2665 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x ; then
2667 eval "DEFAULT_$LINE"
2668 else
2669 no_cache=1
2670 fi
2671
2672 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2673
2674 fi;
2675
2676 eval "$ac_cv_use_monolithic"
2677 if test "$no_cache" != 1; then
2678 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2679 fi
2680
2681 if test "$wxUSE_MONOLITHIC" = yes; then
2682 echo "$as_me:$LINENO: result: yes" >&5
2683 echo "${ECHO_T}yes" >&6
2684 else
2685 echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2687 fi
2688
2689
2690 enablestring=
2691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2692 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2693 no_cache=0
2694 # Check whether --enable-plugins or --disable-plugins was given.
2695 if test "${enable_plugins+set}" = set; then
2696 enableval="$enable_plugins"
2697
2698 if test "$enableval" = yes; then
2699 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2700 else
2701 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2702 fi
2703
2704 else
2705
2706 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2707 if test "x$LINE" != x ; then
2708 eval "DEFAULT_$LINE"
2709 else
2710 no_cache=1
2711 fi
2712
2713 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2714
2715 fi;
2716
2717 eval "$ac_cv_use_plugins"
2718 if test "$no_cache" != 1; then
2719 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2720 fi
2721
2722 if test "$wxUSE_PLUGINS" = yes; then
2723 echo "$as_me:$LINENO: result: yes" >&5
2724 echo "${ECHO_T}yes" >&6
2725 else
2726 echo "$as_me:$LINENO: result: no" >&5
2727 echo "${ECHO_T}no" >&6
2728 fi
2729
2730
2731 withstring=without
2732 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2733 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2734 no_cache=0
2735
2736 # Check whether --with-subdirs or --without-subdirs was given.
2737 if test "${with_subdirs+set}" = set; then
2738 withval="$with_subdirs"
2739
2740 if test "$withval" = yes; then
2741 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2742 else
2743 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2744 fi
2745
2746 else
2747
2748 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2749 if test "x$LINE" != x ; then
2750 eval "DEFAULT_$LINE"
2751 else
2752 no_cache=1
2753 fi
2754
2755 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2756
2757 fi;
2758
2759 eval "$ac_cv_use_subdirs"
2760 if test "$no_cache" != 1; then
2761 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2762 fi
2763
2764 if test "$wxWITH_SUBDIRS" = yes; then
2765 echo "$as_me:$LINENO: result: yes" >&5
2766 echo "${ECHO_T}yes" >&6
2767 else
2768 echo "$as_me:$LINENO: result: no" >&5
2769 echo "${ECHO_T}no" >&6
2770 fi
2771
2772
2773 if test "$wxUSE_GUI" = "yes"; then
2774
2775
2776 enablestring=
2777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2778 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2779 no_cache=0
2780 # Check whether --enable-universal or --disable-universal was given.
2781 if test "${enable_universal+set}" = set; then
2782 enableval="$enable_universal"
2783
2784 if test "$enableval" = yes; then
2785 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2786 else
2787 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2788 fi
2789
2790 else
2791
2792 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2793 if test "x$LINE" != x ; then
2794 eval "DEFAULT_$LINE"
2795 else
2796 no_cache=1
2797 fi
2798
2799 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2800
2801 fi;
2802
2803 eval "$ac_cv_use_universal"
2804 if test "$no_cache" != 1; then
2805 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2806 fi
2807
2808 if test "$wxUSE_UNIVERSAL" = yes; then
2809 echo "$as_me:$LINENO: result: yes" >&5
2810 echo "${ECHO_T}yes" >&6
2811 else
2812 echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2814 fi
2815
2816
2817 # Check whether --with-gtk or --without-gtk was given.
2818 if test "${with_gtk+set}" = set; then
2819 withval="$with_gtk"
2820 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2821 fi;
2822
2823 # Check whether --with-motif or --without-motif was given.
2824 if test "${with_motif+set}" = set; then
2825 withval="$with_motif"
2826 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2827 fi;
2828
2829 # Check whether --with-mac or --without-mac was given.
2830 if test "${with_mac+set}" = set; then
2831 withval="$with_mac"
2832 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2833 fi;
2834
2835 # Check whether --with-cocoa or --without-cocoa was given.
2836 if test "${with_cocoa+set}" = set; then
2837 withval="$with_cocoa"
2838 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2839 fi;
2840
2841 # Check whether --with-wine or --without-wine was given.
2842 if test "${with_wine+set}" = set; then
2843 withval="$with_wine"
2844 wxUSE_WINE="$withval" CACHE_WINE=1
2845 fi;
2846
2847 # Check whether --with-msw or --without-msw was given.
2848 if test "${with_msw+set}" = set; then
2849 withval="$with_msw"
2850 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2851 fi;
2852
2853 # Check whether --with-pm or --without-pm was given.
2854 if test "${with_pm+set}" = set; then
2855 withval="$with_pm"
2856 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2857 fi;
2858
2859 # Check whether --with-mgl or --without-mgl was given.
2860 if test "${with_mgl+set}" = set; then
2861 withval="$with_mgl"
2862 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2863 fi;
2864
2865 # Check whether --with-directfb or --without-directfb was given.
2866 if test "${with_directfb+set}" = set; then
2867 withval="$with_directfb"
2868 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2869 fi;
2870
2871 # Check whether --with-microwin or --without-microwin was given.
2872 if test "${with_microwin+set}" = set; then
2873 withval="$with_microwin"
2874 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2875 fi;
2876
2877 # Check whether --with-x11 or --without-x11 was given.
2878 if test "${with_x11+set}" = set; then
2879 withval="$with_x11"
2880 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2881 fi;
2882
2883 enablestring=
2884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2885 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2886 no_cache=0
2887 # Check whether --enable-nanox or --disable-nanox was given.
2888 if test "${enable_nanox+set}" = set; then
2889 enableval="$enable_nanox"
2890
2891 if test "$enableval" = yes; then
2892 ac_cv_use_nanox='wxUSE_NANOX=yes'
2893 else
2894 ac_cv_use_nanox='wxUSE_NANOX=no'
2895 fi
2896
2897 else
2898
2899 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2900 if test "x$LINE" != x ; then
2901 eval "DEFAULT_$LINE"
2902 else
2903 no_cache=1
2904 fi
2905
2906 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2907
2908 fi;
2909
2910 eval "$ac_cv_use_nanox"
2911 if test "$no_cache" != 1; then
2912 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2913 fi
2914
2915 if test "$wxUSE_NANOX" = yes; then
2916 echo "$as_me:$LINENO: result: yes" >&5
2917 echo "${ECHO_T}yes" >&6
2918 else
2919 echo "$as_me:$LINENO: result: no" >&5
2920 echo "${ECHO_T}no" >&6
2921 fi
2922
2923
2924 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2925 if test "${enable_gtk2+set}" = set; then
2926 enableval="$enable_gtk2"
2927 wxUSE_GTK2="$enableval"
2928 fi;
2929
2930 enablestring=
2931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2932 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2933 no_cache=0
2934 # Check whether --enable-gpe or --disable-gpe was given.
2935 if test "${enable_gpe+set}" = set; then
2936 enableval="$enable_gpe"
2937
2938 if test "$enableval" = yes; then
2939 ac_cv_use_gpe='wxUSE_GPE=yes'
2940 else
2941 ac_cv_use_gpe='wxUSE_GPE=no'
2942 fi
2943
2944 else
2945
2946 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x ; then
2948 eval "DEFAULT_$LINE"
2949 else
2950 no_cache=1
2951 fi
2952
2953 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2954
2955 fi;
2956
2957 eval "$ac_cv_use_gpe"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2960 fi
2961
2962 if test "$wxUSE_GPE" = yes; then
2963 echo "$as_me:$LINENO: result: yes" >&5
2964 echo "${ECHO_T}yes" >&6
2965 else
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 fi
2969
2970
2971
2972 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2973 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2974 no_cache=0
2975
2976 # Check whether --with-libpng or --without-libpng was given.
2977 if test "${with_libpng+set}" = set; then
2978 withval="$with_libpng"
2979
2980 if test "$withval" = yes; then
2981 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2982 elif test "$withval" = no; then
2983 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2984 elif test "$withval" = sys; then
2985 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2986 elif test "$withval" = builtin; then
2987 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2988 else
2989 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2990 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2991 { (exit 1); exit 1; }; }
2992 fi
2993
2994 else
2995
2996 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2997 if test "x$LINE" != x ; then
2998 eval "DEFAULT_$LINE"
2999 else
3000 no_cache=1
3001 fi
3002
3003 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3004
3005 fi;
3006
3007 eval "$ac_cv_use_libpng"
3008 if test "$no_cache" != 1; then
3009 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3010 fi
3011
3012 if test "$wxUSE_LIBPNG" = yes; then
3013 echo "$as_me:$LINENO: result: yes" >&5
3014 echo "${ECHO_T}yes" >&6
3015 elif test "$wxUSE_LIBPNG" = no; then
3016 echo "$as_me:$LINENO: result: no" >&5
3017 echo "${ECHO_T}no" >&6
3018 elif test "$wxUSE_LIBPNG" = sys; then
3019 echo "$as_me:$LINENO: result: system version" >&5
3020 echo "${ECHO_T}system version" >&6
3021 elif test "$wxUSE_LIBPNG" = builtin; then
3022 echo "$as_me:$LINENO: result: builtin version" >&5
3023 echo "${ECHO_T}builtin version" >&6
3024 else
3025 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3026 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3027 { (exit 1); exit 1; }; }
3028 fi
3029
3030
3031 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3032 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3033 no_cache=0
3034
3035 # Check whether --with-libjpeg or --without-libjpeg was given.
3036 if test "${with_libjpeg+set}" = set; then
3037 withval="$with_libjpeg"
3038
3039 if test "$withval" = yes; then
3040 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3041 elif test "$withval" = no; then
3042 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3043 elif test "$withval" = sys; then
3044 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3045 elif test "$withval" = builtin; then
3046 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3047 else
3048 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3049 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3050 { (exit 1); exit 1; }; }
3051 fi
3052
3053 else
3054
3055 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x ; then
3057 eval "DEFAULT_$LINE"
3058 else
3059 no_cache=1
3060 fi
3061
3062 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3063
3064 fi;
3065
3066 eval "$ac_cv_use_libjpeg"
3067 if test "$no_cache" != 1; then
3068 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3069 fi
3070
3071 if test "$wxUSE_LIBJPEG" = yes; then
3072 echo "$as_me:$LINENO: result: yes" >&5
3073 echo "${ECHO_T}yes" >&6
3074 elif test "$wxUSE_LIBJPEG" = no; then
3075 echo "$as_me:$LINENO: result: no" >&5
3076 echo "${ECHO_T}no" >&6
3077 elif test "$wxUSE_LIBJPEG" = sys; then
3078 echo "$as_me:$LINENO: result: system version" >&5
3079 echo "${ECHO_T}system version" >&6
3080 elif test "$wxUSE_LIBJPEG" = builtin; then
3081 echo "$as_me:$LINENO: result: builtin version" >&5
3082 echo "${ECHO_T}builtin version" >&6
3083 else
3084 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3085 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3086 { (exit 1); exit 1; }; }
3087 fi
3088
3089
3090 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3091 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3092 no_cache=0
3093
3094 # Check whether --with-libtiff or --without-libtiff was given.
3095 if test "${with_libtiff+set}" = set; then
3096 withval="$with_libtiff"
3097
3098 if test "$withval" = yes; then
3099 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3100 elif test "$withval" = no; then
3101 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3102 elif test "$withval" = sys; then
3103 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3104 elif test "$withval" = builtin; then
3105 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3106 else
3107 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3108 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3109 { (exit 1); exit 1; }; }
3110 fi
3111
3112 else
3113
3114 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3115 if test "x$LINE" != x ; then
3116 eval "DEFAULT_$LINE"
3117 else
3118 no_cache=1
3119 fi
3120
3121 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3122
3123 fi;
3124
3125 eval "$ac_cv_use_libtiff"
3126 if test "$no_cache" != 1; then
3127 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3128 fi
3129
3130 if test "$wxUSE_LIBTIFF" = yes; then
3131 echo "$as_me:$LINENO: result: yes" >&5
3132 echo "${ECHO_T}yes" >&6
3133 elif test "$wxUSE_LIBTIFF" = no; then
3134 echo "$as_me:$LINENO: result: no" >&5
3135 echo "${ECHO_T}no" >&6
3136 elif test "$wxUSE_LIBTIFF" = sys; then
3137 echo "$as_me:$LINENO: result: system version" >&5
3138 echo "${ECHO_T}system version" >&6
3139 elif test "$wxUSE_LIBTIFF" = builtin; then
3140 echo "$as_me:$LINENO: result: builtin version" >&5
3141 echo "${ECHO_T}builtin version" >&6
3142 else
3143 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3144 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3145 { (exit 1); exit 1; }; }
3146 fi
3147
3148
3149 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3150 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3151 no_cache=0
3152
3153 # Check whether --with-libxpm or --without-libxpm was given.
3154 if test "${with_libxpm+set}" = set; then
3155 withval="$with_libxpm"
3156
3157 if test "$withval" = yes; then
3158 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3159 elif test "$withval" = no; then
3160 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3161 elif test "$withval" = sys; then
3162 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3163 elif test "$withval" = builtin; then
3164 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3165 else
3166 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3167 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3168 { (exit 1); exit 1; }; }
3169 fi
3170
3171 else
3172
3173 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x ; then
3175 eval "DEFAULT_$LINE"
3176 else
3177 no_cache=1
3178 fi
3179
3180 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3181
3182 fi;
3183
3184 eval "$ac_cv_use_libxpm"
3185 if test "$no_cache" != 1; then
3186 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3187 fi
3188
3189 if test "$wxUSE_LIBXPM" = yes; then
3190 echo "$as_me:$LINENO: result: yes" >&5
3191 echo "${ECHO_T}yes" >&6
3192 elif test "$wxUSE_LIBXPM" = no; then
3193 echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3195 elif test "$wxUSE_LIBXPM" = sys; then
3196 echo "$as_me:$LINENO: result: system version" >&5
3197 echo "${ECHO_T}system version" >&6
3198 elif test "$wxUSE_LIBXPM" = builtin; then
3199 echo "$as_me:$LINENO: result: builtin version" >&5
3200 echo "${ECHO_T}builtin version" >&6
3201 else
3202 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3203 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3204 { (exit 1); exit 1; }; }
3205 fi
3206
3207
3208 withstring=
3209 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3210 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3211 no_cache=0
3212
3213 # Check whether --with-libmspack or --without-libmspack was given.
3214 if test "${with_libmspack+set}" = set; then
3215 withval="$with_libmspack"
3216
3217 if test "$withval" = yes; then
3218 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3219 else
3220 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3221 fi
3222
3223 else
3224
3225 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3226 if test "x$LINE" != x ; then
3227 eval "DEFAULT_$LINE"
3228 else
3229 no_cache=1
3230 fi
3231
3232 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3233
3234 fi;
3235
3236 eval "$ac_cv_use_libmspack"
3237 if test "$no_cache" != 1; then
3238 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3239 fi
3240
3241 if test "$wxUSE_LIBMSPACK" = yes; then
3242 echo "$as_me:$LINENO: result: yes" >&5
3243 echo "${ECHO_T}yes" >&6
3244 else
3245 echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6
3247 fi
3248
3249
3250 withstring=
3251 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3252 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3253 no_cache=0
3254
3255 # Check whether --with-sdl or --without-sdl was given.
3256 if test "${with_sdl+set}" = set; then
3257 withval="$with_sdl"
3258
3259 if test "$withval" = yes; then
3260 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3261 else
3262 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3263 fi
3264
3265 else
3266
3267 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3268 if test "x$LINE" != x ; then
3269 eval "DEFAULT_$LINE"
3270 else
3271 no_cache=1
3272 fi
3273
3274 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3275
3276 fi;
3277
3278 eval "$ac_cv_use_sdl"
3279 if test "$no_cache" != 1; then
3280 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3281 fi
3282
3283 if test "$wxUSE_LIBSDL" = yes; then
3284 echo "$as_me:$LINENO: result: yes" >&5
3285 echo "${ECHO_T}yes" >&6
3286 else
3287 echo "$as_me:$LINENO: result: no" >&5
3288 echo "${ECHO_T}no" >&6
3289 fi
3290
3291
3292 withstring=
3293 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3294 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3295 no_cache=0
3296
3297 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3298 if test "${with_gnomeprint+set}" = set; then
3299 withval="$with_gnomeprint"
3300
3301 if test "$withval" = yes; then
3302 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3303 else
3304 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3305 fi
3306
3307 else
3308
3309 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3310 if test "x$LINE" != x ; then
3311 eval "DEFAULT_$LINE"
3312 else
3313 no_cache=1
3314 fi
3315
3316 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3317
3318 fi;
3319
3320 eval "$ac_cv_use_gnomeprint"
3321 if test "$no_cache" != 1; then
3322 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3323 fi
3324
3325 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3326 echo "$as_me:$LINENO: result: yes" >&5
3327 echo "${ECHO_T}yes" >&6
3328 else
3329 echo "$as_me:$LINENO: result: no" >&5
3330 echo "${ECHO_T}no" >&6
3331 fi
3332
3333
3334 withstring=
3335 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3336 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3337 no_cache=0
3338
3339 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3340 if test "${with_gnomevfs+set}" = set; then
3341 withval="$with_gnomevfs"
3342
3343 if test "$withval" = yes; then
3344 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3345 else
3346 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3347 fi
3348
3349 else
3350
3351 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3352 if test "x$LINE" != x ; then
3353 eval "DEFAULT_$LINE"
3354 else
3355 no_cache=1
3356 fi
3357
3358 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3359
3360 fi;
3361
3362 eval "$ac_cv_use_gnomevfs"
3363 if test "$no_cache" != 1; then
3364 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3365 fi
3366
3367 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3368 echo "$as_me:$LINENO: result: yes" >&5
3369 echo "${ECHO_T}yes" >&6
3370 else
3371 echo "$as_me:$LINENO: result: no" >&5
3372 echo "${ECHO_T}no" >&6
3373 fi
3374
3375
3376 withstring=
3377 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3378 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3379 no_cache=0
3380
3381 # Check whether --with-hildon or --without-hildon was given.
3382 if test "${with_hildon+set}" = set; then
3383 withval="$with_hildon"
3384
3385 if test "$withval" = yes; then
3386 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3387 else
3388 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3389 fi
3390
3391 else
3392
3393 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3394 if test "x$LINE" != x ; then
3395 eval "DEFAULT_$LINE"
3396 else
3397 no_cache=1
3398 fi
3399
3400 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3401
3402 fi;
3403
3404 eval "$ac_cv_use_hildon"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3407 fi
3408
3409 if test "$wxUSE_LIBHILDON" = yes; then
3410 echo "$as_me:$LINENO: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6
3412 else
3413 echo "$as_me:$LINENO: result: no" >&5
3414 echo "${ECHO_T}no" >&6
3415 fi
3416
3417
3418 withstring=
3419 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3420 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3421 no_cache=0
3422
3423 # Check whether --with-opengl or --without-opengl was given.
3424 if test "${with_opengl+set}" = set; then
3425 withval="$with_opengl"
3426
3427 if test "$withval" = yes; then
3428 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3429 else
3430 ac_cv_use_opengl='wxUSE_OPENGL=no'
3431 fi
3432
3433 else
3434
3435 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3436 if test "x$LINE" != x ; then
3437 eval "DEFAULT_$LINE"
3438 else
3439 no_cache=1
3440 fi
3441
3442 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3443
3444 fi;
3445
3446 eval "$ac_cv_use_opengl"
3447 if test "$no_cache" != 1; then
3448 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3449 fi
3450
3451 if test "$wxUSE_OPENGL" = yes; then
3452 echo "$as_me:$LINENO: result: yes" >&5
3453 echo "${ECHO_T}yes" >&6
3454 else
3455 echo "$as_me:$LINENO: result: no" >&5
3456 echo "${ECHO_T}no" >&6
3457 fi
3458
3459
3460 fi
3461
3462
3463 withstring=
3464 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3465 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3466 no_cache=0
3467
3468 # Check whether --with-dmalloc or --without-dmalloc was given.
3469 if test "${with_dmalloc+set}" = set; then
3470 withval="$with_dmalloc"
3471
3472 if test "$withval" = yes; then
3473 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3474 else
3475 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3476 fi
3477
3478 else
3479
3480 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3481 if test "x$LINE" != x ; then
3482 eval "DEFAULT_$LINE"
3483 else
3484 no_cache=1
3485 fi
3486
3487 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3488
3489 fi;
3490
3491 eval "$ac_cv_use_dmalloc"
3492 if test "$no_cache" != 1; then
3493 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3494 fi
3495
3496 if test "$wxUSE_DMALLOC" = yes; then
3497 echo "$as_me:$LINENO: result: yes" >&5
3498 echo "${ECHO_T}yes" >&6
3499 else
3500 echo "$as_me:$LINENO: result: no" >&5
3501 echo "${ECHO_T}no" >&6
3502 fi
3503
3504
3505 echo "$as_me:$LINENO: checking for --with-regex" >&5
3506 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3507 no_cache=0
3508
3509 # Check whether --with-regex or --without-regex was given.
3510 if test "${with_regex+set}" = set; then
3511 withval="$with_regex"
3512
3513 if test "$withval" = yes; then
3514 ac_cv_use_regex='wxUSE_REGEX=yes'
3515 elif test "$withval" = no; then
3516 ac_cv_use_regex='wxUSE_REGEX=no'
3517 elif test "$withval" = sys; then
3518 ac_cv_use_regex='wxUSE_REGEX=sys'
3519 elif test "$withval" = builtin; then
3520 ac_cv_use_regex='wxUSE_REGEX=builtin'
3521 else
3522 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3523 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3524 { (exit 1); exit 1; }; }
3525 fi
3526
3527 else
3528
3529 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3532 else
3533 no_cache=1
3534 fi
3535
3536 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3537
3538 fi;
3539
3540 eval "$ac_cv_use_regex"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxUSE_REGEX" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3548 elif test "$wxUSE_REGEX" = no; then
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3551 elif test "$wxUSE_REGEX" = sys; then
3552 echo "$as_me:$LINENO: result: system version" >&5
3553 echo "${ECHO_T}system version" >&6
3554 elif test "$wxUSE_REGEX" = builtin; then
3555 echo "$as_me:$LINENO: result: builtin version" >&5
3556 echo "${ECHO_T}builtin version" >&6
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
3564 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3565 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3566 no_cache=0
3567
3568 # Check whether --with-zlib or --without-zlib was given.
3569 if test "${with_zlib+set}" = set; then
3570 withval="$with_zlib"
3571
3572 if test "$withval" = yes; then
3573 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3574 elif test "$withval" = no; then
3575 ac_cv_use_zlib='wxUSE_ZLIB=no'
3576 elif test "$withval" = sys; then
3577 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3578 elif test "$withval" = builtin; then
3579 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3580 else
3581 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3582 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3583 { (exit 1); exit 1; }; }
3584 fi
3585
3586 else
3587
3588 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3589 if test "x$LINE" != x ; then
3590 eval "DEFAULT_$LINE"
3591 else
3592 no_cache=1
3593 fi
3594
3595 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3596
3597 fi;
3598
3599 eval "$ac_cv_use_zlib"
3600 if test "$no_cache" != 1; then
3601 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3602 fi
3603
3604 if test "$wxUSE_ZLIB" = yes; then
3605 echo "$as_me:$LINENO: result: yes" >&5
3606 echo "${ECHO_T}yes" >&6
3607 elif test "$wxUSE_ZLIB" = no; then
3608 echo "$as_me:$LINENO: result: no" >&5
3609 echo "${ECHO_T}no" >&6
3610 elif test "$wxUSE_ZLIB" = sys; then
3611 echo "$as_me:$LINENO: result: system version" >&5
3612 echo "${ECHO_T}system version" >&6
3613 elif test "$wxUSE_ZLIB" = builtin; then
3614 echo "$as_me:$LINENO: result: builtin version" >&5
3615 echo "${ECHO_T}builtin version" >&6
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
3623 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3624 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3625 no_cache=0
3626
3627 # Check whether --with-odbc or --without-odbc was given.
3628 if test "${with_odbc+set}" = set; then
3629 withval="$with_odbc"
3630
3631 if test "$withval" = yes; then
3632 ac_cv_use_odbc='wxUSE_ODBC=yes'
3633 elif test "$withval" = no; then
3634 ac_cv_use_odbc='wxUSE_ODBC=no'
3635 elif test "$withval" = sys; then
3636 ac_cv_use_odbc='wxUSE_ODBC=sys'
3637 elif test "$withval" = builtin; then
3638 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3639 else
3640 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3641 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3642 { (exit 1); exit 1; }; }
3643 fi
3644
3645 else
3646
3647 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3648 if test "x$LINE" != x ; then
3649 eval "DEFAULT_$LINE"
3650 else
3651 no_cache=1
3652 fi
3653
3654 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3655
3656 fi;
3657
3658 eval "$ac_cv_use_odbc"
3659 if test "$no_cache" != 1; then
3660 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3661 fi
3662
3663 if test "$wxUSE_ODBC" = yes; then
3664 echo "$as_me:$LINENO: result: yes" >&5
3665 echo "${ECHO_T}yes" >&6
3666 elif test "$wxUSE_ODBC" = no; then
3667 echo "$as_me:$LINENO: result: no" >&5
3668 echo "${ECHO_T}no" >&6
3669 elif test "$wxUSE_ODBC" = sys; then
3670 echo "$as_me:$LINENO: result: system version" >&5
3671 echo "${ECHO_T}system version" >&6
3672 elif test "$wxUSE_ODBC" = builtin; then
3673 echo "$as_me:$LINENO: result: builtin version" >&5
3674 echo "${ECHO_T}builtin version" >&6
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
3682 echo "$as_me:$LINENO: checking for --with-expat" >&5
3683 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3684 no_cache=0
3685
3686 # Check whether --with-expat or --without-expat was given.
3687 if test "${with_expat+set}" = set; then
3688 withval="$with_expat"
3689
3690 if test "$withval" = yes; then
3691 ac_cv_use_expat='wxUSE_EXPAT=yes'
3692 elif test "$withval" = no; then
3693 ac_cv_use_expat='wxUSE_EXPAT=no'
3694 elif test "$withval" = sys; then
3695 ac_cv_use_expat='wxUSE_EXPAT=sys'
3696 elif test "$withval" = builtin; then
3697 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3698 else
3699 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3700 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3701 { (exit 1); exit 1; }; }
3702 fi
3703
3704 else
3705
3706 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3707 if test "x$LINE" != x ; then
3708 eval "DEFAULT_$LINE"
3709 else
3710 no_cache=1
3711 fi
3712
3713 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3714
3715 fi;
3716
3717 eval "$ac_cv_use_expat"
3718 if test "$no_cache" != 1; then
3719 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3720 fi
3721
3722 if test "$wxUSE_EXPAT" = yes; then
3723 echo "$as_me:$LINENO: result: yes" >&5
3724 echo "${ECHO_T}yes" >&6
3725 elif test "$wxUSE_EXPAT" = no; then
3726 echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6
3728 elif test "$wxUSE_EXPAT" = sys; then
3729 echo "$as_me:$LINENO: result: system version" >&5
3730 echo "${ECHO_T}system version" >&6
3731 elif test "$wxUSE_EXPAT" = builtin; then
3732 echo "$as_me:$LINENO: result: builtin version" >&5
3733 echo "${ECHO_T}builtin version" >&6
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
3741
3742
3743 enablestring=
3744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3745 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3746 no_cache=0
3747 # Check whether --enable-shared or --disable-shared was given.
3748 if test "${enable_shared+set}" = set; then
3749 enableval="$enable_shared"
3750
3751 if test "$enableval" = yes; then
3752 ac_cv_use_shared='wxUSE_SHARED=yes'
3753 else
3754 ac_cv_use_shared='wxUSE_SHARED=no'
3755 fi
3756
3757 else
3758
3759 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3760 if test "x$LINE" != x ; then
3761 eval "DEFAULT_$LINE"
3762 else
3763 no_cache=1
3764 fi
3765
3766 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3767
3768 fi;
3769
3770 eval "$ac_cv_use_shared"
3771 if test "$no_cache" != 1; then
3772 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3773 fi
3774
3775 if test "$wxUSE_SHARED" = yes; then
3776 echo "$as_me:$LINENO: result: yes" >&5
3777 echo "${ECHO_T}yes" >&6
3778 else
3779 echo "$as_me:$LINENO: result: no" >&5
3780 echo "${ECHO_T}no" >&6
3781 fi
3782
3783
3784 enablestring=
3785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3786 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3787 no_cache=0
3788 # Check whether --enable-optimise or --disable-optimise was given.
3789 if test "${enable_optimise+set}" = set; then
3790 enableval="$enable_optimise"
3791
3792 if test "$enableval" = yes; then
3793 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3794 else
3795 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3796 fi
3797
3798 else
3799
3800 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x ; then
3802 eval "DEFAULT_$LINE"
3803 else
3804 no_cache=1
3805 fi
3806
3807 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3808
3809 fi;
3810
3811 eval "$ac_cv_use_optimise"
3812 if test "$no_cache" != 1; then
3813 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3814 fi
3815
3816 if test "$wxUSE_OPTIMISE" = yes; then
3817 echo "$as_me:$LINENO: result: yes" >&5
3818 echo "${ECHO_T}yes" >&6
3819 else
3820 echo "$as_me:$LINENO: result: no" >&5
3821 echo "${ECHO_T}no" >&6
3822 fi
3823
3824
3825 enablestring=
3826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3827 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3828 no_cache=0
3829 # Check whether --enable-debug or --disable-debug was given.
3830 if test "${enable_debug+set}" = set; then
3831 enableval="$enable_debug"
3832
3833 if test "$enableval" = yes; then
3834 ac_cv_use_debug='wxUSE_DEBUG=yes'
3835 else
3836 ac_cv_use_debug='wxUSE_DEBUG=no'
3837 fi
3838
3839 else
3840
3841 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3842 if test "x$LINE" != x ; then
3843 eval "DEFAULT_$LINE"
3844 else
3845 no_cache=1
3846 fi
3847
3848 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3849
3850 fi;
3851
3852 eval "$ac_cv_use_debug"
3853 if test "$no_cache" != 1; then
3854 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3855 fi
3856
3857 if test "$wxUSE_DEBUG" = yes; then
3858 echo "$as_me:$LINENO: result: yes" >&5
3859 echo "${ECHO_T}yes" >&6
3860 else
3861 echo "$as_me:$LINENO: result: no" >&5
3862 echo "${ECHO_T}no" >&6
3863 fi
3864
3865
3866 enablestring=
3867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3868 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3869 no_cache=0
3870 # Check whether --enable-stl or --disable-stl was given.
3871 if test "${enable_stl+set}" = set; then
3872 enableval="$enable_stl"
3873
3874 if test "$enableval" = yes; then
3875 ac_cv_use_stl='wxUSE_STL=yes'
3876 else
3877 ac_cv_use_stl='wxUSE_STL=no'
3878 fi
3879
3880 else
3881
3882 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3883 if test "x$LINE" != x ; then
3884 eval "DEFAULT_$LINE"
3885 else
3886 no_cache=1
3887 fi
3888
3889 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3890
3891 fi;
3892
3893 eval "$ac_cv_use_stl"
3894 if test "$no_cache" != 1; then
3895 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3896 fi
3897
3898 if test "$wxUSE_STL" = yes; then
3899 echo "$as_me:$LINENO: result: yes" >&5
3900 echo "${ECHO_T}yes" >&6
3901 else
3902 echo "$as_me:$LINENO: result: no" >&5
3903 echo "${ECHO_T}no" >&6
3904 fi
3905
3906 if test "$USE_OS2" = "1"; then
3907 DEFAULT_wxUSE_OMF=no
3908
3909 enablestring=
3910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3911 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3912 no_cache=0
3913 # Check whether --enable-omf or --disable-omf was given.
3914 if test "${enable_omf+set}" = set; then
3915 enableval="$enable_omf"
3916
3917 if test "$enableval" = yes; then
3918 ac_cv_use_omf='wxUSE_OMF=yes'
3919 else
3920 ac_cv_use_omf='wxUSE_OMF=no'
3921 fi
3922
3923 else
3924
3925 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3926 if test "x$LINE" != x ; then
3927 eval "DEFAULT_$LINE"
3928 else
3929 no_cache=1
3930 fi
3931
3932 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3933
3934 fi;
3935
3936 eval "$ac_cv_use_omf"
3937 if test "$no_cache" != 1; then
3938 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3939 fi
3940
3941 if test "$wxUSE_OMF" = yes; then
3942 echo "$as_me:$LINENO: result: yes" >&5
3943 echo "${ECHO_T}yes" >&6
3944 else
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3947 fi
3948
3949 fi
3950
3951 if test "$wxUSE_DEBUG" = "yes"; then
3952 DEFAULT_wxUSE_DEBUG_FLAG=yes
3953 DEFAULT_wxUSE_DEBUG_INFO=yes
3954 BUILD=debug
3955 elif test "$wxUSE_DEBUG" = "no"; then
3956 DEFAULT_wxUSE_DEBUG_FLAG=no
3957 DEFAULT_wxUSE_DEBUG_INFO=no
3958 BUILD=release
3959 fi
3960
3961
3962 enablestring=
3963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3964 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3965 no_cache=0
3966 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3967 if test "${enable_debug_flag+set}" = set; then
3968 enableval="$enable_debug_flag"
3969
3970 if test "$enableval" = yes; then
3971 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3972 else
3973 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3974 fi
3975
3976 else
3977
3978 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3979 if test "x$LINE" != x ; then
3980 eval "DEFAULT_$LINE"
3981 else
3982 no_cache=1
3983 fi
3984
3985 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3986
3987 fi;
3988
3989 eval "$ac_cv_use_debug_flag"
3990 if test "$no_cache" != 1; then
3991 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3992 fi
3993
3994 if test "$wxUSE_DEBUG_FLAG" = yes; then
3995 echo "$as_me:$LINENO: result: yes" >&5
3996 echo "${ECHO_T}yes" >&6
3997 else
3998 echo "$as_me:$LINENO: result: no" >&5
3999 echo "${ECHO_T}no" >&6
4000 fi
4001
4002
4003 enablestring=
4004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4005 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4006 no_cache=0
4007 # Check whether --enable-debug_info or --disable-debug_info was given.
4008 if test "${enable_debug_info+set}" = set; then
4009 enableval="$enable_debug_info"
4010
4011 if test "$enableval" = yes; then
4012 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4013 else
4014 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4015 fi
4016
4017 else
4018
4019 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4020 if test "x$LINE" != x ; then
4021 eval "DEFAULT_$LINE"
4022 else
4023 no_cache=1
4024 fi
4025
4026 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4027
4028 fi;
4029
4030 eval "$ac_cv_use_debug_info"
4031 if test "$no_cache" != 1; then
4032 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4033 fi
4034
4035 if test "$wxUSE_DEBUG_INFO" = yes; then
4036 echo "$as_me:$LINENO: result: yes" >&5
4037 echo "${ECHO_T}yes" >&6
4038 else
4039 echo "$as_me:$LINENO: result: no" >&5
4040 echo "${ECHO_T}no" >&6
4041 fi
4042
4043
4044 enablestring=
4045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4046 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4047 no_cache=0
4048 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4049 if test "${enable_debug_gdb+set}" = set; then
4050 enableval="$enable_debug_gdb"
4051
4052 if test "$enableval" = yes; then
4053 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4054 else
4055 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4056 fi
4057
4058 else
4059
4060 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4061 if test "x$LINE" != x ; then
4062 eval "DEFAULT_$LINE"
4063 else
4064 no_cache=1
4065 fi
4066
4067 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4068
4069 fi;
4070
4071 eval "$ac_cv_use_debug_gdb"
4072 if test "$no_cache" != 1; then
4073 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4074 fi
4075
4076 if test "$wxUSE_DEBUG_GDB" = yes; then
4077 echo "$as_me:$LINENO: result: yes" >&5
4078 echo "${ECHO_T}yes" >&6
4079 else
4080 echo "$as_me:$LINENO: result: no" >&5
4081 echo "${ECHO_T}no" >&6
4082 fi
4083
4084
4085 enablestring=
4086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4087 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4088 no_cache=0
4089 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4090 if test "${enable_debug_cntxt+set}" = set; then
4091 enableval="$enable_debug_cntxt"
4092
4093 if test "$enableval" = yes; then
4094 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4095 else
4096 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4097 fi
4098
4099 else
4100
4101 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x ; then
4103 eval "DEFAULT_$LINE"
4104 else
4105 no_cache=1
4106 fi
4107
4108 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4109
4110 fi;
4111
4112 eval "$ac_cv_use_debug_cntxt"
4113 if test "$no_cache" != 1; then
4114 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4115 fi
4116
4117 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4118 echo "$as_me:$LINENO: result: yes" >&5
4119 echo "${ECHO_T}yes" >&6
4120 else
4121 echo "$as_me:$LINENO: result: no" >&5
4122 echo "${ECHO_T}no" >&6
4123 fi
4124
4125
4126 enablestring=
4127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4128 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4129 no_cache=0
4130 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4131 if test "${enable_mem_tracing+set}" = set; then
4132 enableval="$enable_mem_tracing"
4133
4134 if test "$enableval" = yes; then
4135 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4136 else
4137 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4138 fi
4139
4140 else
4141
4142 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x ; then
4144 eval "DEFAULT_$LINE"
4145 else
4146 no_cache=1
4147 fi
4148
4149 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4150
4151 fi;
4152
4153 eval "$ac_cv_use_mem_tracing"
4154 if test "$no_cache" != 1; then
4155 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4156 fi
4157
4158 if test "$wxUSE_MEM_TRACING" = yes; then
4159 echo "$as_me:$LINENO: result: yes" >&5
4160 echo "${ECHO_T}yes" >&6
4161 else
4162 echo "$as_me:$LINENO: result: no" >&5
4163 echo "${ECHO_T}no" >&6
4164 fi
4165
4166
4167 enablestring=
4168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4169 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4170 no_cache=0
4171 # Check whether --enable-profile or --disable-profile was given.
4172 if test "${enable_profile+set}" = set; then
4173 enableval="$enable_profile"
4174
4175 if test "$enableval" = yes; then
4176 ac_cv_use_profile='wxUSE_PROFILE=yes'
4177 else
4178 ac_cv_use_profile='wxUSE_PROFILE=no'
4179 fi
4180
4181 else
4182
4183 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4184 if test "x$LINE" != x ; then
4185 eval "DEFAULT_$LINE"
4186 else
4187 no_cache=1
4188 fi
4189
4190 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4191
4192 fi;
4193
4194 eval "$ac_cv_use_profile"
4195 if test "$no_cache" != 1; then
4196 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4197 fi
4198
4199 if test "$wxUSE_PROFILE" = yes; then
4200 echo "$as_me:$LINENO: result: yes" >&5
4201 echo "${ECHO_T}yes" >&6
4202 else
4203 echo "$as_me:$LINENO: result: no" >&5
4204 echo "${ECHO_T}no" >&6
4205 fi
4206
4207
4208 enablestring=
4209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4210 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4211 no_cache=0
4212 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4213 if test "${enable_no_rtti+set}" = set; then
4214 enableval="$enable_no_rtti"
4215
4216 if test "$enableval" = yes; then
4217 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4218 else
4219 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4220 fi
4221
4222 else
4223
4224 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4225 if test "x$LINE" != x ; then
4226 eval "DEFAULT_$LINE"
4227 else
4228 no_cache=1
4229 fi
4230
4231 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4232
4233 fi;
4234
4235 eval "$ac_cv_use_no_rtti"
4236 if test "$no_cache" != 1; then
4237 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4238 fi
4239
4240 if test "$wxUSE_NO_RTTI" = yes; then
4241 echo "$as_me:$LINENO: result: yes" >&5
4242 echo "${ECHO_T}yes" >&6
4243 else
4244 echo "$as_me:$LINENO: result: no" >&5
4245 echo "${ECHO_T}no" >&6
4246 fi
4247
4248
4249 enablestring=
4250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4251 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4252 no_cache=0
4253 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4254 if test "${enable_no_exceptions+set}" = set; then
4255 enableval="$enable_no_exceptions"
4256
4257 if test "$enableval" = yes; then
4258 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4259 else
4260 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4261 fi
4262
4263 else
4264
4265 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4266 if test "x$LINE" != x ; then
4267 eval "DEFAULT_$LINE"
4268 else
4269 no_cache=1
4270 fi
4271
4272 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4273
4274 fi;
4275
4276 eval "$ac_cv_use_no_exceptions"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4279 fi
4280
4281 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4282 echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6
4284 else
4285 echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6
4287 fi
4288
4289
4290 enablestring=
4291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4292 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4293 no_cache=0
4294 # Check whether --enable-permissive or --disable-permissive was given.
4295 if test "${enable_permissive+set}" = set; then
4296 enableval="$enable_permissive"
4297
4298 if test "$enableval" = yes; then
4299 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4300 else
4301 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4302 fi
4303
4304 else
4305
4306 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x ; then
4308 eval "DEFAULT_$LINE"
4309 else
4310 no_cache=1
4311 fi
4312
4313 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4314
4315 fi;
4316
4317 eval "$ac_cv_use_permissive"
4318 if test "$no_cache" != 1; then
4319 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4320 fi
4321
4322 if test "$wxUSE_PERMISSIVE" = yes; then
4323 echo "$as_me:$LINENO: result: yes" >&5
4324 echo "${ECHO_T}yes" >&6
4325 else
4326 echo "$as_me:$LINENO: result: no" >&5
4327 echo "${ECHO_T}no" >&6
4328 fi
4329
4330
4331 enablestring=
4332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4334 no_cache=0
4335 # Check whether --enable-no_deps or --disable-no_deps was given.
4336 if test "${enable_no_deps+set}" = set; then
4337 enableval="$enable_no_deps"
4338
4339 if test "$enableval" = yes; then
4340 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4341 else
4342 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4343 fi
4344
4345 else
4346
4347 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x ; then
4349 eval "DEFAULT_$LINE"
4350 else
4351 no_cache=1
4352 fi
4353
4354 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4355
4356 fi;
4357
4358 eval "$ac_cv_use_no_deps"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4361 fi
4362
4363 if test "$wxUSE_NO_DEPS" = yes; then
4364 echo "$as_me:$LINENO: result: yes" >&5
4365 echo "${ECHO_T}yes" >&6
4366 else
4367 echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6
4369 fi
4370
4371
4372 enablestring=
4373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4374 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4375 no_cache=0
4376 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4377 if test "${enable_universal_binary+set}" = set; then
4378 enableval="$enable_universal_binary"
4379
4380 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4381
4382 else
4383
4384 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x ; then
4386 eval "DEFAULT_$LINE"
4387 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4388 else
4389 no_cache=1
4390 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4391 fi
4392
4393 fi;
4394
4395 eval "$wx_cv_use_universal_binary"
4396 if test "$no_cache" != 1; then
4397 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4398 fi
4399
4400 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4401 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4402
4403
4404
4405 enablestring=enable
4406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4407 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4408 no_cache=0
4409 # Check whether --enable-compat24 or --disable-compat24 was given.
4410 if test "${enable_compat24+set}" = set; then
4411 enableval="$enable_compat24"
4412
4413 if test "$enableval" = yes; then
4414 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4415 else
4416 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4417 fi
4418
4419 else
4420
4421 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4422 if test "x$LINE" != x ; then
4423 eval "DEFAULT_$LINE"
4424 else
4425 no_cache=1
4426 fi
4427
4428 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4429
4430 fi;
4431
4432 eval "$ac_cv_use_compat24"
4433 if test "$no_cache" != 1; then
4434 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4435 fi
4436
4437 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4438 echo "$as_me:$LINENO: result: yes" >&5
4439 echo "${ECHO_T}yes" >&6
4440 else
4441 echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6
4443 fi
4444
4445
4446 enablestring=disable
4447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4448 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4449 no_cache=0
4450 # Check whether --enable-compat26 or --disable-compat26 was given.
4451 if test "${enable_compat26+set}" = set; then
4452 enableval="$enable_compat26"
4453
4454 if test "$enableval" = yes; then
4455 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4456 else
4457 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4458 fi
4459
4460 else
4461
4462 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x ; then
4464 eval "DEFAULT_$LINE"
4465 else
4466 no_cache=1
4467 fi
4468
4469 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4470
4471 fi;
4472
4473 eval "$ac_cv_use_compat26"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4476 fi
4477
4478 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4479 echo "$as_me:$LINENO: result: yes" >&5
4480 echo "${ECHO_T}yes" >&6
4481 else
4482 echo "$as_me:$LINENO: result: no" >&5
4483 echo "${ECHO_T}no" >&6
4484 fi
4485
4486
4487
4488 enablestring=
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4491 no_cache=0
4492 # Check whether --enable-rpath or --disable-rpath was given.
4493 if test "${enable_rpath+set}" = set; then
4494 enableval="$enable_rpath"
4495
4496 if test "$enableval" = yes; then
4497 ac_cv_use_rpath='wxUSE_RPATH=yes'
4498 else
4499 ac_cv_use_rpath='wxUSE_RPATH=no'
4500 fi
4501
4502 else
4503
4504 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x ; then
4506 eval "DEFAULT_$LINE"
4507 else
4508 no_cache=1
4509 fi
4510
4511 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4512
4513 fi;
4514
4515 eval "$ac_cv_use_rpath"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4518 fi
4519
4520 if test "$wxUSE_RPATH" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4523 else
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4526 fi
4527
4528
4529
4530
4531
4532 enablestring=
4533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4535 no_cache=0
4536 # Check whether --enable-intl or --disable-intl was given.
4537 if test "${enable_intl+set}" = set; then
4538 enableval="$enable_intl"
4539
4540 if test "$enableval" = yes; then
4541 ac_cv_use_intl='wxUSE_INTL=yes'
4542 else
4543 ac_cv_use_intl='wxUSE_INTL=no'
4544 fi
4545
4546 else
4547
4548 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x ; then
4550 eval "DEFAULT_$LINE"
4551 else
4552 no_cache=1
4553 fi
4554
4555 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4556
4557 fi;
4558
4559 eval "$ac_cv_use_intl"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4562 fi
4563
4564 if test "$wxUSE_INTL" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4567 else
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4570 fi
4571
4572
4573 enablestring=
4574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4575 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4576 no_cache=0
4577 # Check whether --enable-config or --disable-config was given.
4578 if test "${enable_config+set}" = set; then
4579 enableval="$enable_config"
4580
4581 if test "$enableval" = yes; then
4582 ac_cv_use_config='wxUSE_CONFIG=yes'
4583 else
4584 ac_cv_use_config='wxUSE_CONFIG=no'
4585 fi
4586
4587 else
4588
4589 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4590 if test "x$LINE" != x ; then
4591 eval "DEFAULT_$LINE"
4592 else
4593 no_cache=1
4594 fi
4595
4596 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4597
4598 fi;
4599
4600 eval "$ac_cv_use_config"
4601 if test "$no_cache" != 1; then
4602 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4603 fi
4604
4605 if test "$wxUSE_CONFIG" = yes; then
4606 echo "$as_me:$LINENO: result: yes" >&5
4607 echo "${ECHO_T}yes" >&6
4608 else
4609 echo "$as_me:$LINENO: result: no" >&5
4610 echo "${ECHO_T}no" >&6
4611 fi
4612
4613
4614
4615 enablestring=
4616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4617 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4618 no_cache=0
4619 # Check whether --enable-protocols or --disable-protocols was given.
4620 if test "${enable_protocols+set}" = set; then
4621 enableval="$enable_protocols"
4622
4623 if test "$enableval" = yes; then
4624 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4625 else
4626 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4627 fi
4628
4629 else
4630
4631 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4632 if test "x$LINE" != x ; then
4633 eval "DEFAULT_$LINE"
4634 else
4635 no_cache=1
4636 fi
4637
4638 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4639
4640 fi;
4641
4642 eval "$ac_cv_use_protocols"
4643 if test "$no_cache" != 1; then
4644 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4645 fi
4646
4647 if test "$wxUSE_PROTOCOL" = yes; then
4648 echo "$as_me:$LINENO: result: yes" >&5
4649 echo "${ECHO_T}yes" >&6
4650 else
4651 echo "$as_me:$LINENO: result: no" >&5
4652 echo "${ECHO_T}no" >&6
4653 fi
4654
4655
4656 enablestring=
4657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4658 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4659 no_cache=0
4660 # Check whether --enable-ftp or --disable-ftp was given.
4661 if test "${enable_ftp+set}" = set; then
4662 enableval="$enable_ftp"
4663
4664 if test "$enableval" = yes; then
4665 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4666 else
4667 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4668 fi
4669
4670 else
4671
4672 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4673 if test "x$LINE" != x ; then
4674 eval "DEFAULT_$LINE"
4675 else
4676 no_cache=1
4677 fi
4678
4679 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4680
4681 fi;
4682
4683 eval "$ac_cv_use_ftp"
4684 if test "$no_cache" != 1; then
4685 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4686 fi
4687
4688 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4689 echo "$as_me:$LINENO: result: yes" >&5
4690 echo "${ECHO_T}yes" >&6
4691 else
4692 echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6
4694 fi
4695
4696
4697 enablestring=
4698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4699 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4700 no_cache=0
4701 # Check whether --enable-http or --disable-http was given.
4702 if test "${enable_http+set}" = set; then
4703 enableval="$enable_http"
4704
4705 if test "$enableval" = yes; then
4706 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4707 else
4708 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4709 fi
4710
4711 else
4712
4713 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4714 if test "x$LINE" != x ; then
4715 eval "DEFAULT_$LINE"
4716 else
4717 no_cache=1
4718 fi
4719
4720 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4721
4722 fi;
4723
4724 eval "$ac_cv_use_http"
4725 if test "$no_cache" != 1; then
4726 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4727 fi
4728
4729 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4730 echo "$as_me:$LINENO: result: yes" >&5
4731 echo "${ECHO_T}yes" >&6
4732 else
4733 echo "$as_me:$LINENO: result: no" >&5
4734 echo "${ECHO_T}no" >&6
4735 fi
4736
4737
4738 enablestring=
4739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4741 no_cache=0
4742 # Check whether --enable-fileproto or --disable-fileproto was given.
4743 if test "${enable_fileproto+set}" = set; then
4744 enableval="$enable_fileproto"
4745
4746 if test "$enableval" = yes; then
4747 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4748 else
4749 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4750 fi
4751
4752 else
4753
4754 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4755 if test "x$LINE" != x ; then
4756 eval "DEFAULT_$LINE"
4757 else
4758 no_cache=1
4759 fi
4760
4761 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4762
4763 fi;
4764
4765 eval "$ac_cv_use_fileproto"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4768 fi
4769
4770 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4771 echo "$as_me:$LINENO: result: yes" >&5
4772 echo "${ECHO_T}yes" >&6
4773 else
4774 echo "$as_me:$LINENO: result: no" >&5
4775 echo "${ECHO_T}no" >&6
4776 fi
4777
4778
4779 enablestring=
4780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4781 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4782 no_cache=0
4783 # Check whether --enable-sockets or --disable-sockets was given.
4784 if test "${enable_sockets+set}" = set; then
4785 enableval="$enable_sockets"
4786
4787 if test "$enableval" = yes; then
4788 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4789 else
4790 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4791 fi
4792
4793 else
4794
4795 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4796 if test "x$LINE" != x ; then
4797 eval "DEFAULT_$LINE"
4798 else
4799 no_cache=1
4800 fi
4801
4802 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4803
4804 fi;
4805
4806 eval "$ac_cv_use_sockets"
4807 if test "$no_cache" != 1; then
4808 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4809 fi
4810
4811 if test "$wxUSE_SOCKETS" = yes; then
4812 echo "$as_me:$LINENO: result: yes" >&5
4813 echo "${ECHO_T}yes" >&6
4814 else
4815 echo "$as_me:$LINENO: result: no" >&5
4816 echo "${ECHO_T}no" >&6
4817 fi
4818
4819
4820 enablestring=
4821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4822 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4823 no_cache=0
4824 # Check whether --enable-ole or --disable-ole was given.
4825 if test "${enable_ole+set}" = set; then
4826 enableval="$enable_ole"
4827
4828 if test "$enableval" = yes; then
4829 ac_cv_use_ole='wxUSE_OLE=yes'
4830 else
4831 ac_cv_use_ole='wxUSE_OLE=no'
4832 fi
4833
4834 else
4835
4836 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x ; then
4838 eval "DEFAULT_$LINE"
4839 else
4840 no_cache=1
4841 fi
4842
4843 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4844
4845 fi;
4846
4847 eval "$ac_cv_use_ole"
4848 if test "$no_cache" != 1; then
4849 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4850 fi
4851
4852 if test "$wxUSE_OLE" = yes; then
4853 echo "$as_me:$LINENO: result: yes" >&5
4854 echo "${ECHO_T}yes" >&6
4855 else
4856 echo "$as_me:$LINENO: result: no" >&5
4857 echo "${ECHO_T}no" >&6
4858 fi
4859
4860
4861 enablestring=
4862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4863 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4864 no_cache=0
4865 # Check whether --enable-dataobj or --disable-dataobj was given.
4866 if test "${enable_dataobj+set}" = set; then
4867 enableval="$enable_dataobj"
4868
4869 if test "$enableval" = yes; then
4870 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4871 else
4872 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4873 fi
4874
4875 else
4876
4877 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4878 if test "x$LINE" != x ; then
4879 eval "DEFAULT_$LINE"
4880 else
4881 no_cache=1
4882 fi
4883
4884 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4885
4886 fi;
4887
4888 eval "$ac_cv_use_dataobj"
4889 if test "$no_cache" != 1; then
4890 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4891 fi
4892
4893 if test "$wxUSE_DATAOBJ" = yes; then
4894 echo "$as_me:$LINENO: result: yes" >&5
4895 echo "${ECHO_T}yes" >&6
4896 else
4897 echo "$as_me:$LINENO: result: no" >&5
4898 echo "${ECHO_T}no" >&6
4899 fi
4900
4901
4902
4903 enablestring=
4904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4905 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4906 no_cache=0
4907 # Check whether --enable-ipc or --disable-ipc was given.
4908 if test "${enable_ipc+set}" = set; then
4909 enableval="$enable_ipc"
4910
4911 if test "$enableval" = yes; then
4912 ac_cv_use_ipc='wxUSE_IPC=yes'
4913 else
4914 ac_cv_use_ipc='wxUSE_IPC=no'
4915 fi
4916
4917 else
4918
4919 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4922 else
4923 no_cache=1
4924 fi
4925
4926 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4927
4928 fi;
4929
4930 eval "$ac_cv_use_ipc"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4933 fi
4934
4935 if test "$wxUSE_IPC" = yes; then
4936 echo "$as_me:$LINENO: result: yes" >&5
4937 echo "${ECHO_T}yes" >&6
4938 else
4939 echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6
4941 fi
4942
4943
4944
4945 enablestring=
4946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4947 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4948 no_cache=0
4949 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4950 if test "${enable_apple_ieee+set}" = set; then
4951 enableval="$enable_apple_ieee"
4952
4953 if test "$enableval" = yes; then
4954 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4955 else
4956 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4957 fi
4958
4959 else
4960
4961 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4962 if test "x$LINE" != x ; then
4963 eval "DEFAULT_$LINE"
4964 else
4965 no_cache=1
4966 fi
4967
4968 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4969
4970 fi;
4971
4972 eval "$ac_cv_use_apple_ieee"
4973 if test "$no_cache" != 1; then
4974 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4975 fi
4976
4977 if test "$wxUSE_APPLE_IEEE" = yes; then
4978 echo "$as_me:$LINENO: result: yes" >&5
4979 echo "${ECHO_T}yes" >&6
4980 else
4981 echo "$as_me:$LINENO: result: no" >&5
4982 echo "${ECHO_T}no" >&6
4983 fi
4984
4985
4986 enablestring=
4987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4988 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4989 no_cache=0
4990 # Check whether --enable-arcstream or --disable-arcstream was given.
4991 if test "${enable_arcstream+set}" = set; then
4992 enableval="$enable_arcstream"
4993
4994 if test "$enableval" = yes; then
4995 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4996 else
4997 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4998 fi
4999
5000 else
5001
5002 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5003 if test "x$LINE" != x ; then
5004 eval "DEFAULT_$LINE"
5005 else
5006 no_cache=1
5007 fi
5008
5009 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5010
5011 fi;
5012
5013 eval "$ac_cv_use_arcstream"
5014 if test "$no_cache" != 1; then
5015 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5016 fi
5017
5018 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5019 echo "$as_me:$LINENO: result: yes" >&5
5020 echo "${ECHO_T}yes" >&6
5021 else
5022 echo "$as_me:$LINENO: result: no" >&5
5023 echo "${ECHO_T}no" >&6
5024 fi
5025
5026
5027 enablestring=
5028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5029 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5030 no_cache=0
5031 # Check whether --enable-backtrace or --disable-backtrace was given.
5032 if test "${enable_backtrace+set}" = set; then
5033 enableval="$enable_backtrace"
5034
5035 if test "$enableval" = yes; then
5036 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5037 else
5038 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5039 fi
5040
5041 else
5042
5043 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5044 if test "x$LINE" != x ; then
5045 eval "DEFAULT_$LINE"
5046 else
5047 no_cache=1
5048 fi
5049
5050 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5051
5052 fi;
5053
5054 eval "$ac_cv_use_backtrace"
5055 if test "$no_cache" != 1; then
5056 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5057 fi
5058
5059 if test "$wxUSE_STACKWALKER" = yes; then
5060 echo "$as_me:$LINENO: result: yes" >&5
5061 echo "${ECHO_T}yes" >&6
5062 else
5063 echo "$as_me:$LINENO: result: no" >&5
5064 echo "${ECHO_T}no" >&6
5065 fi
5066
5067
5068 enablestring=
5069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5071 no_cache=0
5072 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5073 if test "${enable_catch_segvs+set}" = set; then
5074 enableval="$enable_catch_segvs"
5075
5076 if test "$enableval" = yes; then
5077 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5078 else
5079 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5080 fi
5081
5082 else
5083
5084 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5085 if test "x$LINE" != x ; then
5086 eval "DEFAULT_$LINE"
5087 else
5088 no_cache=1
5089 fi
5090
5091 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5092
5093 fi;
5094
5095 eval "$ac_cv_use_catch_segvs"
5096 if test "$no_cache" != 1; then
5097 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5098 fi
5099
5100 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5101 echo "$as_me:$LINENO: result: yes" >&5
5102 echo "${ECHO_T}yes" >&6
5103 else
5104 echo "$as_me:$LINENO: result: no" >&5
5105 echo "${ECHO_T}no" >&6
5106 fi
5107
5108
5109 enablestring=
5110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5111 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5112 no_cache=0
5113 # Check whether --enable-cmdline or --disable-cmdline was given.
5114 if test "${enable_cmdline+set}" = set; then
5115 enableval="$enable_cmdline"
5116
5117 if test "$enableval" = yes; then
5118 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5119 else
5120 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5121 fi
5122
5123 else
5124
5125 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5126 if test "x$LINE" != x ; then
5127 eval "DEFAULT_$LINE"
5128 else
5129 no_cache=1
5130 fi
5131
5132 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5133
5134 fi;
5135
5136 eval "$ac_cv_use_cmdline"
5137 if test "$no_cache" != 1; then
5138 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5139 fi
5140
5141 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5142 echo "$as_me:$LINENO: result: yes" >&5
5143 echo "${ECHO_T}yes" >&6
5144 else
5145 echo "$as_me:$LINENO: result: no" >&5
5146 echo "${ECHO_T}no" >&6
5147 fi
5148
5149
5150 enablestring=
5151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5152 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5153 no_cache=0
5154 # Check whether --enable-datetime or --disable-datetime was given.
5155 if test "${enable_datetime+set}" = set; then
5156 enableval="$enable_datetime"
5157
5158 if test "$enableval" = yes; then
5159 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5160 else
5161 ac_cv_use_datetime='wxUSE_DATETIME=no'
5162 fi
5163
5164 else
5165
5166 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5167 if test "x$LINE" != x ; then
5168 eval "DEFAULT_$LINE"
5169 else
5170 no_cache=1
5171 fi
5172
5173 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5174
5175 fi;
5176
5177 eval "$ac_cv_use_datetime"
5178 if test "$no_cache" != 1; then
5179 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5180 fi
5181
5182 if test "$wxUSE_DATETIME" = yes; then
5183 echo "$as_me:$LINENO: result: yes" >&5
5184 echo "${ECHO_T}yes" >&6
5185 else
5186 echo "$as_me:$LINENO: result: no" >&5
5187 echo "${ECHO_T}no" >&6
5188 fi
5189
5190
5191 enablestring=
5192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5193 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5194 no_cache=0
5195 # Check whether --enable-debugreport or --disable-debugreport was given.
5196 if test "${enable_debugreport+set}" = set; then
5197 enableval="$enable_debugreport"
5198
5199 if test "$enableval" = yes; then
5200 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5201 else
5202 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5203 fi
5204
5205 else
5206
5207 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5208 if test "x$LINE" != x ; then
5209 eval "DEFAULT_$LINE"
5210 else
5211 no_cache=1
5212 fi
5213
5214 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5215
5216 fi;
5217
5218 eval "$ac_cv_use_debugreport"
5219 if test "$no_cache" != 1; then
5220 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5221 fi
5222
5223 if test "$wxUSE_DEBUGREPORT" = yes; then
5224 echo "$as_me:$LINENO: result: yes" >&5
5225 echo "${ECHO_T}yes" >&6
5226 else
5227 echo "$as_me:$LINENO: result: no" >&5
5228 echo "${ECHO_T}no" >&6
5229 fi
5230
5231
5232 enablestring=
5233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5234 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5235 no_cache=0
5236 # Check whether --enable-dialupman or --disable-dialupman was given.
5237 if test "${enable_dialupman+set}" = set; then
5238 enableval="$enable_dialupman"
5239
5240 if test "$enableval" = yes; then
5241 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5242 else
5243 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5244 fi
5245
5246 else
5247
5248 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x ; then
5250 eval "DEFAULT_$LINE"
5251 else
5252 no_cache=1
5253 fi
5254
5255 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5256
5257 fi;
5258
5259 eval "$ac_cv_use_dialupman"
5260 if test "$no_cache" != 1; then
5261 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5262 fi
5263
5264 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5265 echo "$as_me:$LINENO: result: yes" >&5
5266 echo "${ECHO_T}yes" >&6
5267 else
5268 echo "$as_me:$LINENO: result: no" >&5
5269 echo "${ECHO_T}no" >&6
5270 fi
5271
5272
5273 enablestring=
5274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5275 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5276 no_cache=0
5277 # Check whether --enable-dynlib or --disable-dynlib was given.
5278 if test "${enable_dynlib+set}" = set; then
5279 enableval="$enable_dynlib"
5280
5281 if test "$enableval" = yes; then
5282 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5283 else
5284 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5285 fi
5286
5287 else
5288
5289 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5290 if test "x$LINE" != x ; then
5291 eval "DEFAULT_$LINE"
5292 else
5293 no_cache=1
5294 fi
5295
5296 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5297
5298 fi;
5299
5300 eval "$ac_cv_use_dynlib"
5301 if test "$no_cache" != 1; then
5302 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5303 fi
5304
5305 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5306 echo "$as_me:$LINENO: result: yes" >&5
5307 echo "${ECHO_T}yes" >&6
5308 else
5309 echo "$as_me:$LINENO: result: no" >&5
5310 echo "${ECHO_T}no" >&6
5311 fi
5312
5313
5314 enablestring=
5315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5316 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5317 no_cache=0
5318 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5319 if test "${enable_dynamicloader+set}" = set; then
5320 enableval="$enable_dynamicloader"
5321
5322 if test "$enableval" = yes; then
5323 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5324 else
5325 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5326 fi
5327
5328 else
5329
5330 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5331 if test "x$LINE" != x ; then
5332 eval "DEFAULT_$LINE"
5333 else
5334 no_cache=1
5335 fi
5336
5337 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5338
5339 fi;
5340
5341 eval "$ac_cv_use_dynamicloader"
5342 if test "$no_cache" != 1; then
5343 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5344 fi
5345
5346 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5347 echo "$as_me:$LINENO: result: yes" >&5
5348 echo "${ECHO_T}yes" >&6
5349 else
5350 echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6
5352 fi
5353
5354
5355 enablestring=
5356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5358 no_cache=0
5359 # Check whether --enable-exceptions or --disable-exceptions was given.
5360 if test "${enable_exceptions+set}" = set; then
5361 enableval="$enable_exceptions"
5362
5363 if test "$enableval" = yes; then
5364 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5365 else
5366 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5367 fi
5368
5369 else
5370
5371 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5372 if test "x$LINE" != x ; then
5373 eval "DEFAULT_$LINE"
5374 else
5375 no_cache=1
5376 fi
5377
5378 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5379
5380 fi;
5381
5382 eval "$ac_cv_use_exceptions"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5385 fi
5386
5387 if test "$wxUSE_EXCEPTIONS" = yes; then
5388 echo "$as_me:$LINENO: result: yes" >&5
5389 echo "${ECHO_T}yes" >&6
5390 else
5391 echo "$as_me:$LINENO: result: no" >&5
5392 echo "${ECHO_T}no" >&6
5393 fi
5394
5395
5396 enablestring=
5397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5398 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5399 no_cache=0
5400 # Check whether --enable-ffile or --disable-ffile was given.
5401 if test "${enable_ffile+set}" = set; then
5402 enableval="$enable_ffile"
5403
5404 if test "$enableval" = yes; then
5405 ac_cv_use_ffile='wxUSE_FFILE=yes'
5406 else
5407 ac_cv_use_ffile='wxUSE_FFILE=no'
5408 fi
5409
5410 else
5411
5412 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5413 if test "x$LINE" != x ; then
5414 eval "DEFAULT_$LINE"
5415 else
5416 no_cache=1
5417 fi
5418
5419 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5420
5421 fi;
5422
5423 eval "$ac_cv_use_ffile"
5424 if test "$no_cache" != 1; then
5425 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5426 fi
5427
5428 if test "$wxUSE_FFILE" = yes; then
5429 echo "$as_me:$LINENO: result: yes" >&5
5430 echo "${ECHO_T}yes" >&6
5431 else
5432 echo "$as_me:$LINENO: result: no" >&5
5433 echo "${ECHO_T}no" >&6
5434 fi
5435
5436
5437 enablestring=
5438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5439 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5440 no_cache=0
5441 # Check whether --enable-file or --disable-file was given.
5442 if test "${enable_file+set}" = set; then
5443 enableval="$enable_file"
5444
5445 if test "$enableval" = yes; then
5446 ac_cv_use_file='wxUSE_FILE=yes'
5447 else
5448 ac_cv_use_file='wxUSE_FILE=no'
5449 fi
5450
5451 else
5452
5453 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5454 if test "x$LINE" != x ; then
5455 eval "DEFAULT_$LINE"
5456 else
5457 no_cache=1
5458 fi
5459
5460 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5461
5462 fi;
5463
5464 eval "$ac_cv_use_file"
5465 if test "$no_cache" != 1; then
5466 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5467 fi
5468
5469 if test "$wxUSE_FILE" = yes; then
5470 echo "$as_me:$LINENO: result: yes" >&5
5471 echo "${ECHO_T}yes" >&6
5472 else
5473 echo "$as_me:$LINENO: result: no" >&5
5474 echo "${ECHO_T}no" >&6
5475 fi
5476
5477
5478 enablestring=
5479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5480 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5481 no_cache=0
5482 # Check whether --enable-filesystem or --disable-filesystem was given.
5483 if test "${enable_filesystem+set}" = set; then
5484 enableval="$enable_filesystem"
5485
5486 if test "$enableval" = yes; then
5487 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5488 else
5489 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5490 fi
5491
5492 else
5493
5494 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5495 if test "x$LINE" != x ; then
5496 eval "DEFAULT_$LINE"
5497 else
5498 no_cache=1
5499 fi
5500
5501 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5502
5503 fi;
5504
5505 eval "$ac_cv_use_filesystem"
5506 if test "$no_cache" != 1; then
5507 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5508 fi
5509
5510 if test "$wxUSE_FILESYSTEM" = yes; then
5511 echo "$as_me:$LINENO: result: yes" >&5
5512 echo "${ECHO_T}yes" >&6
5513 else
5514 echo "$as_me:$LINENO: result: no" >&5
5515 echo "${ECHO_T}no" >&6
5516 fi
5517
5518
5519 enablestring=
5520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5522 no_cache=0
5523 # Check whether --enable-fontmap or --disable-fontmap was given.
5524 if test "${enable_fontmap+set}" = set; then
5525 enableval="$enable_fontmap"
5526
5527 if test "$enableval" = yes; then
5528 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5529 else
5530 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5531 fi
5532
5533 else
5534
5535 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5536 if test "x$LINE" != x ; then
5537 eval "DEFAULT_$LINE"
5538 else
5539 no_cache=1
5540 fi
5541
5542 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5543
5544 fi;
5545
5546 eval "$ac_cv_use_fontmap"
5547 if test "$no_cache" != 1; then
5548 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5549 fi
5550
5551 if test "$wxUSE_FONTMAP" = yes; then
5552 echo "$as_me:$LINENO: result: yes" >&5
5553 echo "${ECHO_T}yes" >&6
5554 else
5555 echo "$as_me:$LINENO: result: no" >&5
5556 echo "${ECHO_T}no" >&6
5557 fi
5558
5559
5560 enablestring=
5561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5562 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5563 no_cache=0
5564 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5565 if test "${enable_fs_inet+set}" = set; then
5566 enableval="$enable_fs_inet"
5567
5568 if test "$enableval" = yes; then
5569 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5570 else
5571 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5572 fi
5573
5574 else
5575
5576 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5577 if test "x$LINE" != x ; then
5578 eval "DEFAULT_$LINE"
5579 else
5580 no_cache=1
5581 fi
5582
5583 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5584
5585 fi;
5586
5587 eval "$ac_cv_use_fs_inet"
5588 if test "$no_cache" != 1; then
5589 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5590 fi
5591
5592 if test "$wxUSE_FS_INET" = yes; then
5593 echo "$as_me:$LINENO: result: yes" >&5
5594 echo "${ECHO_T}yes" >&6
5595 else
5596 echo "$as_me:$LINENO: result: no" >&5
5597 echo "${ECHO_T}no" >&6
5598 fi
5599
5600
5601 enablestring=
5602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5603 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5604 no_cache=0
5605 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5606 if test "${enable_fs_zip+set}" = set; then
5607 enableval="$enable_fs_zip"
5608
5609 if test "$enableval" = yes; then
5610 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5611 else
5612 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5613 fi
5614
5615 else
5616
5617 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5618 if test "x$LINE" != x ; then
5619 eval "DEFAULT_$LINE"
5620 else
5621 no_cache=1
5622 fi
5623
5624 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5625
5626 fi;
5627
5628 eval "$ac_cv_use_fs_zip"
5629 if test "$no_cache" != 1; then
5630 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5631 fi
5632
5633 if test "$wxUSE_FS_ZIP" = yes; then
5634 echo "$as_me:$LINENO: result: yes" >&5
5635 echo "${ECHO_T}yes" >&6
5636 else
5637 echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6
5639 fi
5640
5641
5642 enablestring=
5643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5644 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5645 no_cache=0
5646 # Check whether --enable-geometry or --disable-geometry was given.
5647 if test "${enable_geometry+set}" = set; then
5648 enableval="$enable_geometry"
5649
5650 if test "$enableval" = yes; then
5651 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5652 else
5653 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5654 fi
5655
5656 else
5657
5658 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x ; then
5660 eval "DEFAULT_$LINE"
5661 else
5662 no_cache=1
5663 fi
5664
5665 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5666
5667 fi;
5668
5669 eval "$ac_cv_use_geometry"
5670 if test "$no_cache" != 1; then
5671 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5672 fi
5673
5674 if test "$wxUSE_GEOMETRY" = yes; then
5675 echo "$as_me:$LINENO: result: yes" >&5
5676 echo "${ECHO_T}yes" >&6
5677 else
5678 echo "$as_me:$LINENO: result: no" >&5
5679 echo "${ECHO_T}no" >&6
5680 fi
5681
5682
5683 enablestring=
5684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5685 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5686 no_cache=0
5687 # Check whether --enable-log or --disable-log was given.
5688 if test "${enable_log+set}" = set; then
5689 enableval="$enable_log"
5690
5691 if test "$enableval" = yes; then
5692 ac_cv_use_log='wxUSE_LOG=yes'
5693 else
5694 ac_cv_use_log='wxUSE_LOG=no'
5695 fi
5696
5697 else
5698
5699 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5700 if test "x$LINE" != x ; then
5701 eval "DEFAULT_$LINE"
5702 else
5703 no_cache=1
5704 fi
5705
5706 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5707
5708 fi;
5709
5710 eval "$ac_cv_use_log"
5711 if test "$no_cache" != 1; then
5712 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5713 fi
5714
5715 if test "$wxUSE_LOG" = yes; then
5716 echo "$as_me:$LINENO: result: yes" >&5
5717 echo "${ECHO_T}yes" >&6
5718 else
5719 echo "$as_me:$LINENO: result: no" >&5
5720 echo "${ECHO_T}no" >&6
5721 fi
5722
5723
5724 enablestring=
5725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5726 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5727 no_cache=0
5728 # Check whether --enable-longlong or --disable-longlong was given.
5729 if test "${enable_longlong+set}" = set; then
5730 enableval="$enable_longlong"
5731
5732 if test "$enableval" = yes; then
5733 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5734 else
5735 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5736 fi
5737
5738 else
5739
5740 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5741 if test "x$LINE" != x ; then
5742 eval "DEFAULT_$LINE"
5743 else
5744 no_cache=1
5745 fi
5746
5747 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5748
5749 fi;
5750
5751 eval "$ac_cv_use_longlong"
5752 if test "$no_cache" != 1; then
5753 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5754 fi
5755
5756 if test "$wxUSE_LONGLONG" = yes; then
5757 echo "$as_me:$LINENO: result: yes" >&5
5758 echo "${ECHO_T}yes" >&6
5759 else
5760 echo "$as_me:$LINENO: result: no" >&5
5761 echo "${ECHO_T}no" >&6
5762 fi
5763
5764
5765 enablestring=
5766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5767 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5768 no_cache=0
5769 # Check whether --enable-mimetype or --disable-mimetype was given.
5770 if test "${enable_mimetype+set}" = set; then
5771 enableval="$enable_mimetype"
5772
5773 if test "$enableval" = yes; then
5774 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5775 else
5776 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5777 fi
5778
5779 else
5780
5781 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5782 if test "x$LINE" != x ; then
5783 eval "DEFAULT_$LINE"
5784 else
5785 no_cache=1
5786 fi
5787
5788 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5789
5790 fi;
5791
5792 eval "$ac_cv_use_mimetype"
5793 if test "$no_cache" != 1; then
5794 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5795 fi
5796
5797 if test "$wxUSE_MIMETYPE" = yes; then
5798 echo "$as_me:$LINENO: result: yes" >&5
5799 echo "${ECHO_T}yes" >&6
5800 else
5801 echo "$as_me:$LINENO: result: no" >&5
5802 echo "${ECHO_T}no" >&6
5803 fi
5804
5805
5806 enablestring=
5807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5808 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5809 no_cache=0
5810 # Check whether --enable-mslu or --disable-mslu was given.
5811 if test "${enable_mslu+set}" = set; then
5812 enableval="$enable_mslu"
5813
5814 if test "$enableval" = yes; then
5815 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5816 else
5817 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5818 fi
5819
5820 else
5821
5822 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5823 if test "x$LINE" != x ; then
5824 eval "DEFAULT_$LINE"
5825 else
5826 no_cache=1
5827 fi
5828
5829 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5830
5831 fi;
5832
5833 eval "$ac_cv_use_mslu"
5834 if test "$no_cache" != 1; then
5835 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5836 fi
5837
5838 if test "$wxUSE_UNICODE_MSLU" = yes; then
5839 echo "$as_me:$LINENO: result: yes" >&5
5840 echo "${ECHO_T}yes" >&6
5841 else
5842 echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6
5844 fi
5845
5846
5847 enablestring=
5848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5849 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5850 no_cache=0
5851 # Check whether --enable-snglinst or --disable-snglinst was given.
5852 if test "${enable_snglinst+set}" = set; then
5853 enableval="$enable_snglinst"
5854
5855 if test "$enableval" = yes; then
5856 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5857 else
5858 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5859 fi
5860
5861 else
5862
5863 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5864 if test "x$LINE" != x ; then
5865 eval "DEFAULT_$LINE"
5866 else
5867 no_cache=1
5868 fi
5869
5870 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5871
5872 fi;
5873
5874 eval "$ac_cv_use_snglinst"
5875 if test "$no_cache" != 1; then
5876 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5877 fi
5878
5879 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5880 echo "$as_me:$LINENO: result: yes" >&5
5881 echo "${ECHO_T}yes" >&6
5882 else
5883 echo "$as_me:$LINENO: result: no" >&5
5884 echo "${ECHO_T}no" >&6
5885 fi
5886
5887
5888 enablestring=
5889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5890 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5891 no_cache=0
5892 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5893 if test "${enable_std_iostreams+set}" = set; then
5894 enableval="$enable_std_iostreams"
5895
5896 if test "$enableval" = yes; then
5897 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5898 else
5899 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5900 fi
5901
5902 else
5903
5904 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x ; then
5906 eval "DEFAULT_$LINE"
5907 else
5908 no_cache=1
5909 fi
5910
5911 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5912
5913 fi;
5914
5915 eval "$ac_cv_use_std_iostreams"
5916 if test "$no_cache" != 1; then
5917 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5918 fi
5919
5920 if test "$wxUSE_STD_IOSTREAM" = yes; then
5921 echo "$as_me:$LINENO: result: yes" >&5
5922 echo "${ECHO_T}yes" >&6
5923 else
5924 echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6
5926 fi
5927
5928
5929 enablestring=
5930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5931 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5932 no_cache=0
5933 # Check whether --enable-std_string or --disable-std_string was given.
5934 if test "${enable_std_string+set}" = set; then
5935 enableval="$enable_std_string"
5936
5937 if test "$enableval" = yes; then
5938 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5939 else
5940 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5941 fi
5942
5943 else
5944
5945 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5946 if test "x$LINE" != x ; then
5947 eval "DEFAULT_$LINE"
5948 else
5949 no_cache=1
5950 fi
5951
5952 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5953
5954 fi;
5955
5956 eval "$ac_cv_use_std_string"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5959 fi
5960
5961 if test "$wxUSE_STD_STRING" = yes; then
5962 echo "$as_me:$LINENO: result: yes" >&5
5963 echo "${ECHO_T}yes" >&6
5964 else
5965 echo "$as_me:$LINENO: result: no" >&5
5966 echo "${ECHO_T}no" >&6
5967 fi
5968
5969
5970 enablestring=
5971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5972 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5973 no_cache=0
5974 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5975 if test "${enable_stdpaths+set}" = set; then
5976 enableval="$enable_stdpaths"
5977
5978 if test "$enableval" = yes; then
5979 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5980 else
5981 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5982 fi
5983
5984 else
5985
5986 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5987 if test "x$LINE" != x ; then
5988 eval "DEFAULT_$LINE"
5989 else
5990 no_cache=1
5991 fi
5992
5993 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5994
5995 fi;
5996
5997 eval "$ac_cv_use_stdpaths"
5998 if test "$no_cache" != 1; then
5999 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6000 fi
6001
6002 if test "$wxUSE_STDPATHS" = yes; then
6003 echo "$as_me:$LINENO: result: yes" >&5
6004 echo "${ECHO_T}yes" >&6
6005 else
6006 echo "$as_me:$LINENO: result: no" >&5
6007 echo "${ECHO_T}no" >&6
6008 fi
6009
6010
6011 enablestring=
6012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6014 no_cache=0
6015 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6016 if test "${enable_stopwatch+set}" = set; then
6017 enableval="$enable_stopwatch"
6018
6019 if test "$enableval" = yes; then
6020 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6021 else
6022 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6023 fi
6024
6025 else
6026
6027 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6028 if test "x$LINE" != x ; then
6029 eval "DEFAULT_$LINE"
6030 else
6031 no_cache=1
6032 fi
6033
6034 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6035
6036 fi;
6037
6038 eval "$ac_cv_use_stopwatch"
6039 if test "$no_cache" != 1; then
6040 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6041 fi
6042
6043 if test "$wxUSE_STOPWATCH" = yes; then
6044 echo "$as_me:$LINENO: result: yes" >&5
6045 echo "${ECHO_T}yes" >&6
6046 else
6047 echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6
6049 fi
6050
6051
6052 enablestring=
6053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6054 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6055 no_cache=0
6056 # Check whether --enable-streams or --disable-streams was given.
6057 if test "${enable_streams+set}" = set; then
6058 enableval="$enable_streams"
6059
6060 if test "$enableval" = yes; then
6061 ac_cv_use_streams='wxUSE_STREAMS=yes'
6062 else
6063 ac_cv_use_streams='wxUSE_STREAMS=no'
6064 fi
6065
6066 else
6067
6068 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6069 if test "x$LINE" != x ; then
6070 eval "DEFAULT_$LINE"
6071 else
6072 no_cache=1
6073 fi
6074
6075 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6076
6077 fi;
6078
6079 eval "$ac_cv_use_streams"
6080 if test "$no_cache" != 1; then
6081 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6082 fi
6083
6084 if test "$wxUSE_STREAMS" = yes; then
6085 echo "$as_me:$LINENO: result: yes" >&5
6086 echo "${ECHO_T}yes" >&6
6087 else
6088 echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6
6090 fi
6091
6092
6093 enablestring=
6094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6095 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6096 no_cache=0
6097 # Check whether --enable-system_options or --disable-system_options was given.
6098 if test "${enable_system_options+set}" = set; then
6099 enableval="$enable_system_options"
6100
6101 if test "$enableval" = yes; then
6102 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6103 else
6104 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6105 fi
6106
6107 else
6108
6109 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6110 if test "x$LINE" != x ; then
6111 eval "DEFAULT_$LINE"
6112 else
6113 no_cache=1
6114 fi
6115
6116 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6117
6118 fi;
6119
6120 eval "$ac_cv_use_system_options"
6121 if test "$no_cache" != 1; then
6122 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6123 fi
6124
6125 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6126 echo "$as_me:$LINENO: result: yes" >&5
6127 echo "${ECHO_T}yes" >&6
6128 else
6129 echo "$as_me:$LINENO: result: no" >&5
6130 echo "${ECHO_T}no" >&6
6131 fi
6132
6133
6134 enablestring=
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6137 no_cache=0
6138 # Check whether --enable-textbuf or --disable-textbuf was given.
6139 if test "${enable_textbuf+set}" = set; then
6140 enableval="$enable_textbuf"
6141
6142 if test "$enableval" = yes; then
6143 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6144 else
6145 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6146 fi
6147
6148 else
6149
6150 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x ; then
6152 eval "DEFAULT_$LINE"
6153 else
6154 no_cache=1
6155 fi
6156
6157 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6158
6159 fi;
6160
6161 eval "$ac_cv_use_textbuf"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6164 fi
6165
6166 if test "$wxUSE_TEXTBUFFER" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6169 else
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6172 fi
6173
6174
6175 enablestring=
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6178 no_cache=0
6179 # Check whether --enable-textfile or --disable-textfile was given.
6180 if test "${enable_textfile+set}" = set; then
6181 enableval="$enable_textfile"
6182
6183 if test "$enableval" = yes; then
6184 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6185 else
6186 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6187 fi
6188
6189 else
6190
6191 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x ; then
6193 eval "DEFAULT_$LINE"
6194 else
6195 no_cache=1
6196 fi
6197
6198 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6199
6200 fi;
6201
6202 eval "$ac_cv_use_textfile"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6205 fi
6206
6207 if test "$wxUSE_TEXTFILE" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6210 else
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6213 fi
6214
6215
6216 enablestring=
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6219 no_cache=0
6220 # Check whether --enable-timer or --disable-timer was given.
6221 if test "${enable_timer+set}" = set; then
6222 enableval="$enable_timer"
6223
6224 if test "$enableval" = yes; then
6225 ac_cv_use_timer='wxUSE_TIMER=yes'
6226 else
6227 ac_cv_use_timer='wxUSE_TIMER=no'
6228 fi
6229
6230 else
6231
6232 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x ; then
6234 eval "DEFAULT_$LINE"
6235 else
6236 no_cache=1
6237 fi
6238
6239 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6240
6241 fi;
6242
6243 eval "$ac_cv_use_timer"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6246 fi
6247
6248 if test "$wxUSE_TIMER" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6251 else
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6254 fi
6255
6256
6257 enablestring=
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6260 no_cache=0
6261 # Check whether --enable-unicode or --disable-unicode was given.
6262 if test "${enable_unicode+set}" = set; then
6263 enableval="$enable_unicode"
6264
6265 if test "$enableval" = yes; then
6266 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6267 else
6268 ac_cv_use_unicode='wxUSE_UNICODE=no'
6269 fi
6270
6271 else
6272
6273 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x ; then
6275 eval "DEFAULT_$LINE"
6276 else
6277 no_cache=1
6278 fi
6279
6280 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6281
6282 fi;
6283
6284 eval "$ac_cv_use_unicode"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6287 fi
6288
6289 if test "$wxUSE_UNICODE" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6292 else
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6295 fi
6296
6297
6298 enablestring=
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6301 no_cache=0
6302 # Check whether --enable-sound or --disable-sound was given.
6303 if test "${enable_sound+set}" = set; then
6304 enableval="$enable_sound"
6305
6306 if test "$enableval" = yes; then
6307 ac_cv_use_sound='wxUSE_SOUND=yes'
6308 else
6309 ac_cv_use_sound='wxUSE_SOUND=no'
6310 fi
6311
6312 else
6313
6314 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x ; then
6316 eval "DEFAULT_$LINE"
6317 else
6318 no_cache=1
6319 fi
6320
6321 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6322
6323 fi;
6324
6325 eval "$ac_cv_use_sound"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6328 fi
6329
6330 if test "$wxUSE_SOUND" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6333 else
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6336 fi
6337
6338
6339 enablestring=
6340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6342 no_cache=0
6343 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6344 if test "${enable_mediactrl+set}" = set; then
6345 enableval="$enable_mediactrl"
6346
6347 if test "$enableval" = yes; then
6348 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6349 else
6350 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6351 fi
6352
6353 else
6354
6355 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x ; then
6357 eval "DEFAULT_$LINE"
6358 else
6359 no_cache=1
6360 fi
6361
6362 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6363
6364 fi;
6365
6366 eval "$ac_cv_use_mediactrl"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6369 fi
6370
6371 if test "$wxUSE_MEDIACTRL" = yes; then
6372 echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6
6374 else
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6377 fi
6378
6379
6380 enablestring=
6381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6383 no_cache=0
6384 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6385 if test "${enable_gstreamer8+set}" = set; then
6386 enableval="$enable_gstreamer8"
6387
6388 if test "$enableval" = yes; then
6389 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6390 else
6391 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6392 fi
6393
6394 else
6395
6396 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6397 if test "x$LINE" != x ; then
6398 eval "DEFAULT_$LINE"
6399 else
6400 no_cache=1
6401 fi
6402
6403 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6404
6405 fi;
6406
6407 eval "$ac_cv_use_gstreamer8"
6408 if test "$no_cache" != 1; then
6409 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6410 fi
6411
6412 if test "$wxUSE_GSTREAMER8" = yes; then
6413 echo "$as_me:$LINENO: result: yes" >&5
6414 echo "${ECHO_T}yes" >&6
6415 else
6416 echo "$as_me:$LINENO: result: no" >&5
6417 echo "${ECHO_T}no" >&6
6418 fi
6419
6420
6421 enablestring=
6422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6424 no_cache=0
6425 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6426 if test "${enable_printfposparam+set}" = set; then
6427 enableval="$enable_printfposparam"
6428
6429 if test "$enableval" = yes; then
6430 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6431 else
6432 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6433 fi
6434
6435 else
6436
6437 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6438 if test "x$LINE" != x ; then
6439 eval "DEFAULT_$LINE"
6440 else
6441 no_cache=1
6442 fi
6443
6444 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6445
6446 fi;
6447
6448 eval "$ac_cv_use_printfposparam"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6451 fi
6452
6453 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6454 echo "$as_me:$LINENO: result: yes" >&5
6455 echo "${ECHO_T}yes" >&6
6456 else
6457 echo "$as_me:$LINENO: result: no" >&5
6458 echo "${ECHO_T}no" >&6
6459 fi
6460
6461
6462 enablestring=
6463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6465 no_cache=0
6466 # Check whether --enable-zipstream or --disable-zipstream was given.
6467 if test "${enable_zipstream+set}" = set; then
6468 enableval="$enable_zipstream"
6469
6470 if test "$enableval" = yes; then
6471 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6472 else
6473 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6474 fi
6475
6476 else
6477
6478 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6479 if test "x$LINE" != x ; then
6480 eval "DEFAULT_$LINE"
6481 else
6482 no_cache=1
6483 fi
6484
6485 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6486
6487 fi;
6488
6489 eval "$ac_cv_use_zipstream"
6490 if test "$no_cache" != 1; then
6491 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6492 fi
6493
6494 if test "$wxUSE_ZIPSTREAM" = yes; then
6495 echo "$as_me:$LINENO: result: yes" >&5
6496 echo "${ECHO_T}yes" >&6
6497 else
6498 echo "$as_me:$LINENO: result: no" >&5
6499 echo "${ECHO_T}no" >&6
6500 fi
6501
6502
6503
6504 enablestring=
6505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6506 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6507 no_cache=0
6508 # Check whether --enable-url or --disable-url was given.
6509 if test "${enable_url+set}" = set; then
6510 enableval="$enable_url"
6511
6512 if test "$enableval" = yes; then
6513 ac_cv_use_url='wxUSE_URL=yes'
6514 else
6515 ac_cv_use_url='wxUSE_URL=no'
6516 fi
6517
6518 else
6519
6520 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6521 if test "x$LINE" != x ; then
6522 eval "DEFAULT_$LINE"
6523 else
6524 no_cache=1
6525 fi
6526
6527 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6528
6529 fi;
6530
6531 eval "$ac_cv_use_url"
6532 if test "$no_cache" != 1; then
6533 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6534 fi
6535
6536 if test "$wxUSE_URL" = yes; then
6537 echo "$as_me:$LINENO: result: yes" >&5
6538 echo "${ECHO_T}yes" >&6
6539 else
6540 echo "$as_me:$LINENO: result: no" >&5
6541 echo "${ECHO_T}no" >&6
6542 fi
6543
6544
6545 enablestring=
6546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6547 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6548 no_cache=0
6549 # Check whether --enable-protocol or --disable-protocol was given.
6550 if test "${enable_protocol+set}" = set; then
6551 enableval="$enable_protocol"
6552
6553 if test "$enableval" = yes; then
6554 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6555 else
6556 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6557 fi
6558
6559 else
6560
6561 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6562 if test "x$LINE" != x ; then
6563 eval "DEFAULT_$LINE"
6564 else
6565 no_cache=1
6566 fi
6567
6568 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6569
6570 fi;
6571
6572 eval "$ac_cv_use_protocol"
6573 if test "$no_cache" != 1; then
6574 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6575 fi
6576
6577 if test "$wxUSE_PROTOCOL" = yes; then
6578 echo "$as_me:$LINENO: result: yes" >&5
6579 echo "${ECHO_T}yes" >&6
6580 else
6581 echo "$as_me:$LINENO: result: no" >&5
6582 echo "${ECHO_T}no" >&6
6583 fi
6584
6585
6586 enablestring=
6587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6588 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6589 no_cache=0
6590 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6591 if test "${enable_protocol_http+set}" = set; then
6592 enableval="$enable_protocol_http"
6593
6594 if test "$enableval" = yes; then
6595 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6596 else
6597 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6598 fi
6599
6600 else
6601
6602 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6603 if test "x$LINE" != x ; then
6604 eval "DEFAULT_$LINE"
6605 else
6606 no_cache=1
6607 fi
6608
6609 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6610
6611 fi;
6612
6613 eval "$ac_cv_use_protocol_http"
6614 if test "$no_cache" != 1; then
6615 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6616 fi
6617
6618 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6619 echo "$as_me:$LINENO: result: yes" >&5
6620 echo "${ECHO_T}yes" >&6
6621 else
6622 echo "$as_me:$LINENO: result: no" >&5
6623 echo "${ECHO_T}no" >&6
6624 fi
6625
6626
6627 enablestring=
6628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6629 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6630 no_cache=0
6631 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6632 if test "${enable_protocol_ftp+set}" = set; then
6633 enableval="$enable_protocol_ftp"
6634
6635 if test "$enableval" = yes; then
6636 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6637 else
6638 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6639 fi
6640
6641 else
6642
6643 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6644 if test "x$LINE" != x ; then
6645 eval "DEFAULT_$LINE"
6646 else
6647 no_cache=1
6648 fi
6649
6650 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6651
6652 fi;
6653
6654 eval "$ac_cv_use_protocol_ftp"
6655 if test "$no_cache" != 1; then
6656 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6657 fi
6658
6659 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6660 echo "$as_me:$LINENO: result: yes" >&5
6661 echo "${ECHO_T}yes" >&6
6662 else
6663 echo "$as_me:$LINENO: result: no" >&5
6664 echo "${ECHO_T}no" >&6
6665 fi
6666
6667
6668 enablestring=
6669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6670 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6671 no_cache=0
6672 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6673 if test "${enable_protocol_file+set}" = set; then
6674 enableval="$enable_protocol_file"
6675
6676 if test "$enableval" = yes; then
6677 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6678 else
6679 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6680 fi
6681
6682 else
6683
6684 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6685 if test "x$LINE" != x ; then
6686 eval "DEFAULT_$LINE"
6687 else
6688 no_cache=1
6689 fi
6690
6691 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6692
6693 fi;
6694
6695 eval "$ac_cv_use_protocol_file"
6696 if test "$no_cache" != 1; then
6697 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6698 fi
6699
6700 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6701 echo "$as_me:$LINENO: result: yes" >&5
6702 echo "${ECHO_T}yes" >&6
6703 else
6704 echo "$as_me:$LINENO: result: no" >&5
6705 echo "${ECHO_T}no" >&6
6706 fi
6707
6708
6709
6710
6711
6712 enablestring=
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6715 no_cache=0
6716 # Check whether --enable-threads or --disable-threads was given.
6717 if test "${enable_threads+set}" = set; then
6718 enableval="$enable_threads"
6719
6720 if test "$enableval" = yes; then
6721 ac_cv_use_threads='wxUSE_THREADS=yes'
6722 else
6723 ac_cv_use_threads='wxUSE_THREADS=no'
6724 fi
6725
6726 else
6727
6728 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x ; then
6730 eval "DEFAULT_$LINE"
6731 else
6732 no_cache=1
6733 fi
6734
6735 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6736
6737 fi;
6738
6739 eval "$ac_cv_use_threads"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6742 fi
6743
6744 if test "$wxUSE_THREADS" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6747 else
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6750 fi
6751
6752
6753 if test "$wxUSE_GUI" = "yes"; then
6754
6755
6756
6757 enablestring=
6758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6759 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6760 no_cache=0
6761 # Check whether --enable-docview or --disable-docview was given.
6762 if test "${enable_docview+set}" = set; then
6763 enableval="$enable_docview"
6764
6765 if test "$enableval" = yes; then
6766 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6767 else
6768 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6769 fi
6770
6771 else
6772
6773 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6774 if test "x$LINE" != x ; then
6775 eval "DEFAULT_$LINE"
6776 else
6777 no_cache=1
6778 fi
6779
6780 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6781
6782 fi;
6783
6784 eval "$ac_cv_use_docview"
6785 if test "$no_cache" != 1; then
6786 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6787 fi
6788
6789 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6790 echo "$as_me:$LINENO: result: yes" >&5
6791 echo "${ECHO_T}yes" >&6
6792 else
6793 echo "$as_me:$LINENO: result: no" >&5
6794 echo "${ECHO_T}no" >&6
6795 fi
6796
6797
6798 enablestring=
6799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6801 no_cache=0
6802 # Check whether --enable-help or --disable-help was given.
6803 if test "${enable_help+set}" = set; then
6804 enableval="$enable_help"
6805
6806 if test "$enableval" = yes; then
6807 ac_cv_use_help='wxUSE_HELP=yes'
6808 else
6809 ac_cv_use_help='wxUSE_HELP=no'
6810 fi
6811
6812 else
6813
6814 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6815 if test "x$LINE" != x ; then
6816 eval "DEFAULT_$LINE"
6817 else
6818 no_cache=1
6819 fi
6820
6821 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6822
6823 fi;
6824
6825 eval "$ac_cv_use_help"
6826 if test "$no_cache" != 1; then
6827 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6828 fi
6829
6830 if test "$wxUSE_HELP" = yes; then
6831 echo "$as_me:$LINENO: result: yes" >&5
6832 echo "${ECHO_T}yes" >&6
6833 else
6834 echo "$as_me:$LINENO: result: no" >&5
6835 echo "${ECHO_T}no" >&6
6836 fi
6837
6838
6839 enablestring=
6840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6842 no_cache=0
6843 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6844 if test "${enable_mshtmlhelp+set}" = set; then
6845 enableval="$enable_mshtmlhelp"
6846
6847 if test "$enableval" = yes; then
6848 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6849 else
6850 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6851 fi
6852
6853 else
6854
6855 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x ; then
6857 eval "DEFAULT_$LINE"
6858 else
6859 no_cache=1
6860 fi
6861
6862 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6863
6864 fi;
6865
6866 eval "$ac_cv_use_mshtmlhelp"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6869 fi
6870
6871 if test "$wxUSE_MS_HTML_HELP" = yes; then
6872 echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6
6874 else
6875 echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6
6877 fi
6878
6879
6880 enablestring=
6881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6883 no_cache=0
6884 # Check whether --enable-html or --disable-html was given.
6885 if test "${enable_html+set}" = set; then
6886 enableval="$enable_html"
6887
6888 if test "$enableval" = yes; then
6889 ac_cv_use_html='wxUSE_HTML=yes'
6890 else
6891 ac_cv_use_html='wxUSE_HTML=no'
6892 fi
6893
6894 else
6895
6896 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x ; then
6898 eval "DEFAULT_$LINE"
6899 else
6900 no_cache=1
6901 fi
6902
6903 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6904
6905 fi;
6906
6907 eval "$ac_cv_use_html"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6910 fi
6911
6912 if test "$wxUSE_HTML" = yes; then
6913 echo "$as_me:$LINENO: result: yes" >&5
6914 echo "${ECHO_T}yes" >&6
6915 else
6916 echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6
6918 fi
6919
6920
6921 enablestring=
6922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6923 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6924 no_cache=0
6925 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6926 if test "${enable_htmlhelp+set}" = set; then
6927 enableval="$enable_htmlhelp"
6928
6929 if test "$enableval" = yes; then
6930 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6931 else
6932 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6933 fi
6934
6935 else
6936
6937 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6938 if test "x$LINE" != x ; then
6939 eval "DEFAULT_$LINE"
6940 else
6941 no_cache=1
6942 fi
6943
6944 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6945
6946 fi;
6947
6948 eval "$ac_cv_use_htmlhelp"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6951 fi
6952
6953 if test "$wxUSE_WXHTML_HELP" = yes; then
6954 echo "$as_me:$LINENO: result: yes" >&5
6955 echo "${ECHO_T}yes" >&6
6956 else
6957 echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6
6959 fi
6960
6961
6962 enablestring=
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6965 no_cache=0
6966 # Check whether --enable-xrc or --disable-xrc was given.
6967 if test "${enable_xrc+set}" = set; then
6968 enableval="$enable_xrc"
6969
6970 if test "$enableval" = yes; then
6971 ac_cv_use_xrc='wxUSE_XRC=yes'
6972 else
6973 ac_cv_use_xrc='wxUSE_XRC=no'
6974 fi
6975
6976 else
6977
6978 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x ; then
6980 eval "DEFAULT_$LINE"
6981 else
6982 no_cache=1
6983 fi
6984
6985 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6986
6987 fi;
6988
6989 eval "$ac_cv_use_xrc"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6992 fi
6993
6994 if test "$wxUSE_XRC" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6997 else
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7000 fi
7001
7002
7003 enablestring=
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7006 no_cache=0
7007 # Check whether --enable-aui or --disable-aui was given.
7008 if test "${enable_aui+set}" = set; then
7009 enableval="$enable_aui"
7010
7011 if test "$enableval" = yes; then
7012 ac_cv_use_aui='wxUSE_AUI=yes'
7013 else
7014 ac_cv_use_aui='wxUSE_AUI=no'
7015 fi
7016
7017 else
7018
7019 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x ; then
7021 eval "DEFAULT_$LINE"
7022 else
7023 no_cache=1
7024 fi
7025
7026 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7027
7028 fi;
7029
7030 eval "$ac_cv_use_aui"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7033 fi
7034
7035 if test "$wxUSE_AUI" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7038 else
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7041 fi
7042
7043
7044 enablestring=
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7047 no_cache=0
7048 # Check whether --enable-constraints or --disable-constraints was given.
7049 if test "${enable_constraints+set}" = set; then
7050 enableval="$enable_constraints"
7051
7052 if test "$enableval" = yes; then
7053 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7054 else
7055 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7056 fi
7057
7058 else
7059
7060 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x ; then
7062 eval "DEFAULT_$LINE"
7063 else
7064 no_cache=1
7065 fi
7066
7067 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7068
7069 fi;
7070
7071 eval "$ac_cv_use_constraints"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7074 fi
7075
7076 if test "$wxUSE_CONSTRAINTS" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7079 else
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7082 fi
7083
7084
7085 enablestring=
7086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7088 no_cache=0
7089 # Check whether --enable-printarch or --disable-printarch was given.
7090 if test "${enable_printarch+set}" = set; then
7091 enableval="$enable_printarch"
7092
7093 if test "$enableval" = yes; then
7094 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7095 else
7096 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7097 fi
7098
7099 else
7100
7101 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7102 if test "x$LINE" != x ; then
7103 eval "DEFAULT_$LINE"
7104 else
7105 no_cache=1
7106 fi
7107
7108 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7109
7110 fi;
7111
7112 eval "$ac_cv_use_printarch"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7115 fi
7116
7117 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7118 echo "$as_me:$LINENO: result: yes" >&5
7119 echo "${ECHO_T}yes" >&6
7120 else
7121 echo "$as_me:$LINENO: result: no" >&5
7122 echo "${ECHO_T}no" >&6
7123 fi
7124
7125
7126 enablestring=
7127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7128 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7129 no_cache=0
7130 # Check whether --enable-mdi or --disable-mdi was given.
7131 if test "${enable_mdi+set}" = set; then
7132 enableval="$enable_mdi"
7133
7134 if test "$enableval" = yes; then
7135 ac_cv_use_mdi='wxUSE_MDI=yes'
7136 else
7137 ac_cv_use_mdi='wxUSE_MDI=no'
7138 fi
7139
7140 else
7141
7142 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7143 if test "x$LINE" != x ; then
7144 eval "DEFAULT_$LINE"
7145 else
7146 no_cache=1
7147 fi
7148
7149 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7150
7151 fi;
7152
7153 eval "$ac_cv_use_mdi"
7154 if test "$no_cache" != 1; then
7155 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7156 fi
7157
7158 if test "$wxUSE_MDI" = yes; then
7159 echo "$as_me:$LINENO: result: yes" >&5
7160 echo "${ECHO_T}yes" >&6
7161 else
7162 echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6
7164 fi
7165
7166
7167 enablestring=
7168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7170 no_cache=0
7171 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7172 if test "${enable_mdidoc+set}" = set; then
7173 enableval="$enable_mdidoc"
7174
7175 if test "$enableval" = yes; then
7176 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7177 else
7178 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7179 fi
7180
7181 else
7182
7183 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7184 if test "x$LINE" != x ; then
7185 eval "DEFAULT_$LINE"
7186 else
7187 no_cache=1
7188 fi
7189
7190 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7191
7192 fi;
7193
7194 eval "$ac_cv_use_mdidoc"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7197 fi
7198
7199 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7200 echo "$as_me:$LINENO: result: yes" >&5
7201 echo "${ECHO_T}yes" >&6
7202 else
7203 echo "$as_me:$LINENO: result: no" >&5
7204 echo "${ECHO_T}no" >&6
7205 fi
7206
7207
7208 enablestring=
7209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7210 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7211 no_cache=0
7212 # Check whether --enable-loggui or --disable-loggui was given.
7213 if test "${enable_loggui+set}" = set; then
7214 enableval="$enable_loggui"
7215
7216 if test "$enableval" = yes; then
7217 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7218 else
7219 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7220 fi
7221
7222 else
7223
7224 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7225 if test "x$LINE" != x ; then
7226 eval "DEFAULT_$LINE"
7227 else
7228 no_cache=1
7229 fi
7230
7231 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7232
7233 fi;
7234
7235 eval "$ac_cv_use_loggui"
7236 if test "$no_cache" != 1; then
7237 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7238 fi
7239
7240 if test "$wxUSE_LOGGUI" = yes; then
7241 echo "$as_me:$LINENO: result: yes" >&5
7242 echo "${ECHO_T}yes" >&6
7243 else
7244 echo "$as_me:$LINENO: result: no" >&5
7245 echo "${ECHO_T}no" >&6
7246 fi
7247
7248
7249 enablestring=
7250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7251 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7252 no_cache=0
7253 # Check whether --enable-logwin or --disable-logwin was given.
7254 if test "${enable_logwin+set}" = set; then
7255 enableval="$enable_logwin"
7256
7257 if test "$enableval" = yes; then
7258 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7259 else
7260 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7261 fi
7262
7263 else
7264
7265 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7266 if test "x$LINE" != x ; then
7267 eval "DEFAULT_$LINE"
7268 else
7269 no_cache=1
7270 fi
7271
7272 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7273
7274 fi;
7275
7276 eval "$ac_cv_use_logwin"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7279 fi
7280
7281 if test "$wxUSE_LOGWINDOW" = yes; then
7282 echo "$as_me:$LINENO: result: yes" >&5
7283 echo "${ECHO_T}yes" >&6
7284 else
7285 echo "$as_me:$LINENO: result: no" >&5
7286 echo "${ECHO_T}no" >&6
7287 fi
7288
7289
7290 enablestring=
7291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7293 no_cache=0
7294 # Check whether --enable-logdialog or --disable-logdialog was given.
7295 if test "${enable_logdialog+set}" = set; then
7296 enableval="$enable_logdialog"
7297
7298 if test "$enableval" = yes; then
7299 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7300 else
7301 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7302 fi
7303
7304 else
7305
7306 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x ; then
7308 eval "DEFAULT_$LINE"
7309 else
7310 no_cache=1
7311 fi
7312
7313 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7314
7315 fi;
7316
7317 eval "$ac_cv_use_logdialog"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7320 fi
7321
7322 if test "$wxUSE_LOGDIALOG" = yes; then
7323 echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6
7325 else
7326 echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6
7328 fi
7329
7330
7331 enablestring=
7332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7334 no_cache=0
7335 # Check whether --enable-webkit or --disable-webkit was given.
7336 if test "${enable_webkit+set}" = set; then
7337 enableval="$enable_webkit"
7338
7339 if test "$enableval" = yes; then
7340 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7341 else
7342 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7343 fi
7344
7345 else
7346
7347 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x ; then
7349 eval "DEFAULT_$LINE"
7350 else
7351 no_cache=1
7352 fi
7353
7354 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7355
7356 fi;
7357
7358 eval "$ac_cv_use_webkit"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7361 fi
7362
7363 if test "$wxUSE_WEBKIT" = yes; then
7364 echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6
7366 else
7367 echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6
7369 fi
7370
7371
7372 enablestring=
7373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7374 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7375 no_cache=0
7376 # Check whether --enable-html or --disable-html was given.
7377 if test "${enable_html+set}" = set; then
7378 enableval="$enable_html"
7379
7380 if test "$enableval" = yes; then
7381 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7382 else
7383 ac_cv_use_html='wxUSE_RICHTEXT=no'
7384 fi
7385
7386 else
7387
7388 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x ; then
7390 eval "DEFAULT_$LINE"
7391 else
7392 no_cache=1
7393 fi
7394
7395 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7396
7397 fi;
7398
7399 eval "$ac_cv_use_html"
7400 if test "$no_cache" != 1; then
7401 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7402 fi
7403
7404 if test "$wxUSE_RICHTEXT" = yes; then
7405 echo "$as_me:$LINENO: result: yes" >&5
7406 echo "${ECHO_T}yes" >&6
7407 else
7408 echo "$as_me:$LINENO: result: no" >&5
7409 echo "${ECHO_T}no" >&6
7410 fi
7411
7412
7413
7414 enablestring=
7415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7416 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7417 no_cache=0
7418 # Check whether --enable-postscript or --disable-postscript was given.
7419 if test "${enable_postscript+set}" = set; then
7420 enableval="$enable_postscript"
7421
7422 if test "$enableval" = yes; then
7423 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7424 else
7425 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7426 fi
7427
7428 else
7429
7430 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7431 if test "x$LINE" != x ; then
7432 eval "DEFAULT_$LINE"
7433 else
7434 no_cache=1
7435 fi
7436
7437 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7438
7439 fi;
7440
7441 eval "$ac_cv_use_postscript"
7442 if test "$no_cache" != 1; then
7443 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7444 fi
7445
7446 if test "$wxUSE_POSTSCRIPT" = yes; then
7447 echo "$as_me:$LINENO: result: yes" >&5
7448 echo "${ECHO_T}yes" >&6
7449 else
7450 echo "$as_me:$LINENO: result: no" >&5
7451 echo "${ECHO_T}no" >&6
7452 fi
7453
7454
7455
7456
7457
7458 enablestring=
7459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7461 no_cache=0
7462 # Check whether --enable-prologio or --disable-prologio was given.
7463 if test "${enable_prologio+set}" = set; then
7464 enableval="$enable_prologio"
7465
7466 if test "$enableval" = yes; then
7467 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7468 else
7469 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7470 fi
7471
7472 else
7473
7474 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7475 if test "x$LINE" != x ; then
7476 eval "DEFAULT_$LINE"
7477 else
7478 no_cache=1
7479 fi
7480
7481 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7482
7483 fi;
7484
7485 eval "$ac_cv_use_prologio"
7486 if test "$no_cache" != 1; then
7487 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7488 fi
7489
7490 if test "$wxUSE_PROLOGIO" = yes; then
7491 echo "$as_me:$LINENO: result: yes" >&5
7492 echo "${ECHO_T}yes" >&6
7493 else
7494 echo "$as_me:$LINENO: result: no" >&5
7495 echo "${ECHO_T}no" >&6
7496 fi
7497
7498
7499 enablestring=
7500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7501 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7502 no_cache=0
7503 # Check whether --enable-resources or --disable-resources was given.
7504 if test "${enable_resources+set}" = set; then
7505 enableval="$enable_resources"
7506
7507 if test "$enableval" = yes; then
7508 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7509 else
7510 ac_cv_use_resources='wxUSE_RESOURCES=no'
7511 fi
7512
7513 else
7514
7515 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7516 if test "x$LINE" != x ; then
7517 eval "DEFAULT_$LINE"
7518 else
7519 no_cache=1
7520 fi
7521
7522 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7523
7524 fi;
7525
7526 eval "$ac_cv_use_resources"
7527 if test "$no_cache" != 1; then
7528 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7529 fi
7530
7531 if test "$wxUSE_RESOURCES" = yes; then
7532 echo "$as_me:$LINENO: result: yes" >&5
7533 echo "${ECHO_T}yes" >&6
7534 else
7535 echo "$as_me:$LINENO: result: no" >&5
7536 echo "${ECHO_T}no" >&6
7537 fi
7538
7539
7540
7541
7542 enablestring=
7543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7544 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7545 no_cache=0
7546 # Check whether --enable-clipboard or --disable-clipboard was given.
7547 if test "${enable_clipboard+set}" = set; then
7548 enableval="$enable_clipboard"
7549
7550 if test "$enableval" = yes; then
7551 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7552 else
7553 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7554 fi
7555
7556 else
7557
7558 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7559 if test "x$LINE" != x ; then
7560 eval "DEFAULT_$LINE"
7561 else
7562 no_cache=1
7563 fi
7564
7565 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7566
7567 fi;
7568
7569 eval "$ac_cv_use_clipboard"
7570 if test "$no_cache" != 1; then
7571 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7572 fi
7573
7574 if test "$wxUSE_CLIPBOARD" = yes; then
7575 echo "$as_me:$LINENO: result: yes" >&5
7576 echo "${ECHO_T}yes" >&6
7577 else
7578 echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6
7580 fi
7581
7582
7583 enablestring=
7584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7585 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7586 no_cache=0
7587 # Check whether --enable-dnd or --disable-dnd was given.
7588 if test "${enable_dnd+set}" = set; then
7589 enableval="$enable_dnd"
7590
7591 if test "$enableval" = yes; then
7592 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7593 else
7594 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7595 fi
7596
7597 else
7598
7599 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x ; then
7601 eval "DEFAULT_$LINE"
7602 else
7603 no_cache=1
7604 fi
7605
7606 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7607
7608 fi;
7609
7610 eval "$ac_cv_use_dnd"
7611 if test "$no_cache" != 1; then
7612 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7613 fi
7614
7615 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7616 echo "$as_me:$LINENO: result: yes" >&5
7617 echo "${ECHO_T}yes" >&6
7618 else
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7621 fi
7622
7623
7624 enablestring=
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7627 no_cache=0
7628 # Check whether --enable-metafile or --disable-metafile was given.
7629 if test "${enable_metafile+set}" = set; then
7630 enableval="$enable_metafile"
7631
7632 if test "$enableval" = yes; then
7633 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7634 else
7635 ac_cv_use_metafile='wxUSE_METAFILE=no'
7636 fi
7637
7638 else
7639
7640 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x ; then
7642 eval "DEFAULT_$LINE"
7643 else
7644 no_cache=1
7645 fi
7646
7647 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7648
7649 fi;
7650
7651 eval "$ac_cv_use_metafile"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7654 fi
7655
7656 if test "$wxUSE_METAFILE" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7659 else
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7662 fi
7663
7664
7665
7666
7667
7668 enablestring=
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7671 no_cache=0
7672 # Check whether --enable-controls or --disable-controls was given.
7673 if test "${enable_controls+set}" = set; then
7674 enableval="$enable_controls"
7675
7676 if test "$enableval" = yes; then
7677 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7678 else
7679 ac_cv_use_controls='wxUSE_CONTROLS=no'
7680 fi
7681
7682 else
7683
7684 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x ; then
7686 eval "DEFAULT_$LINE"
7687 else
7688 no_cache=1
7689 fi
7690
7691 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7692
7693 fi;
7694
7695 eval "$ac_cv_use_controls"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7698 fi
7699
7700 if test "$wxUSE_CONTROLS" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7703 else
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7706 fi
7707
7708
7709 if test "$wxUSE_CONTROLS" = "yes"; then
7710 DEFAULT_wxUSE_ACCEL=yes
7711 DEFAULT_wxUSE_BMPBUTTON=yes
7712 DEFAULT_wxUSE_BUTTON=yes
7713 DEFAULT_wxUSE_CALCTRL=yes
7714 DEFAULT_wxUSE_CARET=yes
7715 DEFAULT_wxUSE_COMBOBOX=yes
7716 DEFAULT_wxUSE_CHECKBOX=yes
7717 DEFAULT_wxUSE_CHECKLISTBOX=yes
7718 DEFAULT_wxUSE_CHOICE=yes
7719 DEFAULT_wxUSE_CHOICEBOOK=yes
7720 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7721 DEFAULT_wxUSE_COMBOBOX=yes
7722 DEFAULT_wxUSE_DATEPICKCTRL=yes
7723 DEFAULT_wxUSE_DISPLAY=yes
7724 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7725 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7726 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7727 DEFAULT_wxUSE_GAUGE=yes
7728 DEFAULT_wxUSE_GRID=yes
7729 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7730 DEFAULT_wxUSE_DATAVIEWCTRL=no
7731 DEFAULT_wxUSE_IMAGLIST=yes
7732 DEFAULT_wxUSE_LISTBOOK=yes
7733 DEFAULT_wxUSE_LISTBOX=yes
7734 DEFAULT_wxUSE_LISTCTRL=yes
7735 DEFAULT_wxUSE_NOTEBOOK=yes
7736 DEFAULT_wxUSE_RADIOBOX=yes
7737 DEFAULT_wxUSE_RADIOBTN=yes
7738 DEFAULT_wxUSE_SASH=yes
7739 DEFAULT_wxUSE_SCROLLBAR=yes
7740 DEFAULT_wxUSE_SLIDER=yes
7741 DEFAULT_wxUSE_SPINBTN=yes
7742 DEFAULT_wxUSE_SPINCTRL=yes
7743 DEFAULT_wxUSE_SPLITTER=yes
7744 DEFAULT_wxUSE_STATBMP=yes
7745 DEFAULT_wxUSE_STATBOX=yes
7746 DEFAULT_wxUSE_STATLINE=yes
7747 DEFAULT_wxUSE_STATUSBAR=yes
7748 DEFAULT_wxUSE_TAB_DIALOG=yes
7749 DEFAULT_wxUSE_TOGGLEBTN=yes
7750 DEFAULT_wxUSE_TOOLBAR=yes
7751 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7752 DEFAULT_wxUSE_TOOLTIPS=yes
7753 DEFAULT_wxUSE_TREEBOOK=yes
7754 DEFAULT_wxUSE_TOOLBOOK=yes
7755 DEFAULT_wxUSE_TREECTRL=yes
7756 DEFAULT_wxUSE_POPUPWIN=yes
7757 DEFAULT_wxUSE_TIPWINDOW=yes
7758 elif test "$wxUSE_CONTROLS" = "no"; then
7759 DEFAULT_wxUSE_ACCEL=no
7760 DEFAULT_wxUSE_BMPBUTTON=no
7761 DEFAULT_wxUSE_BUTTON=no
7762 DEFAULT_wxUSE_CALCTRL=no
7763 DEFAULT_wxUSE_CARET=no
7764 DEFAULT_wxUSE_COMBOBOX=no
7765 DEFAULT_wxUSE_CHECKBOX=no
7766 DEFAULT_wxUSE_CHECKLISTBOX=no
7767 DEFAULT_wxUSE_CHOICE=no
7768 DEFAULT_wxUSE_CHOICEBOOK=no
7769 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7770 DEFAULT_wxUSE_COMBOBOX=no
7771 DEFAULT_wxUSE_DATEPICKCTRL=no
7772 DEFAULT_wxUSE_DISPLAY=no
7773 DEFAULT_wxUSE_DIRPICKERCTRL=no
7774 DEFAULT_wxUSE_FILEPICKERCTRL=no
7775 DEFAULT_wxUSE_FONTPICKERCTRL=no
7776 DEFAULT_wxUSE_GAUGE=no
7777 DEFAULT_wxUSE_GRID=no
7778 DEFAULT_wxUSE_HYPERLINKCTRL=no
7779 DEFAULT_wxUSE_DATAVIEWCTRL=no
7780 DEFAULT_wxUSE_IMAGLIST=no
7781 DEFAULT_wxUSE_LISTBOOK=no
7782 DEFAULT_wxUSE_LISTBOX=no
7783 DEFAULT_wxUSE_LISTCTRL=no
7784 DEFAULT_wxUSE_NOTEBOOK=no
7785 DEFAULT_wxUSE_RADIOBOX=no
7786 DEFAULT_wxUSE_RADIOBTN=no
7787 DEFAULT_wxUSE_SASH=no
7788 DEFAULT_wxUSE_SCROLLBAR=no
7789 DEFAULT_wxUSE_SLIDER=no
7790 DEFAULT_wxUSE_SPINBTN=no
7791 DEFAULT_wxUSE_SPINCTRL=no
7792 DEFAULT_wxUSE_SPLITTER=no
7793 DEFAULT_wxUSE_STATBMP=no
7794 DEFAULT_wxUSE_STATBOX=no
7795 DEFAULT_wxUSE_STATLINE=no
7796 DEFAULT_wxUSE_STATUSBAR=no
7797 DEFAULT_wxUSE_TAB_DIALOG=no
7798 DEFAULT_wxUSE_TOGGLEBTN=no
7799 DEFAULT_wxUSE_TOOLBAR=no
7800 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7801 DEFAULT_wxUSE_TOOLTIPS=no
7802 DEFAULT_wxUSE_TREEBOOK=no
7803 DEFAULT_wxUSE_TOOLBOOK=no
7804 DEFAULT_wxUSE_TREECTRL=no
7805 DEFAULT_wxUSE_POPUPWIN=no
7806 DEFAULT_wxUSE_TIPWINDOW=no
7807 fi
7808
7809
7810 enablestring=
7811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7812 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7813 no_cache=0
7814 # Check whether --enable-accel or --disable-accel was given.
7815 if test "${enable_accel+set}" = set; then
7816 enableval="$enable_accel"
7817
7818 if test "$enableval" = yes; then
7819 ac_cv_use_accel='wxUSE_ACCEL=yes'
7820 else
7821 ac_cv_use_accel='wxUSE_ACCEL=no'
7822 fi
7823
7824 else
7825
7826 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7827 if test "x$LINE" != x ; then
7828 eval "DEFAULT_$LINE"
7829 else
7830 no_cache=1
7831 fi
7832
7833 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7834
7835 fi;
7836
7837 eval "$ac_cv_use_accel"
7838 if test "$no_cache" != 1; then
7839 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7840 fi
7841
7842 if test "$wxUSE_ACCEL" = yes; then
7843 echo "$as_me:$LINENO: result: yes" >&5
7844 echo "${ECHO_T}yes" >&6
7845 else
7846 echo "$as_me:$LINENO: result: no" >&5
7847 echo "${ECHO_T}no" >&6
7848 fi
7849
7850
7851 enablestring=
7852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7853 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7854 no_cache=0
7855 # Check whether --enable-button or --disable-button was given.
7856 if test "${enable_button+set}" = set; then
7857 enableval="$enable_button"
7858
7859 if test "$enableval" = yes; then
7860 ac_cv_use_button='wxUSE_BUTTON=yes'
7861 else
7862 ac_cv_use_button='wxUSE_BUTTON=no'
7863 fi
7864
7865 else
7866
7867 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7868 if test "x$LINE" != x ; then
7869 eval "DEFAULT_$LINE"
7870 else
7871 no_cache=1
7872 fi
7873
7874 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7875
7876 fi;
7877
7878 eval "$ac_cv_use_button"
7879 if test "$no_cache" != 1; then
7880 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7881 fi
7882
7883 if test "$wxUSE_BUTTON" = yes; then
7884 echo "$as_me:$LINENO: result: yes" >&5
7885 echo "${ECHO_T}yes" >&6
7886 else
7887 echo "$as_me:$LINENO: result: no" >&5
7888 echo "${ECHO_T}no" >&6
7889 fi
7890
7891
7892 enablestring=
7893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7894 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7895 no_cache=0
7896 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7897 if test "${enable_bmpbutton+set}" = set; then
7898 enableval="$enable_bmpbutton"
7899
7900 if test "$enableval" = yes; then
7901 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7902 else
7903 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7904 fi
7905
7906 else
7907
7908 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7909 if test "x$LINE" != x ; then
7910 eval "DEFAULT_$LINE"
7911 else
7912 no_cache=1
7913 fi
7914
7915 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7916
7917 fi;
7918
7919 eval "$ac_cv_use_bmpbutton"
7920 if test "$no_cache" != 1; then
7921 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7922 fi
7923
7924 if test "$wxUSE_BMPBUTTON" = yes; then
7925 echo "$as_me:$LINENO: result: yes" >&5
7926 echo "${ECHO_T}yes" >&6
7927 else
7928 echo "$as_me:$LINENO: result: no" >&5
7929 echo "${ECHO_T}no" >&6
7930 fi
7931
7932
7933 enablestring=
7934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
7935 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
7936 no_cache=0
7937 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
7938 if test "${enable_bmpcombobox+set}" = set; then
7939 enableval="$enable_bmpcombobox"
7940
7941 if test "$enableval" = yes; then
7942 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
7943 else
7944 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
7945 fi
7946
7947 else
7948
7949 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
7950 if test "x$LINE" != x ; then
7951 eval "DEFAULT_$LINE"
7952 else
7953 no_cache=1
7954 fi
7955
7956 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
7957
7958 fi;
7959
7960 eval "$ac_cv_use_bmpcombobox"
7961 if test "$no_cache" != 1; then
7962 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
7963 fi
7964
7965 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
7966 echo "$as_me:$LINENO: result: yes" >&5
7967 echo "${ECHO_T}yes" >&6
7968 else
7969 echo "$as_me:$LINENO: result: no" >&5
7970 echo "${ECHO_T}no" >&6
7971 fi
7972
7973
7974 enablestring=
7975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7976 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7977 no_cache=0
7978 # Check whether --enable-calendar or --disable-calendar was given.
7979 if test "${enable_calendar+set}" = set; then
7980 enableval="$enable_calendar"
7981
7982 if test "$enableval" = yes; then
7983 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7984 else
7985 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7986 fi
7987
7988 else
7989
7990 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7991 if test "x$LINE" != x ; then
7992 eval "DEFAULT_$LINE"
7993 else
7994 no_cache=1
7995 fi
7996
7997 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7998
7999 fi;
8000
8001 eval "$ac_cv_use_calendar"
8002 if test "$no_cache" != 1; then
8003 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8004 fi
8005
8006 if test "$wxUSE_CALCTRL" = yes; then
8007 echo "$as_me:$LINENO: result: yes" >&5
8008 echo "${ECHO_T}yes" >&6
8009 else
8010 echo "$as_me:$LINENO: result: no" >&5
8011 echo "${ECHO_T}no" >&6
8012 fi
8013
8014
8015 enablestring=
8016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8017 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8018 no_cache=0
8019 # Check whether --enable-caret or --disable-caret was given.
8020 if test "${enable_caret+set}" = set; then
8021 enableval="$enable_caret"
8022
8023 if test "$enableval" = yes; then
8024 ac_cv_use_caret='wxUSE_CARET=yes'
8025 else
8026 ac_cv_use_caret='wxUSE_CARET=no'
8027 fi
8028
8029 else
8030
8031 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8032 if test "x$LINE" != x ; then
8033 eval "DEFAULT_$LINE"
8034 else
8035 no_cache=1
8036 fi
8037
8038 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8039
8040 fi;
8041
8042 eval "$ac_cv_use_caret"
8043 if test "$no_cache" != 1; then
8044 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8045 fi
8046
8047 if test "$wxUSE_CARET" = yes; then
8048 echo "$as_me:$LINENO: result: yes" >&5
8049 echo "${ECHO_T}yes" >&6
8050 else
8051 echo "$as_me:$LINENO: result: no" >&5
8052 echo "${ECHO_T}no" >&6
8053 fi
8054
8055
8056 enablestring=
8057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8058 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8059 no_cache=0
8060 # Check whether --enable-checkbox or --disable-checkbox was given.
8061 if test "${enable_checkbox+set}" = set; then
8062 enableval="$enable_checkbox"
8063
8064 if test "$enableval" = yes; then
8065 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8066 else
8067 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8068 fi
8069
8070 else
8071
8072 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8073 if test "x$LINE" != x ; then
8074 eval "DEFAULT_$LINE"
8075 else
8076 no_cache=1
8077 fi
8078
8079 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8080
8081 fi;
8082
8083 eval "$ac_cv_use_checkbox"
8084 if test "$no_cache" != 1; then
8085 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8086 fi
8087
8088 if test "$wxUSE_CHECKBOX" = yes; then
8089 echo "$as_me:$LINENO: result: yes" >&5
8090 echo "${ECHO_T}yes" >&6
8091 else
8092 echo "$as_me:$LINENO: result: no" >&5
8093 echo "${ECHO_T}no" >&6
8094 fi
8095
8096
8097 enablestring=
8098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8099 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8100 no_cache=0
8101 # Check whether --enable-checklst or --disable-checklst was given.
8102 if test "${enable_checklst+set}" = set; then
8103 enableval="$enable_checklst"
8104
8105 if test "$enableval" = yes; then
8106 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8107 else
8108 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8109 fi
8110
8111 else
8112
8113 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8114 if test "x$LINE" != x ; then
8115 eval "DEFAULT_$LINE"
8116 else
8117 no_cache=1
8118 fi
8119
8120 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8121
8122 fi;
8123
8124 eval "$ac_cv_use_checklst"
8125 if test "$no_cache" != 1; then
8126 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8127 fi
8128
8129 if test "$wxUSE_CHECKLST" = yes; then
8130 echo "$as_me:$LINENO: result: yes" >&5
8131 echo "${ECHO_T}yes" >&6
8132 else
8133 echo "$as_me:$LINENO: result: no" >&5
8134 echo "${ECHO_T}no" >&6
8135 fi
8136
8137
8138 enablestring=
8139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8141 no_cache=0
8142 # Check whether --enable-choice or --disable-choice was given.
8143 if test "${enable_choice+set}" = set; then
8144 enableval="$enable_choice"
8145
8146 if test "$enableval" = yes; then
8147 ac_cv_use_choice='wxUSE_CHOICE=yes'
8148 else
8149 ac_cv_use_choice='wxUSE_CHOICE=no'
8150 fi
8151
8152 else
8153
8154 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8155 if test "x$LINE" != x ; then
8156 eval "DEFAULT_$LINE"
8157 else
8158 no_cache=1
8159 fi
8160
8161 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8162
8163 fi;
8164
8165 eval "$ac_cv_use_choice"
8166 if test "$no_cache" != 1; then
8167 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8168 fi
8169
8170 if test "$wxUSE_CHOICE" = yes; then
8171 echo "$as_me:$LINENO: result: yes" >&5
8172 echo "${ECHO_T}yes" >&6
8173 else
8174 echo "$as_me:$LINENO: result: no" >&5
8175 echo "${ECHO_T}no" >&6
8176 fi
8177
8178
8179 enablestring=
8180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8181 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8182 no_cache=0
8183 # Check whether --enable-choicebook or --disable-choicebook was given.
8184 if test "${enable_choicebook+set}" = set; then
8185 enableval="$enable_choicebook"
8186
8187 if test "$enableval" = yes; then
8188 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8189 else
8190 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8191 fi
8192
8193 else
8194
8195 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8196 if test "x$LINE" != x ; then
8197 eval "DEFAULT_$LINE"
8198 else
8199 no_cache=1
8200 fi
8201
8202 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8203
8204 fi;
8205
8206 eval "$ac_cv_use_choicebook"
8207 if test "$no_cache" != 1; then
8208 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8209 fi
8210
8211 if test "$wxUSE_CHOICEBOOK" = yes; then
8212 echo "$as_me:$LINENO: result: yes" >&5
8213 echo "${ECHO_T}yes" >&6
8214 else
8215 echo "$as_me:$LINENO: result: no" >&5
8216 echo "${ECHO_T}no" >&6
8217 fi
8218
8219
8220 enablestring=
8221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8222 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8223 no_cache=0
8224 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8225 if test "${enable_colourpicker+set}" = set; then
8226 enableval="$enable_colourpicker"
8227
8228 if test "$enableval" = yes; then
8229 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8230 else
8231 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8232 fi
8233
8234 else
8235
8236 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8237 if test "x$LINE" != x ; then
8238 eval "DEFAULT_$LINE"
8239 else
8240 no_cache=1
8241 fi
8242
8243 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8244
8245 fi;
8246
8247 eval "$ac_cv_use_colourpicker"
8248 if test "$no_cache" != 1; then
8249 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8250 fi
8251
8252 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8253 echo "$as_me:$LINENO: result: yes" >&5
8254 echo "${ECHO_T}yes" >&6
8255 else
8256 echo "$as_me:$LINENO: result: no" >&5
8257 echo "${ECHO_T}no" >&6
8258 fi
8259
8260
8261 enablestring=
8262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8263 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8264 no_cache=0
8265 # Check whether --enable-combobox or --disable-combobox was given.
8266 if test "${enable_combobox+set}" = set; then
8267 enableval="$enable_combobox"
8268
8269 if test "$enableval" = yes; then
8270 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8271 else
8272 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8273 fi
8274
8275 else
8276
8277 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8278 if test "x$LINE" != x ; then
8279 eval "DEFAULT_$LINE"
8280 else
8281 no_cache=1
8282 fi
8283
8284 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8285
8286 fi;
8287
8288 eval "$ac_cv_use_combobox"
8289 if test "$no_cache" != 1; then
8290 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8291 fi
8292
8293 if test "$wxUSE_COMBOBOX" = yes; then
8294 echo "$as_me:$LINENO: result: yes" >&5
8295 echo "${ECHO_T}yes" >&6
8296 else
8297 echo "$as_me:$LINENO: result: no" >&5
8298 echo "${ECHO_T}no" >&6
8299 fi
8300
8301
8302 enablestring=
8303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8304 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8305 no_cache=0
8306 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8307 if test "${enable_comboctrl+set}" = set; then
8308 enableval="$enable_comboctrl"
8309
8310 if test "$enableval" = yes; then
8311 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8312 else
8313 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8314 fi
8315
8316 else
8317
8318 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8319 if test "x$LINE" != x ; then
8320 eval "DEFAULT_$LINE"
8321 else
8322 no_cache=1
8323 fi
8324
8325 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8326
8327 fi;
8328
8329 eval "$ac_cv_use_comboctrl"
8330 if test "$no_cache" != 1; then
8331 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8332 fi
8333
8334 if test "$wxUSE_COMBOCTRL" = yes; then
8335 echo "$as_me:$LINENO: result: yes" >&5
8336 echo "${ECHO_T}yes" >&6
8337 else
8338 echo "$as_me:$LINENO: result: no" >&5
8339 echo "${ECHO_T}no" >&6
8340 fi
8341
8342
8343 enablestring=
8344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8345 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8346 no_cache=0
8347 # Check whether --enable-datepick or --disable-datepick was given.
8348 if test "${enable_datepick+set}" = set; then
8349 enableval="$enable_datepick"
8350
8351 if test "$enableval" = yes; then
8352 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8353 else
8354 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8355 fi
8356
8357 else
8358
8359 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8360 if test "x$LINE" != x ; then
8361 eval "DEFAULT_$LINE"
8362 else
8363 no_cache=1
8364 fi
8365
8366 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8367
8368 fi;
8369
8370 eval "$ac_cv_use_datepick"
8371 if test "$no_cache" != 1; then
8372 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8373 fi
8374
8375 if test "$wxUSE_DATEPICKCTRL" = yes; then
8376 echo "$as_me:$LINENO: result: yes" >&5
8377 echo "${ECHO_T}yes" >&6
8378 else
8379 echo "$as_me:$LINENO: result: no" >&5
8380 echo "${ECHO_T}no" >&6
8381 fi
8382
8383
8384 enablestring=
8385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8386 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8387 no_cache=0
8388 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8389 if test "${enable_dirpicker+set}" = set; then
8390 enableval="$enable_dirpicker"
8391
8392 if test "$enableval" = yes; then
8393 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8394 else
8395 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8396 fi
8397
8398 else
8399
8400 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8401 if test "x$LINE" != x ; then
8402 eval "DEFAULT_$LINE"
8403 else
8404 no_cache=1
8405 fi
8406
8407 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8408
8409 fi;
8410
8411 eval "$ac_cv_use_dirpicker"
8412 if test "$no_cache" != 1; then
8413 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8414 fi
8415
8416 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8417 echo "$as_me:$LINENO: result: yes" >&5
8418 echo "${ECHO_T}yes" >&6
8419 else
8420 echo "$as_me:$LINENO: result: no" >&5
8421 echo "${ECHO_T}no" >&6
8422 fi
8423
8424
8425 enablestring=
8426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8427 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8428 no_cache=0
8429 # Check whether --enable-display or --disable-display was given.
8430 if test "${enable_display+set}" = set; then
8431 enableval="$enable_display"
8432
8433 if test "$enableval" = yes; then
8434 ac_cv_use_display='wxUSE_DISPLAY=yes'
8435 else
8436 ac_cv_use_display='wxUSE_DISPLAY=no'
8437 fi
8438
8439 else
8440
8441 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8442 if test "x$LINE" != x ; then
8443 eval "DEFAULT_$LINE"
8444 else
8445 no_cache=1
8446 fi
8447
8448 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8449
8450 fi;
8451
8452 eval "$ac_cv_use_display"
8453 if test "$no_cache" != 1; then
8454 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8455 fi
8456
8457 if test "$wxUSE_DISPLAY" = yes; then
8458 echo "$as_me:$LINENO: result: yes" >&5
8459 echo "${ECHO_T}yes" >&6
8460 else
8461 echo "$as_me:$LINENO: result: no" >&5
8462 echo "${ECHO_T}no" >&6
8463 fi
8464
8465
8466 enablestring=
8467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8468 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8469 no_cache=0
8470 # Check whether --enable-filepicker or --disable-filepicker was given.
8471 if test "${enable_filepicker+set}" = set; then
8472 enableval="$enable_filepicker"
8473
8474 if test "$enableval" = yes; then
8475 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8476 else
8477 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8478 fi
8479
8480 else
8481
8482 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8483 if test "x$LINE" != x ; then
8484 eval "DEFAULT_$LINE"
8485 else
8486 no_cache=1
8487 fi
8488
8489 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8490
8491 fi;
8492
8493 eval "$ac_cv_use_filepicker"
8494 if test "$no_cache" != 1; then
8495 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8496 fi
8497
8498 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8499 echo "$as_me:$LINENO: result: yes" >&5
8500 echo "${ECHO_T}yes" >&6
8501 else
8502 echo "$as_me:$LINENO: result: no" >&5
8503 echo "${ECHO_T}no" >&6
8504 fi
8505
8506
8507 enablestring=
8508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8510 no_cache=0
8511 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8512 if test "${enable_fontpicker+set}" = set; then
8513 enableval="$enable_fontpicker"
8514
8515 if test "$enableval" = yes; then
8516 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8517 else
8518 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8519 fi
8520
8521 else
8522
8523 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8524 if test "x$LINE" != x ; then
8525 eval "DEFAULT_$LINE"
8526 else
8527 no_cache=1
8528 fi
8529
8530 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8531
8532 fi;
8533
8534 eval "$ac_cv_use_fontpicker"
8535 if test "$no_cache" != 1; then
8536 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8537 fi
8538
8539 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8540 echo "$as_me:$LINENO: result: yes" >&5
8541 echo "${ECHO_T}yes" >&6
8542 else
8543 echo "$as_me:$LINENO: result: no" >&5
8544 echo "${ECHO_T}no" >&6
8545 fi
8546
8547
8548 enablestring=
8549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8550 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8551 no_cache=0
8552 # Check whether --enable-gauge or --disable-gauge was given.
8553 if test "${enable_gauge+set}" = set; then
8554 enableval="$enable_gauge"
8555
8556 if test "$enableval" = yes; then
8557 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8558 else
8559 ac_cv_use_gauge='wxUSE_GAUGE=no'
8560 fi
8561
8562 else
8563
8564 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8565 if test "x$LINE" != x ; then
8566 eval "DEFAULT_$LINE"
8567 else
8568 no_cache=1
8569 fi
8570
8571 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8572
8573 fi;
8574
8575 eval "$ac_cv_use_gauge"
8576 if test "$no_cache" != 1; then
8577 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8578 fi
8579
8580 if test "$wxUSE_GAUGE" = yes; then
8581 echo "$as_me:$LINENO: result: yes" >&5
8582 echo "${ECHO_T}yes" >&6
8583 else
8584 echo "$as_me:$LINENO: result: no" >&5
8585 echo "${ECHO_T}no" >&6
8586 fi
8587
8588
8589 enablestring=
8590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8591 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8592 no_cache=0
8593 # Check whether --enable-grid or --disable-grid was given.
8594 if test "${enable_grid+set}" = set; then
8595 enableval="$enable_grid"
8596
8597 if test "$enableval" = yes; then
8598 ac_cv_use_grid='wxUSE_GRID=yes'
8599 else
8600 ac_cv_use_grid='wxUSE_GRID=no'
8601 fi
8602
8603 else
8604
8605 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8606 if test "x$LINE" != x ; then
8607 eval "DEFAULT_$LINE"
8608 else
8609 no_cache=1
8610 fi
8611
8612 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8613
8614 fi;
8615
8616 eval "$ac_cv_use_grid"
8617 if test "$no_cache" != 1; then
8618 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8619 fi
8620
8621 if test "$wxUSE_GRID" = yes; then
8622 echo "$as_me:$LINENO: result: yes" >&5
8623 echo "${ECHO_T}yes" >&6
8624 else
8625 echo "$as_me:$LINENO: result: no" >&5
8626 echo "${ECHO_T}no" >&6
8627 fi
8628
8629
8630 enablestring=
8631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8632 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8633 no_cache=0
8634 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8635 if test "${enable_dataviewctrl+set}" = set; then
8636 enableval="$enable_dataviewctrl"
8637
8638 if test "$enableval" = yes; then
8639 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8640 else
8641 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8642 fi
8643
8644 else
8645
8646 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8647 if test "x$LINE" != x ; then
8648 eval "DEFAULT_$LINE"
8649 else
8650 no_cache=1
8651 fi
8652
8653 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8654
8655 fi;
8656
8657 eval "$ac_cv_use_dataviewctrl"
8658 if test "$no_cache" != 1; then
8659 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8660 fi
8661
8662 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8663 echo "$as_me:$LINENO: result: yes" >&5
8664 echo "${ECHO_T}yes" >&6
8665 else
8666 echo "$as_me:$LINENO: result: no" >&5
8667 echo "${ECHO_T}no" >&6
8668 fi
8669
8670
8671 enablestring=
8672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8673 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8674 no_cache=0
8675 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8676 if test "${enable_hyperlink+set}" = set; then
8677 enableval="$enable_hyperlink"
8678
8679 if test "$enableval" = yes; then
8680 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8681 else
8682 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8683 fi
8684
8685 else
8686
8687 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8688 if test "x$LINE" != x ; then
8689 eval "DEFAULT_$LINE"
8690 else
8691 no_cache=1
8692 fi
8693
8694 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8695
8696 fi;
8697
8698 eval "$ac_cv_use_hyperlink"
8699 if test "$no_cache" != 1; then
8700 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8701 fi
8702
8703 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8704 echo "$as_me:$LINENO: result: yes" >&5
8705 echo "${ECHO_T}yes" >&6
8706 else
8707 echo "$as_me:$LINENO: result: no" >&5
8708 echo "${ECHO_T}no" >&6
8709 fi
8710
8711
8712 enablestring=
8713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8714 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8715 no_cache=0
8716 # Check whether --enable-imaglist or --disable-imaglist was given.
8717 if test "${enable_imaglist+set}" = set; then
8718 enableval="$enable_imaglist"
8719
8720 if test "$enableval" = yes; then
8721 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8722 else
8723 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8724 fi
8725
8726 else
8727
8728 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8729 if test "x$LINE" != x ; then
8730 eval "DEFAULT_$LINE"
8731 else
8732 no_cache=1
8733 fi
8734
8735 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8736
8737 fi;
8738
8739 eval "$ac_cv_use_imaglist"
8740 if test "$no_cache" != 1; then
8741 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8742 fi
8743
8744 if test "$wxUSE_IMAGLIST" = yes; then
8745 echo "$as_me:$LINENO: result: yes" >&5
8746 echo "${ECHO_T}yes" >&6
8747 else
8748 echo "$as_me:$LINENO: result: no" >&5
8749 echo "${ECHO_T}no" >&6
8750 fi
8751
8752
8753 enablestring=
8754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8755 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8756 no_cache=0
8757 # Check whether --enable-listbook or --disable-listbook was given.
8758 if test "${enable_listbook+set}" = set; then
8759 enableval="$enable_listbook"
8760
8761 if test "$enableval" = yes; then
8762 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8763 else
8764 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8765 fi
8766
8767 else
8768
8769 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8770 if test "x$LINE" != x ; then
8771 eval "DEFAULT_$LINE"
8772 else
8773 no_cache=1
8774 fi
8775
8776 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8777
8778 fi;
8779
8780 eval "$ac_cv_use_listbook"
8781 if test "$no_cache" != 1; then
8782 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8783 fi
8784
8785 if test "$wxUSE_LISTBOOK" = yes; then
8786 echo "$as_me:$LINENO: result: yes" >&5
8787 echo "${ECHO_T}yes" >&6
8788 else
8789 echo "$as_me:$LINENO: result: no" >&5
8790 echo "${ECHO_T}no" >&6
8791 fi
8792
8793
8794 enablestring=
8795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8796 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8797 no_cache=0
8798 # Check whether --enable-listbox or --disable-listbox was given.
8799 if test "${enable_listbox+set}" = set; then
8800 enableval="$enable_listbox"
8801
8802 if test "$enableval" = yes; then
8803 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8804 else
8805 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8806 fi
8807
8808 else
8809
8810 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8811 if test "x$LINE" != x ; then
8812 eval "DEFAULT_$LINE"
8813 else
8814 no_cache=1
8815 fi
8816
8817 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8818
8819 fi;
8820
8821 eval "$ac_cv_use_listbox"
8822 if test "$no_cache" != 1; then
8823 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8824 fi
8825
8826 if test "$wxUSE_LISTBOX" = yes; then
8827 echo "$as_me:$LINENO: result: yes" >&5
8828 echo "${ECHO_T}yes" >&6
8829 else
8830 echo "$as_me:$LINENO: result: no" >&5
8831 echo "${ECHO_T}no" >&6
8832 fi
8833
8834
8835 enablestring=
8836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8837 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8838 no_cache=0
8839 # Check whether --enable-listctrl or --disable-listctrl was given.
8840 if test "${enable_listctrl+set}" = set; then
8841 enableval="$enable_listctrl"
8842
8843 if test "$enableval" = yes; then
8844 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8845 else
8846 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8847 fi
8848
8849 else
8850
8851 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8852 if test "x$LINE" != x ; then
8853 eval "DEFAULT_$LINE"
8854 else
8855 no_cache=1
8856 fi
8857
8858 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8859
8860 fi;
8861
8862 eval "$ac_cv_use_listctrl"
8863 if test "$no_cache" != 1; then
8864 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8865 fi
8866
8867 if test "$wxUSE_LISTCTRL" = yes; then
8868 echo "$as_me:$LINENO: result: yes" >&5
8869 echo "${ECHO_T}yes" >&6
8870 else
8871 echo "$as_me:$LINENO: result: no" >&5
8872 echo "${ECHO_T}no" >&6
8873 fi
8874
8875
8876 enablestring=
8877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8878 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8879 no_cache=0
8880 # Check whether --enable-notebook or --disable-notebook was given.
8881 if test "${enable_notebook+set}" = set; then
8882 enableval="$enable_notebook"
8883
8884 if test "$enableval" = yes; then
8885 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8886 else
8887 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8888 fi
8889
8890 else
8891
8892 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8893 if test "x$LINE" != x ; then
8894 eval "DEFAULT_$LINE"
8895 else
8896 no_cache=1
8897 fi
8898
8899 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8900
8901 fi;
8902
8903 eval "$ac_cv_use_notebook"
8904 if test "$no_cache" != 1; then
8905 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8906 fi
8907
8908 if test "$wxUSE_NOTEBOOK" = yes; then
8909 echo "$as_me:$LINENO: result: yes" >&5
8910 echo "${ECHO_T}yes" >&6
8911 else
8912 echo "$as_me:$LINENO: result: no" >&5
8913 echo "${ECHO_T}no" >&6
8914 fi
8915
8916
8917 enablestring=
8918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8919 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8920 no_cache=0
8921 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8922 if test "${enable_odcombobox+set}" = set; then
8923 enableval="$enable_odcombobox"
8924
8925 if test "$enableval" = yes; then
8926 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
8927 else
8928 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
8929 fi
8930
8931 else
8932
8933 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8934 if test "x$LINE" != x ; then
8935 eval "DEFAULT_$LINE"
8936 else
8937 no_cache=1
8938 fi
8939
8940 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8941
8942 fi;
8943
8944 eval "$ac_cv_use_odcombobox"
8945 if test "$no_cache" != 1; then
8946 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8947 fi
8948
8949 if test "$wxUSE_ODCOMBOBOX" = yes; then
8950 echo "$as_me:$LINENO: result: yes" >&5
8951 echo "${ECHO_T}yes" >&6
8952 else
8953 echo "$as_me:$LINENO: result: no" >&5
8954 echo "${ECHO_T}no" >&6
8955 fi
8956
8957
8958 enablestring=
8959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8960 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8961 no_cache=0
8962 # Check whether --enable-radiobox or --disable-radiobox was given.
8963 if test "${enable_radiobox+set}" = set; then
8964 enableval="$enable_radiobox"
8965
8966 if test "$enableval" = yes; then
8967 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8968 else
8969 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8970 fi
8971
8972 else
8973
8974 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8975 if test "x$LINE" != x ; then
8976 eval "DEFAULT_$LINE"
8977 else
8978 no_cache=1
8979 fi
8980
8981 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8982
8983 fi;
8984
8985 eval "$ac_cv_use_radiobox"
8986 if test "$no_cache" != 1; then
8987 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8988 fi
8989
8990 if test "$wxUSE_RADIOBOX" = yes; then
8991 echo "$as_me:$LINENO: result: yes" >&5
8992 echo "${ECHO_T}yes" >&6
8993 else
8994 echo "$as_me:$LINENO: result: no" >&5
8995 echo "${ECHO_T}no" >&6
8996 fi
8997
8998
8999 enablestring=
9000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9001 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9002 no_cache=0
9003 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9004 if test "${enable_radiobtn+set}" = set; then
9005 enableval="$enable_radiobtn"
9006
9007 if test "$enableval" = yes; then
9008 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9009 else
9010 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9011 fi
9012
9013 else
9014
9015 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9016 if test "x$LINE" != x ; then
9017 eval "DEFAULT_$LINE"
9018 else
9019 no_cache=1
9020 fi
9021
9022 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9023
9024 fi;
9025
9026 eval "$ac_cv_use_radiobtn"
9027 if test "$no_cache" != 1; then
9028 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9029 fi
9030
9031 if test "$wxUSE_RADIOBTN" = yes; then
9032 echo "$as_me:$LINENO: result: yes" >&5
9033 echo "${ECHO_T}yes" >&6
9034 else
9035 echo "$as_me:$LINENO: result: no" >&5
9036 echo "${ECHO_T}no" >&6
9037 fi
9038
9039
9040 enablestring=
9041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9042 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9043 no_cache=0
9044 # Check whether --enable-sash or --disable-sash was given.
9045 if test "${enable_sash+set}" = set; then
9046 enableval="$enable_sash"
9047
9048 if test "$enableval" = yes; then
9049 ac_cv_use_sash='wxUSE_SASH=yes'
9050 else
9051 ac_cv_use_sash='wxUSE_SASH=no'
9052 fi
9053
9054 else
9055
9056 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9057 if test "x$LINE" != x ; then
9058 eval "DEFAULT_$LINE"
9059 else
9060 no_cache=1
9061 fi
9062
9063 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9064
9065 fi;
9066
9067 eval "$ac_cv_use_sash"
9068 if test "$no_cache" != 1; then
9069 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9070 fi
9071
9072 if test "$wxUSE_SASH" = yes; then
9073 echo "$as_me:$LINENO: result: yes" >&5
9074 echo "${ECHO_T}yes" >&6
9075 else
9076 echo "$as_me:$LINENO: result: no" >&5
9077 echo "${ECHO_T}no" >&6
9078 fi
9079
9080
9081 enablestring=
9082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9083 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9084 no_cache=0
9085 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9086 if test "${enable_scrollbar+set}" = set; then
9087 enableval="$enable_scrollbar"
9088
9089 if test "$enableval" = yes; then
9090 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9091 else
9092 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9093 fi
9094
9095 else
9096
9097 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9098 if test "x$LINE" != x ; then
9099 eval "DEFAULT_$LINE"
9100 else
9101 no_cache=1
9102 fi
9103
9104 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9105
9106 fi;
9107
9108 eval "$ac_cv_use_scrollbar"
9109 if test "$no_cache" != 1; then
9110 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9111 fi
9112
9113 if test "$wxUSE_SCROLLBAR" = yes; then
9114 echo "$as_me:$LINENO: result: yes" >&5
9115 echo "${ECHO_T}yes" >&6
9116 else
9117 echo "$as_me:$LINENO: result: no" >&5
9118 echo "${ECHO_T}no" >&6
9119 fi
9120
9121
9122 enablestring=
9123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9124 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9125 no_cache=0
9126 # Check whether --enable-slider or --disable-slider was given.
9127 if test "${enable_slider+set}" = set; then
9128 enableval="$enable_slider"
9129
9130 if test "$enableval" = yes; then
9131 ac_cv_use_slider='wxUSE_SLIDER=yes'
9132 else
9133 ac_cv_use_slider='wxUSE_SLIDER=no'
9134 fi
9135
9136 else
9137
9138 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9139 if test "x$LINE" != x ; then
9140 eval "DEFAULT_$LINE"
9141 else
9142 no_cache=1
9143 fi
9144
9145 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9146
9147 fi;
9148
9149 eval "$ac_cv_use_slider"
9150 if test "$no_cache" != 1; then
9151 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9152 fi
9153
9154 if test "$wxUSE_SLIDER" = yes; then
9155 echo "$as_me:$LINENO: result: yes" >&5
9156 echo "${ECHO_T}yes" >&6
9157 else
9158 echo "$as_me:$LINENO: result: no" >&5
9159 echo "${ECHO_T}no" >&6
9160 fi
9161
9162
9163 enablestring=
9164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9165 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9166 no_cache=0
9167 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9168 if test "${enable_spinbtn+set}" = set; then
9169 enableval="$enable_spinbtn"
9170
9171 if test "$enableval" = yes; then
9172 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9173 else
9174 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9175 fi
9176
9177 else
9178
9179 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9180 if test "x$LINE" != x ; then
9181 eval "DEFAULT_$LINE"
9182 else
9183 no_cache=1
9184 fi
9185
9186 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9187
9188 fi;
9189
9190 eval "$ac_cv_use_spinbtn"
9191 if test "$no_cache" != 1; then
9192 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9193 fi
9194
9195 if test "$wxUSE_SPINBTN" = yes; then
9196 echo "$as_me:$LINENO: result: yes" >&5
9197 echo "${ECHO_T}yes" >&6
9198 else
9199 echo "$as_me:$LINENO: result: no" >&5
9200 echo "${ECHO_T}no" >&6
9201 fi
9202
9203
9204 enablestring=
9205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9206 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9207 no_cache=0
9208 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9209 if test "${enable_spinctrl+set}" = set; then
9210 enableval="$enable_spinctrl"
9211
9212 if test "$enableval" = yes; then
9213 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9214 else
9215 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9216 fi
9217
9218 else
9219
9220 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9221 if test "x$LINE" != x ; then
9222 eval "DEFAULT_$LINE"
9223 else
9224 no_cache=1
9225 fi
9226
9227 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9228
9229 fi;
9230
9231 eval "$ac_cv_use_spinctrl"
9232 if test "$no_cache" != 1; then
9233 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9234 fi
9235
9236 if test "$wxUSE_SPINCTRL" = yes; then
9237 echo "$as_me:$LINENO: result: yes" >&5
9238 echo "${ECHO_T}yes" >&6
9239 else
9240 echo "$as_me:$LINENO: result: no" >&5
9241 echo "${ECHO_T}no" >&6
9242 fi
9243
9244
9245 enablestring=
9246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9247 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9248 no_cache=0
9249 # Check whether --enable-splitter or --disable-splitter was given.
9250 if test "${enable_splitter+set}" = set; then
9251 enableval="$enable_splitter"
9252
9253 if test "$enableval" = yes; then
9254 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9255 else
9256 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9257 fi
9258
9259 else
9260
9261 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9262 if test "x$LINE" != x ; then
9263 eval "DEFAULT_$LINE"
9264 else
9265 no_cache=1
9266 fi
9267
9268 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9269
9270 fi;
9271
9272 eval "$ac_cv_use_splitter"
9273 if test "$no_cache" != 1; then
9274 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9275 fi
9276
9277 if test "$wxUSE_SPLITTER" = yes; then
9278 echo "$as_me:$LINENO: result: yes" >&5
9279 echo "${ECHO_T}yes" >&6
9280 else
9281 echo "$as_me:$LINENO: result: no" >&5
9282 echo "${ECHO_T}no" >&6
9283 fi
9284
9285
9286 enablestring=
9287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9288 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9289 no_cache=0
9290 # Check whether --enable-statbmp or --disable-statbmp was given.
9291 if test "${enable_statbmp+set}" = set; then
9292 enableval="$enable_statbmp"
9293
9294 if test "$enableval" = yes; then
9295 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9296 else
9297 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9298 fi
9299
9300 else
9301
9302 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9303 if test "x$LINE" != x ; then
9304 eval "DEFAULT_$LINE"
9305 else
9306 no_cache=1
9307 fi
9308
9309 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9310
9311 fi;
9312
9313 eval "$ac_cv_use_statbmp"
9314 if test "$no_cache" != 1; then
9315 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9316 fi
9317
9318 if test "$wxUSE_STATBMP" = yes; then
9319 echo "$as_me:$LINENO: result: yes" >&5
9320 echo "${ECHO_T}yes" >&6
9321 else
9322 echo "$as_me:$LINENO: result: no" >&5
9323 echo "${ECHO_T}no" >&6
9324 fi
9325
9326
9327 enablestring=
9328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9329 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9330 no_cache=0
9331 # Check whether --enable-statbox or --disable-statbox was given.
9332 if test "${enable_statbox+set}" = set; then
9333 enableval="$enable_statbox"
9334
9335 if test "$enableval" = yes; then
9336 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9337 else
9338 ac_cv_use_statbox='wxUSE_STATBOX=no'
9339 fi
9340
9341 else
9342
9343 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9344 if test "x$LINE" != x ; then
9345 eval "DEFAULT_$LINE"
9346 else
9347 no_cache=1
9348 fi
9349
9350 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9351
9352 fi;
9353
9354 eval "$ac_cv_use_statbox"
9355 if test "$no_cache" != 1; then
9356 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9357 fi
9358
9359 if test "$wxUSE_STATBOX" = yes; then
9360 echo "$as_me:$LINENO: result: yes" >&5
9361 echo "${ECHO_T}yes" >&6
9362 else
9363 echo "$as_me:$LINENO: result: no" >&5
9364 echo "${ECHO_T}no" >&6
9365 fi
9366
9367
9368 enablestring=
9369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9370 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9371 no_cache=0
9372 # Check whether --enable-statline or --disable-statline was given.
9373 if test "${enable_statline+set}" = set; then
9374 enableval="$enable_statline"
9375
9376 if test "$enableval" = yes; then
9377 ac_cv_use_statline='wxUSE_STATLINE=yes'
9378 else
9379 ac_cv_use_statline='wxUSE_STATLINE=no'
9380 fi
9381
9382 else
9383
9384 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9385 if test "x$LINE" != x ; then
9386 eval "DEFAULT_$LINE"
9387 else
9388 no_cache=1
9389 fi
9390
9391 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9392
9393 fi;
9394
9395 eval "$ac_cv_use_statline"
9396 if test "$no_cache" != 1; then
9397 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9398 fi
9399
9400 if test "$wxUSE_STATLINE" = yes; then
9401 echo "$as_me:$LINENO: result: yes" >&5
9402 echo "${ECHO_T}yes" >&6
9403 else
9404 echo "$as_me:$LINENO: result: no" >&5
9405 echo "${ECHO_T}no" >&6
9406 fi
9407
9408
9409 enablestring=
9410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9411 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9412 no_cache=0
9413 # Check whether --enable-stattext or --disable-stattext was given.
9414 if test "${enable_stattext+set}" = set; then
9415 enableval="$enable_stattext"
9416
9417 if test "$enableval" = yes; then
9418 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9419 else
9420 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9421 fi
9422
9423 else
9424
9425 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9426 if test "x$LINE" != x ; then
9427 eval "DEFAULT_$LINE"
9428 else
9429 no_cache=1
9430 fi
9431
9432 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9433
9434 fi;
9435
9436 eval "$ac_cv_use_stattext"
9437 if test "$no_cache" != 1; then
9438 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9439 fi
9440
9441 if test "$wxUSE_STATTEXT" = yes; then
9442 echo "$as_me:$LINENO: result: yes" >&5
9443 echo "${ECHO_T}yes" >&6
9444 else
9445 echo "$as_me:$LINENO: result: no" >&5
9446 echo "${ECHO_T}no" >&6
9447 fi
9448
9449
9450 enablestring=
9451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9452 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9453 no_cache=0
9454 # Check whether --enable-statusbar or --disable-statusbar was given.
9455 if test "${enable_statusbar+set}" = set; then
9456 enableval="$enable_statusbar"
9457
9458 if test "$enableval" = yes; then
9459 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9460 else
9461 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9462 fi
9463
9464 else
9465
9466 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9467 if test "x$LINE" != x ; then
9468 eval "DEFAULT_$LINE"
9469 else
9470 no_cache=1
9471 fi
9472
9473 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9474
9475 fi;
9476
9477 eval "$ac_cv_use_statusbar"
9478 if test "$no_cache" != 1; then
9479 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9480 fi
9481
9482 if test "$wxUSE_STATUSBAR" = yes; then
9483 echo "$as_me:$LINENO: result: yes" >&5
9484 echo "${ECHO_T}yes" >&6
9485 else
9486 echo "$as_me:$LINENO: result: no" >&5
9487 echo "${ECHO_T}no" >&6
9488 fi
9489
9490
9491 enablestring=
9492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9493 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9494 no_cache=0
9495 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9496 if test "${enable_tabdialog+set}" = set; then
9497 enableval="$enable_tabdialog"
9498
9499 if test "$enableval" = yes; then
9500 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9501 else
9502 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9503 fi
9504
9505 else
9506
9507 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9508 if test "x$LINE" != x ; then
9509 eval "DEFAULT_$LINE"
9510 else
9511 no_cache=1
9512 fi
9513
9514 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9515
9516 fi;
9517
9518 eval "$ac_cv_use_tabdialog"
9519 if test "$no_cache" != 1; then
9520 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9521 fi
9522
9523 if test "$wxUSE_TAB_DIALOG" = yes; then
9524 echo "$as_me:$LINENO: result: yes" >&5
9525 echo "${ECHO_T}yes" >&6
9526 else
9527 echo "$as_me:$LINENO: result: no" >&5
9528 echo "${ECHO_T}no" >&6
9529 fi
9530
9531
9532 enablestring=
9533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9534 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9535 no_cache=0
9536 # Check whether --enable-textctrl or --disable-textctrl was given.
9537 if test "${enable_textctrl+set}" = set; then
9538 enableval="$enable_textctrl"
9539
9540 if test "$enableval" = yes; then
9541 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9542 else
9543 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9544 fi
9545
9546 else
9547
9548 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9549 if test "x$LINE" != x ; then
9550 eval "DEFAULT_$LINE"
9551 else
9552 no_cache=1
9553 fi
9554
9555 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9556
9557 fi;
9558
9559 eval "$ac_cv_use_textctrl"
9560 if test "$no_cache" != 1; then
9561 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9562 fi
9563
9564 if test "$wxUSE_TEXTCTRL" = yes; then
9565 echo "$as_me:$LINENO: result: yes" >&5
9566 echo "${ECHO_T}yes" >&6
9567 else
9568 echo "$as_me:$LINENO: result: no" >&5
9569 echo "${ECHO_T}no" >&6
9570 fi
9571
9572
9573 enablestring=
9574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9575 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9576 no_cache=0
9577 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9578 if test "${enable_togglebtn+set}" = set; then
9579 enableval="$enable_togglebtn"
9580
9581 if test "$enableval" = yes; then
9582 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9583 else
9584 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9585 fi
9586
9587 else
9588
9589 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9590 if test "x$LINE" != x ; then
9591 eval "DEFAULT_$LINE"
9592 else
9593 no_cache=1
9594 fi
9595
9596 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9597
9598 fi;
9599
9600 eval "$ac_cv_use_togglebtn"
9601 if test "$no_cache" != 1; then
9602 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9603 fi
9604
9605 if test "$wxUSE_TOGGLEBTN" = yes; then
9606 echo "$as_me:$LINENO: result: yes" >&5
9607 echo "${ECHO_T}yes" >&6
9608 else
9609 echo "$as_me:$LINENO: result: no" >&5
9610 echo "${ECHO_T}no" >&6
9611 fi
9612
9613
9614 enablestring=
9615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9616 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9617 no_cache=0
9618 # Check whether --enable-toolbar or --disable-toolbar was given.
9619 if test "${enable_toolbar+set}" = set; then
9620 enableval="$enable_toolbar"
9621
9622 if test "$enableval" = yes; then
9623 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9624 else
9625 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9626 fi
9627
9628 else
9629
9630 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9631 if test "x$LINE" != x ; then
9632 eval "DEFAULT_$LINE"
9633 else
9634 no_cache=1
9635 fi
9636
9637 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9638
9639 fi;
9640
9641 eval "$ac_cv_use_toolbar"
9642 if test "$no_cache" != 1; then
9643 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9644 fi
9645
9646 if test "$wxUSE_TOOLBAR" = yes; then
9647 echo "$as_me:$LINENO: result: yes" >&5
9648 echo "${ECHO_T}yes" >&6
9649 else
9650 echo "$as_me:$LINENO: result: no" >&5
9651 echo "${ECHO_T}no" >&6
9652 fi
9653
9654
9655 enablestring=
9656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9657 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9658 no_cache=0
9659 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9660 if test "${enable_tbarnative+set}" = set; then
9661 enableval="$enable_tbarnative"
9662
9663 if test "$enableval" = yes; then
9664 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9665 else
9666 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9667 fi
9668
9669 else
9670
9671 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9672 if test "x$LINE" != x ; then
9673 eval "DEFAULT_$LINE"
9674 else
9675 no_cache=1
9676 fi
9677
9678 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9679
9680 fi;
9681
9682 eval "$ac_cv_use_tbarnative"
9683 if test "$no_cache" != 1; then
9684 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9685 fi
9686
9687 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9688 echo "$as_me:$LINENO: result: yes" >&5
9689 echo "${ECHO_T}yes" >&6
9690 else
9691 echo "$as_me:$LINENO: result: no" >&5
9692 echo "${ECHO_T}no" >&6
9693 fi
9694
9695
9696 enablestring=
9697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9698 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9699 no_cache=0
9700 # Check whether --enable-treebook or --disable-treebook was given.
9701 if test "${enable_treebook+set}" = set; then
9702 enableval="$enable_treebook"
9703
9704 if test "$enableval" = yes; then
9705 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9706 else
9707 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9708 fi
9709
9710 else
9711
9712 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9713 if test "x$LINE" != x ; then
9714 eval "DEFAULT_$LINE"
9715 else
9716 no_cache=1
9717 fi
9718
9719 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9720
9721 fi;
9722
9723 eval "$ac_cv_use_treebook"
9724 if test "$no_cache" != 1; then
9725 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9726 fi
9727
9728 if test "$wxUSE_TREEBOOK" = yes; then
9729 echo "$as_me:$LINENO: result: yes" >&5
9730 echo "${ECHO_T}yes" >&6
9731 else
9732 echo "$as_me:$LINENO: result: no" >&5
9733 echo "${ECHO_T}no" >&6
9734 fi
9735
9736
9737 enablestring=
9738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9740 no_cache=0
9741 # Check whether --enable-toolbook or --disable-toolbook was given.
9742 if test "${enable_toolbook+set}" = set; then
9743 enableval="$enable_toolbook"
9744
9745 if test "$enableval" = yes; then
9746 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9747 else
9748 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9749 fi
9750
9751 else
9752
9753 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9754 if test "x$LINE" != x ; then
9755 eval "DEFAULT_$LINE"
9756 else
9757 no_cache=1
9758 fi
9759
9760 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9761
9762 fi;
9763
9764 eval "$ac_cv_use_toolbook"
9765 if test "$no_cache" != 1; then
9766 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9767 fi
9768
9769 if test "$wxUSE_TOOLBOOK" = yes; then
9770 echo "$as_me:$LINENO: result: yes" >&5
9771 echo "${ECHO_T}yes" >&6
9772 else
9773 echo "$as_me:$LINENO: result: no" >&5
9774 echo "${ECHO_T}no" >&6
9775 fi
9776
9777
9778 enablestring=
9779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9780 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9781 no_cache=0
9782 # Check whether --enable-treectrl or --disable-treectrl was given.
9783 if test "${enable_treectrl+set}" = set; then
9784 enableval="$enable_treectrl"
9785
9786 if test "$enableval" = yes; then
9787 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9788 else
9789 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9790 fi
9791
9792 else
9793
9794 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9795 if test "x$LINE" != x ; then
9796 eval "DEFAULT_$LINE"
9797 else
9798 no_cache=1
9799 fi
9800
9801 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9802
9803 fi;
9804
9805 eval "$ac_cv_use_treectrl"
9806 if test "$no_cache" != 1; then
9807 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9808 fi
9809
9810 if test "$wxUSE_TREECTRL" = yes; then
9811 echo "$as_me:$LINENO: result: yes" >&5
9812 echo "${ECHO_T}yes" >&6
9813 else
9814 echo "$as_me:$LINENO: result: no" >&5
9815 echo "${ECHO_T}no" >&6
9816 fi
9817
9818
9819 enablestring=
9820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9821 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9822 no_cache=0
9823 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9824 if test "${enable_tipwindow+set}" = set; then
9825 enableval="$enable_tipwindow"
9826
9827 if test "$enableval" = yes; then
9828 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9829 else
9830 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9831 fi
9832
9833 else
9834
9835 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9836 if test "x$LINE" != x ; then
9837 eval "DEFAULT_$LINE"
9838 else
9839 no_cache=1
9840 fi
9841
9842 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9843
9844 fi;
9845
9846 eval "$ac_cv_use_tipwindow"
9847 if test "$no_cache" != 1; then
9848 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9849 fi
9850
9851 if test "$wxUSE_TIPWINDOW" = yes; then
9852 echo "$as_me:$LINENO: result: yes" >&5
9853 echo "${ECHO_T}yes" >&6
9854 else
9855 echo "$as_me:$LINENO: result: no" >&5
9856 echo "${ECHO_T}no" >&6
9857 fi
9858
9859
9860 enablestring=
9861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9862 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9863 no_cache=0
9864 # Check whether --enable-popupwin or --disable-popupwin was given.
9865 if test "${enable_popupwin+set}" = set; then
9866 enableval="$enable_popupwin"
9867
9868 if test "$enableval" = yes; then
9869 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9870 else
9871 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9872 fi
9873
9874 else
9875
9876 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9877 if test "x$LINE" != x ; then
9878 eval "DEFAULT_$LINE"
9879 else
9880 no_cache=1
9881 fi
9882
9883 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9884
9885 fi;
9886
9887 eval "$ac_cv_use_popupwin"
9888 if test "$no_cache" != 1; then
9889 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9890 fi
9891
9892 if test "$wxUSE_POPUPWIN" = yes; then
9893 echo "$as_me:$LINENO: result: yes" >&5
9894 echo "${ECHO_T}yes" >&6
9895 else
9896 echo "$as_me:$LINENO: result: no" >&5
9897 echo "${ECHO_T}no" >&6
9898 fi
9899
9900
9901
9902
9903 enablestring=
9904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9905 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9906 no_cache=0
9907 # Check whether --enable-commondlg or --disable-commondlg was given.
9908 if test "${enable_commondlg+set}" = set; then
9909 enableval="$enable_commondlg"
9910
9911 if test "$enableval" = yes; then
9912 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9913 else
9914 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9915 fi
9916
9917 else
9918
9919 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9920 if test "x$LINE" != x ; then
9921 eval "DEFAULT_$LINE"
9922 else
9923 no_cache=1
9924 fi
9925
9926 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9927
9928 fi;
9929
9930 eval "$ac_cv_use_commondlg"
9931 if test "$no_cache" != 1; then
9932 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9933 fi
9934
9935 if test "$wxUSE_COMMONDLGS" = yes; then
9936 echo "$as_me:$LINENO: result: yes" >&5
9937 echo "${ECHO_T}yes" >&6
9938 else
9939 echo "$as_me:$LINENO: result: no" >&5
9940 echo "${ECHO_T}no" >&6
9941 fi
9942
9943
9944 enablestring=
9945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9946 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9947 no_cache=0
9948 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9949 if test "${enable_choicedlg+set}" = set; then
9950 enableval="$enable_choicedlg"
9951
9952 if test "$enableval" = yes; then
9953 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9954 else
9955 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9956 fi
9957
9958 else
9959
9960 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9961 if test "x$LINE" != x ; then
9962 eval "DEFAULT_$LINE"
9963 else
9964 no_cache=1
9965 fi
9966
9967 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9968
9969 fi;
9970
9971 eval "$ac_cv_use_choicedlg"
9972 if test "$no_cache" != 1; then
9973 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9974 fi
9975
9976 if test "$wxUSE_CHOICEDLG" = yes; then
9977 echo "$as_me:$LINENO: result: yes" >&5
9978 echo "${ECHO_T}yes" >&6
9979 else
9980 echo "$as_me:$LINENO: result: no" >&5
9981 echo "${ECHO_T}no" >&6
9982 fi
9983
9984
9985 enablestring=
9986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9987 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9988 no_cache=0
9989 # Check whether --enable-coldlg or --disable-coldlg was given.
9990 if test "${enable_coldlg+set}" = set; then
9991 enableval="$enable_coldlg"
9992
9993 if test "$enableval" = yes; then
9994 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9995 else
9996 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9997 fi
9998
9999 else
10000
10001 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10002 if test "x$LINE" != x ; then
10003 eval "DEFAULT_$LINE"
10004 else
10005 no_cache=1
10006 fi
10007
10008 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10009
10010 fi;
10011
10012 eval "$ac_cv_use_coldlg"
10013 if test "$no_cache" != 1; then
10014 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10015 fi
10016
10017 if test "$wxUSE_COLOURDLG" = yes; then
10018 echo "$as_me:$LINENO: result: yes" >&5
10019 echo "${ECHO_T}yes" >&6
10020 else
10021 echo "$as_me:$LINENO: result: no" >&5
10022 echo "${ECHO_T}no" >&6
10023 fi
10024
10025
10026 enablestring=
10027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10028 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10029 no_cache=0
10030 # Check whether --enable-filedlg or --disable-filedlg was given.
10031 if test "${enable_filedlg+set}" = set; then
10032 enableval="$enable_filedlg"
10033
10034 if test "$enableval" = yes; then
10035 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10036 else
10037 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10038 fi
10039
10040 else
10041
10042 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10043 if test "x$LINE" != x ; then
10044 eval "DEFAULT_$LINE"
10045 else
10046 no_cache=1
10047 fi
10048
10049 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10050
10051 fi;
10052
10053 eval "$ac_cv_use_filedlg"
10054 if test "$no_cache" != 1; then
10055 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10056 fi
10057
10058 if test "$wxUSE_FILEDLG" = yes; then
10059 echo "$as_me:$LINENO: result: yes" >&5
10060 echo "${ECHO_T}yes" >&6
10061 else
10062 echo "$as_me:$LINENO: result: no" >&5
10063 echo "${ECHO_T}no" >&6
10064 fi
10065
10066
10067 enablestring=
10068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10069 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10070 no_cache=0
10071 # Check whether --enable-finddlg or --disable-finddlg was given.
10072 if test "${enable_finddlg+set}" = set; then
10073 enableval="$enable_finddlg"
10074
10075 if test "$enableval" = yes; then
10076 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10077 else
10078 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10079 fi
10080
10081 else
10082
10083 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10084 if test "x$LINE" != x ; then
10085 eval "DEFAULT_$LINE"
10086 else
10087 no_cache=1
10088 fi
10089
10090 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10091
10092 fi;
10093
10094 eval "$ac_cv_use_finddlg"
10095 if test "$no_cache" != 1; then
10096 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10097 fi
10098
10099 if test "$wxUSE_FINDREPLDLG" = yes; then
10100 echo "$as_me:$LINENO: result: yes" >&5
10101 echo "${ECHO_T}yes" >&6
10102 else
10103 echo "$as_me:$LINENO: result: no" >&5
10104 echo "${ECHO_T}no" >&6
10105 fi
10106
10107
10108 enablestring=
10109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10110 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10111 no_cache=0
10112 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10113 if test "${enable_fontdlg+set}" = set; then
10114 enableval="$enable_fontdlg"
10115
10116 if test "$enableval" = yes; then
10117 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10118 else
10119 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10120 fi
10121
10122 else
10123
10124 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10125 if test "x$LINE" != x ; then
10126 eval "DEFAULT_$LINE"
10127 else
10128 no_cache=1
10129 fi
10130
10131 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10132
10133 fi;
10134
10135 eval "$ac_cv_use_fontdlg"
10136 if test "$no_cache" != 1; then
10137 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10138 fi
10139
10140 if test "$wxUSE_FONTDLG" = yes; then
10141 echo "$as_me:$LINENO: result: yes" >&5
10142 echo "${ECHO_T}yes" >&6
10143 else
10144 echo "$as_me:$LINENO: result: no" >&5
10145 echo "${ECHO_T}no" >&6
10146 fi
10147
10148
10149 enablestring=
10150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10151 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10152 no_cache=0
10153 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10154 if test "${enable_dirdlg+set}" = set; then
10155 enableval="$enable_dirdlg"
10156
10157 if test "$enableval" = yes; then
10158 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10159 else
10160 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10161 fi
10162
10163 else
10164
10165 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10166 if test "x$LINE" != x ; then
10167 eval "DEFAULT_$LINE"
10168 else
10169 no_cache=1
10170 fi
10171
10172 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10173
10174 fi;
10175
10176 eval "$ac_cv_use_dirdlg"
10177 if test "$no_cache" != 1; then
10178 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10179 fi
10180
10181 if test "$wxUSE_DIRDLG" = yes; then
10182 echo "$as_me:$LINENO: result: yes" >&5
10183 echo "${ECHO_T}yes" >&6
10184 else
10185 echo "$as_me:$LINENO: result: no" >&5
10186 echo "${ECHO_T}no" >&6
10187 fi
10188
10189
10190 enablestring=
10191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10192 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10193 no_cache=0
10194 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10195 if test "${enable_msgdlg+set}" = set; then
10196 enableval="$enable_msgdlg"
10197
10198 if test "$enableval" = yes; then
10199 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10200 else
10201 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10202 fi
10203
10204 else
10205
10206 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10207 if test "x$LINE" != x ; then
10208 eval "DEFAULT_$LINE"
10209 else
10210 no_cache=1
10211 fi
10212
10213 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10214
10215 fi;
10216
10217 eval "$ac_cv_use_msgdlg"
10218 if test "$no_cache" != 1; then
10219 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10220 fi
10221
10222 if test "$wxUSE_MSGDLG" = yes; then
10223 echo "$as_me:$LINENO: result: yes" >&5
10224 echo "${ECHO_T}yes" >&6
10225 else
10226 echo "$as_me:$LINENO: result: no" >&5
10227 echo "${ECHO_T}no" >&6
10228 fi
10229
10230
10231 enablestring=
10232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10233 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10234 no_cache=0
10235 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10236 if test "${enable_numberdlg+set}" = set; then
10237 enableval="$enable_numberdlg"
10238
10239 if test "$enableval" = yes; then
10240 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10241 else
10242 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10243 fi
10244
10245 else
10246
10247 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10248 if test "x$LINE" != x ; then
10249 eval "DEFAULT_$LINE"
10250 else
10251 no_cache=1
10252 fi
10253
10254 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10255
10256 fi;
10257
10258 eval "$ac_cv_use_numberdlg"
10259 if test "$no_cache" != 1; then
10260 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10261 fi
10262
10263 if test "$wxUSE_NUMBERDLG" = yes; then
10264 echo "$as_me:$LINENO: result: yes" >&5
10265 echo "${ECHO_T}yes" >&6
10266 else
10267 echo "$as_me:$LINENO: result: no" >&5
10268 echo "${ECHO_T}no" >&6
10269 fi
10270
10271
10272 enablestring=
10273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10274 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10275 no_cache=0
10276 # Check whether --enable-splash or --disable-splash was given.
10277 if test "${enable_splash+set}" = set; then
10278 enableval="$enable_splash"
10279
10280 if test "$enableval" = yes; then
10281 ac_cv_use_splash='wxUSE_SPLASH=yes'
10282 else
10283 ac_cv_use_splash='wxUSE_SPLASH=no'
10284 fi
10285
10286 else
10287
10288 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10289 if test "x$LINE" != x ; then
10290 eval "DEFAULT_$LINE"
10291 else
10292 no_cache=1
10293 fi
10294
10295 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10296
10297 fi;
10298
10299 eval "$ac_cv_use_splash"
10300 if test "$no_cache" != 1; then
10301 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10302 fi
10303
10304 if test "$wxUSE_SPLASH" = yes; then
10305 echo "$as_me:$LINENO: result: yes" >&5
10306 echo "${ECHO_T}yes" >&6
10307 else
10308 echo "$as_me:$LINENO: result: no" >&5
10309 echo "${ECHO_T}no" >&6
10310 fi
10311
10312
10313 enablestring=
10314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10315 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10316 no_cache=0
10317 # Check whether --enable-textdlg or --disable-textdlg was given.
10318 if test "${enable_textdlg+set}" = set; then
10319 enableval="$enable_textdlg"
10320
10321 if test "$enableval" = yes; then
10322 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10323 else
10324 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10325 fi
10326
10327 else
10328
10329 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10330 if test "x$LINE" != x ; then
10331 eval "DEFAULT_$LINE"
10332 else
10333 no_cache=1
10334 fi
10335
10336 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10337
10338 fi;
10339
10340 eval "$ac_cv_use_textdlg"
10341 if test "$no_cache" != 1; then
10342 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10343 fi
10344
10345 if test "$wxUSE_TEXTDLG" = yes; then
10346 echo "$as_me:$LINENO: result: yes" >&5
10347 echo "${ECHO_T}yes" >&6
10348 else
10349 echo "$as_me:$LINENO: result: no" >&5
10350 echo "${ECHO_T}no" >&6
10351 fi
10352
10353
10354 enablestring=
10355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10356 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10357 no_cache=0
10358 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10359 if test "${enable_tipdlg+set}" = set; then
10360 enableval="$enable_tipdlg"
10361
10362 if test "$enableval" = yes; then
10363 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10364 else
10365 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10366 fi
10367
10368 else
10369
10370 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10371 if test "x$LINE" != x ; then
10372 eval "DEFAULT_$LINE"
10373 else
10374 no_cache=1
10375 fi
10376
10377 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10378
10379 fi;
10380
10381 eval "$ac_cv_use_tipdlg"
10382 if test "$no_cache" != 1; then
10383 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10384 fi
10385
10386 if test "$wxUSE_STARTUP_TIPS" = yes; then
10387 echo "$as_me:$LINENO: result: yes" >&5
10388 echo "${ECHO_T}yes" >&6
10389 else
10390 echo "$as_me:$LINENO: result: no" >&5
10391 echo "${ECHO_T}no" >&6
10392 fi
10393
10394
10395 enablestring=
10396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10397 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10398 no_cache=0
10399 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10400 if test "${enable_progressdlg+set}" = set; then
10401 enableval="$enable_progressdlg"
10402
10403 if test "$enableval" = yes; then
10404 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10405 else
10406 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10407 fi
10408
10409 else
10410
10411 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10412 if test "x$LINE" != x ; then
10413 eval "DEFAULT_$LINE"
10414 else
10415 no_cache=1
10416 fi
10417
10418 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10419
10420 fi;
10421
10422 eval "$ac_cv_use_progressdlg"
10423 if test "$no_cache" != 1; then
10424 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10425 fi
10426
10427 if test "$wxUSE_PROGRESSDLG" = yes; then
10428 echo "$as_me:$LINENO: result: yes" >&5
10429 echo "${ECHO_T}yes" >&6
10430 else
10431 echo "$as_me:$LINENO: result: no" >&5
10432 echo "${ECHO_T}no" >&6
10433 fi
10434
10435
10436 enablestring=
10437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10438 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10439 no_cache=0
10440 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10441 if test "${enable_wizarddlg+set}" = set; then
10442 enableval="$enable_wizarddlg"
10443
10444 if test "$enableval" = yes; then
10445 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10446 else
10447 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10448 fi
10449
10450 else
10451
10452 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10453 if test "x$LINE" != x ; then
10454 eval "DEFAULT_$LINE"
10455 else
10456 no_cache=1
10457 fi
10458
10459 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10460
10461 fi;
10462
10463 eval "$ac_cv_use_wizarddlg"
10464 if test "$no_cache" != 1; then
10465 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10466 fi
10467
10468 if test "$wxUSE_WIZARDDLG" = yes; then
10469 echo "$as_me:$LINENO: result: yes" >&5
10470 echo "${ECHO_T}yes" >&6
10471 else
10472 echo "$as_me:$LINENO: result: no" >&5
10473 echo "${ECHO_T}no" >&6
10474 fi
10475
10476
10477
10478
10479 enablestring=
10480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10481 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10482 no_cache=0
10483 # Check whether --enable-menus or --disable-menus was given.
10484 if test "${enable_menus+set}" = set; then
10485 enableval="$enable_menus"
10486
10487 if test "$enableval" = yes; then
10488 ac_cv_use_menus='wxUSE_MENUS=yes'
10489 else
10490 ac_cv_use_menus='wxUSE_MENUS=no'
10491 fi
10492
10493 else
10494
10495 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10496 if test "x$LINE" != x ; then
10497 eval "DEFAULT_$LINE"
10498 else
10499 no_cache=1
10500 fi
10501
10502 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10503
10504 fi;
10505
10506 eval "$ac_cv_use_menus"
10507 if test "$no_cache" != 1; then
10508 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10509 fi
10510
10511 if test "$wxUSE_MENUS" = yes; then
10512 echo "$as_me:$LINENO: result: yes" >&5
10513 echo "${ECHO_T}yes" >&6
10514 else
10515 echo "$as_me:$LINENO: result: no" >&5
10516 echo "${ECHO_T}no" >&6
10517 fi
10518
10519
10520 enablestring=
10521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10522 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10523 no_cache=0
10524 # Check whether --enable-miniframe or --disable-miniframe was given.
10525 if test "${enable_miniframe+set}" = set; then
10526 enableval="$enable_miniframe"
10527
10528 if test "$enableval" = yes; then
10529 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10530 else
10531 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10532 fi
10533
10534 else
10535
10536 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10537 if test "x$LINE" != x ; then
10538 eval "DEFAULT_$LINE"
10539 else
10540 no_cache=1
10541 fi
10542
10543 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10544
10545 fi;
10546
10547 eval "$ac_cv_use_miniframe"
10548 if test "$no_cache" != 1; then
10549 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10550 fi
10551
10552 if test "$wxUSE_MINIFRAME" = yes; then
10553 echo "$as_me:$LINENO: result: yes" >&5
10554 echo "${ECHO_T}yes" >&6
10555 else
10556 echo "$as_me:$LINENO: result: no" >&5
10557 echo "${ECHO_T}no" >&6
10558 fi
10559
10560
10561 enablestring=
10562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10563 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10564 no_cache=0
10565 # Check whether --enable-tooltips or --disable-tooltips was given.
10566 if test "${enable_tooltips+set}" = set; then
10567 enableval="$enable_tooltips"
10568
10569 if test "$enableval" = yes; then
10570 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10571 else
10572 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10573 fi
10574
10575 else
10576
10577 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10578 if test "x$LINE" != x ; then
10579 eval "DEFAULT_$LINE"
10580 else
10581 no_cache=1
10582 fi
10583
10584 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10585
10586 fi;
10587
10588 eval "$ac_cv_use_tooltips"
10589 if test "$no_cache" != 1; then
10590 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10591 fi
10592
10593 if test "$wxUSE_TOOLTIPS" = yes; then
10594 echo "$as_me:$LINENO: result: yes" >&5
10595 echo "${ECHO_T}yes" >&6
10596 else
10597 echo "$as_me:$LINENO: result: no" >&5
10598 echo "${ECHO_T}no" >&6
10599 fi
10600
10601
10602 enablestring=
10603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10604 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10605 no_cache=0
10606 # Check whether --enable-splines or --disable-splines was given.
10607 if test "${enable_splines+set}" = set; then
10608 enableval="$enable_splines"
10609
10610 if test "$enableval" = yes; then
10611 ac_cv_use_splines='wxUSE_SPLINES=yes'
10612 else
10613 ac_cv_use_splines='wxUSE_SPLINES=no'
10614 fi
10615
10616 else
10617
10618 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10619 if test "x$LINE" != x ; then
10620 eval "DEFAULT_$LINE"
10621 else
10622 no_cache=1
10623 fi
10624
10625 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10626
10627 fi;
10628
10629 eval "$ac_cv_use_splines"
10630 if test "$no_cache" != 1; then
10631 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10632 fi
10633
10634 if test "$wxUSE_SPLINES" = yes; then
10635 echo "$as_me:$LINENO: result: yes" >&5
10636 echo "${ECHO_T}yes" >&6
10637 else
10638 echo "$as_me:$LINENO: result: no" >&5
10639 echo "${ECHO_T}no" >&6
10640 fi
10641
10642
10643 enablestring=
10644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10645 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10646 no_cache=0
10647 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10648 if test "${enable_mousewheel+set}" = set; then
10649 enableval="$enable_mousewheel"
10650
10651 if test "$enableval" = yes; then
10652 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10653 else
10654 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10655 fi
10656
10657 else
10658
10659 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10660 if test "x$LINE" != x ; then
10661 eval "DEFAULT_$LINE"
10662 else
10663 no_cache=1
10664 fi
10665
10666 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10667
10668 fi;
10669
10670 eval "$ac_cv_use_mousewheel"
10671 if test "$no_cache" != 1; then
10672 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10673 fi
10674
10675 if test "$wxUSE_MOUSEWHEEL" = yes; then
10676 echo "$as_me:$LINENO: result: yes" >&5
10677 echo "${ECHO_T}yes" >&6
10678 else
10679 echo "$as_me:$LINENO: result: no" >&5
10680 echo "${ECHO_T}no" >&6
10681 fi
10682
10683
10684 enablestring=
10685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10686 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10687 no_cache=0
10688 # Check whether --enable-validators or --disable-validators was given.
10689 if test "${enable_validators+set}" = set; then
10690 enableval="$enable_validators"
10691
10692 if test "$enableval" = yes; then
10693 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10694 else
10695 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10696 fi
10697
10698 else
10699
10700 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10701 if test "x$LINE" != x ; then
10702 eval "DEFAULT_$LINE"
10703 else
10704 no_cache=1
10705 fi
10706
10707 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10708
10709 fi;
10710
10711 eval "$ac_cv_use_validators"
10712 if test "$no_cache" != 1; then
10713 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10714 fi
10715
10716 if test "$wxUSE_VALIDATORS" = yes; then
10717 echo "$as_me:$LINENO: result: yes" >&5
10718 echo "${ECHO_T}yes" >&6
10719 else
10720 echo "$as_me:$LINENO: result: no" >&5
10721 echo "${ECHO_T}no" >&6
10722 fi
10723
10724
10725 enablestring=
10726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10727 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10728 no_cache=0
10729 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10730 if test "${enable_busyinfo+set}" = set; then
10731 enableval="$enable_busyinfo"
10732
10733 if test "$enableval" = yes; then
10734 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10735 else
10736 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10737 fi
10738
10739 else
10740
10741 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10742 if test "x$LINE" != x ; then
10743 eval "DEFAULT_$LINE"
10744 else
10745 no_cache=1
10746 fi
10747
10748 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10749
10750 fi;
10751
10752 eval "$ac_cv_use_busyinfo"
10753 if test "$no_cache" != 1; then
10754 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10755 fi
10756
10757 if test "$wxUSE_BUSYINFO" = yes; then
10758 echo "$as_me:$LINENO: result: yes" >&5
10759 echo "${ECHO_T}yes" >&6
10760 else
10761 echo "$as_me:$LINENO: result: no" >&5
10762 echo "${ECHO_T}no" >&6
10763 fi
10764
10765
10766 enablestring=
10767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10768 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10769 no_cache=0
10770 # Check whether --enable-joystick or --disable-joystick was given.
10771 if test "${enable_joystick+set}" = set; then
10772 enableval="$enable_joystick"
10773
10774 if test "$enableval" = yes; then
10775 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10776 else
10777 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10778 fi
10779
10780 else
10781
10782 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10783 if test "x$LINE" != x ; then
10784 eval "DEFAULT_$LINE"
10785 else
10786 no_cache=1
10787 fi
10788
10789 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10790
10791 fi;
10792
10793 eval "$ac_cv_use_joystick"
10794 if test "$no_cache" != 1; then
10795 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10796 fi
10797
10798 if test "$wxUSE_JOYSTICK" = yes; then
10799 echo "$as_me:$LINENO: result: yes" >&5
10800 echo "${ECHO_T}yes" >&6
10801 else
10802 echo "$as_me:$LINENO: result: no" >&5
10803 echo "${ECHO_T}no" >&6
10804 fi
10805
10806
10807 enablestring=
10808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10809 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10810 no_cache=0
10811 # Check whether --enable-metafile or --disable-metafile was given.
10812 if test "${enable_metafile+set}" = set; then
10813 enableval="$enable_metafile"
10814
10815 if test "$enableval" = yes; then
10816 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10817 else
10818 ac_cv_use_metafile='wxUSE_METAFILE=no'
10819 fi
10820
10821 else
10822
10823 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10824 if test "x$LINE" != x ; then
10825 eval "DEFAULT_$LINE"
10826 else
10827 no_cache=1
10828 fi
10829
10830 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10831
10832 fi;
10833
10834 eval "$ac_cv_use_metafile"
10835 if test "$no_cache" != 1; then
10836 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10837 fi
10838
10839 if test "$wxUSE_METAFILE" = yes; then
10840 echo "$as_me:$LINENO: result: yes" >&5
10841 echo "${ECHO_T}yes" >&6
10842 else
10843 echo "$as_me:$LINENO: result: no" >&5
10844 echo "${ECHO_T}no" >&6
10845 fi
10846
10847
10848 enablestring=
10849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10850 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10851 no_cache=0
10852 # Check whether --enable-dragimage or --disable-dragimage was given.
10853 if test "${enable_dragimage+set}" = set; then
10854 enableval="$enable_dragimage"
10855
10856 if test "$enableval" = yes; then
10857 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10858 else
10859 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10860 fi
10861
10862 else
10863
10864 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10865 if test "x$LINE" != x ; then
10866 eval "DEFAULT_$LINE"
10867 else
10868 no_cache=1
10869 fi
10870
10871 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10872
10873 fi;
10874
10875 eval "$ac_cv_use_dragimage"
10876 if test "$no_cache" != 1; then
10877 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10878 fi
10879
10880 if test "$wxUSE_DRAGIMAGE" = yes; then
10881 echo "$as_me:$LINENO: result: yes" >&5
10882 echo "${ECHO_T}yes" >&6
10883 else
10884 echo "$as_me:$LINENO: result: no" >&5
10885 echo "${ECHO_T}no" >&6
10886 fi
10887
10888
10889 enablestring=
10890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10891 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10892 no_cache=0
10893 # Check whether --enable-accessibility or --disable-accessibility was given.
10894 if test "${enable_accessibility+set}" = set; then
10895 enableval="$enable_accessibility"
10896
10897 if test "$enableval" = yes; then
10898 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10899 else
10900 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10901 fi
10902
10903 else
10904
10905 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10906 if test "x$LINE" != x ; then
10907 eval "DEFAULT_$LINE"
10908 else
10909 no_cache=1
10910 fi
10911
10912 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10913
10914 fi;
10915
10916 eval "$ac_cv_use_accessibility"
10917 if test "$no_cache" != 1; then
10918 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10919 fi
10920
10921 if test "$wxUSE_ACCESSIBILITY" = yes; then
10922 echo "$as_me:$LINENO: result: yes" >&5
10923 echo "${ECHO_T}yes" >&6
10924 else
10925 echo "$as_me:$LINENO: result: no" >&5
10926 echo "${ECHO_T}no" >&6
10927 fi
10928
10929
10930 if test "$wxUSE_MSW" = "1"; then
10931
10932 enablestring=
10933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10935 no_cache=0
10936 # Check whether --enable-dccache or --disable-dccache was given.
10937 if test "${enable_dccache+set}" = set; then
10938 enableval="$enable_dccache"
10939
10940 if test "$enableval" = yes; then
10941 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10942 else
10943 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10944 fi
10945
10946 else
10947
10948 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10949 if test "x$LINE" != x ; then
10950 eval "DEFAULT_$LINE"
10951 else
10952 no_cache=1
10953 fi
10954
10955 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10956
10957 fi;
10958
10959 eval "$ac_cv_use_dccache"
10960 if test "$no_cache" != 1; then
10961 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10962 fi
10963
10964 if test "$wxUSE_DC_CACHEING" = yes; then
10965 echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6
10967 else
10968 echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6
10970 fi
10971
10972 fi
10973
10974
10975
10976 enablestring=
10977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10978 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10979 no_cache=0
10980 # Check whether --enable-palette or --disable-palette was given.
10981 if test "${enable_palette+set}" = set; then
10982 enableval="$enable_palette"
10983
10984 if test "$enableval" = yes; then
10985 ac_cv_use_palette='wxUSE_PALETTE=yes'
10986 else
10987 ac_cv_use_palette='wxUSE_PALETTE=no'
10988 fi
10989
10990 else
10991
10992 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10993 if test "x$LINE" != x ; then
10994 eval "DEFAULT_$LINE"
10995 else
10996 no_cache=1
10997 fi
10998
10999 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11000
11001 fi;
11002
11003 eval "$ac_cv_use_palette"
11004 if test "$no_cache" != 1; then
11005 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11006 fi
11007
11008 if test "$wxUSE_PALETTE" = yes; then
11009 echo "$as_me:$LINENO: result: yes" >&5
11010 echo "${ECHO_T}yes" >&6
11011 else
11012 echo "$as_me:$LINENO: result: no" >&5
11013 echo "${ECHO_T}no" >&6
11014 fi
11015
11016
11017 enablestring=
11018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11019 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11020 no_cache=0
11021 # Check whether --enable-image or --disable-image was given.
11022 if test "${enable_image+set}" = set; then
11023 enableval="$enable_image"
11024
11025 if test "$enableval" = yes; then
11026 ac_cv_use_image='wxUSE_IMAGE=yes'
11027 else
11028 ac_cv_use_image='wxUSE_IMAGE=no'
11029 fi
11030
11031 else
11032
11033 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11034 if test "x$LINE" != x ; then
11035 eval "DEFAULT_$LINE"
11036 else
11037 no_cache=1
11038 fi
11039
11040 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11041
11042 fi;
11043
11044 eval "$ac_cv_use_image"
11045 if test "$no_cache" != 1; then
11046 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11047 fi
11048
11049 if test "$wxUSE_IMAGE" = yes; then
11050 echo "$as_me:$LINENO: result: yes" >&5
11051 echo "${ECHO_T}yes" >&6
11052 else
11053 echo "$as_me:$LINENO: result: no" >&5
11054 echo "${ECHO_T}no" >&6
11055 fi
11056
11057
11058 enablestring=
11059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11060 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11061 no_cache=0
11062 # Check whether --enable-gif or --disable-gif was given.
11063 if test "${enable_gif+set}" = set; then
11064 enableval="$enable_gif"
11065
11066 if test "$enableval" = yes; then
11067 ac_cv_use_gif='wxUSE_GIF=yes'
11068 else
11069 ac_cv_use_gif='wxUSE_GIF=no'
11070 fi
11071
11072 else
11073
11074 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11075 if test "x$LINE" != x ; then
11076 eval "DEFAULT_$LINE"
11077 else
11078 no_cache=1
11079 fi
11080
11081 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11082
11083 fi;
11084
11085 eval "$ac_cv_use_gif"
11086 if test "$no_cache" != 1; then
11087 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11088 fi
11089
11090 if test "$wxUSE_GIF" = yes; then
11091 echo "$as_me:$LINENO: result: yes" >&5
11092 echo "${ECHO_T}yes" >&6
11093 else
11094 echo "$as_me:$LINENO: result: no" >&5
11095 echo "${ECHO_T}no" >&6
11096 fi
11097
11098
11099 enablestring=
11100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11101 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11102 no_cache=0
11103 # Check whether --enable-pcx or --disable-pcx was given.
11104 if test "${enable_pcx+set}" = set; then
11105 enableval="$enable_pcx"
11106
11107 if test "$enableval" = yes; then
11108 ac_cv_use_pcx='wxUSE_PCX=yes'
11109 else
11110 ac_cv_use_pcx='wxUSE_PCX=no'
11111 fi
11112
11113 else
11114
11115 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11116 if test "x$LINE" != x ; then
11117 eval "DEFAULT_$LINE"
11118 else
11119 no_cache=1
11120 fi
11121
11122 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11123
11124 fi;
11125
11126 eval "$ac_cv_use_pcx"
11127 if test "$no_cache" != 1; then
11128 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11129 fi
11130
11131 if test "$wxUSE_PCX" = yes; then
11132 echo "$as_me:$LINENO: result: yes" >&5
11133 echo "${ECHO_T}yes" >&6
11134 else
11135 echo "$as_me:$LINENO: result: no" >&5
11136 echo "${ECHO_T}no" >&6
11137 fi
11138
11139
11140 enablestring=
11141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11142 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11143 no_cache=0
11144 # Check whether --enable-iff or --disable-iff was given.
11145 if test "${enable_iff+set}" = set; then
11146 enableval="$enable_iff"
11147
11148 if test "$enableval" = yes; then
11149 ac_cv_use_iff='wxUSE_IFF=yes'
11150 else
11151 ac_cv_use_iff='wxUSE_IFF=no'
11152 fi
11153
11154 else
11155
11156 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11157 if test "x$LINE" != x ; then
11158 eval "DEFAULT_$LINE"
11159 else
11160 no_cache=1
11161 fi
11162
11163 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11164
11165 fi;
11166
11167 eval "$ac_cv_use_iff"
11168 if test "$no_cache" != 1; then
11169 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11170 fi
11171
11172 if test "$wxUSE_IFF" = yes; then
11173 echo "$as_me:$LINENO: result: yes" >&5
11174 echo "${ECHO_T}yes" >&6
11175 else
11176 echo "$as_me:$LINENO: result: no" >&5
11177 echo "${ECHO_T}no" >&6
11178 fi
11179
11180
11181 enablestring=
11182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11183 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11184 no_cache=0
11185 # Check whether --enable-pnm or --disable-pnm was given.
11186 if test "${enable_pnm+set}" = set; then
11187 enableval="$enable_pnm"
11188
11189 if test "$enableval" = yes; then
11190 ac_cv_use_pnm='wxUSE_PNM=yes'
11191 else
11192 ac_cv_use_pnm='wxUSE_PNM=no'
11193 fi
11194
11195 else
11196
11197 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11198 if test "x$LINE" != x ; then
11199 eval "DEFAULT_$LINE"
11200 else
11201 no_cache=1
11202 fi
11203
11204 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11205
11206 fi;
11207
11208 eval "$ac_cv_use_pnm"
11209 if test "$no_cache" != 1; then
11210 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11211 fi
11212
11213 if test "$wxUSE_PNM" = yes; then
11214 echo "$as_me:$LINENO: result: yes" >&5
11215 echo "${ECHO_T}yes" >&6
11216 else
11217 echo "$as_me:$LINENO: result: no" >&5
11218 echo "${ECHO_T}no" >&6
11219 fi
11220
11221
11222 enablestring=
11223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11224 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11225 no_cache=0
11226 # Check whether --enable-xpm or --disable-xpm was given.
11227 if test "${enable_xpm+set}" = set; then
11228 enableval="$enable_xpm"
11229
11230 if test "$enableval" = yes; then
11231 ac_cv_use_xpm='wxUSE_XPM=yes'
11232 else
11233 ac_cv_use_xpm='wxUSE_XPM=no'
11234 fi
11235
11236 else
11237
11238 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11239 if test "x$LINE" != x ; then
11240 eval "DEFAULT_$LINE"
11241 else
11242 no_cache=1
11243 fi
11244
11245 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11246
11247 fi;
11248
11249 eval "$ac_cv_use_xpm"
11250 if test "$no_cache" != 1; then
11251 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11252 fi
11253
11254 if test "$wxUSE_XPM" = yes; then
11255 echo "$as_me:$LINENO: result: yes" >&5
11256 echo "${ECHO_T}yes" >&6
11257 else
11258 echo "$as_me:$LINENO: result: no" >&5
11259 echo "${ECHO_T}no" >&6
11260 fi
11261
11262
11263 enablestring=
11264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11265 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11266 no_cache=0
11267 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11268 if test "${enable_ico_cur+set}" = set; then
11269 enableval="$enable_ico_cur"
11270
11271 if test "$enableval" = yes; then
11272 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11273 else
11274 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11275 fi
11276
11277 else
11278
11279 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11280 if test "x$LINE" != x ; then
11281 eval "DEFAULT_$LINE"
11282 else
11283 no_cache=1
11284 fi
11285
11286 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11287
11288 fi;
11289
11290 eval "$ac_cv_use_ico_cur"
11291 if test "$no_cache" != 1; then
11292 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11293 fi
11294
11295 if test "$wxUSE_ICO_CUR" = yes; then
11296 echo "$as_me:$LINENO: result: yes" >&5
11297 echo "${ECHO_T}yes" >&6
11298 else
11299 echo "$as_me:$LINENO: result: no" >&5
11300 echo "${ECHO_T}no" >&6
11301 fi
11302
11303
11304 fi
11305
11306
11307
11308 # Check whether --with-flavour or --without-flavour was given.
11309 if test "${with_flavour+set}" = set; then
11310 withval="$with_flavour"
11311 WX_FLAVOUR="$withval"
11312 fi;
11313
11314
11315
11316 enablestring=
11317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11318 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11319 no_cache=0
11320 # Check whether --enable-official_build or --disable-official_build was given.
11321 if test "${enable_official_build+set}" = set; then
11322 enableval="$enable_official_build"
11323
11324 if test "$enableval" = yes; then
11325 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11326 else
11327 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11328 fi
11329
11330 else
11331
11332 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11333 if test "x$LINE" != x ; then
11334 eval "DEFAULT_$LINE"
11335 else
11336 no_cache=1
11337 fi
11338
11339 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11340
11341 fi;
11342
11343 eval "$ac_cv_use_official_build"
11344 if test "$no_cache" != 1; then
11345 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11346 fi
11347
11348 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11349 echo "$as_me:$LINENO: result: yes" >&5
11350 echo "${ECHO_T}yes" >&6
11351 else
11352 echo "$as_me:$LINENO: result: no" >&5
11353 echo "${ECHO_T}no" >&6
11354 fi
11355
11356 # Check whether --enable-vendor or --disable-vendor was given.
11357 if test "${enable_vendor+set}" = set; then
11358 enableval="$enable_vendor"
11359 VENDOR="$enableval"
11360 fi;
11361 if test "x$VENDOR" = "x"; then
11362 VENDOR="custom"
11363 fi
11364
11365
11366
11367
11368 echo "saving argument cache $wx_arg_cache_file"
11369 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11370
11371
11372
11373 echo "$as_me:$LINENO: checking for toolkit" >&5
11374 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11375
11376 # In Wine, we need to default to MSW, not GTK or MOTIF
11377 if test "$wxUSE_WINE" = "yes"; then
11378 DEFAULT_DEFAULT_wxUSE_GTK=0
11379 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11380 DEFAULT_DEFAULT_wxUSE_MSW=1
11381 wxUSE_SHARED=no
11382 fi
11383
11384
11385 if test "$wxUSE_GUI" = "yes"; then
11386
11387 if test "$USE_BEOS" = 1; then
11388 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11389 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11390 { (exit 1); exit 1; }; }
11391 fi
11392
11393 if test "$TOOLKIT_GIVEN" = 1; then
11394 for toolkit in `echo $ALL_TOOLKITS`; do
11395 var=wxUSE_$toolkit
11396 eval "value=\$${var}"
11397 if test "x$value" = "xno"; then
11398 eval "$var=0"
11399 elif test "x$value" != "x"; then
11400 eval "$var=1"
11401 fi
11402
11403 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11404 eval "wx${toolkit}_VERSION=$value"
11405 fi
11406 done
11407 else
11408 for toolkit in `echo $ALL_TOOLKITS`; do
11409 if test "$has_toolkit_in_cache" != 1; then
11410 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11411 else
11412 var=DEFAULT_wxUSE_$toolkit
11413
11414 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11415 if test "x$version" != "x"; then
11416 eval "wx${toolkit}_VERSION=$version"
11417 fi
11418 fi
11419 eval "wxUSE_$toolkit=\$${var}"
11420 done
11421 fi
11422
11423 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11424 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11425 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11426
11427 case "${host}" in
11428 *-pc-os2_emx | *-pc-os2-emx )
11429 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11430 esac
11431
11432 case "$NUM_TOOLKITS" in
11433 1)
11434 ;;
11435 0)
11436 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11437 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11438 { (exit 1); exit 1; }; }
11439 ;;
11440 *)
11441 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11442 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11443 { (exit 1); exit 1; }; }
11444 esac
11445
11446 # to be removed when --disable-gtk2 isn't needed
11447 if test "x$wxUSE_GTK2" = "xyes"; then
11448 wxGTK_VERSION=2
11449 elif test "x$wxUSE_GTK2" = "xno"; then
11450 wxGTK_VERSION=1
11451 fi
11452
11453 for toolkit in `echo $ALL_TOOLKITS`; do
11454 var=wxUSE_$toolkit
11455 eval "value=\$${var}"
11456 if test "x$value" != x; then
11457 cache_var=CACHE_$toolkit
11458 eval "cache=\$${cache_var}"
11459 if test "$cache" = 1; then
11460 echo "$var=$value" >> ${wx_arg_cache_file}
11461 eval "version=\$wx${toolkit}_VERSION"
11462 if test "x$version" != "x"; then
11463 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11464 fi
11465 fi
11466 if test "$value" = 1; then
11467 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11468 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11469 echo "${ECHO_T}$toolkit_echo" >&6
11470 fi
11471 fi
11472 done
11473 else
11474 if test "x$host_alias" != "x"; then
11475 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11476 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11477 else
11478 echo "$as_me:$LINENO: result: base only" >&5
11479 echo "${ECHO_T}base only" >&6
11480 fi
11481 fi
11482
11483 wants_win32=0
11484 doesnt_want_win32=0
11485 case "${host}" in
11486 *-*-cygwin*)
11487 if test "$wxUSE_MSW" = 1 ; then
11488 wants_win32=1
11489 BAKEFILE_FORCE_PLATFORM=win32
11490 else
11491 doesnt_want_win32=1
11492 fi
11493 ;;
11494 *-*-mingw*)
11495 wants_win32=1
11496 ;;
11497 esac
11498
11499 if test "$wxUSE_WINE" = "yes"; then
11500 wants_win32=1
11501 CC=winegcc
11502 CXX=wineg++
11503 LDFLAGS_GUI="-mwindows"
11504 fi
11505
11506 if test "$wants_win32" = 1 ; then
11507 USE_UNIX=0
11508 USE_WIN32=1
11509 cat >>confdefs.h <<\_ACEOF
11510 #define __WIN32__ 1
11511 _ACEOF
11512
11513 cat >>confdefs.h <<\_ACEOF
11514 #define __WIN95__ 1
11515 _ACEOF
11516
11517 cat >>confdefs.h <<\_ACEOF
11518 #define __WINDOWS__ 1
11519 _ACEOF
11520
11521 cat >>confdefs.h <<\_ACEOF
11522 #define __GNUWIN32__ 1
11523 _ACEOF
11524
11525 cat >>confdefs.h <<\_ACEOF
11526 #define STRICT 1
11527 _ACEOF
11528
11529 cat >>confdefs.h <<\_ACEOF
11530 #define WINVER 0x0400
11531 _ACEOF
11532
11533 fi
11534 if test "$doesnt_want_win32" = 1 ; then
11535 USE_UNIX=1
11536 USE_WIN32=0
11537 fi
11538
11539 if test "$USE_UNIX" = 1 ; then
11540 wxUSE_UNIX=yes
11541 cat >>confdefs.h <<\_ACEOF
11542 #define __UNIX__ 1
11543 _ACEOF
11544
11545 fi
11546
11547
11548 cat >confcache <<\_ACEOF
11549 # This file is a shell script that caches the results of configure
11550 # tests run on this system so they can be shared between configure
11551 # scripts and configure runs, see configure's option --config-cache.
11552 # It is not useful on other systems. If it contains results you don't
11553 # want to keep, you may remove or edit it.
11554 #
11555 # config.status only pays attention to the cache file if you give it
11556 # the --recheck option to rerun configure.
11557 #
11558 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11559 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11560 # following values.
11561
11562 _ACEOF
11563
11564 # The following way of writing the cache mishandles newlines in values,
11565 # but we know of no workaround that is simple, portable, and efficient.
11566 # So, don't put newlines in cache variables' values.
11567 # Ultrix sh set writes to stderr and can't be redirected directly,
11568 # and sets the high bit in the cache file unless we assign to the vars.
11569 {
11570 (set) 2>&1 |
11571 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11572 *ac_space=\ *)
11573 # `set' does not quote correctly, so add quotes (double-quote
11574 # substitution turns \\\\ into \\, and sed turns \\ into \).
11575 sed -n \
11576 "s/'/'\\\\''/g;
11577 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11578 ;;
11579 *)
11580 # `set' quotes correctly as required by POSIX, so do not add quotes.
11581 sed -n \
11582 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11583 ;;
11584 esac;
11585 } |
11586 sed '
11587 t clear
11588 : clear
11589 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11590 t end
11591 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11592 : end' >>confcache
11593 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11594 if test -w $cache_file; then
11595 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11596 cat confcache >$cache_file
11597 else
11598 echo "not updating unwritable cache $cache_file"
11599 fi
11600 fi
11601 rm -f confcache
11602
11603 CFLAGS=${CFLAGS:=}
11604
11605
11606
11607 ac_ext=c
11608 ac_cpp='$CPP $CPPFLAGS'
11609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11612 if test -n "$ac_tool_prefix"; then
11613 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11614 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11615 echo "$as_me:$LINENO: checking for $ac_word" >&5
11616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11617 if test "${ac_cv_prog_CC+set}" = set; then
11618 echo $ECHO_N "(cached) $ECHO_C" >&6
11619 else
11620 if test -n "$CC"; then
11621 ac_cv_prog_CC="$CC" # Let the user override the test.
11622 else
11623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11624 for as_dir in $PATH
11625 do
11626 IFS=$as_save_IFS
11627 test -z "$as_dir" && as_dir=.
11628 for ac_exec_ext in '' $ac_executable_extensions; do
11629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11630 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11632 break 2
11633 fi
11634 done
11635 done
11636
11637 fi
11638 fi
11639 CC=$ac_cv_prog_CC
11640 if test -n "$CC"; then
11641 echo "$as_me:$LINENO: result: $CC" >&5
11642 echo "${ECHO_T}$CC" >&6
11643 else
11644 echo "$as_me:$LINENO: result: no" >&5
11645 echo "${ECHO_T}no" >&6
11646 fi
11647
11648 fi
11649 if test -z "$ac_cv_prog_CC"; then
11650 ac_ct_CC=$CC
11651 # Extract the first word of "gcc", so it can be a program name with args.
11652 set dummy gcc; ac_word=$2
11653 echo "$as_me:$LINENO: checking for $ac_word" >&5
11654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11655 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11656 echo $ECHO_N "(cached) $ECHO_C" >&6
11657 else
11658 if test -n "$ac_ct_CC"; then
11659 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11660 else
11661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11662 for as_dir in $PATH
11663 do
11664 IFS=$as_save_IFS
11665 test -z "$as_dir" && as_dir=.
11666 for ac_exec_ext in '' $ac_executable_extensions; do
11667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11668 ac_cv_prog_ac_ct_CC="gcc"
11669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11670 break 2
11671 fi
11672 done
11673 done
11674
11675 fi
11676 fi
11677 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11678 if test -n "$ac_ct_CC"; then
11679 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11680 echo "${ECHO_T}$ac_ct_CC" >&6
11681 else
11682 echo "$as_me:$LINENO: result: no" >&5
11683 echo "${ECHO_T}no" >&6
11684 fi
11685
11686 CC=$ac_ct_CC
11687 else
11688 CC="$ac_cv_prog_CC"
11689 fi
11690
11691 if test -z "$CC"; then
11692 if test -n "$ac_tool_prefix"; then
11693 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11694 set dummy ${ac_tool_prefix}cc; ac_word=$2
11695 echo "$as_me:$LINENO: checking for $ac_word" >&5
11696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11697 if test "${ac_cv_prog_CC+set}" = set; then
11698 echo $ECHO_N "(cached) $ECHO_C" >&6
11699 else
11700 if test -n "$CC"; then
11701 ac_cv_prog_CC="$CC" # Let the user override the test.
11702 else
11703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11704 for as_dir in $PATH
11705 do
11706 IFS=$as_save_IFS
11707 test -z "$as_dir" && as_dir=.
11708 for ac_exec_ext in '' $ac_executable_extensions; do
11709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11710 ac_cv_prog_CC="${ac_tool_prefix}cc"
11711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11712 break 2
11713 fi
11714 done
11715 done
11716
11717 fi
11718 fi
11719 CC=$ac_cv_prog_CC
11720 if test -n "$CC"; then
11721 echo "$as_me:$LINENO: result: $CC" >&5
11722 echo "${ECHO_T}$CC" >&6
11723 else
11724 echo "$as_me:$LINENO: result: no" >&5
11725 echo "${ECHO_T}no" >&6
11726 fi
11727
11728 fi
11729 if test -z "$ac_cv_prog_CC"; then
11730 ac_ct_CC=$CC
11731 # Extract the first word of "cc", so it can be a program name with args.
11732 set dummy cc; ac_word=$2
11733 echo "$as_me:$LINENO: checking for $ac_word" >&5
11734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11735 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11736 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 else
11738 if test -n "$ac_ct_CC"; then
11739 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11740 else
11741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11742 for as_dir in $PATH
11743 do
11744 IFS=$as_save_IFS
11745 test -z "$as_dir" && as_dir=.
11746 for ac_exec_ext in '' $ac_executable_extensions; do
11747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11748 ac_cv_prog_ac_ct_CC="cc"
11749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11750 break 2
11751 fi
11752 done
11753 done
11754
11755 fi
11756 fi
11757 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11758 if test -n "$ac_ct_CC"; then
11759 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11760 echo "${ECHO_T}$ac_ct_CC" >&6
11761 else
11762 echo "$as_me:$LINENO: result: no" >&5
11763 echo "${ECHO_T}no" >&6
11764 fi
11765
11766 CC=$ac_ct_CC
11767 else
11768 CC="$ac_cv_prog_CC"
11769 fi
11770
11771 fi
11772 if test -z "$CC"; then
11773 # Extract the first word of "cc", so it can be a program name with args.
11774 set dummy cc; ac_word=$2
11775 echo "$as_me:$LINENO: checking for $ac_word" >&5
11776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11777 if test "${ac_cv_prog_CC+set}" = set; then
11778 echo $ECHO_N "(cached) $ECHO_C" >&6
11779 else
11780 if test -n "$CC"; then
11781 ac_cv_prog_CC="$CC" # Let the user override the test.
11782 else
11783 ac_prog_rejected=no
11784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11785 for as_dir in $PATH
11786 do
11787 IFS=$as_save_IFS
11788 test -z "$as_dir" && as_dir=.
11789 for ac_exec_ext in '' $ac_executable_extensions; do
11790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11791 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11792 ac_prog_rejected=yes
11793 continue
11794 fi
11795 ac_cv_prog_CC="cc"
11796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11797 break 2
11798 fi
11799 done
11800 done
11801
11802 if test $ac_prog_rejected = yes; then
11803 # We found a bogon in the path, so make sure we never use it.
11804 set dummy $ac_cv_prog_CC
11805 shift
11806 if test $# != 0; then
11807 # We chose a different compiler from the bogus one.
11808 # However, it has the same basename, so the bogon will be chosen
11809 # first if we set CC to just the basename; use the full file name.
11810 shift
11811 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11812 fi
11813 fi
11814 fi
11815 fi
11816 CC=$ac_cv_prog_CC
11817 if test -n "$CC"; then
11818 echo "$as_me:$LINENO: result: $CC" >&5
11819 echo "${ECHO_T}$CC" >&6
11820 else
11821 echo "$as_me:$LINENO: result: no" >&5
11822 echo "${ECHO_T}no" >&6
11823 fi
11824
11825 fi
11826 if test -z "$CC"; then
11827 if test -n "$ac_tool_prefix"; then
11828 for ac_prog in cl
11829 do
11830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11831 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11832 echo "$as_me:$LINENO: checking for $ac_word" >&5
11833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11834 if test "${ac_cv_prog_CC+set}" = set; then
11835 echo $ECHO_N "(cached) $ECHO_C" >&6
11836 else
11837 if test -n "$CC"; then
11838 ac_cv_prog_CC="$CC" # Let the user override the test.
11839 else
11840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11841 for as_dir in $PATH
11842 do
11843 IFS=$as_save_IFS
11844 test -z "$as_dir" && as_dir=.
11845 for ac_exec_ext in '' $ac_executable_extensions; do
11846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11847 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11849 break 2
11850 fi
11851 done
11852 done
11853
11854 fi
11855 fi
11856 CC=$ac_cv_prog_CC
11857 if test -n "$CC"; then
11858 echo "$as_me:$LINENO: result: $CC" >&5
11859 echo "${ECHO_T}$CC" >&6
11860 else
11861 echo "$as_me:$LINENO: result: no" >&5
11862 echo "${ECHO_T}no" >&6
11863 fi
11864
11865 test -n "$CC" && break
11866 done
11867 fi
11868 if test -z "$CC"; then
11869 ac_ct_CC=$CC
11870 for ac_prog in cl
11871 do
11872 # Extract the first word of "$ac_prog", so it can be a program name with args.
11873 set dummy $ac_prog; ac_word=$2
11874 echo "$as_me:$LINENO: checking for $ac_word" >&5
11875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11877 echo $ECHO_N "(cached) $ECHO_C" >&6
11878 else
11879 if test -n "$ac_ct_CC"; then
11880 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11881 else
11882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11883 for as_dir in $PATH
11884 do
11885 IFS=$as_save_IFS
11886 test -z "$as_dir" && as_dir=.
11887 for ac_exec_ext in '' $ac_executable_extensions; do
11888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11889 ac_cv_prog_ac_ct_CC="$ac_prog"
11890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11891 break 2
11892 fi
11893 done
11894 done
11895
11896 fi
11897 fi
11898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11899 if test -n "$ac_ct_CC"; then
11900 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11901 echo "${ECHO_T}$ac_ct_CC" >&6
11902 else
11903 echo "$as_me:$LINENO: result: no" >&5
11904 echo "${ECHO_T}no" >&6
11905 fi
11906
11907 test -n "$ac_ct_CC" && break
11908 done
11909
11910 CC=$ac_ct_CC
11911 fi
11912
11913 fi
11914
11915
11916 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11917 See \`config.log' for more details." >&5
11918 echo "$as_me: error: no acceptable C compiler found in \$PATH
11919 See \`config.log' for more details." >&2;}
11920 { (exit 1); exit 1; }; }
11921
11922 # Provide some information about the compiler.
11923 echo "$as_me:$LINENO:" \
11924 "checking for C compiler version" >&5
11925 ac_compiler=`set X $ac_compile; echo $2`
11926 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11927 (eval $ac_compiler --version </dev/null >&5) 2>&5
11928 ac_status=$?
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); }
11931 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11932 (eval $ac_compiler -v </dev/null >&5) 2>&5
11933 ac_status=$?
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); }
11936 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11937 (eval $ac_compiler -V </dev/null >&5) 2>&5
11938 ac_status=$?
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); }
11941
11942 cat >conftest.$ac_ext <<_ACEOF
11943 /* confdefs.h. */
11944 _ACEOF
11945 cat confdefs.h >>conftest.$ac_ext
11946 cat >>conftest.$ac_ext <<_ACEOF
11947 /* end confdefs.h. */
11948
11949 int
11950 main ()
11951 {
11952
11953 ;
11954 return 0;
11955 }
11956 _ACEOF
11957 ac_clean_files_save=$ac_clean_files
11958 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11959 # Try to create an executable without -o first, disregard a.out.
11960 # It will help us diagnose broken compilers, and finding out an intuition
11961 # of exeext.
11962 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11963 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11964 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11965 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11966 (eval $ac_link_default) 2>&5
11967 ac_status=$?
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); }; then
11970 # Find the output, starting from the most likely. This scheme is
11971 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11972 # resort.
11973
11974 # Be careful to initialize this variable, since it used to be cached.
11975 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11976 ac_cv_exeext=
11977 # b.out is created by i960 compilers.
11978 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11979 do
11980 test -f "$ac_file" || continue
11981 case $ac_file in
11982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11983 ;;
11984 conftest.$ac_ext )
11985 # This is the source file.
11986 ;;
11987 [ab].out )
11988 # We found the default executable, but exeext='' is most
11989 # certainly right.
11990 break;;
11991 *.* )
11992 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11993 # FIXME: I believe we export ac_cv_exeext for Libtool,
11994 # but it would be cool to find out if it's true. Does anybody
11995 # maintain Libtool? --akim.
11996 export ac_cv_exeext
11997 break;;
11998 * )
11999 break;;
12000 esac
12001 done
12002 else
12003 echo "$as_me: failed program was:" >&5
12004 sed 's/^/| /' conftest.$ac_ext >&5
12005
12006 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12007 See \`config.log' for more details." >&5
12008 echo "$as_me: error: C compiler cannot create executables
12009 See \`config.log' for more details." >&2;}
12010 { (exit 77); exit 77; }; }
12011 fi
12012
12013 ac_exeext=$ac_cv_exeext
12014 echo "$as_me:$LINENO: result: $ac_file" >&5
12015 echo "${ECHO_T}$ac_file" >&6
12016
12017 # Check the compiler produces executables we can run. If not, either
12018 # the compiler is broken, or we cross compile.
12019 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12020 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12021 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12022 # If not cross compiling, check that we can run a simple program.
12023 if test "$cross_compiling" != yes; then
12024 if { ac_try='./$ac_file'
12025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12026 (eval $ac_try) 2>&5
12027 ac_status=$?
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); }; }; then
12030 cross_compiling=no
12031 else
12032 if test "$cross_compiling" = maybe; then
12033 cross_compiling=yes
12034 else
12035 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12036 If you meant to cross compile, use \`--host'.
12037 See \`config.log' for more details." >&5
12038 echo "$as_me: error: cannot run C compiled programs.
12039 If you meant to cross compile, use \`--host'.
12040 See \`config.log' for more details." >&2;}
12041 { (exit 1); exit 1; }; }
12042 fi
12043 fi
12044 fi
12045 echo "$as_me:$LINENO: result: yes" >&5
12046 echo "${ECHO_T}yes" >&6
12047
12048 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12049 ac_clean_files=$ac_clean_files_save
12050 # Check the compiler produces executables we can run. If not, either
12051 # the compiler is broken, or we cross compile.
12052 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12053 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12054 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12055 echo "${ECHO_T}$cross_compiling" >&6
12056
12057 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12058 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12060 (eval $ac_link) 2>&5
12061 ac_status=$?
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); }; then
12064 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12065 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12066 # work properly (i.e., refer to `conftest.exe'), while it won't with
12067 # `rm'.
12068 for ac_file in conftest.exe conftest conftest.*; do
12069 test -f "$ac_file" || continue
12070 case $ac_file in
12071 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12072 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12073 export ac_cv_exeext
12074 break;;
12075 * ) break;;
12076 esac
12077 done
12078 else
12079 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12080 See \`config.log' for more details." >&5
12081 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12082 See \`config.log' for more details." >&2;}
12083 { (exit 1); exit 1; }; }
12084 fi
12085
12086 rm -f conftest$ac_cv_exeext
12087 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12088 echo "${ECHO_T}$ac_cv_exeext" >&6
12089
12090 rm -f conftest.$ac_ext
12091 EXEEXT=$ac_cv_exeext
12092 ac_exeext=$EXEEXT
12093 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12094 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12095 if test "${ac_cv_objext+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12097 else
12098 cat >conftest.$ac_ext <<_ACEOF
12099 /* confdefs.h. */
12100 _ACEOF
12101 cat confdefs.h >>conftest.$ac_ext
12102 cat >>conftest.$ac_ext <<_ACEOF
12103 /* end confdefs.h. */
12104
12105 int
12106 main ()
12107 {
12108
12109 ;
12110 return 0;
12111 }
12112 _ACEOF
12113 rm -f conftest.o conftest.obj
12114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12115 (eval $ac_compile) 2>&5
12116 ac_status=$?
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; then
12119 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12120 case $ac_file in
12121 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12122 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12123 break;;
12124 esac
12125 done
12126 else
12127 echo "$as_me: failed program was:" >&5
12128 sed 's/^/| /' conftest.$ac_ext >&5
12129
12130 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12131 See \`config.log' for more details." >&5
12132 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12133 See \`config.log' for more details." >&2;}
12134 { (exit 1); exit 1; }; }
12135 fi
12136
12137 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12138 fi
12139 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12140 echo "${ECHO_T}$ac_cv_objext" >&6
12141 OBJEXT=$ac_cv_objext
12142 ac_objext=$OBJEXT
12143 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12144 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12145 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12146 echo $ECHO_N "(cached) $ECHO_C" >&6
12147 else
12148 cat >conftest.$ac_ext <<_ACEOF
12149 /* confdefs.h. */
12150 _ACEOF
12151 cat confdefs.h >>conftest.$ac_ext
12152 cat >>conftest.$ac_ext <<_ACEOF
12153 /* end confdefs.h. */
12154
12155 int
12156 main ()
12157 {
12158 #ifndef __GNUC__
12159 choke me
12160 #endif
12161
12162 ;
12163 return 0;
12164 }
12165 _ACEOF
12166 rm -f conftest.$ac_objext
12167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12168 (eval $ac_compile) 2>conftest.er1
12169 ac_status=$?
12170 grep -v '^ *+' conftest.er1 >conftest.err
12171 rm -f conftest.er1
12172 cat conftest.err >&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); } &&
12175 { ac_try='test -z "$ac_c_werror_flag"
12176 || test ! -s conftest.err'
12177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12178 (eval $ac_try) 2>&5
12179 ac_status=$?
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); }; } &&
12182 { ac_try='test -s conftest.$ac_objext'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12185 ac_status=$?
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; }; then
12188 ac_compiler_gnu=yes
12189 else
12190 echo "$as_me: failed program was:" >&5
12191 sed 's/^/| /' conftest.$ac_ext >&5
12192
12193 ac_compiler_gnu=no
12194 fi
12195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12196 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12197
12198 fi
12199 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12200 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12201 GCC=`test $ac_compiler_gnu = yes && echo yes`
12202 ac_test_CFLAGS=${CFLAGS+set}
12203 ac_save_CFLAGS=$CFLAGS
12204 CFLAGS="-g"
12205 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12206 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12207 if test "${ac_cv_prog_cc_g+set}" = set; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12209 else
12210 cat >conftest.$ac_ext <<_ACEOF
12211 /* confdefs.h. */
12212 _ACEOF
12213 cat confdefs.h >>conftest.$ac_ext
12214 cat >>conftest.$ac_ext <<_ACEOF
12215 /* end confdefs.h. */
12216
12217 int
12218 main ()
12219 {
12220
12221 ;
12222 return 0;
12223 }
12224 _ACEOF
12225 rm -f conftest.$ac_objext
12226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12227 (eval $ac_compile) 2>conftest.er1
12228 ac_status=$?
12229 grep -v '^ *+' conftest.er1 >conftest.err
12230 rm -f conftest.er1
12231 cat conftest.err >&5
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); } &&
12234 { ac_try='test -z "$ac_c_werror_flag"
12235 || test ! -s conftest.err'
12236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 (eval $ac_try) 2>&5
12238 ac_status=$?
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }; } &&
12241 { ac_try='test -s conftest.$ac_objext'
12242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12243 (eval $ac_try) 2>&5
12244 ac_status=$?
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); }; }; then
12247 ac_cv_prog_cc_g=yes
12248 else
12249 echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.$ac_ext >&5
12251
12252 ac_cv_prog_cc_g=no
12253 fi
12254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12255 fi
12256 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12257 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12258 if test "$ac_test_CFLAGS" = set; then
12259 CFLAGS=$ac_save_CFLAGS
12260 elif test $ac_cv_prog_cc_g = yes; then
12261 if test "$GCC" = yes; then
12262 CFLAGS="-g -O2"
12263 else
12264 CFLAGS="-g"
12265 fi
12266 else
12267 if test "$GCC" = yes; then
12268 CFLAGS="-O2"
12269 else
12270 CFLAGS=
12271 fi
12272 fi
12273 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12274 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12275 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12276 echo $ECHO_N "(cached) $ECHO_C" >&6
12277 else
12278 ac_cv_prog_cc_stdc=no
12279 ac_save_CC=$CC
12280 cat >conftest.$ac_ext <<_ACEOF
12281 /* confdefs.h. */
12282 _ACEOF
12283 cat confdefs.h >>conftest.$ac_ext
12284 cat >>conftest.$ac_ext <<_ACEOF
12285 /* end confdefs.h. */
12286 #include <stdarg.h>
12287 #include <stdio.h>
12288 #include <sys/types.h>
12289 #include <sys/stat.h>
12290 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12291 struct buf { int x; };
12292 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12293 static char *e (p, i)
12294 char **p;
12295 int i;
12296 {
12297 return p[i];
12298 }
12299 static char *f (char * (*g) (char **, int), char **p, ...)
12300 {
12301 char *s;
12302 va_list v;
12303 va_start (v,p);
12304 s = g (p, va_arg (v,int));
12305 va_end (v);
12306 return s;
12307 }
12308
12309 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12310 function prototypes and stuff, but not '\xHH' hex character constants.
12311 These don't provoke an error unfortunately, instead are silently treated
12312 as 'x'. The following induces an error, until -std1 is added to get
12313 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12314 array size at least. It's necessary to write '\x00'==0 to get something
12315 that's true only with -std1. */
12316 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12317
12318 int test (int i, double x);
12319 struct s1 {int (*f) (int a);};
12320 struct s2 {int (*f) (double a);};
12321 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12322 int argc;
12323 char **argv;
12324 int
12325 main ()
12326 {
12327 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12328 ;
12329 return 0;
12330 }
12331 _ACEOF
12332 # Don't try gcc -ansi; that turns off useful extensions and
12333 # breaks some systems' header files.
12334 # AIX -qlanglvl=ansi
12335 # Ultrix and OSF/1 -std1
12336 # HP-UX 10.20 and later -Ae
12337 # HP-UX older versions -Aa -D_HPUX_SOURCE
12338 # SVR4 -Xc -D__EXTENSIONS__
12339 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12340 do
12341 CC="$ac_save_CC $ac_arg"
12342 rm -f conftest.$ac_objext
12343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12344 (eval $ac_compile) 2>conftest.er1
12345 ac_status=$?
12346 grep -v '^ *+' conftest.er1 >conftest.err
12347 rm -f conftest.er1
12348 cat conftest.err >&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } &&
12351 { ac_try='test -z "$ac_c_werror_flag"
12352 || test ! -s conftest.err'
12353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12354 (eval $ac_try) 2>&5
12355 ac_status=$?
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }; } &&
12358 { ac_try='test -s conftest.$ac_objext'
12359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12360 (eval $ac_try) 2>&5
12361 ac_status=$?
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; }; then
12364 ac_cv_prog_cc_stdc=$ac_arg
12365 break
12366 else
12367 echo "$as_me: failed program was:" >&5
12368 sed 's/^/| /' conftest.$ac_ext >&5
12369
12370 fi
12371 rm -f conftest.err conftest.$ac_objext
12372 done
12373 rm -f conftest.$ac_ext conftest.$ac_objext
12374 CC=$ac_save_CC
12375
12376 fi
12377
12378 case "x$ac_cv_prog_cc_stdc" in
12379 x|xno)
12380 echo "$as_me:$LINENO: result: none needed" >&5
12381 echo "${ECHO_T}none needed" >&6 ;;
12382 *)
12383 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12384 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12385 CC="$CC $ac_cv_prog_cc_stdc" ;;
12386 esac
12387
12388 # Some people use a C++ compiler to compile C. Since we use `exit',
12389 # in C++ we need to declare it. In case someone uses the same compiler
12390 # for both compiling C and C++ we need to have the C++ compiler decide
12391 # the declaration of exit, since it's the most demanding environment.
12392 cat >conftest.$ac_ext <<_ACEOF
12393 #ifndef __cplusplus
12394 choke me
12395 #endif
12396 _ACEOF
12397 rm -f conftest.$ac_objext
12398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12399 (eval $ac_compile) 2>conftest.er1
12400 ac_status=$?
12401 grep -v '^ *+' conftest.er1 >conftest.err
12402 rm -f conftest.er1
12403 cat conftest.err >&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); } &&
12406 { ac_try='test -z "$ac_c_werror_flag"
12407 || test ! -s conftest.err'
12408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12409 (eval $ac_try) 2>&5
12410 ac_status=$?
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); }; } &&
12413 { ac_try='test -s conftest.$ac_objext'
12414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12415 (eval $ac_try) 2>&5
12416 ac_status=$?
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); }; }; then
12419 for ac_declaration in \
12420 '' \
12421 'extern "C" void std::exit (int) throw (); using std::exit;' \
12422 'extern "C" void std::exit (int); using std::exit;' \
12423 'extern "C" void exit (int) throw ();' \
12424 'extern "C" void exit (int);' \
12425 'void exit (int);'
12426 do
12427 cat >conftest.$ac_ext <<_ACEOF
12428 /* confdefs.h. */
12429 _ACEOF
12430 cat confdefs.h >>conftest.$ac_ext
12431 cat >>conftest.$ac_ext <<_ACEOF
12432 /* end confdefs.h. */
12433 $ac_declaration
12434 #include <stdlib.h>
12435 int
12436 main ()
12437 {
12438 exit (42);
12439 ;
12440 return 0;
12441 }
12442 _ACEOF
12443 rm -f conftest.$ac_objext
12444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12445 (eval $ac_compile) 2>conftest.er1
12446 ac_status=$?
12447 grep -v '^ *+' conftest.er1 >conftest.err
12448 rm -f conftest.er1
12449 cat conftest.err >&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); } &&
12452 { ac_try='test -z "$ac_c_werror_flag"
12453 || test ! -s conftest.err'
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12455 (eval $ac_try) 2>&5
12456 ac_status=$?
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); }; } &&
12459 { ac_try='test -s conftest.$ac_objext'
12460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12461 (eval $ac_try) 2>&5
12462 ac_status=$?
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); }; }; then
12465 :
12466 else
12467 echo "$as_me: failed program was:" >&5
12468 sed 's/^/| /' conftest.$ac_ext >&5
12469
12470 continue
12471 fi
12472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12473 cat >conftest.$ac_ext <<_ACEOF
12474 /* confdefs.h. */
12475 _ACEOF
12476 cat confdefs.h >>conftest.$ac_ext
12477 cat >>conftest.$ac_ext <<_ACEOF
12478 /* end confdefs.h. */
12479 $ac_declaration
12480 int
12481 main ()
12482 {
12483 exit (42);
12484 ;
12485 return 0;
12486 }
12487 _ACEOF
12488 rm -f conftest.$ac_objext
12489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12490 (eval $ac_compile) 2>conftest.er1
12491 ac_status=$?
12492 grep -v '^ *+' conftest.er1 >conftest.err
12493 rm -f conftest.er1
12494 cat conftest.err >&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); } &&
12497 { ac_try='test -z "$ac_c_werror_flag"
12498 || test ! -s conftest.err'
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12501 ac_status=$?
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; } &&
12504 { ac_try='test -s conftest.$ac_objext'
12505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12506 (eval $ac_try) 2>&5
12507 ac_status=$?
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); }; }; then
12510 break
12511 else
12512 echo "$as_me: failed program was:" >&5
12513 sed 's/^/| /' conftest.$ac_ext >&5
12514
12515 fi
12516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12517 done
12518 rm -f conftest*
12519 if test -n "$ac_declaration"; then
12520 echo '#ifdef __cplusplus' >>confdefs.h
12521 echo $ac_declaration >>confdefs.h
12522 echo '#endif' >>confdefs.h
12523 fi
12524
12525 else
12526 echo "$as_me: failed program was:" >&5
12527 sed 's/^/| /' conftest.$ac_ext >&5
12528
12529 fi
12530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12531 ac_ext=c
12532 ac_cpp='$CPP $CPPFLAGS'
12533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12536
12537
12538
12539 ac_ext=c
12540 ac_cpp='$CPP $CPPFLAGS'
12541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12544
12545 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12546 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12547 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12548 echo $ECHO_N "(cached) $ECHO_C" >&6
12549 else
12550 cat >conftest.$ac_ext <<_ACEOF
12551 /* confdefs.h. */
12552 _ACEOF
12553 cat confdefs.h >>conftest.$ac_ext
12554 cat >>conftest.$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12556
12557 int
12558 main ()
12559 {
12560
12561 #ifndef __INTEL_COMPILER
12562 choke me
12563 #endif
12564
12565 ;
12566 return 0;
12567 }
12568 _ACEOF
12569 rm -f conftest.$ac_objext
12570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12571 (eval $ac_compile) 2>conftest.er1
12572 ac_status=$?
12573 grep -v '^ *+' conftest.er1 >conftest.err
12574 rm -f conftest.er1
12575 cat conftest.err >&5
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); } &&
12578 { ac_try='test -z "$ac_c_werror_flag"
12579 || test ! -s conftest.err'
12580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12581 (eval $ac_try) 2>&5
12582 ac_status=$?
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); }; } &&
12585 { ac_try='test -s conftest.$ac_objext'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12588 ac_status=$?
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; }; then
12591 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12592 else
12593 echo "$as_me: failed program was:" >&5
12594 sed 's/^/| /' conftest.$ac_ext >&5
12595
12596 bakefile_cv_c_compiler___INTEL_COMPILER=no
12597
12598 fi
12599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12600
12601
12602 fi
12603 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12604 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12605 ac_ext=c
12606 ac_cpp='$CPP $CPPFLAGS'
12607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12610
12611 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12612 :; INTELCC=yes
12613 else
12614 :;
12615 fi
12616
12617
12618 if test "x$GCC" != "xyes"; then
12619 if test "xCC" = "xC"; then
12620 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12621 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12622 if test "${bakefile_cv_c_exto+set}" = set; then
12623 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 else
12625 cat >conftest.$ac_ext <<_ACEOF
12626 /* confdefs.h. */
12627 _ACEOF
12628 cat confdefs.h >>conftest.$ac_ext
12629 cat >>conftest.$ac_ext <<_ACEOF
12630 /* end confdefs.h. */
12631
12632 int
12633 main ()
12634 {
12635
12636 ;
12637 return 0;
12638 }
12639 _ACEOF
12640 rm -f conftest.$ac_objext conftest.$ac_ext.o
12641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12642 (eval $ac_compile) 2>&5
12643 ac_status=$?
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; then
12646 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12647 case $ac_file in
12648 conftest.$ac_ext.o)
12649 bakefile_cv_c_exto="-ext o"
12650 ;;
12651 *)
12652 ;;
12653 esac
12654 done
12655 else
12656 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12657 See \`config.log' for more details." >&5
12658 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12659 See \`config.log' for more details." >&2;}
12660 { (exit 1); exit 1; }; }
12661
12662 fi
12663
12664 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12665
12666 fi
12667 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12668 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12669 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12670 if test "c" = "c"; then
12671 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12672 fi
12673 if test "c" = "cxx"; then
12674 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12675 fi
12676 fi
12677
12678 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12679 unset ac_cv_prog_cc_g
12680 ac_test_CFLAGS=${CFLAGS+set}
12681 ac_save_CFLAGS=$CFLAGS
12682 CFLAGS="-g"
12683 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12684 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12685 if test "${ac_cv_prog_cc_g+set}" = set; then
12686 echo $ECHO_N "(cached) $ECHO_C" >&6
12687 else
12688 cat >conftest.$ac_ext <<_ACEOF
12689 /* confdefs.h. */
12690 _ACEOF
12691 cat confdefs.h >>conftest.$ac_ext
12692 cat >>conftest.$ac_ext <<_ACEOF
12693 /* end confdefs.h. */
12694
12695 int
12696 main ()
12697 {
12698
12699 ;
12700 return 0;
12701 }
12702 _ACEOF
12703 rm -f conftest.$ac_objext
12704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12705 (eval $ac_compile) 2>conftest.er1
12706 ac_status=$?
12707 grep -v '^ *+' conftest.er1 >conftest.err
12708 rm -f conftest.er1
12709 cat conftest.err >&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); } &&
12712 { ac_try='test -z "$ac_c_werror_flag"
12713 || test ! -s conftest.err'
12714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12715 (eval $ac_try) 2>&5
12716 ac_status=$?
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); }; } &&
12719 { ac_try='test -s conftest.$ac_objext'
12720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721 (eval $ac_try) 2>&5
12722 ac_status=$?
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; }; then
12725 ac_cv_prog_cc_g=yes
12726 else
12727 echo "$as_me: failed program was:" >&5
12728 sed 's/^/| /' conftest.$ac_ext >&5
12729
12730 ac_cv_prog_cc_g=no
12731 fi
12732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12733 fi
12734 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12735 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12736 if test "$ac_test_CFLAGS" = set; then
12737 CFLAGS=$ac_save_CFLAGS
12738 elif test $ac_cv_prog_cc_g = yes; then
12739 if test "$GCC" = yes; then
12740 CFLAGS="-g -O2"
12741 else
12742 CFLAGS="-g"
12743 fi
12744 else
12745 if test "$GCC" = yes; then
12746 CFLAGS="-O2"
12747 else
12748 CFLAGS=
12749 fi
12750 fi
12751 fi
12752 fi
12753
12754 case `uname -s` in
12755 AIX*)
12756 ac_ext=c
12757 ac_cpp='$CPP $CPPFLAGS'
12758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12761
12762 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12763 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12764 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 else
12767 cat >conftest.$ac_ext <<_ACEOF
12768 /* confdefs.h. */
12769 _ACEOF
12770 cat confdefs.h >>conftest.$ac_ext
12771 cat >>conftest.$ac_ext <<_ACEOF
12772 /* end confdefs.h. */
12773
12774 int
12775 main ()
12776 {
12777 #ifndef __xlC__
12778 choke me
12779 #endif
12780
12781 ;
12782 return 0;
12783 }
12784 _ACEOF
12785 rm -f conftest.$ac_objext
12786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12787 (eval $ac_compile) 2>conftest.er1
12788 ac_status=$?
12789 grep -v '^ *+' conftest.er1 >conftest.err
12790 rm -f conftest.er1
12791 cat conftest.err >&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); } &&
12794 { ac_try='test -z "$ac_c_werror_flag"
12795 || test ! -s conftest.err'
12796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12797 (eval $ac_try) 2>&5
12798 ac_status=$?
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); }; } &&
12801 { ac_try='test -s conftest.$ac_objext'
12802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 (eval $ac_try) 2>&5
12804 ac_status=$?
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; }; then
12807 bakefile_compiler_xlc=yes
12808 else
12809 echo "$as_me: failed program was:" >&5
12810 sed 's/^/| /' conftest.$ac_ext >&5
12811
12812 bakefile_compiler_xlc=no
12813 fi
12814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12815 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12816
12817 fi
12818 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12819 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12820
12821 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12822 ac_ext=c
12823 ac_cpp='$CPP $CPPFLAGS'
12824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12827
12828
12829 ;;
12830
12831 Darwin)
12832 ac_ext=c
12833 ac_cpp='$CPP $CPPFLAGS'
12834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12837
12838 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12839 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12840 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12841 echo $ECHO_N "(cached) $ECHO_C" >&6
12842 else
12843 cat >conftest.$ac_ext <<_ACEOF
12844 /* confdefs.h. */
12845 _ACEOF
12846 cat confdefs.h >>conftest.$ac_ext
12847 cat >>conftest.$ac_ext <<_ACEOF
12848 /* end confdefs.h. */
12849
12850 int
12851 main ()
12852 {
12853 #ifndef __MWERKS__
12854 choke me
12855 #endif
12856
12857 ;
12858 return 0;
12859 }
12860 _ACEOF
12861 rm -f conftest.$ac_objext
12862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12863 (eval $ac_compile) 2>conftest.er1
12864 ac_status=$?
12865 grep -v '^ *+' conftest.er1 >conftest.err
12866 rm -f conftest.er1
12867 cat conftest.err >&5
12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869 (exit $ac_status); } &&
12870 { ac_try='test -z "$ac_c_werror_flag"
12871 || test ! -s conftest.err'
12872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12873 (eval $ac_try) 2>&5
12874 ac_status=$?
12875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); }; } &&
12877 { ac_try='test -s conftest.$ac_objext'
12878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12879 (eval $ac_try) 2>&5
12880 ac_status=$?
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); }; }; then
12883 bakefile_compiler_mwerks=yes
12884 else
12885 echo "$as_me: failed program was:" >&5
12886 sed 's/^/| /' conftest.$ac_ext >&5
12887
12888 bakefile_compiler_mwerks=no
12889 fi
12890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12891 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12892
12893 fi
12894 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12895 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12896
12897 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12898 ac_ext=c
12899 ac_cpp='$CPP $CPPFLAGS'
12900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12903
12904
12905 ac_ext=c
12906 ac_cpp='$CPP $CPPFLAGS'
12907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12910
12911 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12912 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12913 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12914 echo $ECHO_N "(cached) $ECHO_C" >&6
12915 else
12916 cat >conftest.$ac_ext <<_ACEOF
12917 /* confdefs.h. */
12918 _ACEOF
12919 cat confdefs.h >>conftest.$ac_ext
12920 cat >>conftest.$ac_ext <<_ACEOF
12921 /* end confdefs.h. */
12922
12923 int
12924 main ()
12925 {
12926 #ifndef __xlC__
12927 choke me
12928 #endif
12929
12930 ;
12931 return 0;
12932 }
12933 _ACEOF
12934 rm -f conftest.$ac_objext
12935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12936 (eval $ac_compile) 2>conftest.er1
12937 ac_status=$?
12938 grep -v '^ *+' conftest.er1 >conftest.err
12939 rm -f conftest.er1
12940 cat conftest.err >&5
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); } &&
12943 { ac_try='test -z "$ac_c_werror_flag"
12944 || test ! -s conftest.err'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12947 ac_status=$?
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; } &&
12950 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
12956 bakefile_compiler_xlc=yes
12957 else
12958 echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.$ac_ext >&5
12960
12961 bakefile_compiler_xlc=no
12962 fi
12963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12964 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12965
12966 fi
12967 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12968 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12969
12970 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12971 ac_ext=c
12972 ac_cpp='$CPP $CPPFLAGS'
12973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12976
12977
12978 ;;
12979
12980 IRIX*)
12981
12982
12983 ac_ext=c
12984 ac_cpp='$CPP $CPPFLAGS'
12985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12988
12989 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12990 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12991 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12992 echo $ECHO_N "(cached) $ECHO_C" >&6
12993 else
12994 cat >conftest.$ac_ext <<_ACEOF
12995 /* confdefs.h. */
12996 _ACEOF
12997 cat confdefs.h >>conftest.$ac_ext
12998 cat >>conftest.$ac_ext <<_ACEOF
12999 /* end confdefs.h. */
13000
13001 int
13002 main ()
13003 {
13004
13005 #ifndef _SGI_COMPILER_VERSION
13006 choke me
13007 #endif
13008
13009 ;
13010 return 0;
13011 }
13012 _ACEOF
13013 rm -f conftest.$ac_objext
13014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13015 (eval $ac_compile) 2>conftest.er1
13016 ac_status=$?
13017 grep -v '^ *+' conftest.er1 >conftest.err
13018 rm -f conftest.er1
13019 cat conftest.err >&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); } &&
13022 { ac_try='test -z "$ac_c_werror_flag"
13023 || test ! -s conftest.err'
13024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13025 (eval $ac_try) 2>&5
13026 ac_status=$?
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028 (exit $ac_status); }; } &&
13029 { ac_try='test -s conftest.$ac_objext'
13030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13031 (eval $ac_try) 2>&5
13032 ac_status=$?
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); }; }; then
13035 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13036 else
13037 echo "$as_me: failed program was:" >&5
13038 sed 's/^/| /' conftest.$ac_ext >&5
13039
13040 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13041
13042 fi
13043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13044
13045
13046 fi
13047 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13048 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13049 ac_ext=c
13050 ac_cpp='$CPP $CPPFLAGS'
13051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13054
13055 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13056 :; SGICC=yes
13057 else
13058 :;
13059 fi
13060
13061
13062 ;;
13063
13064 HP-UX*)
13065
13066
13067 ac_ext=c
13068 ac_cpp='$CPP $CPPFLAGS'
13069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13072
13073 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13074 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13075 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13076 echo $ECHO_N "(cached) $ECHO_C" >&6
13077 else
13078 cat >conftest.$ac_ext <<_ACEOF
13079 /* confdefs.h. */
13080 _ACEOF
13081 cat confdefs.h >>conftest.$ac_ext
13082 cat >>conftest.$ac_ext <<_ACEOF
13083 /* end confdefs.h. */
13084
13085 int
13086 main ()
13087 {
13088
13089 #ifndef __HP_cc
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"
13107 || test ! -s conftest.err'
13108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13109 (eval $ac_try) 2>&5
13110 ac_status=$?
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; } &&
13113 { ac_try='test -s conftest.$ac_objext'
13114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13115 (eval $ac_try) 2>&5
13116 ac_status=$?
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); }; }; then
13119 bakefile_cv_c_compiler___HP_cc=yes
13120 else
13121 echo "$as_me: failed program was:" >&5
13122 sed 's/^/| /' conftest.$ac_ext >&5
13123
13124 bakefile_cv_c_compiler___HP_cc=no
13125
13126 fi
13127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13128
13129
13130 fi
13131 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13132 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
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 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13140 :; HPCC=yes
13141 else
13142 :;
13143 fi
13144
13145
13146 ;;
13147
13148 OSF1)
13149
13150
13151 ac_ext=c
13152 ac_cpp='$CPP $CPPFLAGS'
13153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13156
13157 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13158 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13159 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13160 echo $ECHO_N "(cached) $ECHO_C" >&6
13161 else
13162 cat >conftest.$ac_ext <<_ACEOF
13163 /* confdefs.h. */
13164 _ACEOF
13165 cat confdefs.h >>conftest.$ac_ext
13166 cat >>conftest.$ac_ext <<_ACEOF
13167 /* end confdefs.h. */
13168
13169 int
13170 main ()
13171 {
13172
13173 #ifndef __DECC
13174 choke me
13175 #endif
13176
13177 ;
13178 return 0;
13179 }
13180 _ACEOF
13181 rm -f conftest.$ac_objext
13182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13183 (eval $ac_compile) 2>conftest.er1
13184 ac_status=$?
13185 grep -v '^ *+' conftest.er1 >conftest.err
13186 rm -f conftest.er1
13187 cat conftest.err >&5
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); } &&
13190 { ac_try='test -z "$ac_c_werror_flag"
13191 || test ! -s conftest.err'
13192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13193 (eval $ac_try) 2>&5
13194 ac_status=$?
13195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); }; } &&
13197 { ac_try='test -s conftest.$ac_objext'
13198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13199 (eval $ac_try) 2>&5
13200 ac_status=$?
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); }; }; then
13203 bakefile_cv_c_compiler___DECC=yes
13204 else
13205 echo "$as_me: failed program was:" >&5
13206 sed 's/^/| /' conftest.$ac_ext >&5
13207
13208 bakefile_cv_c_compiler___DECC=no
13209
13210 fi
13211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13212
13213
13214 fi
13215 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13216 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
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 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13224 :; COMPAQCC=yes
13225 else
13226 :;
13227 fi
13228
13229
13230 ;;
13231
13232 SunOS)
13233
13234
13235 ac_ext=c
13236 ac_cpp='$CPP $CPPFLAGS'
13237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13240
13241 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13242 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13243 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13244 echo $ECHO_N "(cached) $ECHO_C" >&6
13245 else
13246 cat >conftest.$ac_ext <<_ACEOF
13247 /* confdefs.h. */
13248 _ACEOF
13249 cat confdefs.h >>conftest.$ac_ext
13250 cat >>conftest.$ac_ext <<_ACEOF
13251 /* end confdefs.h. */
13252
13253 int
13254 main ()
13255 {
13256
13257 #ifndef __SUNPRO_C
13258 choke me
13259 #endif
13260
13261 ;
13262 return 0;
13263 }
13264 _ACEOF
13265 rm -f conftest.$ac_objext
13266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13267 (eval $ac_compile) 2>conftest.er1
13268 ac_status=$?
13269 grep -v '^ *+' conftest.er1 >conftest.err
13270 rm -f conftest.er1
13271 cat conftest.err >&5
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); } &&
13274 { ac_try='test -z "$ac_c_werror_flag"
13275 || test ! -s conftest.err'
13276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 (eval $ac_try) 2>&5
13278 ac_status=$?
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }; } &&
13281 { ac_try='test -s conftest.$ac_objext'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5
13284 ac_status=$?
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; }; then
13287 bakefile_cv_c_compiler___SUNPRO_C=yes
13288 else
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.$ac_ext >&5
13291
13292 bakefile_cv_c_compiler___SUNPRO_C=no
13293
13294 fi
13295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13296
13297
13298 fi
13299 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13300 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13301 ac_ext=c
13302 ac_cpp='$CPP $CPPFLAGS'
13303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13306
13307 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13308 :; SUNCC=yes
13309 else
13310 :;
13311 fi
13312
13313
13314 ;;
13315 esac
13316 fi
13317
13318
13319
13320 ac_ext=c
13321 ac_cpp='$CPP $CPPFLAGS'
13322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13325 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13326 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13327 # On Suns, sometimes $CPP names a directory.
13328 if test -n "$CPP" && test -d "$CPP"; then
13329 CPP=
13330 fi
13331 if test -z "$CPP"; then
13332 if test "${ac_cv_prog_CPP+set}" = set; then
13333 echo $ECHO_N "(cached) $ECHO_C" >&6
13334 else
13335 # Double quotes because CPP needs to be expanded
13336 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13337 do
13338 ac_preproc_ok=false
13339 for ac_c_preproc_warn_flag in '' yes
13340 do
13341 # Use a header file that comes with gcc, so configuring glibc
13342 # with a fresh cross-compiler works.
13343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13344 # <limits.h> exists even on freestanding compilers.
13345 # On the NeXT, cc -E runs the code through the compiler's parser,
13346 # not just through cpp. "Syntax error" is here to catch this case.
13347 cat >conftest.$ac_ext <<_ACEOF
13348 /* confdefs.h. */
13349 _ACEOF
13350 cat confdefs.h >>conftest.$ac_ext
13351 cat >>conftest.$ac_ext <<_ACEOF
13352 /* end confdefs.h. */
13353 #ifdef __STDC__
13354 # include <limits.h>
13355 #else
13356 # include <assert.h>
13357 #endif
13358 Syntax error
13359 _ACEOF
13360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13362 ac_status=$?
13363 grep -v '^ *+' conftest.er1 >conftest.err
13364 rm -f conftest.er1
13365 cat conftest.err >&5
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); } >/dev/null; then
13368 if test -s conftest.err; then
13369 ac_cpp_err=$ac_c_preproc_warn_flag
13370 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13371 else
13372 ac_cpp_err=
13373 fi
13374 else
13375 ac_cpp_err=yes
13376 fi
13377 if test -z "$ac_cpp_err"; then
13378 :
13379 else
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.$ac_ext >&5
13382
13383 # Broken: fails on valid input.
13384 continue
13385 fi
13386 rm -f conftest.err conftest.$ac_ext
13387
13388 # OK, works on sane cases. Now check whether non-existent headers
13389 # can be detected and how.
13390 cat >conftest.$ac_ext <<_ACEOF
13391 /* confdefs.h. */
13392 _ACEOF
13393 cat confdefs.h >>conftest.$ac_ext
13394 cat >>conftest.$ac_ext <<_ACEOF
13395 /* end confdefs.h. */
13396 #include <ac_nonexistent.h>
13397 _ACEOF
13398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13400 ac_status=$?
13401 grep -v '^ *+' conftest.er1 >conftest.err
13402 rm -f conftest.er1
13403 cat conftest.err >&5
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); } >/dev/null; then
13406 if test -s conftest.err; then
13407 ac_cpp_err=$ac_c_preproc_warn_flag
13408 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13409 else
13410 ac_cpp_err=
13411 fi
13412 else
13413 ac_cpp_err=yes
13414 fi
13415 if test -z "$ac_cpp_err"; then
13416 # Broken: success on invalid input.
13417 continue
13418 else
13419 echo "$as_me: failed program was:" >&5
13420 sed 's/^/| /' conftest.$ac_ext >&5
13421
13422 # Passes both tests.
13423 ac_preproc_ok=:
13424 break
13425 fi
13426 rm -f conftest.err conftest.$ac_ext
13427
13428 done
13429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13430 rm -f conftest.err conftest.$ac_ext
13431 if $ac_preproc_ok; then
13432 break
13433 fi
13434
13435 done
13436 ac_cv_prog_CPP=$CPP
13437
13438 fi
13439 CPP=$ac_cv_prog_CPP
13440 else
13441 ac_cv_prog_CPP=$CPP
13442 fi
13443 echo "$as_me:$LINENO: result: $CPP" >&5
13444 echo "${ECHO_T}$CPP" >&6
13445 ac_preproc_ok=false
13446 for ac_c_preproc_warn_flag in '' yes
13447 do
13448 # Use a header file that comes with gcc, so configuring glibc
13449 # with a fresh cross-compiler works.
13450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13451 # <limits.h> exists even on freestanding compilers.
13452 # On the NeXT, cc -E runs the code through the compiler's parser,
13453 # not just through cpp. "Syntax error" is here to catch this case.
13454 cat >conftest.$ac_ext <<_ACEOF
13455 /* confdefs.h. */
13456 _ACEOF
13457 cat confdefs.h >>conftest.$ac_ext
13458 cat >>conftest.$ac_ext <<_ACEOF
13459 /* end confdefs.h. */
13460 #ifdef __STDC__
13461 # include <limits.h>
13462 #else
13463 # include <assert.h>
13464 #endif
13465 Syntax error
13466 _ACEOF
13467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13469 ac_status=$?
13470 grep -v '^ *+' conftest.er1 >conftest.err
13471 rm -f conftest.er1
13472 cat conftest.err >&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); } >/dev/null; then
13475 if test -s conftest.err; then
13476 ac_cpp_err=$ac_c_preproc_warn_flag
13477 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13478 else
13479 ac_cpp_err=
13480 fi
13481 else
13482 ac_cpp_err=yes
13483 fi
13484 if test -z "$ac_cpp_err"; then
13485 :
13486 else
13487 echo "$as_me: failed program was:" >&5
13488 sed 's/^/| /' conftest.$ac_ext >&5
13489
13490 # Broken: fails on valid input.
13491 continue
13492 fi
13493 rm -f conftest.err conftest.$ac_ext
13494
13495 # OK, works on sane cases. Now check whether non-existent headers
13496 # can be detected and how.
13497 cat >conftest.$ac_ext <<_ACEOF
13498 /* confdefs.h. */
13499 _ACEOF
13500 cat confdefs.h >>conftest.$ac_ext
13501 cat >>conftest.$ac_ext <<_ACEOF
13502 /* end confdefs.h. */
13503 #include <ac_nonexistent.h>
13504 _ACEOF
13505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13506 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13507 ac_status=$?
13508 grep -v '^ *+' conftest.er1 >conftest.err
13509 rm -f conftest.er1
13510 cat conftest.err >&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } >/dev/null; then
13513 if test -s conftest.err; then
13514 ac_cpp_err=$ac_c_preproc_warn_flag
13515 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13516 else
13517 ac_cpp_err=
13518 fi
13519 else
13520 ac_cpp_err=yes
13521 fi
13522 if test -z "$ac_cpp_err"; then
13523 # Broken: success on invalid input.
13524 continue
13525 else
13526 echo "$as_me: failed program was:" >&5
13527 sed 's/^/| /' conftest.$ac_ext >&5
13528
13529 # Passes both tests.
13530 ac_preproc_ok=:
13531 break
13532 fi
13533 rm -f conftest.err conftest.$ac_ext
13534
13535 done
13536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13537 rm -f conftest.err conftest.$ac_ext
13538 if $ac_preproc_ok; then
13539 :
13540 else
13541 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13542 See \`config.log' for more details." >&5
13543 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13544 See \`config.log' for more details." >&2;}
13545 { (exit 1); exit 1; }; }
13546 fi
13547
13548 ac_ext=c
13549 ac_cpp='$CPP $CPPFLAGS'
13550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13553
13554
13555 echo "$as_me:$LINENO: checking for egrep" >&5
13556 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13557 if test "${ac_cv_prog_egrep+set}" = set; then
13558 echo $ECHO_N "(cached) $ECHO_C" >&6
13559 else
13560 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13561 then ac_cv_prog_egrep='grep -E'
13562 else ac_cv_prog_egrep='egrep'
13563 fi
13564 fi
13565 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13566 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13567 EGREP=$ac_cv_prog_egrep
13568
13569
13570 if test $ac_cv_c_compiler_gnu = yes; then
13571 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13572 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13573 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13574 echo $ECHO_N "(cached) $ECHO_C" >&6
13575 else
13576 ac_pattern="Autoconf.*'x'"
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 #include <sgtty.h>
13584 Autoconf TIOCGETP
13585 _ACEOF
13586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13587 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13588 ac_cv_prog_gcc_traditional=yes
13589 else
13590 ac_cv_prog_gcc_traditional=no
13591 fi
13592 rm -f conftest*
13593
13594
13595 if test $ac_cv_prog_gcc_traditional = no; then
13596 cat >conftest.$ac_ext <<_ACEOF
13597 /* confdefs.h. */
13598 _ACEOF
13599 cat confdefs.h >>conftest.$ac_ext
13600 cat >>conftest.$ac_ext <<_ACEOF
13601 /* end confdefs.h. */
13602 #include <termio.h>
13603 Autoconf TCGETA
13604 _ACEOF
13605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13606 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13607 ac_cv_prog_gcc_traditional=yes
13608 fi
13609 rm -f conftest*
13610
13611 fi
13612 fi
13613 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13614 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13615 if test $ac_cv_prog_gcc_traditional = yes; then
13616 CC="$CC -traditional"
13617 fi
13618 fi
13619
13620
13621 ac_ext=cc
13622 ac_cpp='$CXXCPP $CPPFLAGS'
13623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13626
13627
13628 CXXFLAGS=${CXXFLAGS:=}
13629
13630
13631
13632 ac_ext=cc
13633 ac_cpp='$CXXCPP $CPPFLAGS'
13634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13637 if test -n "$ac_tool_prefix"; then
13638 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13639 do
13640 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13641 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13642 echo "$as_me:$LINENO: checking for $ac_word" >&5
13643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13644 if test "${ac_cv_prog_CXX+set}" = set; then
13645 echo $ECHO_N "(cached) $ECHO_C" >&6
13646 else
13647 if test -n "$CXX"; then
13648 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13649 else
13650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13651 for as_dir in $PATH
13652 do
13653 IFS=$as_save_IFS
13654 test -z "$as_dir" && as_dir=.
13655 for ac_exec_ext in '' $ac_executable_extensions; do
13656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13657 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13659 break 2
13660 fi
13661 done
13662 done
13663
13664 fi
13665 fi
13666 CXX=$ac_cv_prog_CXX
13667 if test -n "$CXX"; then
13668 echo "$as_me:$LINENO: result: $CXX" >&5
13669 echo "${ECHO_T}$CXX" >&6
13670 else
13671 echo "$as_me:$LINENO: result: no" >&5
13672 echo "${ECHO_T}no" >&6
13673 fi
13674
13675 test -n "$CXX" && break
13676 done
13677 fi
13678 if test -z "$CXX"; then
13679 ac_ct_CXX=$CXX
13680 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13681 do
13682 # Extract the first word of "$ac_prog", so it can be a program name with args.
13683 set dummy $ac_prog; ac_word=$2
13684 echo "$as_me:$LINENO: checking for $ac_word" >&5
13685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13686 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13687 echo $ECHO_N "(cached) $ECHO_C" >&6
13688 else
13689 if test -n "$ac_ct_CXX"; then
13690 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13691 else
13692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13693 for as_dir in $PATH
13694 do
13695 IFS=$as_save_IFS
13696 test -z "$as_dir" && as_dir=.
13697 for ac_exec_ext in '' $ac_executable_extensions; do
13698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13699 ac_cv_prog_ac_ct_CXX="$ac_prog"
13700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13701 break 2
13702 fi
13703 done
13704 done
13705
13706 fi
13707 fi
13708 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13709 if test -n "$ac_ct_CXX"; then
13710 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13711 echo "${ECHO_T}$ac_ct_CXX" >&6
13712 else
13713 echo "$as_me:$LINENO: result: no" >&5
13714 echo "${ECHO_T}no" >&6
13715 fi
13716
13717 test -n "$ac_ct_CXX" && break
13718 done
13719 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13720
13721 CXX=$ac_ct_CXX
13722 fi
13723
13724
13725 # Provide some information about the compiler.
13726 echo "$as_me:$LINENO:" \
13727 "checking for C++ compiler version" >&5
13728 ac_compiler=`set X $ac_compile; echo $2`
13729 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13730 (eval $ac_compiler --version </dev/null >&5) 2>&5
13731 ac_status=$?
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); }
13734 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13735 (eval $ac_compiler -v </dev/null >&5) 2>&5
13736 ac_status=$?
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); }
13739 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13740 (eval $ac_compiler -V </dev/null >&5) 2>&5
13741 ac_status=$?
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }
13744
13745 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13746 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13747 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 else
13750 cat >conftest.$ac_ext <<_ACEOF
13751 /* confdefs.h. */
13752 _ACEOF
13753 cat confdefs.h >>conftest.$ac_ext
13754 cat >>conftest.$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13756
13757 int
13758 main ()
13759 {
13760 #ifndef __GNUC__
13761 choke me
13762 #endif
13763
13764 ;
13765 return 0;
13766 }
13767 _ACEOF
13768 rm -f conftest.$ac_objext
13769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13770 (eval $ac_compile) 2>conftest.er1
13771 ac_status=$?
13772 grep -v '^ *+' conftest.er1 >conftest.err
13773 rm -f conftest.er1
13774 cat conftest.err >&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); } &&
13777 { ac_try='test -z "$ac_cxx_werror_flag"
13778 || test ! -s conftest.err'
13779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13780 (eval $ac_try) 2>&5
13781 ac_status=$?
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); }; } &&
13784 { ac_try='test -s conftest.$ac_objext'
13785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13786 (eval $ac_try) 2>&5
13787 ac_status=$?
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; }; then
13790 ac_compiler_gnu=yes
13791 else
13792 echo "$as_me: failed program was:" >&5
13793 sed 's/^/| /' conftest.$ac_ext >&5
13794
13795 ac_compiler_gnu=no
13796 fi
13797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13798 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13799
13800 fi
13801 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13802 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13803 GXX=`test $ac_compiler_gnu = yes && echo yes`
13804 ac_test_CXXFLAGS=${CXXFLAGS+set}
13805 ac_save_CXXFLAGS=$CXXFLAGS
13806 CXXFLAGS="-g"
13807 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13808 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13809 if test "${ac_cv_prog_cxx_g+set}" = set; then
13810 echo $ECHO_N "(cached) $ECHO_C" >&6
13811 else
13812 cat >conftest.$ac_ext <<_ACEOF
13813 /* confdefs.h. */
13814 _ACEOF
13815 cat confdefs.h >>conftest.$ac_ext
13816 cat >>conftest.$ac_ext <<_ACEOF
13817 /* end confdefs.h. */
13818
13819 int
13820 main ()
13821 {
13822
13823 ;
13824 return 0;
13825 }
13826 _ACEOF
13827 rm -f conftest.$ac_objext
13828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13829 (eval $ac_compile) 2>conftest.er1
13830 ac_status=$?
13831 grep -v '^ *+' conftest.er1 >conftest.err
13832 rm -f conftest.er1
13833 cat conftest.err >&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); } &&
13836 { ac_try='test -z "$ac_cxx_werror_flag"
13837 || test ! -s conftest.err'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13840 ac_status=$?
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; } &&
13843 { ac_try='test -s conftest.$ac_objext'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13846 ac_status=$?
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; }; then
13849 ac_cv_prog_cxx_g=yes
13850 else
13851 echo "$as_me: failed program was:" >&5
13852 sed 's/^/| /' conftest.$ac_ext >&5
13853
13854 ac_cv_prog_cxx_g=no
13855 fi
13856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13857 fi
13858 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13859 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13860 if test "$ac_test_CXXFLAGS" = set; then
13861 CXXFLAGS=$ac_save_CXXFLAGS
13862 elif test $ac_cv_prog_cxx_g = yes; then
13863 if test "$GXX" = yes; then
13864 CXXFLAGS="-g -O2"
13865 else
13866 CXXFLAGS="-g"
13867 fi
13868 else
13869 if test "$GXX" = yes; then
13870 CXXFLAGS="-O2"
13871 else
13872 CXXFLAGS=
13873 fi
13874 fi
13875 for ac_declaration in \
13876 '' \
13877 'extern "C" void std::exit (int) throw (); using std::exit;' \
13878 'extern "C" void std::exit (int); using std::exit;' \
13879 'extern "C" void exit (int) throw ();' \
13880 'extern "C" void exit (int);' \
13881 'void exit (int);'
13882 do
13883 cat >conftest.$ac_ext <<_ACEOF
13884 /* confdefs.h. */
13885 _ACEOF
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13889 $ac_declaration
13890 #include <stdlib.h>
13891 int
13892 main ()
13893 {
13894 exit (42);
13895 ;
13896 return 0;
13897 }
13898 _ACEOF
13899 rm -f conftest.$ac_objext
13900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13901 (eval $ac_compile) 2>conftest.er1
13902 ac_status=$?
13903 grep -v '^ *+' conftest.er1 >conftest.err
13904 rm -f conftest.er1
13905 cat conftest.err >&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } &&
13908 { ac_try='test -z "$ac_cxx_werror_flag"
13909 || test ! -s conftest.err'
13910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13911 (eval $ac_try) 2>&5
13912 ac_status=$?
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; } &&
13915 { ac_try='test -s conftest.$ac_objext'
13916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917 (eval $ac_try) 2>&5
13918 ac_status=$?
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; }; then
13921 :
13922 else
13923 echo "$as_me: failed program was:" >&5
13924 sed 's/^/| /' conftest.$ac_ext >&5
13925
13926 continue
13927 fi
13928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13929 cat >conftest.$ac_ext <<_ACEOF
13930 /* confdefs.h. */
13931 _ACEOF
13932 cat confdefs.h >>conftest.$ac_ext
13933 cat >>conftest.$ac_ext <<_ACEOF
13934 /* end confdefs.h. */
13935 $ac_declaration
13936 int
13937 main ()
13938 {
13939 exit (42);
13940 ;
13941 return 0;
13942 }
13943 _ACEOF
13944 rm -f conftest.$ac_objext
13945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13946 (eval $ac_compile) 2>conftest.er1
13947 ac_status=$?
13948 grep -v '^ *+' conftest.er1 >conftest.err
13949 rm -f conftest.er1
13950 cat conftest.err >&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); } &&
13953 { ac_try='test -z "$ac_cxx_werror_flag"
13954 || test ! -s conftest.err'
13955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13956 (eval $ac_try) 2>&5
13957 ac_status=$?
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); }; } &&
13960 { ac_try='test -s conftest.$ac_objext'
13961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962 (eval $ac_try) 2>&5
13963 ac_status=$?
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }; }; then
13966 break
13967 else
13968 echo "$as_me: failed program was:" >&5
13969 sed 's/^/| /' conftest.$ac_ext >&5
13970
13971 fi
13972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13973 done
13974 rm -f conftest*
13975 if test -n "$ac_declaration"; then
13976 echo '#ifdef __cplusplus' >>confdefs.h
13977 echo $ac_declaration >>confdefs.h
13978 echo '#endif' >>confdefs.h
13979 fi
13980
13981 ac_ext=cc
13982 ac_cpp='$CXXCPP $CPPFLAGS'
13983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13986
13987
13988
13989 ac_ext=cc
13990 ac_cpp='$CXXCPP $CPPFLAGS'
13991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13994
13995 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13996 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13997 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13998 echo $ECHO_N "(cached) $ECHO_C" >&6
13999 else
14000 cat >conftest.$ac_ext <<_ACEOF
14001 /* confdefs.h. */
14002 _ACEOF
14003 cat confdefs.h >>conftest.$ac_ext
14004 cat >>conftest.$ac_ext <<_ACEOF
14005 /* end confdefs.h. */
14006
14007 int
14008 main ()
14009 {
14010
14011 #ifndef __INTEL_COMPILER
14012 choke me
14013 #endif
14014
14015 ;
14016 return 0;
14017 }
14018 _ACEOF
14019 rm -f conftest.$ac_objext
14020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14021 (eval $ac_compile) 2>conftest.er1
14022 ac_status=$?
14023 grep -v '^ *+' conftest.er1 >conftest.err
14024 rm -f conftest.er1
14025 cat conftest.err >&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } &&
14028 { ac_try='test -z "$ac_cxx_werror_flag"
14029 || test ! -s conftest.err'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14032 ac_status=$?
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; } &&
14035 { ac_try='test -s conftest.$ac_objext'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14038 ac_status=$?
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; }; then
14041 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14042 else
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.$ac_ext >&5
14045
14046 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14047
14048 fi
14049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14050
14051
14052 fi
14053 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14054 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14055 ac_ext=cc
14056 ac_cpp='$CXXCPP $CPPFLAGS'
14057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14060
14061 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14062 :; INTELCXX=yes
14063 else
14064 :;
14065 fi
14066
14067
14068 if test "x$GCXX" != "xyes"; then
14069 if test "xCXX" = "xC"; then
14070 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14071 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14072 if test "${bakefile_cv_cxx_exto+set}" = set; then
14073 echo $ECHO_N "(cached) $ECHO_C" >&6
14074 else
14075 cat >conftest.$ac_ext <<_ACEOF
14076 /* confdefs.h. */
14077 _ACEOF
14078 cat confdefs.h >>conftest.$ac_ext
14079 cat >>conftest.$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14081
14082 int
14083 main ()
14084 {
14085
14086 ;
14087 return 0;
14088 }
14089 _ACEOF
14090 rm -f conftest.$ac_objext conftest.$ac_ext.o
14091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14092 (eval $ac_compile) 2>&5
14093 ac_status=$?
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; then
14096 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14097 case $ac_file in
14098 conftest.$ac_ext.o)
14099 bakefile_cv_cxx_exto="-ext o"
14100 ;;
14101 *)
14102 ;;
14103 esac
14104 done
14105 else
14106 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14107 See \`config.log' for more details." >&5
14108 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14109 See \`config.log' for more details." >&2;}
14110 { (exit 1); exit 1; }; }
14111
14112 fi
14113
14114 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14115
14116 fi
14117 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14118 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14119 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14120 if test "cxx" = "c"; then
14121 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14122 fi
14123 if test "cxx" = "cxx"; then
14124 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14125 fi
14126 fi
14127
14128 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14129 unset ac_cv_prog_cc_g
14130 ac_test_CFLAGS=${CFLAGS+set}
14131 ac_save_CFLAGS=$CFLAGS
14132 CFLAGS="-g"
14133 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14134 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14135 if test "${ac_cv_prog_cc_g+set}" = set; then
14136 echo $ECHO_N "(cached) $ECHO_C" >&6
14137 else
14138 cat >conftest.$ac_ext <<_ACEOF
14139 /* confdefs.h. */
14140 _ACEOF
14141 cat confdefs.h >>conftest.$ac_ext
14142 cat >>conftest.$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14144
14145 int
14146 main ()
14147 {
14148
14149 ;
14150 return 0;
14151 }
14152 _ACEOF
14153 rm -f conftest.$ac_objext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14155 (eval $ac_compile) 2>conftest.er1
14156 ac_status=$?
14157 grep -v '^ *+' conftest.er1 >conftest.err
14158 rm -f conftest.er1
14159 cat conftest.err >&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try='test -z "$ac_cxx_werror_flag"
14163 || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14172 ac_status=$?
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175 ac_cv_prog_cc_g=yes
14176 else
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.$ac_ext >&5
14179
14180 ac_cv_prog_cc_g=no
14181 fi
14182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14183 fi
14184 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14185 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14186 if test "$ac_test_CFLAGS" = set; then
14187 CFLAGS=$ac_save_CFLAGS
14188 elif test $ac_cv_prog_cc_g = yes; then
14189 if test "$GCC" = yes; then
14190 CFLAGS="-g -O2"
14191 else
14192 CFLAGS="-g"
14193 fi
14194 else
14195 if test "$GCC" = yes; then
14196 CFLAGS="-O2"
14197 else
14198 CFLAGS=
14199 fi
14200 fi
14201 fi
14202 fi
14203
14204 case `uname -s` in
14205 AIX*)
14206 ac_ext=cc
14207 ac_cpp='$CXXCPP $CPPFLAGS'
14208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14211
14212 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14213 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14214 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 else
14217 cat >conftest.$ac_ext <<_ACEOF
14218 /* confdefs.h. */
14219 _ACEOF
14220 cat confdefs.h >>conftest.$ac_ext
14221 cat >>conftest.$ac_ext <<_ACEOF
14222 /* end confdefs.h. */
14223
14224 int
14225 main ()
14226 {
14227 #ifndef __xlC__
14228 choke me
14229 #endif
14230
14231 ;
14232 return 0;
14233 }
14234 _ACEOF
14235 rm -f conftest.$ac_objext
14236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14237 (eval $ac_compile) 2>conftest.er1
14238 ac_status=$?
14239 grep -v '^ *+' conftest.er1 >conftest.err
14240 rm -f conftest.er1
14241 cat conftest.err >&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); } &&
14244 { ac_try='test -z "$ac_cxx_werror_flag"
14245 || test ! -s conftest.err'
14246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14247 (eval $ac_try) 2>&5
14248 ac_status=$?
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); }; } &&
14251 { ac_try='test -s conftest.$ac_objext'
14252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14253 (eval $ac_try) 2>&5
14254 ac_status=$?
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); }; }; then
14257 bakefile_compiler_xlc=yes
14258 else
14259 echo "$as_me: failed program was:" >&5
14260 sed 's/^/| /' conftest.$ac_ext >&5
14261
14262 bakefile_compiler_xlc=no
14263 fi
14264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14265 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14266
14267 fi
14268 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14269 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14270
14271 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14272 ac_ext=cc
14273 ac_cpp='$CXXCPP $CPPFLAGS'
14274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14277
14278
14279 ;;
14280
14281 Darwin)
14282 ac_ext=cc
14283 ac_cpp='$CXXCPP $CPPFLAGS'
14284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14287
14288 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14289 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14290 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14291 echo $ECHO_N "(cached) $ECHO_C" >&6
14292 else
14293 cat >conftest.$ac_ext <<_ACEOF
14294 /* confdefs.h. */
14295 _ACEOF
14296 cat confdefs.h >>conftest.$ac_ext
14297 cat >>conftest.$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14299
14300 int
14301 main ()
14302 {
14303 #ifndef __MWERKS__
14304 choke me
14305 #endif
14306
14307 ;
14308 return 0;
14309 }
14310 _ACEOF
14311 rm -f conftest.$ac_objext
14312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14313 (eval $ac_compile) 2>conftest.er1
14314 ac_status=$?
14315 grep -v '^ *+' conftest.er1 >conftest.err
14316 rm -f conftest.er1
14317 cat conftest.err >&5
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); } &&
14320 { ac_try='test -z "$ac_cxx_werror_flag"
14321 || test ! -s conftest.err'
14322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323 (eval $ac_try) 2>&5
14324 ac_status=$?
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }; } &&
14327 { ac_try='test -s conftest.$ac_objext'
14328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14329 (eval $ac_try) 2>&5
14330 ac_status=$?
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); }; }; then
14333 bakefile_compiler_mwerks=yes
14334 else
14335 echo "$as_me: failed program was:" >&5
14336 sed 's/^/| /' conftest.$ac_ext >&5
14337
14338 bakefile_compiler_mwerks=no
14339 fi
14340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14341 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14342
14343 fi
14344 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14345 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14346
14347 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14348 ac_ext=cc
14349 ac_cpp='$CXXCPP $CPPFLAGS'
14350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14353
14354
14355 ac_ext=cc
14356 ac_cpp='$CXXCPP $CPPFLAGS'
14357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14360
14361 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14362 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14363 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14364 echo $ECHO_N "(cached) $ECHO_C" >&6
14365 else
14366 cat >conftest.$ac_ext <<_ACEOF
14367 /* confdefs.h. */
14368 _ACEOF
14369 cat confdefs.h >>conftest.$ac_ext
14370 cat >>conftest.$ac_ext <<_ACEOF
14371 /* end confdefs.h. */
14372
14373 int
14374 main ()
14375 {
14376 #ifndef __xlC__
14377 choke me
14378 #endif
14379
14380 ;
14381 return 0;
14382 }
14383 _ACEOF
14384 rm -f conftest.$ac_objext
14385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14386 (eval $ac_compile) 2>conftest.er1
14387 ac_status=$?
14388 grep -v '^ *+' conftest.er1 >conftest.err
14389 rm -f conftest.er1
14390 cat conftest.err >&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); } &&
14393 { ac_try='test -z "$ac_cxx_werror_flag"
14394 || test ! -s conftest.err'
14395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14396 (eval $ac_try) 2>&5
14397 ac_status=$?
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); }; } &&
14400 { ac_try='test -s conftest.$ac_objext'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14403 ac_status=$?
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; }; then
14406 bakefile_compiler_xlc=yes
14407 else
14408 echo "$as_me: failed program was:" >&5
14409 sed 's/^/| /' conftest.$ac_ext >&5
14410
14411 bakefile_compiler_xlc=no
14412 fi
14413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14414 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14415
14416 fi
14417 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14418 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14419
14420 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14421 ac_ext=cc
14422 ac_cpp='$CXXCPP $CPPFLAGS'
14423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14426
14427
14428 ;;
14429
14430 IRIX*)
14431
14432
14433 ac_ext=cc
14434 ac_cpp='$CXXCPP $CPPFLAGS'
14435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14438
14439 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14440 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14441 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14442 echo $ECHO_N "(cached) $ECHO_C" >&6
14443 else
14444 cat >conftest.$ac_ext <<_ACEOF
14445 /* confdefs.h. */
14446 _ACEOF
14447 cat confdefs.h >>conftest.$ac_ext
14448 cat >>conftest.$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14450
14451 int
14452 main ()
14453 {
14454
14455 #ifndef _SGI_COMPILER_VERSION
14456 choke me
14457 #endif
14458
14459 ;
14460 return 0;
14461 }
14462 _ACEOF
14463 rm -f conftest.$ac_objext
14464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14465 (eval $ac_compile) 2>conftest.er1
14466 ac_status=$?
14467 grep -v '^ *+' conftest.er1 >conftest.err
14468 rm -f conftest.er1
14469 cat conftest.err >&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); } &&
14472 { ac_try='test -z "$ac_cxx_werror_flag"
14473 || test ! -s conftest.err'
14474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14475 (eval $ac_try) 2>&5
14476 ac_status=$?
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; } &&
14479 { ac_try='test -s conftest.$ac_objext'
14480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14481 (eval $ac_try) 2>&5
14482 ac_status=$?
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); }; }; then
14485 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14486 else
14487 echo "$as_me: failed program was:" >&5
14488 sed 's/^/| /' conftest.$ac_ext >&5
14489
14490 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14491
14492 fi
14493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14494
14495
14496 fi
14497 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14498 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14499 ac_ext=cc
14500 ac_cpp='$CXXCPP $CPPFLAGS'
14501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14504
14505 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14506 :; SGICXX=yes
14507 else
14508 :;
14509 fi
14510
14511
14512 ;;
14513
14514 HP-UX*)
14515
14516
14517 ac_ext=cc
14518 ac_cpp='$CXXCPP $CPPFLAGS'
14519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14522
14523 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14524 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14525 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14526 echo $ECHO_N "(cached) $ECHO_C" >&6
14527 else
14528 cat >conftest.$ac_ext <<_ACEOF
14529 /* confdefs.h. */
14530 _ACEOF
14531 cat confdefs.h >>conftest.$ac_ext
14532 cat >>conftest.$ac_ext <<_ACEOF
14533 /* end confdefs.h. */
14534
14535 int
14536 main ()
14537 {
14538
14539 #ifndef __HP_aCC
14540 choke me
14541 #endif
14542
14543 ;
14544 return 0;
14545 }
14546 _ACEOF
14547 rm -f conftest.$ac_objext
14548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14549 (eval $ac_compile) 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } &&
14556 { ac_try='test -z "$ac_cxx_werror_flag"
14557 || test ! -s conftest.err'
14558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14559 (eval $ac_try) 2>&5
14560 ac_status=$?
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); }; } &&
14563 { ac_try='test -s conftest.$ac_objext'
14564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14565 (eval $ac_try) 2>&5
14566 ac_status=$?
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); }; }; then
14569 bakefile_cv_cxx_compiler___HP_aCC=yes
14570 else
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.$ac_ext >&5
14573
14574 bakefile_cv_cxx_compiler___HP_aCC=no
14575
14576 fi
14577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14578
14579
14580 fi
14581 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14582 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14583 ac_ext=cc
14584 ac_cpp='$CXXCPP $CPPFLAGS'
14585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14588
14589 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14590 :; HPCXX=yes
14591 else
14592 :;
14593 fi
14594
14595
14596 ;;
14597
14598 OSF1)
14599
14600
14601 ac_ext=cc
14602 ac_cpp='$CXXCPP $CPPFLAGS'
14603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14606
14607 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14608 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14609 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14610 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 else
14612 cat >conftest.$ac_ext <<_ACEOF
14613 /* confdefs.h. */
14614 _ACEOF
14615 cat confdefs.h >>conftest.$ac_ext
14616 cat >>conftest.$ac_ext <<_ACEOF
14617 /* end confdefs.h. */
14618
14619 int
14620 main ()
14621 {
14622
14623 #ifndef __DECCXX
14624 choke me
14625 #endif
14626
14627 ;
14628 return 0;
14629 }
14630 _ACEOF
14631 rm -f conftest.$ac_objext
14632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14633 (eval $ac_compile) 2>conftest.er1
14634 ac_status=$?
14635 grep -v '^ *+' conftest.er1 >conftest.err
14636 rm -f conftest.er1
14637 cat conftest.err >&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } &&
14640 { ac_try='test -z "$ac_cxx_werror_flag"
14641 || test ! -s conftest.err'
14642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14643 (eval $ac_try) 2>&5
14644 ac_status=$?
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }; } &&
14647 { ac_try='test -s conftest.$ac_objext'
14648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14649 (eval $ac_try) 2>&5
14650 ac_status=$?
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); }; }; then
14653 bakefile_cv_cxx_compiler___DECCXX=yes
14654 else
14655 echo "$as_me: failed program was:" >&5
14656 sed 's/^/| /' conftest.$ac_ext >&5
14657
14658 bakefile_cv_cxx_compiler___DECCXX=no
14659
14660 fi
14661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14662
14663
14664 fi
14665 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14666 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14667 ac_ext=cc
14668 ac_cpp='$CXXCPP $CPPFLAGS'
14669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14672
14673 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14674 :; COMPAQCXX=yes
14675 else
14676 :;
14677 fi
14678
14679
14680 ;;
14681
14682 SunOS)
14683
14684
14685 ac_ext=cc
14686 ac_cpp='$CXXCPP $CPPFLAGS'
14687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14690
14691 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14692 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14693 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14694 echo $ECHO_N "(cached) $ECHO_C" >&6
14695 else
14696 cat >conftest.$ac_ext <<_ACEOF
14697 /* confdefs.h. */
14698 _ACEOF
14699 cat confdefs.h >>conftest.$ac_ext
14700 cat >>conftest.$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14702
14703 int
14704 main ()
14705 {
14706
14707 #ifndef __SUNPRO_CC
14708 choke me
14709 #endif
14710
14711 ;
14712 return 0;
14713 }
14714 _ACEOF
14715 rm -f conftest.$ac_objext
14716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14717 (eval $ac_compile) 2>conftest.er1
14718 ac_status=$?
14719 grep -v '^ *+' conftest.er1 >conftest.err
14720 rm -f conftest.er1
14721 cat conftest.err >&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); } &&
14724 { ac_try='test -z "$ac_cxx_werror_flag"
14725 || test ! -s conftest.err'
14726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14727 (eval $ac_try) 2>&5
14728 ac_status=$?
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); }; } &&
14731 { ac_try='test -s conftest.$ac_objext'
14732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14733 (eval $ac_try) 2>&5
14734 ac_status=$?
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; }; then
14737 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14738 else
14739 echo "$as_me: failed program was:" >&5
14740 sed 's/^/| /' conftest.$ac_ext >&5
14741
14742 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14743
14744 fi
14745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14746
14747
14748 fi
14749 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14750 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14751 ac_ext=cc
14752 ac_cpp='$CXXCPP $CPPFLAGS'
14753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14756
14757 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14758 :; SUNCXX=yes
14759 else
14760 :;
14761 fi
14762
14763
14764 ;;
14765 esac
14766 fi
14767
14768
14769
14770 if test -n "$ac_tool_prefix"; then
14771 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14772 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14773 echo "$as_me:$LINENO: checking for $ac_word" >&5
14774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14775 if test "${ac_cv_prog_RANLIB+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14777 else
14778 if test -n "$RANLIB"; then
14779 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14780 else
14781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14782 for as_dir in $PATH
14783 do
14784 IFS=$as_save_IFS
14785 test -z "$as_dir" && as_dir=.
14786 for ac_exec_ext in '' $ac_executable_extensions; do
14787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14788 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14790 break 2
14791 fi
14792 done
14793 done
14794
14795 fi
14796 fi
14797 RANLIB=$ac_cv_prog_RANLIB
14798 if test -n "$RANLIB"; then
14799 echo "$as_me:$LINENO: result: $RANLIB" >&5
14800 echo "${ECHO_T}$RANLIB" >&6
14801 else
14802 echo "$as_me:$LINENO: result: no" >&5
14803 echo "${ECHO_T}no" >&6
14804 fi
14805
14806 fi
14807 if test -z "$ac_cv_prog_RANLIB"; then
14808 ac_ct_RANLIB=$RANLIB
14809 # Extract the first word of "ranlib", so it can be a program name with args.
14810 set dummy ranlib; ac_word=$2
14811 echo "$as_me:$LINENO: checking for $ac_word" >&5
14812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14813 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14815 else
14816 if test -n "$ac_ct_RANLIB"; then
14817 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14818 else
14819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14820 for as_dir in $PATH
14821 do
14822 IFS=$as_save_IFS
14823 test -z "$as_dir" && as_dir=.
14824 for ac_exec_ext in '' $ac_executable_extensions; do
14825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14826 ac_cv_prog_ac_ct_RANLIB="ranlib"
14827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14828 break 2
14829 fi
14830 done
14831 done
14832
14833 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14834 fi
14835 fi
14836 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14837 if test -n "$ac_ct_RANLIB"; then
14838 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14839 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14840 else
14841 echo "$as_me:$LINENO: result: no" >&5
14842 echo "${ECHO_T}no" >&6
14843 fi
14844
14845 RANLIB=$ac_ct_RANLIB
14846 else
14847 RANLIB="$ac_cv_prog_RANLIB"
14848 fi
14849
14850
14851 if test -n "$ac_tool_prefix"; then
14852 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14853 set dummy ${ac_tool_prefix}ar; ac_word=$2
14854 echo "$as_me:$LINENO: checking for $ac_word" >&5
14855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14856 if test "${ac_cv_prog_AR+set}" = set; then
14857 echo $ECHO_N "(cached) $ECHO_C" >&6
14858 else
14859 if test -n "$AR"; then
14860 ac_cv_prog_AR="$AR" # Let the user override the test.
14861 else
14862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14863 for as_dir in $PATH
14864 do
14865 IFS=$as_save_IFS
14866 test -z "$as_dir" && as_dir=.
14867 for ac_exec_ext in '' $ac_executable_extensions; do
14868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14869 ac_cv_prog_AR="${ac_tool_prefix}ar"
14870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14871 break 2
14872 fi
14873 done
14874 done
14875
14876 fi
14877 fi
14878 AR=$ac_cv_prog_AR
14879 if test -n "$AR"; then
14880 echo "$as_me:$LINENO: result: $AR" >&5
14881 echo "${ECHO_T}$AR" >&6
14882 else
14883 echo "$as_me:$LINENO: result: no" >&5
14884 echo "${ECHO_T}no" >&6
14885 fi
14886
14887 fi
14888 if test -z "$ac_cv_prog_AR"; then
14889 ac_ct_AR=$AR
14890 # Extract the first word of "ar", so it can be a program name with args.
14891 set dummy ar; ac_word=$2
14892 echo "$as_me:$LINENO: checking for $ac_word" >&5
14893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14894 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14896 else
14897 if test -n "$ac_ct_AR"; then
14898 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14899 else
14900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14901 for as_dir in $PATH
14902 do
14903 IFS=$as_save_IFS
14904 test -z "$as_dir" && as_dir=.
14905 for ac_exec_ext in '' $ac_executable_extensions; do
14906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14907 ac_cv_prog_ac_ct_AR="ar"
14908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14909 break 2
14910 fi
14911 done
14912 done
14913
14914 fi
14915 fi
14916 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14917 if test -n "$ac_ct_AR"; then
14918 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14919 echo "${ECHO_T}$ac_ct_AR" >&6
14920 else
14921 echo "$as_me:$LINENO: result: no" >&5
14922 echo "${ECHO_T}no" >&6
14923 fi
14924
14925 AR=$ac_ct_AR
14926 else
14927 AR="$ac_cv_prog_AR"
14928 fi
14929
14930 if test "x$AR" = "x" ; then
14931 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14932 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14933 { (exit 1); exit 1; }; }
14934 fi
14935
14936 # Find a good install program. We prefer a C program (faster),
14937 # so one script is as good as another. But avoid the broken or
14938 # incompatible versions:
14939 # SysV /etc/install, /usr/sbin/install
14940 # SunOS /usr/etc/install
14941 # IRIX /sbin/install
14942 # AIX /bin/install
14943 # AmigaOS /C/install, which installs bootblocks on floppy discs
14944 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14945 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14946 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14947 # OS/2's system install, which has a completely different semantic
14948 # ./install, which can be erroneously created by make from ./install.sh.
14949 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14950 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14951 if test -z "$INSTALL"; then
14952 if test "${ac_cv_path_install+set}" = set; then
14953 echo $ECHO_N "(cached) $ECHO_C" >&6
14954 else
14955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14956 for as_dir in $PATH
14957 do
14958 IFS=$as_save_IFS
14959 test -z "$as_dir" && as_dir=.
14960 # Account for people who put trailing slashes in PATH elements.
14961 case $as_dir/ in
14962 ./ | .// | /cC/* | \
14963 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14964 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14965 /usr/ucb/* ) ;;
14966 *)
14967 # OSF1 and SCO ODT 3.0 have their own names for install.
14968 # Don't use installbsd from OSF since it installs stuff as root
14969 # by default.
14970 for ac_prog in ginstall scoinst install; do
14971 for ac_exec_ext in '' $ac_executable_extensions; do
14972 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14973 if test $ac_prog = install &&
14974 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14975 # AIX install. It has an incompatible calling convention.
14976 :
14977 elif test $ac_prog = install &&
14978 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14979 # program-specific install script used by HP pwplus--don't use.
14980 :
14981 else
14982 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14983 break 3
14984 fi
14985 fi
14986 done
14987 done
14988 ;;
14989 esac
14990 done
14991
14992
14993 fi
14994 if test "${ac_cv_path_install+set}" = set; then
14995 INSTALL=$ac_cv_path_install
14996 else
14997 # As a last resort, use the slow shell script. We don't cache a
14998 # path for INSTALL within a source directory, because that will
14999 # break other packages using the cache if that directory is
15000 # removed, or if the path is relative.
15001 INSTALL=$ac_install_sh
15002 fi
15003 fi
15004 echo "$as_me:$LINENO: result: $INSTALL" >&5
15005 echo "${ECHO_T}$INSTALL" >&6
15006
15007 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15008 # It thinks the first close brace ends the variable substitution.
15009 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15010
15011 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15012
15013 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15014
15015
15016 case ${INSTALL} in
15017 /* ) # Absolute
15018 ;;
15019 ?:* ) # Drive letter, considered as absolute.
15020 ;;
15021 *)
15022 INSTALL=`pwd`/${INSTALL} ;;
15023 esac
15024
15025
15026 case "${host}" in
15027
15028 *-*-darwin* )
15029 INSTALL_PROGRAM="cp -fp"
15030 INSTALL_DATA="cp -fp"
15031 ;;
15032 *)
15033 ;;
15034 esac
15035
15036 if test -n "$ac_tool_prefix"; then
15037 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15038 set dummy ${ac_tool_prefix}strip; ac_word=$2
15039 echo "$as_me:$LINENO: checking for $ac_word" >&5
15040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15041 if test "${ac_cv_prog_STRIP+set}" = set; then
15042 echo $ECHO_N "(cached) $ECHO_C" >&6
15043 else
15044 if test -n "$STRIP"; then
15045 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15046 else
15047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15048 for as_dir in $PATH
15049 do
15050 IFS=$as_save_IFS
15051 test -z "$as_dir" && as_dir=.
15052 for ac_exec_ext in '' $ac_executable_extensions; do
15053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15054 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15056 break 2
15057 fi
15058 done
15059 done
15060
15061 fi
15062 fi
15063 STRIP=$ac_cv_prog_STRIP
15064 if test -n "$STRIP"; then
15065 echo "$as_me:$LINENO: result: $STRIP" >&5
15066 echo "${ECHO_T}$STRIP" >&6
15067 else
15068 echo "$as_me:$LINENO: result: no" >&5
15069 echo "${ECHO_T}no" >&6
15070 fi
15071
15072 fi
15073 if test -z "$ac_cv_prog_STRIP"; then
15074 ac_ct_STRIP=$STRIP
15075 # Extract the first word of "strip", so it can be a program name with args.
15076 set dummy strip; ac_word=$2
15077 echo "$as_me:$LINENO: checking for $ac_word" >&5
15078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15079 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15081 else
15082 if test -n "$ac_ct_STRIP"; then
15083 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15084 else
15085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15086 for as_dir in $PATH
15087 do
15088 IFS=$as_save_IFS
15089 test -z "$as_dir" && as_dir=.
15090 for ac_exec_ext in '' $ac_executable_extensions; do
15091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15092 ac_cv_prog_ac_ct_STRIP="strip"
15093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15094 break 2
15095 fi
15096 done
15097 done
15098
15099 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15100 fi
15101 fi
15102 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15103 if test -n "$ac_ct_STRIP"; then
15104 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15105 echo "${ECHO_T}$ac_ct_STRIP" >&6
15106 else
15107 echo "$as_me:$LINENO: result: no" >&5
15108 echo "${ECHO_T}no" >&6
15109 fi
15110
15111 STRIP=$ac_ct_STRIP
15112 else
15113 STRIP="$ac_cv_prog_STRIP"
15114 fi
15115
15116
15117 if test "$wxUSE_WINE" = "yes"; then
15118 if test -n "$ac_tool_prefix"; then
15119 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15120 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15121 echo "$as_me:$LINENO: checking for $ac_word" >&5
15122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15123 if test "${ac_cv_prog_WINDRES+set}" = set; then
15124 echo $ECHO_N "(cached) $ECHO_C" >&6
15125 else
15126 if test -n "$WINDRES"; then
15127 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15128 else
15129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15130 for as_dir in $PATH
15131 do
15132 IFS=$as_save_IFS
15133 test -z "$as_dir" && as_dir=.
15134 for ac_exec_ext in '' $ac_executable_extensions; do
15135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15136 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15138 break 2
15139 fi
15140 done
15141 done
15142
15143 fi
15144 fi
15145 WINDRES=$ac_cv_prog_WINDRES
15146 if test -n "$WINDRES"; then
15147 echo "$as_me:$LINENO: result: $WINDRES" >&5
15148 echo "${ECHO_T}$WINDRES" >&6
15149 else
15150 echo "$as_me:$LINENO: result: no" >&5
15151 echo "${ECHO_T}no" >&6
15152 fi
15153
15154 fi
15155 if test -z "$ac_cv_prog_WINDRES"; then
15156 ac_ct_WINDRES=$WINDRES
15157 # Extract the first word of "wrc", so it can be a program name with args.
15158 set dummy wrc; ac_word=$2
15159 echo "$as_me:$LINENO: checking for $ac_word" >&5
15160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15161 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 else
15164 if test -n "$ac_ct_WINDRES"; then
15165 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15166 else
15167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15168 for as_dir in $PATH
15169 do
15170 IFS=$as_save_IFS
15171 test -z "$as_dir" && as_dir=.
15172 for ac_exec_ext in '' $ac_executable_extensions; do
15173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15174 ac_cv_prog_ac_ct_WINDRES="wrc"
15175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15176 break 2
15177 fi
15178 done
15179 done
15180
15181 fi
15182 fi
15183 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15184 if test -n "$ac_ct_WINDRES"; then
15185 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15186 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15187 else
15188 echo "$as_me:$LINENO: result: no" >&5
15189 echo "${ECHO_T}no" >&6
15190 fi
15191
15192 WINDRES=$ac_ct_WINDRES
15193 else
15194 WINDRES="$ac_cv_prog_WINDRES"
15195 fi
15196
15197 RESCOMP="$WINDRES"
15198 else
15199 case "${host}" in
15200 *-*-cygwin* | *-*-mingw32* )
15201 if test -n "$ac_tool_prefix"; then
15202 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15203 set dummy ${ac_tool_prefix}windres; ac_word=$2
15204 echo "$as_me:$LINENO: checking for $ac_word" >&5
15205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15206 if test "${ac_cv_prog_WINDRES+set}" = set; then
15207 echo $ECHO_N "(cached) $ECHO_C" >&6
15208 else
15209 if test -n "$WINDRES"; then
15210 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15211 else
15212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15213 for as_dir in $PATH
15214 do
15215 IFS=$as_save_IFS
15216 test -z "$as_dir" && as_dir=.
15217 for ac_exec_ext in '' $ac_executable_extensions; do
15218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15219 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15221 break 2
15222 fi
15223 done
15224 done
15225
15226 fi
15227 fi
15228 WINDRES=$ac_cv_prog_WINDRES
15229 if test -n "$WINDRES"; then
15230 echo "$as_me:$LINENO: result: $WINDRES" >&5
15231 echo "${ECHO_T}$WINDRES" >&6
15232 else
15233 echo "$as_me:$LINENO: result: no" >&5
15234 echo "${ECHO_T}no" >&6
15235 fi
15236
15237 fi
15238 if test -z "$ac_cv_prog_WINDRES"; then
15239 ac_ct_WINDRES=$WINDRES
15240 # Extract the first word of "windres", so it can be a program name with args.
15241 set dummy windres; ac_word=$2
15242 echo "$as_me:$LINENO: checking for $ac_word" >&5
15243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15244 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15245 echo $ECHO_N "(cached) $ECHO_C" >&6
15246 else
15247 if test -n "$ac_ct_WINDRES"; then
15248 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15249 else
15250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15251 for as_dir in $PATH
15252 do
15253 IFS=$as_save_IFS
15254 test -z "$as_dir" && as_dir=.
15255 for ac_exec_ext in '' $ac_executable_extensions; do
15256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15257 ac_cv_prog_ac_ct_WINDRES="windres"
15258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15259 break 2
15260 fi
15261 done
15262 done
15263
15264 fi
15265 fi
15266 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15267 if test -n "$ac_ct_WINDRES"; then
15268 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15269 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15270 else
15271 echo "$as_me:$LINENO: result: no" >&5
15272 echo "${ECHO_T}no" >&6
15273 fi
15274
15275 WINDRES=$ac_ct_WINDRES
15276 else
15277 WINDRES="$ac_cv_prog_WINDRES"
15278 fi
15279
15280 RESCOMP="$WINDRES"
15281 if test -n "$ac_tool_prefix"; then
15282 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15283 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15284 echo "$as_me:$LINENO: checking for $ac_word" >&5
15285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15286 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15287 echo $ECHO_N "(cached) $ECHO_C" >&6
15288 else
15289 if test -n "$DLLTOOL"; then
15290 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15291 else
15292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15293 for as_dir in $PATH
15294 do
15295 IFS=$as_save_IFS
15296 test -z "$as_dir" && as_dir=.
15297 for ac_exec_ext in '' $ac_executable_extensions; do
15298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15299 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15301 break 2
15302 fi
15303 done
15304 done
15305
15306 fi
15307 fi
15308 DLLTOOL=$ac_cv_prog_DLLTOOL
15309 if test -n "$DLLTOOL"; then
15310 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15311 echo "${ECHO_T}$DLLTOOL" >&6
15312 else
15313 echo "$as_me:$LINENO: result: no" >&5
15314 echo "${ECHO_T}no" >&6
15315 fi
15316
15317 fi
15318 if test -z "$ac_cv_prog_DLLTOOL"; then
15319 ac_ct_DLLTOOL=$DLLTOOL
15320 # Extract the first word of "dlltool", so it can be a program name with args.
15321 set dummy dlltool; ac_word=$2
15322 echo "$as_me:$LINENO: checking for $ac_word" >&5
15323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15324 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15325 echo $ECHO_N "(cached) $ECHO_C" >&6
15326 else
15327 if test -n "$ac_ct_DLLTOOL"; then
15328 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15329 else
15330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15331 for as_dir in $PATH
15332 do
15333 IFS=$as_save_IFS
15334 test -z "$as_dir" && as_dir=.
15335 for ac_exec_ext in '' $ac_executable_extensions; do
15336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15337 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15339 break 2
15340 fi
15341 done
15342 done
15343
15344 fi
15345 fi
15346 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15347 if test -n "$ac_ct_DLLTOOL"; then
15348 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15349 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15350 else
15351 echo "$as_me:$LINENO: result: no" >&5
15352 echo "${ECHO_T}no" >&6
15353 fi
15354
15355 DLLTOOL=$ac_ct_DLLTOOL
15356 else
15357 DLLTOOL="$ac_cv_prog_DLLTOOL"
15358 fi
15359
15360 ;;
15361 esac
15362 fi
15363
15364 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15365 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15366 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15368 else
15369
15370 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15371 egrep -s GNU > /dev/null); then
15372 wx_cv_prog_makeisgnu="yes"
15373 else
15374 wx_cv_prog_makeisgnu="no"
15375 fi
15376
15377 fi
15378 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15379 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15380
15381 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15382 IF_GNU_MAKE=""
15383 else
15384 IF_GNU_MAKE="#"
15385 fi
15386
15387
15388
15389 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15390 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15391 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15392 if test "${wx_cv_prog_makevpath+set}" = set; then
15393 echo $ECHO_N "(cached) $ECHO_C" >&6
15394 else
15395
15396 cat - << EOF > confMake
15397 check : file
15398 cp \$? \$@
15399 cp \$? final_file
15400 EOF
15401
15402 if test ! -d sub ; then
15403 mkdir sub
15404 fi
15405 echo dummy > sub/file
15406 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15407 RESULT=$?
15408 rm -f sub/file check final_file confMake
15409 rmdir sub
15410 if test "$RESULT" = 0; then
15411 wx_cv_prog_makevpath="yes"
15412 else
15413 wx_cv_prog_makevpath="no"
15414 fi
15415
15416 fi
15417 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15418 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15419
15420 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15421 { { echo "$as_me:$LINENO: error:
15422 You need a make-utility that is able to use the variable
15423 VPATH correctly.
15424 If your version of make does not support VPATH correctly,
15425 please install GNU-make (possibly as gmake), and start
15426 configure with the following command:
15427 export MAKE=gmake; ./configure for sh-type shells
15428 setenv MAKE gmake; ./configure for csh-type shells
15429 Also please do remember to use gmake in this case every time
15430 you are trying to compile.
15431 " >&5
15432 echo "$as_me: error:
15433 You need a make-utility that is able to use the variable
15434 VPATH correctly.
15435 If your version of make does not support VPATH correctly,
15436 please install GNU-make (possibly as gmake), and start
15437 configure with the following command:
15438 export MAKE=gmake; ./configure for sh-type shells
15439 setenv MAKE gmake; ./configure for csh-type shells
15440 Also please do remember to use gmake in this case every time
15441 you are trying to compile.
15442 " >&2;}
15443 { (exit 1); exit 1; }; }
15444 fi fi
15445 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15446 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15447 LN_S=$as_ln_s
15448 if test "$LN_S" = "ln -s"; then
15449 echo "$as_me:$LINENO: result: yes" >&5
15450 echo "${ECHO_T}yes" >&6
15451 else
15452 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15453 echo "${ECHO_T}no, using $LN_S" >&6
15454 fi
15455
15456
15457
15458
15459 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15460 CXXFLAGS="-qunique $CXXFLAGS"
15461 fi
15462
15463 case "${host}" in
15464 powerpc-*-darwin* )
15465 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15466 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15467 cat >conftest.$ac_ext <<_ACEOF
15468 /* confdefs.h. */
15469 _ACEOF
15470 cat confdefs.h >>conftest.$ac_ext
15471 cat >>conftest.$ac_ext <<_ACEOF
15472 /* end confdefs.h. */
15473
15474 int
15475 main ()
15476 {
15477 #ifndef __POWERPC__
15478 choke me for lack of PowerPC
15479 #endif
15480
15481 ;
15482 return 0;
15483 }
15484 _ACEOF
15485 rm -f conftest.$ac_objext
15486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15487 (eval $ac_compile) 2>conftest.er1
15488 ac_status=$?
15489 grep -v '^ *+' conftest.er1 >conftest.err
15490 rm -f conftest.er1
15491 cat conftest.err >&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try='test -z "$ac_cxx_werror_flag"
15495 || test ! -s conftest.err'
15496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15497 (eval $ac_try) 2>&5
15498 ac_status=$?
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); }; } &&
15501 { ac_try='test -s conftest.$ac_objext'
15502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15503 (eval $ac_try) 2>&5
15504 ac_status=$?
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }; }; then
15507 echo "$as_me:$LINENO: result: yes" >&5
15508 echo "${ECHO_T}yes" >&6
15509 else
15510 echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.$ac_ext >&5
15512
15513 echo "$as_me:$LINENO: result: no" >&5
15514 echo "${ECHO_T}no" >&6
15515 cat >>confdefs.h <<\_ACEOF
15516 #define __POWERPC__ 1
15517 _ACEOF
15518
15519
15520 fi
15521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15522 ;;
15523 esac
15524
15525 case "${host}" in
15526 *-*-darwin* )
15527 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15528 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15529 cat >conftest.$ac_ext <<_ACEOF
15530 /* confdefs.h. */
15531 _ACEOF
15532 cat confdefs.h >>conftest.$ac_ext
15533 cat >>conftest.$ac_ext <<_ACEOF
15534 /* end confdefs.h. */
15535 #include <CoreFoundation/CFBase.h>
15536
15537 int
15538 main ()
15539 {
15540
15541 ;
15542 return 0;
15543 }
15544 _ACEOF
15545 rm -f conftest.$ac_objext
15546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15547 (eval $ac_compile) 2>conftest.er1
15548 ac_status=$?
15549 grep -v '^ *+' conftest.er1 >conftest.err
15550 rm -f conftest.er1
15551 cat conftest.err >&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); } &&
15554 { ac_try='test -z "$ac_cxx_werror_flag"
15555 || test ! -s conftest.err'
15556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15557 (eval $ac_try) 2>&5
15558 ac_status=$?
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); }; } &&
15561 { ac_try='test -s conftest.$ac_objext'
15562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15563 (eval $ac_try) 2>&5
15564 ac_status=$?
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); }; }; then
15567 echo "$as_me:$LINENO: result: yes" >&5
15568 echo "${ECHO_T}yes" >&6
15569 else
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.$ac_ext >&5
15572
15573 echo "$as_me:$LINENO: result: no" >&5
15574 echo "${ECHO_T}no" >&6
15575 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15576 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15577 cat >conftest.$ac_ext <<_ACEOF
15578 /* confdefs.h. */
15579 _ACEOF
15580 cat confdefs.h >>conftest.$ac_ext
15581 cat >>conftest.$ac_ext <<_ACEOF
15582 /* end confdefs.h. */
15583 #define __CF_USE_FRAMEWORK_INCLUDES__
15584 #include <CoreFoundation/CFBase.h>
15585
15586 int
15587 main ()
15588 {
15589
15590 ;
15591 return 0;
15592 }
15593 _ACEOF
15594 rm -f conftest.$ac_objext
15595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15596 (eval $ac_compile) 2>conftest.er1
15597 ac_status=$?
15598 grep -v '^ *+' conftest.er1 >conftest.err
15599 rm -f conftest.er1
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } &&
15603 { ac_try='test -z "$ac_cxx_werror_flag"
15604 || test ! -s conftest.err'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15607 ac_status=$?
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; } &&
15610 { ac_try='test -s conftest.$ac_objext'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; }; then
15616 echo "$as_me:$LINENO: result: yes" >&5
15617 echo "${ECHO_T}yes" >&6
15618 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15619 else
15620 echo "$as_me: failed program was:" >&5
15621 sed 's/^/| /' conftest.$ac_ext >&5
15622
15623 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15624 See \`config.log' for more details." >&5
15625 echo "$as_me: error: no. CoreFoundation not available.
15626 See \`config.log' for more details." >&2;}
15627 { (exit 1); exit 1; }; }
15628
15629 fi
15630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15631
15632
15633 fi
15634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15635 ;;
15636 esac
15637
15638 case "${host}" in
15639 *-pc-os2_emx | *-pc-os2-emx )
15640 ac_ext=c
15641 ac_cpp='$CPP $CPPFLAGS'
15642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15645
15646 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15647 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15648 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15649 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 else
15652 ac_check_lib_save_LIBS=$LIBS
15653 LIBS="-lcExt $LIBS"
15654 cat >conftest.$ac_ext <<_ACEOF
15655 /* confdefs.h. */
15656 _ACEOF
15657 cat confdefs.h >>conftest.$ac_ext
15658 cat >>conftest.$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15660
15661 /* Override any gcc2 internal prototype to avoid an error. */
15662 #ifdef __cplusplus
15663 extern "C"
15664 #endif
15665 /* We use char because int might match the return type of a gcc2
15666 builtin and then its argument prototype would still apply. */
15667 char drand48 ();
15668 int
15669 main ()
15670 {
15671 drand48 ();
15672 ;
15673 return 0;
15674 }
15675 _ACEOF
15676 rm -f conftest.$ac_objext conftest$ac_exeext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15678 (eval $ac_link) 2>conftest.er1
15679 ac_status=$?
15680 grep -v '^ *+' conftest.er1 >conftest.err
15681 rm -f conftest.er1
15682 cat conftest.err >&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try='test -z "$ac_c_werror_flag"
15686 || test ! -s conftest.err'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15689 ac_status=$?
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; } &&
15692 { ac_try='test -s conftest$ac_exeext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15695 ac_status=$?
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15698 ac_cv_lib_cExt_drand48=yes
15699 else
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.$ac_ext >&5
15702
15703 ac_cv_lib_cExt_drand48=no
15704 fi
15705 rm -f conftest.err conftest.$ac_objext \
15706 conftest$ac_exeext conftest.$ac_ext
15707 LIBS=$ac_check_lib_save_LIBS
15708 fi
15709 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15710 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15711 if test $ac_cv_lib_cExt_drand48 = yes; then
15712 LIBS="$LIBS -lcExt"
15713 fi
15714
15715 else
15716 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15717 fi
15718 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15719 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15720 if test "${wx_cv_gccversion+set}" = set; then
15721 echo $ECHO_N "(cached) $ECHO_C" >&6
15722 else
15723
15724 if test "$cross_compiling" = yes; then
15725 wx_cv_gccversion="EMX2"
15726
15727 else
15728 cat >conftest.$ac_ext <<_ACEOF
15729 /* confdefs.h. */
15730 _ACEOF
15731 cat confdefs.h >>conftest.$ac_ext
15732 cat >>conftest.$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15734
15735 #include <stdio.h>
15736
15737 int main()
15738 {
15739 FILE *f=fopen("conftestval", "w");
15740 if (!f) exit(1);
15741 fprintf(f,
15742 #if (__GNUC__ < 3)
15743 "EMX2"
15744 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15745 "EMX3"
15746 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15747 "Innotek5"
15748 #else
15749 "Innotek6"
15750 #endif
15751 );
15752 exit(0);
15753 }
15754
15755 _ACEOF
15756 rm -f conftest$ac_exeext
15757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15758 (eval $ac_link) 2>&5
15759 ac_status=$?
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15763 (eval $ac_try) 2>&5
15764 ac_status=$?
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); }; }; then
15767 wx_cv_gccversion=`cat conftestval`
15768 else
15769 echo "$as_me: program exited with status $ac_status" >&5
15770 echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.$ac_ext >&5
15772
15773 ( exit $ac_status )
15774 wx_cv_gccversion="EMX2"
15775 fi
15776 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15777 fi
15778
15779 fi
15780 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15781 echo "${ECHO_T}$wx_cv_gccversion" >&6
15782 ac_ext=cc
15783 ac_cpp='$CXXCPP $CPPFLAGS'
15784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15787
15788 if test "$wx_cv_gccversion" = "EMX2"; then
15789 LIBS="$LIBS -lstdcpp"
15790 LDFLAGS="$LDFLAGS -Zsysv-signals"
15791 else
15792 if test "$wx_cv_gccversion" = "EMX3"; then
15793 LIBS="$LIBS -lstdcxx -lgcc"
15794 LDFLAGS="$LDFLAGS -Zsysv-signals"
15795 else
15796 LIBS="$LIBS -lstdc++"
15797 fi
15798 fi
15799 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15800 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15801 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15802 wxUSE_OMF=yes
15803 enable_omf=yes
15804 fi
15805 ;;
15806 *)
15807
15808 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15809 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15810 if test "${ac_cv_string_strcasecmp+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 else
15813
15814 cat >conftest.$ac_ext <<_ACEOF
15815 /* confdefs.h. */
15816 _ACEOF
15817 cat confdefs.h >>conftest.$ac_ext
15818 cat >>conftest.$ac_ext <<_ACEOF
15819 /* end confdefs.h. */
15820
15821 #include <string.h>
15822
15823 int
15824 main ()
15825 {
15826
15827 strcasecmp("foo", "bar");
15828
15829 ;
15830 return 0;
15831 }
15832 _ACEOF
15833 rm -f conftest.$ac_objext conftest$ac_exeext
15834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15835 (eval $ac_link) 2>conftest.er1
15836 ac_status=$?
15837 grep -v '^ *+' conftest.er1 >conftest.err
15838 rm -f conftest.er1
15839 cat conftest.err >&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } &&
15842 { ac_try='test -z "$ac_cxx_werror_flag"
15843 || test ! -s conftest.err'
15844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15845 (eval $ac_try) 2>&5
15846 ac_status=$?
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); }; } &&
15849 { ac_try='test -s conftest$ac_exeext'
15850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15851 (eval $ac_try) 2>&5
15852 ac_status=$?
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); }; }; then
15855 ac_cv_string_strcasecmp=yes
15856 else
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.$ac_ext >&5
15859
15860 ac_cv_string_strcasecmp=no
15861
15862 fi
15863 rm -f conftest.err conftest.$ac_objext \
15864 conftest$ac_exeext conftest.$ac_ext
15865
15866 fi
15867 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15868 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15869
15870 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15871 cat >>confdefs.h <<\_ACEOF
15872 #define HAVE_STRCASECMP_IN_STRING_H 1
15873 _ACEOF
15874
15875 else
15876 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15877 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15878 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15879 echo $ECHO_N "(cached) $ECHO_C" >&6
15880 else
15881
15882 cat >conftest.$ac_ext <<_ACEOF
15883 /* confdefs.h. */
15884 _ACEOF
15885 cat confdefs.h >>conftest.$ac_ext
15886 cat >>conftest.$ac_ext <<_ACEOF
15887 /* end confdefs.h. */
15888
15889 #include <strings.h>
15890
15891 int
15892 main ()
15893 {
15894
15895 strcasecmp("foo", "bar");
15896
15897 ;
15898 return 0;
15899 }
15900 _ACEOF
15901 rm -f conftest.$ac_objext conftest$ac_exeext
15902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15903 (eval $ac_link) 2>conftest.er1
15904 ac_status=$?
15905 grep -v '^ *+' conftest.er1 >conftest.err
15906 rm -f conftest.er1
15907 cat conftest.err >&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); } &&
15910 { ac_try='test -z "$ac_cxx_werror_flag"
15911 || test ! -s conftest.err'
15912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 (eval $ac_try) 2>&5
15914 ac_status=$?
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); }; } &&
15917 { ac_try='test -s conftest$ac_exeext'
15918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15919 (eval $ac_try) 2>&5
15920 ac_status=$?
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); }; }; then
15923 ac_cv_strings_strcasecmp=yes
15924 else
15925 echo "$as_me: failed program was:" >&5
15926 sed 's/^/| /' conftest.$ac_ext >&5
15927
15928 ac_cv_strings_strcasecmp=no
15929
15930 fi
15931 rm -f conftest.err conftest.$ac_objext \
15932 conftest$ac_exeext conftest.$ac_ext
15933
15934 fi
15935 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15936 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15937
15938 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15939 cat >>confdefs.h <<\_ACEOF
15940 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15941 _ACEOF
15942
15943 else
15944 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15945 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15946 { (exit 1); exit 1; }; }
15947 fi
15948 fi
15949
15950 ;;
15951 esac
15952
15953
15954 ac_ext=cc
15955 ac_cpp='$CXXCPP $CPPFLAGS'
15956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15959 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15960 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15961 if test -z "$CXXCPP"; then
15962 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15963 echo $ECHO_N "(cached) $ECHO_C" >&6
15964 else
15965 # Double quotes because CXXCPP needs to be expanded
15966 for CXXCPP in "$CXX -E" "/lib/cpp"
15967 do
15968 ac_preproc_ok=false
15969 for ac_cxx_preproc_warn_flag in '' yes
15970 do
15971 # Use a header file that comes with gcc, so configuring glibc
15972 # with a fresh cross-compiler works.
15973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15974 # <limits.h> exists even on freestanding compilers.
15975 # On the NeXT, cc -E runs the code through the compiler's parser,
15976 # not just through cpp. "Syntax error" is here to catch this case.
15977 cat >conftest.$ac_ext <<_ACEOF
15978 /* confdefs.h. */
15979 _ACEOF
15980 cat confdefs.h >>conftest.$ac_ext
15981 cat >>conftest.$ac_ext <<_ACEOF
15982 /* end confdefs.h. */
15983 #ifdef __STDC__
15984 # include <limits.h>
15985 #else
15986 # include <assert.h>
15987 #endif
15988 Syntax error
15989 _ACEOF
15990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15992 ac_status=$?
15993 grep -v '^ *+' conftest.er1 >conftest.err
15994 rm -f conftest.er1
15995 cat conftest.err >&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); } >/dev/null; then
15998 if test -s conftest.err; then
15999 ac_cpp_err=$ac_cxx_preproc_warn_flag
16000 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16001 else
16002 ac_cpp_err=
16003 fi
16004 else
16005 ac_cpp_err=yes
16006 fi
16007 if test -z "$ac_cpp_err"; then
16008 :
16009 else
16010 echo "$as_me: failed program was:" >&5
16011 sed 's/^/| /' conftest.$ac_ext >&5
16012
16013 # Broken: fails on valid input.
16014 continue
16015 fi
16016 rm -f conftest.err conftest.$ac_ext
16017
16018 # OK, works on sane cases. Now check whether non-existent headers
16019 # can be detected and how.
16020 cat >conftest.$ac_ext <<_ACEOF
16021 /* confdefs.h. */
16022 _ACEOF
16023 cat confdefs.h >>conftest.$ac_ext
16024 cat >>conftest.$ac_ext <<_ACEOF
16025 /* end confdefs.h. */
16026 #include <ac_nonexistent.h>
16027 _ACEOF
16028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16029 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16030 ac_status=$?
16031 grep -v '^ *+' conftest.er1 >conftest.err
16032 rm -f conftest.er1
16033 cat conftest.err >&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); } >/dev/null; then
16036 if test -s conftest.err; then
16037 ac_cpp_err=$ac_cxx_preproc_warn_flag
16038 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16039 else
16040 ac_cpp_err=
16041 fi
16042 else
16043 ac_cpp_err=yes
16044 fi
16045 if test -z "$ac_cpp_err"; then
16046 # Broken: success on invalid input.
16047 continue
16048 else
16049 echo "$as_me: failed program was:" >&5
16050 sed 's/^/| /' conftest.$ac_ext >&5
16051
16052 # Passes both tests.
16053 ac_preproc_ok=:
16054 break
16055 fi
16056 rm -f conftest.err conftest.$ac_ext
16057
16058 done
16059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16060 rm -f conftest.err conftest.$ac_ext
16061 if $ac_preproc_ok; then
16062 break
16063 fi
16064
16065 done
16066 ac_cv_prog_CXXCPP=$CXXCPP
16067
16068 fi
16069 CXXCPP=$ac_cv_prog_CXXCPP
16070 else
16071 ac_cv_prog_CXXCPP=$CXXCPP
16072 fi
16073 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16074 echo "${ECHO_T}$CXXCPP" >&6
16075 ac_preproc_ok=false
16076 for ac_cxx_preproc_warn_flag in '' yes
16077 do
16078 # Use a header file that comes with gcc, so configuring glibc
16079 # with a fresh cross-compiler works.
16080 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16081 # <limits.h> exists even on freestanding compilers.
16082 # On the NeXT, cc -E runs the code through the compiler's parser,
16083 # not just through cpp. "Syntax error" is here to catch this case.
16084 cat >conftest.$ac_ext <<_ACEOF
16085 /* confdefs.h. */
16086 _ACEOF
16087 cat confdefs.h >>conftest.$ac_ext
16088 cat >>conftest.$ac_ext <<_ACEOF
16089 /* end confdefs.h. */
16090 #ifdef __STDC__
16091 # include <limits.h>
16092 #else
16093 # include <assert.h>
16094 #endif
16095 Syntax error
16096 _ACEOF
16097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16098 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16099 ac_status=$?
16100 grep -v '^ *+' conftest.er1 >conftest.err
16101 rm -f conftest.er1
16102 cat conftest.err >&5
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); } >/dev/null; then
16105 if test -s conftest.err; then
16106 ac_cpp_err=$ac_cxx_preproc_warn_flag
16107 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16108 else
16109 ac_cpp_err=
16110 fi
16111 else
16112 ac_cpp_err=yes
16113 fi
16114 if test -z "$ac_cpp_err"; then
16115 :
16116 else
16117 echo "$as_me: failed program was:" >&5
16118 sed 's/^/| /' conftest.$ac_ext >&5
16119
16120 # Broken: fails on valid input.
16121 continue
16122 fi
16123 rm -f conftest.err conftest.$ac_ext
16124
16125 # OK, works on sane cases. Now check whether non-existent headers
16126 # can be detected and how.
16127 cat >conftest.$ac_ext <<_ACEOF
16128 /* confdefs.h. */
16129 _ACEOF
16130 cat confdefs.h >>conftest.$ac_ext
16131 cat >>conftest.$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16133 #include <ac_nonexistent.h>
16134 _ACEOF
16135 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16136 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16137 ac_status=$?
16138 grep -v '^ *+' conftest.er1 >conftest.err
16139 rm -f conftest.er1
16140 cat conftest.err >&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } >/dev/null; then
16143 if test -s conftest.err; then
16144 ac_cpp_err=$ac_cxx_preproc_warn_flag
16145 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16146 else
16147 ac_cpp_err=
16148 fi
16149 else
16150 ac_cpp_err=yes
16151 fi
16152 if test -z "$ac_cpp_err"; then
16153 # Broken: success on invalid input.
16154 continue
16155 else
16156 echo "$as_me: failed program was:" >&5
16157 sed 's/^/| /' conftest.$ac_ext >&5
16158
16159 # Passes both tests.
16160 ac_preproc_ok=:
16161 break
16162 fi
16163 rm -f conftest.err conftest.$ac_ext
16164
16165 done
16166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16167 rm -f conftest.err conftest.$ac_ext
16168 if $ac_preproc_ok; then
16169 :
16170 else
16171 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16172 See \`config.log' for more details." >&5
16173 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16174 See \`config.log' for more details." >&2;}
16175 { (exit 1); exit 1; }; }
16176 fi
16177
16178 ac_ext=cc
16179 ac_cpp='$CXXCPP $CPPFLAGS'
16180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16183
16184
16185 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16186 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16187 if test "${ac_cv_header_stdc+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16189 else
16190 cat >conftest.$ac_ext <<_ACEOF
16191 /* confdefs.h. */
16192 _ACEOF
16193 cat confdefs.h >>conftest.$ac_ext
16194 cat >>conftest.$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16196 #include <stdlib.h>
16197 #include <stdarg.h>
16198 #include <string.h>
16199 #include <float.h>
16200
16201 int
16202 main ()
16203 {
16204
16205 ;
16206 return 0;
16207 }
16208 _ACEOF
16209 rm -f conftest.$ac_objext
16210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16211 (eval $ac_compile) 2>conftest.er1
16212 ac_status=$?
16213 grep -v '^ *+' conftest.er1 >conftest.err
16214 rm -f conftest.er1
16215 cat conftest.err >&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); } &&
16218 { ac_try='test -z "$ac_cxx_werror_flag"
16219 || test ! -s conftest.err'
16220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16221 (eval $ac_try) 2>&5
16222 ac_status=$?
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); }; } &&
16225 { ac_try='test -s conftest.$ac_objext'
16226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16227 (eval $ac_try) 2>&5
16228 ac_status=$?
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }; }; then
16231 ac_cv_header_stdc=yes
16232 else
16233 echo "$as_me: failed program was:" >&5
16234 sed 's/^/| /' conftest.$ac_ext >&5
16235
16236 ac_cv_header_stdc=no
16237 fi
16238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16239
16240 if test $ac_cv_header_stdc = yes; then
16241 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16242 cat >conftest.$ac_ext <<_ACEOF
16243 /* confdefs.h. */
16244 _ACEOF
16245 cat confdefs.h >>conftest.$ac_ext
16246 cat >>conftest.$ac_ext <<_ACEOF
16247 /* end confdefs.h. */
16248 #include <string.h>
16249
16250 _ACEOF
16251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16252 $EGREP "memchr" >/dev/null 2>&1; then
16253 :
16254 else
16255 ac_cv_header_stdc=no
16256 fi
16257 rm -f conftest*
16258
16259 fi
16260
16261 if test $ac_cv_header_stdc = yes; then
16262 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16263 cat >conftest.$ac_ext <<_ACEOF
16264 /* confdefs.h. */
16265 _ACEOF
16266 cat confdefs.h >>conftest.$ac_ext
16267 cat >>conftest.$ac_ext <<_ACEOF
16268 /* end confdefs.h. */
16269 #include <stdlib.h>
16270
16271 _ACEOF
16272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16273 $EGREP "free" >/dev/null 2>&1; then
16274 :
16275 else
16276 ac_cv_header_stdc=no
16277 fi
16278 rm -f conftest*
16279
16280 fi
16281
16282 if test $ac_cv_header_stdc = yes; then
16283 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16284 if test "$cross_compiling" = yes; then
16285 :
16286 else
16287 cat >conftest.$ac_ext <<_ACEOF
16288 /* confdefs.h. */
16289 _ACEOF
16290 cat confdefs.h >>conftest.$ac_ext
16291 cat >>conftest.$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16293 #include <ctype.h>
16294 #if ((' ' & 0x0FF) == 0x020)
16295 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16296 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16297 #else
16298 # define ISLOWER(c) \
16299 (('a' <= (c) && (c) <= 'i') \
16300 || ('j' <= (c) && (c) <= 'r') \
16301 || ('s' <= (c) && (c) <= 'z'))
16302 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16303 #endif
16304
16305 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16306 int
16307 main ()
16308 {
16309 int i;
16310 for (i = 0; i < 256; i++)
16311 if (XOR (islower (i), ISLOWER (i))
16312 || toupper (i) != TOUPPER (i))
16313 exit(2);
16314 exit (0);
16315 }
16316 _ACEOF
16317 rm -f conftest$ac_exeext
16318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16319 (eval $ac_link) 2>&5
16320 ac_status=$?
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16325 ac_status=$?
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; }; then
16328 :
16329 else
16330 echo "$as_me: program exited with status $ac_status" >&5
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.$ac_ext >&5
16333
16334 ( exit $ac_status )
16335 ac_cv_header_stdc=no
16336 fi
16337 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16338 fi
16339 fi
16340 fi
16341 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16342 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16343 if test $ac_cv_header_stdc = yes; then
16344
16345 cat >>confdefs.h <<\_ACEOF
16346 #define STDC_HEADERS 1
16347 _ACEOF
16348
16349 fi
16350
16351 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16362 inttypes.h stdint.h unistd.h
16363 do
16364 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16365 echo "$as_me:$LINENO: checking for $ac_header" >&5
16366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16368 echo $ECHO_N "(cached) $ECHO_C" >&6
16369 else
16370 cat >conftest.$ac_ext <<_ACEOF
16371 /* confdefs.h. */
16372 _ACEOF
16373 cat confdefs.h >>conftest.$ac_ext
16374 cat >>conftest.$ac_ext <<_ACEOF
16375 /* end confdefs.h. */
16376 $ac_includes_default
16377
16378 #include <$ac_header>
16379 _ACEOF
16380 rm -f conftest.$ac_objext
16381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16382 (eval $ac_compile) 2>conftest.er1
16383 ac_status=$?
16384 grep -v '^ *+' conftest.er1 >conftest.err
16385 rm -f conftest.er1
16386 cat conftest.err >&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try='test -z "$ac_cxx_werror_flag"
16390 || test ! -s conftest.err'
16391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16392 (eval $ac_try) 2>&5
16393 ac_status=$?
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); }; } &&
16396 { ac_try='test -s conftest.$ac_objext'
16397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16398 (eval $ac_try) 2>&5
16399 ac_status=$?
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); }; }; then
16402 eval "$as_ac_Header=yes"
16403 else
16404 echo "$as_me: failed program was:" >&5
16405 sed 's/^/| /' conftest.$ac_ext >&5
16406
16407 eval "$as_ac_Header=no"
16408 fi
16409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16410 fi
16411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16414 cat >>confdefs.h <<_ACEOF
16415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16416 _ACEOF
16417
16418 fi
16419
16420 done
16421
16422
16423
16424 for ac_header in stdlib.h
16425 do
16426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16428 echo "$as_me:$LINENO: checking for $ac_header" >&5
16429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16431 echo $ECHO_N "(cached) $ECHO_C" >&6
16432 fi
16433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16435 else
16436 # Is the header compilable?
16437 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16438 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16439 cat >conftest.$ac_ext <<_ACEOF
16440 /* confdefs.h. */
16441 _ACEOF
16442 cat confdefs.h >>conftest.$ac_ext
16443 cat >>conftest.$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16445 $ac_includes_default
16446 #include <$ac_header>
16447 _ACEOF
16448 rm -f conftest.$ac_objext
16449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16450 (eval $ac_compile) 2>conftest.er1
16451 ac_status=$?
16452 grep -v '^ *+' conftest.er1 >conftest.err
16453 rm -f conftest.er1
16454 cat conftest.err >&5
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); } &&
16457 { ac_try='test -z "$ac_cxx_werror_flag"
16458 || test ! -s conftest.err'
16459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16460 (eval $ac_try) 2>&5
16461 ac_status=$?
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; } &&
16464 { ac_try='test -s conftest.$ac_objext'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16467 ac_status=$?
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; }; then
16470 ac_header_compiler=yes
16471 else
16472 echo "$as_me: failed program was:" >&5
16473 sed 's/^/| /' conftest.$ac_ext >&5
16474
16475 ac_header_compiler=no
16476 fi
16477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16479 echo "${ECHO_T}$ac_header_compiler" >&6
16480
16481 # Is the header present?
16482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16484 cat >conftest.$ac_ext <<_ACEOF
16485 /* confdefs.h. */
16486 _ACEOF
16487 cat confdefs.h >>conftest.$ac_ext
16488 cat >>conftest.$ac_ext <<_ACEOF
16489 /* end confdefs.h. */
16490 #include <$ac_header>
16491 _ACEOF
16492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16493 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16494 ac_status=$?
16495 grep -v '^ *+' conftest.er1 >conftest.err
16496 rm -f conftest.er1
16497 cat conftest.err >&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } >/dev/null; then
16500 if test -s conftest.err; then
16501 ac_cpp_err=$ac_cxx_preproc_warn_flag
16502 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16503 else
16504 ac_cpp_err=
16505 fi
16506 else
16507 ac_cpp_err=yes
16508 fi
16509 if test -z "$ac_cpp_err"; then
16510 ac_header_preproc=yes
16511 else
16512 echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.$ac_ext >&5
16514
16515 ac_header_preproc=no
16516 fi
16517 rm -f conftest.err conftest.$ac_ext
16518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16519 echo "${ECHO_T}$ac_header_preproc" >&6
16520
16521 # So? What about this header?
16522 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16523 yes:no: )
16524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16528 ac_header_preproc=yes
16529 ;;
16530 no:yes:* )
16531 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16533 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16534 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16535 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16537 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16538 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16541 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16543 (
16544 cat <<\_ASBOX
16545 ## ----------------------------------------- ##
16546 ## Report this to wx-dev@lists.wxwidgets.org ##
16547 ## ----------------------------------------- ##
16548 _ASBOX
16549 ) |
16550 sed "s/^/$as_me: WARNING: /" >&2
16551 ;;
16552 esac
16553 echo "$as_me:$LINENO: checking for $ac_header" >&5
16554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 else
16558 eval "$as_ac_Header=\$ac_header_preproc"
16559 fi
16560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16562
16563 fi
16564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16565 cat >>confdefs.h <<_ACEOF
16566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16567 _ACEOF
16568
16569 fi
16570
16571 done
16572
16573
16574 for ac_header in malloc.h
16575 do
16576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16578 echo "$as_me:$LINENO: checking for $ac_header" >&5
16579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16582 fi
16583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16585 else
16586 # Is the header compilable?
16587 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16588 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16589 cat >conftest.$ac_ext <<_ACEOF
16590 /* confdefs.h. */
16591 _ACEOF
16592 cat confdefs.h >>conftest.$ac_ext
16593 cat >>conftest.$ac_ext <<_ACEOF
16594 /* end confdefs.h. */
16595 $ac_includes_default
16596 #include <$ac_header>
16597 _ACEOF
16598 rm -f conftest.$ac_objext
16599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16600 (eval $ac_compile) 2>conftest.er1
16601 ac_status=$?
16602 grep -v '^ *+' conftest.er1 >conftest.err
16603 rm -f conftest.er1
16604 cat conftest.err >&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); } &&
16607 { ac_try='test -z "$ac_cxx_werror_flag"
16608 || test ! -s conftest.err'
16609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16610 (eval $ac_try) 2>&5
16611 ac_status=$?
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); }; } &&
16614 { ac_try='test -s conftest.$ac_objext'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16617 ac_status=$?
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; }; then
16620 ac_header_compiler=yes
16621 else
16622 echo "$as_me: failed program was:" >&5
16623 sed 's/^/| /' conftest.$ac_ext >&5
16624
16625 ac_header_compiler=no
16626 fi
16627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16629 echo "${ECHO_T}$ac_header_compiler" >&6
16630
16631 # Is the header present?
16632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16634 cat >conftest.$ac_ext <<_ACEOF
16635 /* confdefs.h. */
16636 _ACEOF
16637 cat confdefs.h >>conftest.$ac_ext
16638 cat >>conftest.$ac_ext <<_ACEOF
16639 /* end confdefs.h. */
16640 #include <$ac_header>
16641 _ACEOF
16642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16644 ac_status=$?
16645 grep -v '^ *+' conftest.er1 >conftest.err
16646 rm -f conftest.er1
16647 cat conftest.err >&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } >/dev/null; then
16650 if test -s conftest.err; then
16651 ac_cpp_err=$ac_cxx_preproc_warn_flag
16652 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16653 else
16654 ac_cpp_err=
16655 fi
16656 else
16657 ac_cpp_err=yes
16658 fi
16659 if test -z "$ac_cpp_err"; then
16660 ac_header_preproc=yes
16661 else
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.$ac_ext >&5
16664
16665 ac_header_preproc=no
16666 fi
16667 rm -f conftest.err conftest.$ac_ext
16668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16669 echo "${ECHO_T}$ac_header_preproc" >&6
16670
16671 # So? What about this header?
16672 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16673 yes:no: )
16674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16678 ac_header_preproc=yes
16679 ;;
16680 no:yes:* )
16681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16693 (
16694 cat <<\_ASBOX
16695 ## ----------------------------------------- ##
16696 ## Report this to wx-dev@lists.wxwidgets.org ##
16697 ## ----------------------------------------- ##
16698 _ASBOX
16699 ) |
16700 sed "s/^/$as_me: WARNING: /" >&2
16701 ;;
16702 esac
16703 echo "$as_me:$LINENO: checking for $ac_header" >&5
16704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16706 echo $ECHO_N "(cached) $ECHO_C" >&6
16707 else
16708 eval "$as_ac_Header=\$ac_header_preproc"
16709 fi
16710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16712
16713 fi
16714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16715 cat >>confdefs.h <<_ACEOF
16716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16717 _ACEOF
16718
16719 fi
16720
16721 done
16722
16723
16724 for ac_header in unistd.h
16725 do
16726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16728 echo "$as_me:$LINENO: checking for $ac_header" >&5
16729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16732 fi
16733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16735 else
16736 # Is the header compilable?
16737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16739 cat >conftest.$ac_ext <<_ACEOF
16740 /* confdefs.h. */
16741 _ACEOF
16742 cat confdefs.h >>conftest.$ac_ext
16743 cat >>conftest.$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16745 $ac_includes_default
16746 #include <$ac_header>
16747 _ACEOF
16748 rm -f conftest.$ac_objext
16749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16750 (eval $ac_compile) 2>conftest.er1
16751 ac_status=$?
16752 grep -v '^ *+' conftest.er1 >conftest.err
16753 rm -f conftest.er1
16754 cat conftest.err >&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); } &&
16757 { ac_try='test -z "$ac_cxx_werror_flag"
16758 || test ! -s conftest.err'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16761 ac_status=$?
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; } &&
16764 { ac_try='test -s conftest.$ac_objext'
16765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766 (eval $ac_try) 2>&5
16767 ac_status=$?
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); }; }; then
16770 ac_header_compiler=yes
16771 else
16772 echo "$as_me: failed program was:" >&5
16773 sed 's/^/| /' conftest.$ac_ext >&5
16774
16775 ac_header_compiler=no
16776 fi
16777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16779 echo "${ECHO_T}$ac_header_compiler" >&6
16780
16781 # Is the header present?
16782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16784 cat >conftest.$ac_ext <<_ACEOF
16785 /* confdefs.h. */
16786 _ACEOF
16787 cat confdefs.h >>conftest.$ac_ext
16788 cat >>conftest.$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16790 #include <$ac_header>
16791 _ACEOF
16792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16794 ac_status=$?
16795 grep -v '^ *+' conftest.er1 >conftest.err
16796 rm -f conftest.er1
16797 cat conftest.err >&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); } >/dev/null; then
16800 if test -s conftest.err; then
16801 ac_cpp_err=$ac_cxx_preproc_warn_flag
16802 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16803 else
16804 ac_cpp_err=
16805 fi
16806 else
16807 ac_cpp_err=yes
16808 fi
16809 if test -z "$ac_cpp_err"; then
16810 ac_header_preproc=yes
16811 else
16812 echo "$as_me: failed program was:" >&5
16813 sed 's/^/| /' conftest.$ac_ext >&5
16814
16815 ac_header_preproc=no
16816 fi
16817 rm -f conftest.err conftest.$ac_ext
16818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16819 echo "${ECHO_T}$ac_header_preproc" >&6
16820
16821 # So? What about this header?
16822 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16823 yes:no: )
16824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16828 ac_header_preproc=yes
16829 ;;
16830 no:yes:* )
16831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16843 (
16844 cat <<\_ASBOX
16845 ## ----------------------------------------- ##
16846 ## Report this to wx-dev@lists.wxwidgets.org ##
16847 ## ----------------------------------------- ##
16848 _ASBOX
16849 ) |
16850 sed "s/^/$as_me: WARNING: /" >&2
16851 ;;
16852 esac
16853 echo "$as_me:$LINENO: checking for $ac_header" >&5
16854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16856 echo $ECHO_N "(cached) $ECHO_C" >&6
16857 else
16858 eval "$as_ac_Header=\$ac_header_preproc"
16859 fi
16860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16862
16863 fi
16864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16865 cat >>confdefs.h <<_ACEOF
16866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16867 _ACEOF
16868
16869 fi
16870
16871 done
16872
16873
16874 for ac_header in wchar.h
16875 do
16876 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16878 echo "$as_me:$LINENO: checking for $ac_header" >&5
16879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16881 echo $ECHO_N "(cached) $ECHO_C" >&6
16882 fi
16883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16885 else
16886 # Is the header compilable?
16887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16889 cat >conftest.$ac_ext <<_ACEOF
16890 /* confdefs.h. */
16891 _ACEOF
16892 cat confdefs.h >>conftest.$ac_ext
16893 cat >>conftest.$ac_ext <<_ACEOF
16894 /* end confdefs.h. */
16895 $ac_includes_default
16896 #include <$ac_header>
16897 _ACEOF
16898 rm -f conftest.$ac_objext
16899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16900 (eval $ac_compile) 2>conftest.er1
16901 ac_status=$?
16902 grep -v '^ *+' conftest.er1 >conftest.err
16903 rm -f conftest.er1
16904 cat conftest.err >&5
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); } &&
16907 { ac_try='test -z "$ac_cxx_werror_flag"
16908 || test ! -s conftest.err'
16909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16910 (eval $ac_try) 2>&5
16911 ac_status=$?
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; } &&
16914 { ac_try='test -s conftest.$ac_objext'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16917 ac_status=$?
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; }; then
16920 ac_header_compiler=yes
16921 else
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.$ac_ext >&5
16924
16925 ac_header_compiler=no
16926 fi
16927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16929 echo "${ECHO_T}$ac_header_compiler" >&6
16930
16931 # Is the header present?
16932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16934 cat >conftest.$ac_ext <<_ACEOF
16935 /* confdefs.h. */
16936 _ACEOF
16937 cat confdefs.h >>conftest.$ac_ext
16938 cat >>conftest.$ac_ext <<_ACEOF
16939 /* end confdefs.h. */
16940 #include <$ac_header>
16941 _ACEOF
16942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16944 ac_status=$?
16945 grep -v '^ *+' conftest.er1 >conftest.err
16946 rm -f conftest.er1
16947 cat conftest.err >&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } >/dev/null; then
16950 if test -s conftest.err; then
16951 ac_cpp_err=$ac_cxx_preproc_warn_flag
16952 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16953 else
16954 ac_cpp_err=
16955 fi
16956 else
16957 ac_cpp_err=yes
16958 fi
16959 if test -z "$ac_cpp_err"; then
16960 ac_header_preproc=yes
16961 else
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.$ac_ext >&5
16964
16965 ac_header_preproc=no
16966 fi
16967 rm -f conftest.err conftest.$ac_ext
16968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16969 echo "${ECHO_T}$ac_header_preproc" >&6
16970
16971 # So? What about this header?
16972 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16973 yes:no: )
16974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16977 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16978 ac_header_preproc=yes
16979 ;;
16980 no:yes:* )
16981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16985 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16986 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16987 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16988 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16991 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16992 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16993 (
16994 cat <<\_ASBOX
16995 ## ----------------------------------------- ##
16996 ## Report this to wx-dev@lists.wxwidgets.org ##
16997 ## ----------------------------------------- ##
16998 _ASBOX
16999 ) |
17000 sed "s/^/$as_me: WARNING: /" >&2
17001 ;;
17002 esac
17003 echo "$as_me:$LINENO: checking for $ac_header" >&5
17004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17006 echo $ECHO_N "(cached) $ECHO_C" >&6
17007 else
17008 eval "$as_ac_Header=\$ac_header_preproc"
17009 fi
17010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17012
17013 fi
17014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17015 cat >>confdefs.h <<_ACEOF
17016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17017 _ACEOF
17018
17019 fi
17020
17021 done
17022
17023
17024 if test "$ac_cv_header_wchar_h" != "yes"; then
17025
17026 for ac_header in wcstr.h
17027 do
17028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17030 echo "$as_me:$LINENO: checking for $ac_header" >&5
17031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17033 echo $ECHO_N "(cached) $ECHO_C" >&6
17034 fi
17035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17037 else
17038 # Is the header compilable?
17039 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17041 cat >conftest.$ac_ext <<_ACEOF
17042 /* confdefs.h. */
17043 _ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047 $ac_includes_default
17048 #include <$ac_header>
17049 _ACEOF
17050 rm -f conftest.$ac_objext
17051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17052 (eval $ac_compile) 2>conftest.er1
17053 ac_status=$?
17054 grep -v '^ *+' conftest.er1 >conftest.err
17055 rm -f conftest.er1
17056 cat conftest.err >&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); } &&
17059 { ac_try='test -z "$ac_cxx_werror_flag"
17060 || test ! -s conftest.err'
17061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17062 (eval $ac_try) 2>&5
17063 ac_status=$?
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); }; } &&
17066 { ac_try='test -s conftest.$ac_objext'
17067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17068 (eval $ac_try) 2>&5
17069 ac_status=$?
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); }; }; then
17072 ac_header_compiler=yes
17073 else
17074 echo "$as_me: failed program was:" >&5
17075 sed 's/^/| /' conftest.$ac_ext >&5
17076
17077 ac_header_compiler=no
17078 fi
17079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17081 echo "${ECHO_T}$ac_header_compiler" >&6
17082
17083 # Is the header present?
17084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17086 cat >conftest.$ac_ext <<_ACEOF
17087 /* confdefs.h. */
17088 _ACEOF
17089 cat confdefs.h >>conftest.$ac_ext
17090 cat >>conftest.$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 #include <$ac_header>
17093 _ACEOF
17094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17096 ac_status=$?
17097 grep -v '^ *+' conftest.er1 >conftest.err
17098 rm -f conftest.er1
17099 cat conftest.err >&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } >/dev/null; then
17102 if test -s conftest.err; then
17103 ac_cpp_err=$ac_cxx_preproc_warn_flag
17104 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17105 else
17106 ac_cpp_err=
17107 fi
17108 else
17109 ac_cpp_err=yes
17110 fi
17111 if test -z "$ac_cpp_err"; then
17112 ac_header_preproc=yes
17113 else
17114 echo "$as_me: failed program was:" >&5
17115 sed 's/^/| /' conftest.$ac_ext >&5
17116
17117 ac_header_preproc=no
17118 fi
17119 rm -f conftest.err conftest.$ac_ext
17120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17121 echo "${ECHO_T}$ac_header_preproc" >&6
17122
17123 # So? What about this header?
17124 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17125 yes:no: )
17126 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17129 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17130 ac_header_preproc=yes
17131 ;;
17132 no:yes:* )
17133 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17135 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17137 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17138 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17139 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17140 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17143 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17144 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17145 (
17146 cat <<\_ASBOX
17147 ## ----------------------------------------- ##
17148 ## Report this to wx-dev@lists.wxwidgets.org ##
17149 ## ----------------------------------------- ##
17150 _ASBOX
17151 ) |
17152 sed "s/^/$as_me: WARNING: /" >&2
17153 ;;
17154 esac
17155 echo "$as_me:$LINENO: checking for $ac_header" >&5
17156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17158 echo $ECHO_N "(cached) $ECHO_C" >&6
17159 else
17160 eval "$as_ac_Header=\$ac_header_preproc"
17161 fi
17162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17164
17165 fi
17166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17167 cat >>confdefs.h <<_ACEOF
17168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17169 _ACEOF
17170
17171 fi
17172
17173 done
17174
17175 fi
17176
17177
17178 for ac_header in fnmatch.h
17179 do
17180 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17182 echo "$as_me:$LINENO: checking for $ac_header" >&5
17183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17185 echo $ECHO_N "(cached) $ECHO_C" >&6
17186 fi
17187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17189 else
17190 # Is the header compilable?
17191 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17193 cat >conftest.$ac_ext <<_ACEOF
17194 /* confdefs.h. */
17195 _ACEOF
17196 cat confdefs.h >>conftest.$ac_ext
17197 cat >>conftest.$ac_ext <<_ACEOF
17198 /* end confdefs.h. */
17199 $ac_includes_default
17200 #include <$ac_header>
17201 _ACEOF
17202 rm -f conftest.$ac_objext
17203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17204 (eval $ac_compile) 2>conftest.er1
17205 ac_status=$?
17206 grep -v '^ *+' conftest.er1 >conftest.err
17207 rm -f conftest.er1
17208 cat conftest.err >&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } &&
17211 { ac_try='test -z "$ac_cxx_werror_flag"
17212 || test ! -s conftest.err'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17215 ac_status=$?
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; } &&
17218 { ac_try='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17221 ac_status=$?
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 ac_header_compiler=yes
17225 else
17226 echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.$ac_ext >&5
17228
17229 ac_header_compiler=no
17230 fi
17231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17233 echo "${ECHO_T}$ac_header_compiler" >&6
17234
17235 # Is the header present?
17236 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17238 cat >conftest.$ac_ext <<_ACEOF
17239 /* confdefs.h. */
17240 _ACEOF
17241 cat confdefs.h >>conftest.$ac_ext
17242 cat >>conftest.$ac_ext <<_ACEOF
17243 /* end confdefs.h. */
17244 #include <$ac_header>
17245 _ACEOF
17246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17248 ac_status=$?
17249 grep -v '^ *+' conftest.er1 >conftest.err
17250 rm -f conftest.er1
17251 cat conftest.err >&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } >/dev/null; then
17254 if test -s conftest.err; then
17255 ac_cpp_err=$ac_cxx_preproc_warn_flag
17256 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17257 else
17258 ac_cpp_err=
17259 fi
17260 else
17261 ac_cpp_err=yes
17262 fi
17263 if test -z "$ac_cpp_err"; then
17264 ac_header_preproc=yes
17265 else
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17268
17269 ac_header_preproc=no
17270 fi
17271 rm -f conftest.err conftest.$ac_ext
17272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17273 echo "${ECHO_T}$ac_header_preproc" >&6
17274
17275 # So? What about this header?
17276 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17277 yes:no: )
17278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17281 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17282 ac_header_preproc=yes
17283 ;;
17284 no:yes:* )
17285 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17286 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17287 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17288 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17289 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17290 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17291 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17292 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17295 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17296 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17297 (
17298 cat <<\_ASBOX
17299 ## ----------------------------------------- ##
17300 ## Report this to wx-dev@lists.wxwidgets.org ##
17301 ## ----------------------------------------- ##
17302 _ASBOX
17303 ) |
17304 sed "s/^/$as_me: WARNING: /" >&2
17305 ;;
17306 esac
17307 echo "$as_me:$LINENO: checking for $ac_header" >&5
17308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17311 else
17312 eval "$as_ac_Header=\$ac_header_preproc"
17313 fi
17314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17316
17317 fi
17318 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17319 cat >>confdefs.h <<_ACEOF
17320 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17321 _ACEOF
17322
17323 fi
17324
17325 done
17326
17327
17328
17329 for ac_header in langinfo.h
17330 do
17331 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17333 echo "$as_me:$LINENO: checking for $ac_header" >&5
17334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17336 echo $ECHO_N "(cached) $ECHO_C" >&6
17337 fi
17338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17340 else
17341 # Is the header compilable?
17342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17344 cat >conftest.$ac_ext <<_ACEOF
17345 /* confdefs.h. */
17346 _ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17350 $ac_includes_default
17351 #include <$ac_header>
17352 _ACEOF
17353 rm -f conftest.$ac_objext
17354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17355 (eval $ac_compile) 2>conftest.er1
17356 ac_status=$?
17357 grep -v '^ *+' conftest.er1 >conftest.err
17358 rm -f conftest.er1
17359 cat conftest.err >&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); } &&
17362 { ac_try='test -z "$ac_cxx_werror_flag"
17363 || test ! -s conftest.err'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17366 ac_status=$?
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; } &&
17369 { ac_try='test -s conftest.$ac_objext'
17370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17371 (eval $ac_try) 2>&5
17372 ac_status=$?
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); }; }; then
17375 ac_header_compiler=yes
17376 else
17377 echo "$as_me: failed program was:" >&5
17378 sed 's/^/| /' conftest.$ac_ext >&5
17379
17380 ac_header_compiler=no
17381 fi
17382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17384 echo "${ECHO_T}$ac_header_compiler" >&6
17385
17386 # Is the header present?
17387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17389 cat >conftest.$ac_ext <<_ACEOF
17390 /* confdefs.h. */
17391 _ACEOF
17392 cat confdefs.h >>conftest.$ac_ext
17393 cat >>conftest.$ac_ext <<_ACEOF
17394 /* end confdefs.h. */
17395 #include <$ac_header>
17396 _ACEOF
17397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17399 ac_status=$?
17400 grep -v '^ *+' conftest.er1 >conftest.err
17401 rm -f conftest.er1
17402 cat conftest.err >&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); } >/dev/null; then
17405 if test -s conftest.err; then
17406 ac_cpp_err=$ac_cxx_preproc_warn_flag
17407 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17408 else
17409 ac_cpp_err=
17410 fi
17411 else
17412 ac_cpp_err=yes
17413 fi
17414 if test -z "$ac_cpp_err"; then
17415 ac_header_preproc=yes
17416 else
17417 echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.$ac_ext >&5
17419
17420 ac_header_preproc=no
17421 fi
17422 rm -f conftest.err conftest.$ac_ext
17423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17424 echo "${ECHO_T}$ac_header_preproc" >&6
17425
17426 # So? What about this header?
17427 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17428 yes:no: )
17429 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17430 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17432 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17433 ac_header_preproc=yes
17434 ;;
17435 no:yes:* )
17436 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17437 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17438 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17439 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17440 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17441 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17442 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17443 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17446 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17447 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17448 (
17449 cat <<\_ASBOX
17450 ## ----------------------------------------- ##
17451 ## Report this to wx-dev@lists.wxwidgets.org ##
17452 ## ----------------------------------------- ##
17453 _ASBOX
17454 ) |
17455 sed "s/^/$as_me: WARNING: /" >&2
17456 ;;
17457 esac
17458 echo "$as_me:$LINENO: checking for $ac_header" >&5
17459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17461 echo $ECHO_N "(cached) $ECHO_C" >&6
17462 else
17463 eval "$as_ac_Header=\$ac_header_preproc"
17464 fi
17465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17467
17468 fi
17469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17470 cat >>confdefs.h <<_ACEOF
17471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17472 _ACEOF
17473
17474 fi
17475
17476 done
17477
17478
17479 case "${host}" in
17480 *-pc-os2_emx | *-pc-os2-emx )
17481 if test $ac_cv_header_langinfo_h = "yes" \
17482 -a \( "$wx_cv_gccversion" = "EMX2" \
17483 -o "$wx_cv_gccversion" = "EMX3" \
17484 -o "$wx_cv_gccversion" = "Innotek5" \); then
17485 LIBS="$LIBS -lintl"
17486 fi
17487 ;;
17488 esac
17489
17490 if test "$USE_UNIX" = 1 ; then
17491
17492 for ac_header in sys/select.h
17493 do
17494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17496 echo "$as_me:$LINENO: checking for $ac_header" >&5
17497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17499 echo $ECHO_N "(cached) $ECHO_C" >&6
17500 fi
17501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17503 else
17504 # Is the header compilable?
17505 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17507 cat >conftest.$ac_ext <<_ACEOF
17508 /* confdefs.h. */
17509 _ACEOF
17510 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17513 $ac_includes_default
17514 #include <$ac_header>
17515 _ACEOF
17516 rm -f conftest.$ac_objext
17517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17518 (eval $ac_compile) 2>conftest.er1
17519 ac_status=$?
17520 grep -v '^ *+' conftest.er1 >conftest.err
17521 rm -f conftest.er1
17522 cat conftest.err >&5
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); } &&
17525 { ac_try='test -z "$ac_cxx_werror_flag"
17526 || test ! -s conftest.err'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17529 ac_status=$?
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; } &&
17532 { ac_try='test -s conftest.$ac_objext'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17535 ac_status=$?
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; }; then
17538 ac_header_compiler=yes
17539 else
17540 echo "$as_me: failed program was:" >&5
17541 sed 's/^/| /' conftest.$ac_ext >&5
17542
17543 ac_header_compiler=no
17544 fi
17545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17547 echo "${ECHO_T}$ac_header_compiler" >&6
17548
17549 # Is the header present?
17550 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17552 cat >conftest.$ac_ext <<_ACEOF
17553 /* confdefs.h. */
17554 _ACEOF
17555 cat confdefs.h >>conftest.$ac_ext
17556 cat >>conftest.$ac_ext <<_ACEOF
17557 /* end confdefs.h. */
17558 #include <$ac_header>
17559 _ACEOF
17560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17562 ac_status=$?
17563 grep -v '^ *+' conftest.er1 >conftest.err
17564 rm -f conftest.er1
17565 cat conftest.err >&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } >/dev/null; then
17568 if test -s conftest.err; then
17569 ac_cpp_err=$ac_cxx_preproc_warn_flag
17570 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17571 else
17572 ac_cpp_err=
17573 fi
17574 else
17575 ac_cpp_err=yes
17576 fi
17577 if test -z "$ac_cpp_err"; then
17578 ac_header_preproc=yes
17579 else
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17582
17583 ac_header_preproc=no
17584 fi
17585 rm -f conftest.err conftest.$ac_ext
17586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17587 echo "${ECHO_T}$ac_header_preproc" >&6
17588
17589 # So? What about this header?
17590 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17591 yes:no: )
17592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17593 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17595 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17596 ac_header_preproc=yes
17597 ;;
17598 no:yes:* )
17599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17603 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17604 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17605 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17611 (
17612 cat <<\_ASBOX
17613 ## ----------------------------------------- ##
17614 ## Report this to wx-dev@lists.wxwidgets.org ##
17615 ## ----------------------------------------- ##
17616 _ASBOX
17617 ) |
17618 sed "s/^/$as_me: WARNING: /" >&2
17619 ;;
17620 esac
17621 echo "$as_me:$LINENO: checking for $ac_header" >&5
17622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17624 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 else
17626 eval "$as_ac_Header=\$ac_header_preproc"
17627 fi
17628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17630
17631 fi
17632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17633 cat >>confdefs.h <<_ACEOF
17634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17635 _ACEOF
17636
17637 fi
17638
17639 done
17640
17641 fi
17642
17643
17644 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17645 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17646 if test "${ac_cv_c_const+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 else
17649 cat >conftest.$ac_ext <<_ACEOF
17650 /* confdefs.h. */
17651 _ACEOF
17652 cat confdefs.h >>conftest.$ac_ext
17653 cat >>conftest.$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655
17656 int
17657 main ()
17658 {
17659 /* FIXME: Include the comments suggested by Paul. */
17660 #ifndef __cplusplus
17661 /* Ultrix mips cc rejects this. */
17662 typedef int charset[2];
17663 const charset x;
17664 /* SunOS 4.1.1 cc rejects this. */
17665 char const *const *ccp;
17666 char **p;
17667 /* NEC SVR4.0.2 mips cc rejects this. */
17668 struct point {int x, y;};
17669 static struct point const zero = {0,0};
17670 /* AIX XL C 1.02.0.0 rejects this.
17671 It does not let you subtract one const X* pointer from another in
17672 an arm of an if-expression whose if-part is not a constant
17673 expression */
17674 const char *g = "string";
17675 ccp = &g + (g ? g-g : 0);
17676 /* HPUX 7.0 cc rejects these. */
17677 ++ccp;
17678 p = (char**) ccp;
17679 ccp = (char const *const *) p;
17680 { /* SCO 3.2v4 cc rejects this. */
17681 char *t;
17682 char const *s = 0 ? (char *) 0 : (char const *) 0;
17683
17684 *t++ = 0;
17685 }
17686 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17687 int x[] = {25, 17};
17688 const int *foo = &x[0];
17689 ++foo;
17690 }
17691 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17692 typedef const int *iptr;
17693 iptr p = 0;
17694 ++p;
17695 }
17696 { /* AIX XL C 1.02.0.0 rejects this saying
17697 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17698 struct s { int j; const int *ap[3]; };
17699 struct s *b; b->j = 5;
17700 }
17701 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17702 const int foo = 10;
17703 }
17704 #endif
17705
17706 ;
17707 return 0;
17708 }
17709 _ACEOF
17710 rm -f conftest.$ac_objext
17711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17712 (eval $ac_compile) 2>conftest.er1
17713 ac_status=$?
17714 grep -v '^ *+' conftest.er1 >conftest.err
17715 rm -f conftest.er1
17716 cat conftest.err >&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); } &&
17719 { ac_try='test -z "$ac_cxx_werror_flag"
17720 || test ! -s conftest.err'
17721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17722 (eval $ac_try) 2>&5
17723 ac_status=$?
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); }; } &&
17726 { ac_try='test -s conftest.$ac_objext'
17727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17728 (eval $ac_try) 2>&5
17729 ac_status=$?
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); }; }; then
17732 ac_cv_c_const=yes
17733 else
17734 echo "$as_me: failed program was:" >&5
17735 sed 's/^/| /' conftest.$ac_ext >&5
17736
17737 ac_cv_c_const=no
17738 fi
17739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17740 fi
17741 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17742 echo "${ECHO_T}$ac_cv_c_const" >&6
17743 if test $ac_cv_c_const = no; then
17744
17745 cat >>confdefs.h <<\_ACEOF
17746 #define const
17747 _ACEOF
17748
17749 fi
17750
17751 echo "$as_me:$LINENO: checking for inline" >&5
17752 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17753 if test "${ac_cv_c_inline+set}" = set; then
17754 echo $ECHO_N "(cached) $ECHO_C" >&6
17755 else
17756 ac_cv_c_inline=no
17757 for ac_kw in inline __inline__ __inline; do
17758 cat >conftest.$ac_ext <<_ACEOF
17759 /* confdefs.h. */
17760 _ACEOF
17761 cat confdefs.h >>conftest.$ac_ext
17762 cat >>conftest.$ac_ext <<_ACEOF
17763 /* end confdefs.h. */
17764 #ifndef __cplusplus
17765 typedef int foo_t;
17766 static $ac_kw foo_t static_foo () {return 0; }
17767 $ac_kw foo_t foo () {return 0; }
17768 #endif
17769
17770 _ACEOF
17771 rm -f conftest.$ac_objext
17772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17773 (eval $ac_compile) 2>conftest.er1
17774 ac_status=$?
17775 grep -v '^ *+' conftest.er1 >conftest.err
17776 rm -f conftest.er1
17777 cat conftest.err >&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } &&
17780 { ac_try='test -z "$ac_cxx_werror_flag"
17781 || test ! -s conftest.err'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17784 ac_status=$?
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; } &&
17787 { ac_try='test -s conftest.$ac_objext'
17788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17789 (eval $ac_try) 2>&5
17790 ac_status=$?
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); }; }; then
17793 ac_cv_c_inline=$ac_kw; break
17794 else
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.$ac_ext >&5
17797
17798 fi
17799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17800 done
17801
17802 fi
17803 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17804 echo "${ECHO_T}$ac_cv_c_inline" >&6
17805
17806
17807 case $ac_cv_c_inline in
17808 inline | yes) ;;
17809 *)
17810 case $ac_cv_c_inline in
17811 no) ac_val=;;
17812 *) ac_val=$ac_cv_c_inline;;
17813 esac
17814 cat >>confdefs.h <<_ACEOF
17815 #ifndef __cplusplus
17816 #define inline $ac_val
17817 #endif
17818 _ACEOF
17819 ;;
17820 esac
17821
17822
17823 echo "$as_me:$LINENO: checking for char" >&5
17824 echo $ECHO_N "checking for char... $ECHO_C" >&6
17825 if test "${ac_cv_type_char+set}" = set; then
17826 echo $ECHO_N "(cached) $ECHO_C" >&6
17827 else
17828 cat >conftest.$ac_ext <<_ACEOF
17829 /* confdefs.h. */
17830 _ACEOF
17831 cat confdefs.h >>conftest.$ac_ext
17832 cat >>conftest.$ac_ext <<_ACEOF
17833 /* end confdefs.h. */
17834 $ac_includes_default
17835 int
17836 main ()
17837 {
17838 if ((char *) 0)
17839 return 0;
17840 if (sizeof (char))
17841 return 0;
17842 ;
17843 return 0;
17844 }
17845 _ACEOF
17846 rm -f conftest.$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848 (eval $ac_compile) 2>conftest.er1
17849 ac_status=$?
17850 grep -v '^ *+' conftest.er1 >conftest.err
17851 rm -f conftest.er1
17852 cat conftest.err >&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try='test -z "$ac_cxx_werror_flag"
17856 || test ! -s conftest.err'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17859 ac_status=$?
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; } &&
17862 { ac_try='test -s conftest.$ac_objext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17865 ac_status=$?
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17868 ac_cv_type_char=yes
17869 else
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17872
17873 ac_cv_type_char=no
17874 fi
17875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17876 fi
17877 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17878 echo "${ECHO_T}$ac_cv_type_char" >&6
17879
17880 echo "$as_me:$LINENO: checking size of char" >&5
17881 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17882 if test "${ac_cv_sizeof_char+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17884 else
17885 if test "$ac_cv_type_char" = yes; then
17886 # The cast to unsigned long works around a bug in the HP C Compiler
17887 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17888 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17889 # This bug is HP SR number 8606223364.
17890 if test "$cross_compiling" = yes; then
17891 # Depending upon the size, compute the lo and hi bounds.
17892 cat >conftest.$ac_ext <<_ACEOF
17893 /* confdefs.h. */
17894 _ACEOF
17895 cat confdefs.h >>conftest.$ac_ext
17896 cat >>conftest.$ac_ext <<_ACEOF
17897 /* end confdefs.h. */
17898 $ac_includes_default
17899 int
17900 main ()
17901 {
17902 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17903 test_array [0] = 0
17904
17905 ;
17906 return 0;
17907 }
17908 _ACEOF
17909 rm -f conftest.$ac_objext
17910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17911 (eval $ac_compile) 2>conftest.er1
17912 ac_status=$?
17913 grep -v '^ *+' conftest.er1 >conftest.err
17914 rm -f conftest.er1
17915 cat conftest.err >&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } &&
17918 { ac_try='test -z "$ac_cxx_werror_flag"
17919 || test ! -s conftest.err'
17920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921 (eval $ac_try) 2>&5
17922 ac_status=$?
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); }; } &&
17925 { ac_try='test -s conftest.$ac_objext'
17926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17927 (eval $ac_try) 2>&5
17928 ac_status=$?
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); }; }; then
17931 ac_lo=0 ac_mid=0
17932 while :; do
17933 cat >conftest.$ac_ext <<_ACEOF
17934 /* confdefs.h. */
17935 _ACEOF
17936 cat confdefs.h >>conftest.$ac_ext
17937 cat >>conftest.$ac_ext <<_ACEOF
17938 /* end confdefs.h. */
17939 $ac_includes_default
17940 int
17941 main ()
17942 {
17943 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17944 test_array [0] = 0
17945
17946 ;
17947 return 0;
17948 }
17949 _ACEOF
17950 rm -f conftest.$ac_objext
17951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17952 (eval $ac_compile) 2>conftest.er1
17953 ac_status=$?
17954 grep -v '^ *+' conftest.er1 >conftest.err
17955 rm -f conftest.er1
17956 cat conftest.err >&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); } &&
17959 { ac_try='test -z "$ac_cxx_werror_flag"
17960 || test ! -s conftest.err'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17963 ac_status=$?
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; } &&
17966 { ac_try='test -s conftest.$ac_objext'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17969 ac_status=$?
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; }; then
17972 ac_hi=$ac_mid; break
17973 else
17974 echo "$as_me: failed program was:" >&5
17975 sed 's/^/| /' conftest.$ac_ext >&5
17976
17977 ac_lo=`expr $ac_mid + 1`
17978 if test $ac_lo -le $ac_mid; then
17979 ac_lo= ac_hi=
17980 break
17981 fi
17982 ac_mid=`expr 2 '*' $ac_mid + 1`
17983 fi
17984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17985 done
17986 else
17987 echo "$as_me: failed program was:" >&5
17988 sed 's/^/| /' conftest.$ac_ext >&5
17989
17990 cat >conftest.$ac_ext <<_ACEOF
17991 /* confdefs.h. */
17992 _ACEOF
17993 cat confdefs.h >>conftest.$ac_ext
17994 cat >>conftest.$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996 $ac_includes_default
17997 int
17998 main ()
17999 {
18000 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18001 test_array [0] = 0
18002
18003 ;
18004 return 0;
18005 }
18006 _ACEOF
18007 rm -f conftest.$ac_objext
18008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009 (eval $ac_compile) 2>conftest.er1
18010 ac_status=$?
18011 grep -v '^ *+' conftest.er1 >conftest.err
18012 rm -f conftest.er1
18013 cat conftest.err >&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } &&
18016 { ac_try='test -z "$ac_cxx_werror_flag"
18017 || test ! -s conftest.err'
18018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019 (eval $ac_try) 2>&5
18020 ac_status=$?
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); }; } &&
18023 { ac_try='test -s conftest.$ac_objext'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18026 ac_status=$?
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; }; then
18029 ac_hi=-1 ac_mid=-1
18030 while :; do
18031 cat >conftest.$ac_ext <<_ACEOF
18032 /* confdefs.h. */
18033 _ACEOF
18034 cat confdefs.h >>conftest.$ac_ext
18035 cat >>conftest.$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18037 $ac_includes_default
18038 int
18039 main ()
18040 {
18041 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18042 test_array [0] = 0
18043
18044 ;
18045 return 0;
18046 }
18047 _ACEOF
18048 rm -f conftest.$ac_objext
18049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18050 (eval $ac_compile) 2>conftest.er1
18051 ac_status=$?
18052 grep -v '^ *+' conftest.er1 >conftest.err
18053 rm -f conftest.er1
18054 cat conftest.err >&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); } &&
18057 { ac_try='test -z "$ac_cxx_werror_flag"
18058 || test ! -s conftest.err'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18061 ac_status=$?
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; } &&
18064 { ac_try='test -s conftest.$ac_objext'
18065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066 (eval $ac_try) 2>&5
18067 ac_status=$?
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; }; then
18070 ac_lo=$ac_mid; break
18071 else
18072 echo "$as_me: failed program was:" >&5
18073 sed 's/^/| /' conftest.$ac_ext >&5
18074
18075 ac_hi=`expr '(' $ac_mid ')' - 1`
18076 if test $ac_mid -le $ac_hi; then
18077 ac_lo= ac_hi=
18078 break
18079 fi
18080 ac_mid=`expr 2 '*' $ac_mid`
18081 fi
18082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18083 done
18084 else
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.$ac_ext >&5
18087
18088 ac_lo= ac_hi=
18089 fi
18090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18091 fi
18092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18093 # Binary search between lo and hi bounds.
18094 while test "x$ac_lo" != "x$ac_hi"; do
18095 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18096 cat >conftest.$ac_ext <<_ACEOF
18097 /* confdefs.h. */
18098 _ACEOF
18099 cat confdefs.h >>conftest.$ac_ext
18100 cat >>conftest.$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18102 $ac_includes_default
18103 int
18104 main ()
18105 {
18106 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18107 test_array [0] = 0
18108
18109 ;
18110 return 0;
18111 }
18112 _ACEOF
18113 rm -f conftest.$ac_objext
18114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18115 (eval $ac_compile) 2>conftest.er1
18116 ac_status=$?
18117 grep -v '^ *+' conftest.er1 >conftest.err
18118 rm -f conftest.er1
18119 cat conftest.err >&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); } &&
18122 { ac_try='test -z "$ac_cxx_werror_flag"
18123 || test ! -s conftest.err'
18124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18125 (eval $ac_try) 2>&5
18126 ac_status=$?
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; } &&
18129 { ac_try='test -s conftest.$ac_objext'
18130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18131 (eval $ac_try) 2>&5
18132 ac_status=$?
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); }; }; then
18135 ac_hi=$ac_mid
18136 else
18137 echo "$as_me: failed program was:" >&5
18138 sed 's/^/| /' conftest.$ac_ext >&5
18139
18140 ac_lo=`expr '(' $ac_mid ')' + 1`
18141 fi
18142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18143 done
18144 case $ac_lo in
18145 ?*) ac_cv_sizeof_char=$ac_lo;;
18146 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18147 See \`config.log' for more details." >&5
18148 echo "$as_me: error: cannot compute sizeof (char), 77
18149 See \`config.log' for more details." >&2;}
18150 { (exit 1); exit 1; }; } ;;
18151 esac
18152 else
18153 if test "$cross_compiling" = yes; then
18154 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18155 See \`config.log' for more details." >&5
18156 echo "$as_me: error: cannot run test program while cross compiling
18157 See \`config.log' for more details." >&2;}
18158 { (exit 1); exit 1; }; }
18159 else
18160 cat >conftest.$ac_ext <<_ACEOF
18161 /* confdefs.h. */
18162 _ACEOF
18163 cat confdefs.h >>conftest.$ac_ext
18164 cat >>conftest.$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18166 $ac_includes_default
18167 long longval () { return (long) (sizeof (char)); }
18168 unsigned long ulongval () { return (long) (sizeof (char)); }
18169 #include <stdio.h>
18170 #include <stdlib.h>
18171 int
18172 main ()
18173 {
18174
18175 FILE *f = fopen ("conftest.val", "w");
18176 if (! f)
18177 exit (1);
18178 if (((long) (sizeof (char))) < 0)
18179 {
18180 long i = longval ();
18181 if (i != ((long) (sizeof (char))))
18182 exit (1);
18183 fprintf (f, "%ld\n", i);
18184 }
18185 else
18186 {
18187 unsigned long i = ulongval ();
18188 if (i != ((long) (sizeof (char))))
18189 exit (1);
18190 fprintf (f, "%lu\n", i);
18191 }
18192 exit (ferror (f) || fclose (f) != 0);
18193
18194 ;
18195 return 0;
18196 }
18197 _ACEOF
18198 rm -f conftest$ac_exeext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18200 (eval $ac_link) 2>&5
18201 ac_status=$?
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18206 ac_status=$?
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; }; then
18209 ac_cv_sizeof_char=`cat conftest.val`
18210 else
18211 echo "$as_me: program exited with status $ac_status" >&5
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.$ac_ext >&5
18214
18215 ( exit $ac_status )
18216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18217 See \`config.log' for more details." >&5
18218 echo "$as_me: error: cannot compute sizeof (char), 77
18219 See \`config.log' for more details." >&2;}
18220 { (exit 1); exit 1; }; }
18221 fi
18222 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18223 fi
18224 fi
18225 rm -f conftest.val
18226 else
18227 ac_cv_sizeof_char=0
18228 fi
18229 fi
18230 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18231 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18232 cat >>confdefs.h <<_ACEOF
18233 #define SIZEOF_CHAR $ac_cv_sizeof_char
18234 _ACEOF
18235
18236
18237 echo "$as_me:$LINENO: checking for short" >&5
18238 echo $ECHO_N "checking for short... $ECHO_C" >&6
18239 if test "${ac_cv_type_short+set}" = set; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18241 else
18242 cat >conftest.$ac_ext <<_ACEOF
18243 /* confdefs.h. */
18244 _ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248 $ac_includes_default
18249 int
18250 main ()
18251 {
18252 if ((short *) 0)
18253 return 0;
18254 if (sizeof (short))
18255 return 0;
18256 ;
18257 return 0;
18258 }
18259 _ACEOF
18260 rm -f conftest.$ac_objext
18261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18262 (eval $ac_compile) 2>conftest.er1
18263 ac_status=$?
18264 grep -v '^ *+' conftest.er1 >conftest.err
18265 rm -f conftest.er1
18266 cat conftest.err >&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); } &&
18269 { ac_try='test -z "$ac_cxx_werror_flag"
18270 || test ! -s conftest.err'
18271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18272 (eval $ac_try) 2>&5
18273 ac_status=$?
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); }; } &&
18276 { ac_try='test -s conftest.$ac_objext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18279 ac_status=$?
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18282 ac_cv_type_short=yes
18283 else
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.$ac_ext >&5
18286
18287 ac_cv_type_short=no
18288 fi
18289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18290 fi
18291 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18292 echo "${ECHO_T}$ac_cv_type_short" >&6
18293
18294 echo "$as_me:$LINENO: checking size of short" >&5
18295 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18296 if test "${ac_cv_sizeof_short+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18298 else
18299 if test "$ac_cv_type_short" = yes; then
18300 # The cast to unsigned long works around a bug in the HP C Compiler
18301 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18302 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18303 # This bug is HP SR number 8606223364.
18304 if test "$cross_compiling" = yes; then
18305 # Depending upon the size, compute the lo and hi bounds.
18306 cat >conftest.$ac_ext <<_ACEOF
18307 /* confdefs.h. */
18308 _ACEOF
18309 cat confdefs.h >>conftest.$ac_ext
18310 cat >>conftest.$ac_ext <<_ACEOF
18311 /* end confdefs.h. */
18312 $ac_includes_default
18313 int
18314 main ()
18315 {
18316 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18317 test_array [0] = 0
18318
18319 ;
18320 return 0;
18321 }
18322 _ACEOF
18323 rm -f conftest.$ac_objext
18324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18325 (eval $ac_compile) 2>conftest.er1
18326 ac_status=$?
18327 grep -v '^ *+' conftest.er1 >conftest.err
18328 rm -f conftest.er1
18329 cat conftest.err >&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } &&
18332 { ac_try='test -z "$ac_cxx_werror_flag"
18333 || test ! -s conftest.err'
18334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335 (eval $ac_try) 2>&5
18336 ac_status=$?
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }; } &&
18339 { ac_try='test -s conftest.$ac_objext'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18342 ac_status=$?
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; }; then
18345 ac_lo=0 ac_mid=0
18346 while :; do
18347 cat >conftest.$ac_ext <<_ACEOF
18348 /* confdefs.h. */
18349 _ACEOF
18350 cat confdefs.h >>conftest.$ac_ext
18351 cat >>conftest.$ac_ext <<_ACEOF
18352 /* end confdefs.h. */
18353 $ac_includes_default
18354 int
18355 main ()
18356 {
18357 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18358 test_array [0] = 0
18359
18360 ;
18361 return 0;
18362 }
18363 _ACEOF
18364 rm -f conftest.$ac_objext
18365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18366 (eval $ac_compile) 2>conftest.er1
18367 ac_status=$?
18368 grep -v '^ *+' conftest.er1 >conftest.err
18369 rm -f conftest.er1
18370 cat conftest.err >&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); } &&
18373 { ac_try='test -z "$ac_cxx_werror_flag"
18374 || test ! -s conftest.err'
18375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18376 (eval $ac_try) 2>&5
18377 ac_status=$?
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); }; } &&
18380 { ac_try='test -s conftest.$ac_objext'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18383 ac_status=$?
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; }; then
18386 ac_hi=$ac_mid; break
18387 else
18388 echo "$as_me: failed program was:" >&5
18389 sed 's/^/| /' conftest.$ac_ext >&5
18390
18391 ac_lo=`expr $ac_mid + 1`
18392 if test $ac_lo -le $ac_mid; then
18393 ac_lo= ac_hi=
18394 break
18395 fi
18396 ac_mid=`expr 2 '*' $ac_mid + 1`
18397 fi
18398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18399 done
18400 else
18401 echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.$ac_ext >&5
18403
18404 cat >conftest.$ac_ext <<_ACEOF
18405 /* confdefs.h. */
18406 _ACEOF
18407 cat confdefs.h >>conftest.$ac_ext
18408 cat >>conftest.$ac_ext <<_ACEOF
18409 /* end confdefs.h. */
18410 $ac_includes_default
18411 int
18412 main ()
18413 {
18414 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18415 test_array [0] = 0
18416
18417 ;
18418 return 0;
18419 }
18420 _ACEOF
18421 rm -f conftest.$ac_objext
18422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18423 (eval $ac_compile) 2>conftest.er1
18424 ac_status=$?
18425 grep -v '^ *+' conftest.er1 >conftest.err
18426 rm -f conftest.er1
18427 cat conftest.err >&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); } &&
18430 { ac_try='test -z "$ac_cxx_werror_flag"
18431 || test ! -s conftest.err'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18434 ac_status=$?
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; } &&
18437 { ac_try='test -s conftest.$ac_objext'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18440 ac_status=$?
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18443 ac_hi=-1 ac_mid=-1
18444 while :; do
18445 cat >conftest.$ac_ext <<_ACEOF
18446 /* confdefs.h. */
18447 _ACEOF
18448 cat confdefs.h >>conftest.$ac_ext
18449 cat >>conftest.$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 $ac_includes_default
18452 int
18453 main ()
18454 {
18455 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18456 test_array [0] = 0
18457
18458 ;
18459 return 0;
18460 }
18461 _ACEOF
18462 rm -f conftest.$ac_objext
18463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18464 (eval $ac_compile) 2>conftest.er1
18465 ac_status=$?
18466 grep -v '^ *+' conftest.er1 >conftest.err
18467 rm -f conftest.er1
18468 cat conftest.err >&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); } &&
18471 { ac_try='test -z "$ac_cxx_werror_flag"
18472 || test ! -s conftest.err'
18473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18474 (eval $ac_try) 2>&5
18475 ac_status=$?
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); }; } &&
18478 { ac_try='test -s conftest.$ac_objext'
18479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480 (eval $ac_try) 2>&5
18481 ac_status=$?
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; }; then
18484 ac_lo=$ac_mid; break
18485 else
18486 echo "$as_me: failed program was:" >&5
18487 sed 's/^/| /' conftest.$ac_ext >&5
18488
18489 ac_hi=`expr '(' $ac_mid ')' - 1`
18490 if test $ac_mid -le $ac_hi; then
18491 ac_lo= ac_hi=
18492 break
18493 fi
18494 ac_mid=`expr 2 '*' $ac_mid`
18495 fi
18496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18497 done
18498 else
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.$ac_ext >&5
18501
18502 ac_lo= ac_hi=
18503 fi
18504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18505 fi
18506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18507 # Binary search between lo and hi bounds.
18508 while test "x$ac_lo" != "x$ac_hi"; do
18509 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18510 cat >conftest.$ac_ext <<_ACEOF
18511 /* confdefs.h. */
18512 _ACEOF
18513 cat confdefs.h >>conftest.$ac_ext
18514 cat >>conftest.$ac_ext <<_ACEOF
18515 /* end confdefs.h. */
18516 $ac_includes_default
18517 int
18518 main ()
18519 {
18520 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18521 test_array [0] = 0
18522
18523 ;
18524 return 0;
18525 }
18526 _ACEOF
18527 rm -f conftest.$ac_objext
18528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18529 (eval $ac_compile) 2>conftest.er1
18530 ac_status=$?
18531 grep -v '^ *+' conftest.er1 >conftest.err
18532 rm -f conftest.er1
18533 cat conftest.err >&5
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); } &&
18536 { ac_try='test -z "$ac_cxx_werror_flag"
18537 || test ! -s conftest.err'
18538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18539 (eval $ac_try) 2>&5
18540 ac_status=$?
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; } &&
18543 { ac_try='test -s conftest.$ac_objext'
18544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18545 (eval $ac_try) 2>&5
18546 ac_status=$?
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); }; }; then
18549 ac_hi=$ac_mid
18550 else
18551 echo "$as_me: failed program was:" >&5
18552 sed 's/^/| /' conftest.$ac_ext >&5
18553
18554 ac_lo=`expr '(' $ac_mid ')' + 1`
18555 fi
18556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18557 done
18558 case $ac_lo in
18559 ?*) ac_cv_sizeof_short=$ac_lo;;
18560 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18561 See \`config.log' for more details." >&5
18562 echo "$as_me: error: cannot compute sizeof (short), 77
18563 See \`config.log' for more details." >&2;}
18564 { (exit 1); exit 1; }; } ;;
18565 esac
18566 else
18567 if test "$cross_compiling" = yes; then
18568 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18569 See \`config.log' for more details." >&5
18570 echo "$as_me: error: cannot run test program while cross compiling
18571 See \`config.log' for more details." >&2;}
18572 { (exit 1); exit 1; }; }
18573 else
18574 cat >conftest.$ac_ext <<_ACEOF
18575 /* confdefs.h. */
18576 _ACEOF
18577 cat confdefs.h >>conftest.$ac_ext
18578 cat >>conftest.$ac_ext <<_ACEOF
18579 /* end confdefs.h. */
18580 $ac_includes_default
18581 long longval () { return (long) (sizeof (short)); }
18582 unsigned long ulongval () { return (long) (sizeof (short)); }
18583 #include <stdio.h>
18584 #include <stdlib.h>
18585 int
18586 main ()
18587 {
18588
18589 FILE *f = fopen ("conftest.val", "w");
18590 if (! f)
18591 exit (1);
18592 if (((long) (sizeof (short))) < 0)
18593 {
18594 long i = longval ();
18595 if (i != ((long) (sizeof (short))))
18596 exit (1);
18597 fprintf (f, "%ld\n", i);
18598 }
18599 else
18600 {
18601 unsigned long i = ulongval ();
18602 if (i != ((long) (sizeof (short))))
18603 exit (1);
18604 fprintf (f, "%lu\n", i);
18605 }
18606 exit (ferror (f) || fclose (f) != 0);
18607
18608 ;
18609 return 0;
18610 }
18611 _ACEOF
18612 rm -f conftest$ac_exeext
18613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18614 (eval $ac_link) 2>&5
18615 ac_status=$?
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18620 ac_status=$?
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18623 ac_cv_sizeof_short=`cat conftest.val`
18624 else
18625 echo "$as_me: program exited with status $ac_status" >&5
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.$ac_ext >&5
18628
18629 ( exit $ac_status )
18630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18631 See \`config.log' for more details." >&5
18632 echo "$as_me: error: cannot compute sizeof (short), 77
18633 See \`config.log' for more details." >&2;}
18634 { (exit 1); exit 1; }; }
18635 fi
18636 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18637 fi
18638 fi
18639 rm -f conftest.val
18640 else
18641 ac_cv_sizeof_short=0
18642 fi
18643 fi
18644 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18645 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18646 cat >>confdefs.h <<_ACEOF
18647 #define SIZEOF_SHORT $ac_cv_sizeof_short
18648 _ACEOF
18649
18650
18651 echo "$as_me:$LINENO: checking for void *" >&5
18652 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18653 if test "${ac_cv_type_void_p+set}" = set; then
18654 echo $ECHO_N "(cached) $ECHO_C" >&6
18655 else
18656 cat >conftest.$ac_ext <<_ACEOF
18657 /* confdefs.h. */
18658 _ACEOF
18659 cat confdefs.h >>conftest.$ac_ext
18660 cat >>conftest.$ac_ext <<_ACEOF
18661 /* end confdefs.h. */
18662 $ac_includes_default
18663 int
18664 main ()
18665 {
18666 if ((void * *) 0)
18667 return 0;
18668 if (sizeof (void *))
18669 return 0;
18670 ;
18671 return 0;
18672 }
18673 _ACEOF
18674 rm -f conftest.$ac_objext
18675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18676 (eval $ac_compile) 2>conftest.er1
18677 ac_status=$?
18678 grep -v '^ *+' conftest.er1 >conftest.err
18679 rm -f conftest.er1
18680 cat conftest.err >&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } &&
18683 { ac_try='test -z "$ac_cxx_werror_flag"
18684 || test ! -s conftest.err'
18685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686 (eval $ac_try) 2>&5
18687 ac_status=$?
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); }; } &&
18690 { ac_try='test -s conftest.$ac_objext'
18691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692 (eval $ac_try) 2>&5
18693 ac_status=$?
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); }; }; then
18696 ac_cv_type_void_p=yes
18697 else
18698 echo "$as_me: failed program was:" >&5
18699 sed 's/^/| /' conftest.$ac_ext >&5
18700
18701 ac_cv_type_void_p=no
18702 fi
18703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18704 fi
18705 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18706 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18707
18708 echo "$as_me:$LINENO: checking size of void *" >&5
18709 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18710 if test "${ac_cv_sizeof_void_p+set}" = set; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18712 else
18713 if test "$ac_cv_type_void_p" = yes; then
18714 # The cast to unsigned long works around a bug in the HP C Compiler
18715 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18716 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18717 # This bug is HP SR number 8606223364.
18718 if test "$cross_compiling" = yes; then
18719 # Depending upon the size, compute the lo and hi bounds.
18720 cat >conftest.$ac_ext <<_ACEOF
18721 /* confdefs.h. */
18722 _ACEOF
18723 cat confdefs.h >>conftest.$ac_ext
18724 cat >>conftest.$ac_ext <<_ACEOF
18725 /* end confdefs.h. */
18726 $ac_includes_default
18727 int
18728 main ()
18729 {
18730 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18731 test_array [0] = 0
18732
18733 ;
18734 return 0;
18735 }
18736 _ACEOF
18737 rm -f conftest.$ac_objext
18738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18739 (eval $ac_compile) 2>conftest.er1
18740 ac_status=$?
18741 grep -v '^ *+' conftest.er1 >conftest.err
18742 rm -f conftest.er1
18743 cat conftest.err >&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } &&
18746 { ac_try='test -z "$ac_cxx_werror_flag"
18747 || test ! -s conftest.err'
18748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18749 (eval $ac_try) 2>&5
18750 ac_status=$?
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); }; } &&
18753 { ac_try='test -s conftest.$ac_objext'
18754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18755 (eval $ac_try) 2>&5
18756 ac_status=$?
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; }; then
18759 ac_lo=0 ac_mid=0
18760 while :; do
18761 cat >conftest.$ac_ext <<_ACEOF
18762 /* confdefs.h. */
18763 _ACEOF
18764 cat confdefs.h >>conftest.$ac_ext
18765 cat >>conftest.$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18767 $ac_includes_default
18768 int
18769 main ()
18770 {
18771 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18772 test_array [0] = 0
18773
18774 ;
18775 return 0;
18776 }
18777 _ACEOF
18778 rm -f conftest.$ac_objext
18779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18780 (eval $ac_compile) 2>conftest.er1
18781 ac_status=$?
18782 grep -v '^ *+' conftest.er1 >conftest.err
18783 rm -f conftest.er1
18784 cat conftest.err >&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); } &&
18787 { ac_try='test -z "$ac_cxx_werror_flag"
18788 || test ! -s conftest.err'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18791 ac_status=$?
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; } &&
18794 { ac_try='test -s conftest.$ac_objext'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18797 ac_status=$?
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; }; then
18800 ac_hi=$ac_mid; break
18801 else
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18804
18805 ac_lo=`expr $ac_mid + 1`
18806 if test $ac_lo -le $ac_mid; then
18807 ac_lo= ac_hi=
18808 break
18809 fi
18810 ac_mid=`expr 2 '*' $ac_mid + 1`
18811 fi
18812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18813 done
18814 else
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.$ac_ext >&5
18817
18818 cat >conftest.$ac_ext <<_ACEOF
18819 /* confdefs.h. */
18820 _ACEOF
18821 cat confdefs.h >>conftest.$ac_ext
18822 cat >>conftest.$ac_ext <<_ACEOF
18823 /* end confdefs.h. */
18824 $ac_includes_default
18825 int
18826 main ()
18827 {
18828 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18829 test_array [0] = 0
18830
18831 ;
18832 return 0;
18833 }
18834 _ACEOF
18835 rm -f conftest.$ac_objext
18836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18837 (eval $ac_compile) 2>conftest.er1
18838 ac_status=$?
18839 grep -v '^ *+' conftest.er1 >conftest.err
18840 rm -f conftest.er1
18841 cat conftest.err >&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } &&
18844 { ac_try='test -z "$ac_cxx_werror_flag"
18845 || test ! -s conftest.err'
18846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18847 (eval $ac_try) 2>&5
18848 ac_status=$?
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); }; } &&
18851 { ac_try='test -s conftest.$ac_objext'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18854 ac_status=$?
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; }; then
18857 ac_hi=-1 ac_mid=-1
18858 while :; do
18859 cat >conftest.$ac_ext <<_ACEOF
18860 /* confdefs.h. */
18861 _ACEOF
18862 cat confdefs.h >>conftest.$ac_ext
18863 cat >>conftest.$ac_ext <<_ACEOF
18864 /* end confdefs.h. */
18865 $ac_includes_default
18866 int
18867 main ()
18868 {
18869 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18870 test_array [0] = 0
18871
18872 ;
18873 return 0;
18874 }
18875 _ACEOF
18876 rm -f conftest.$ac_objext
18877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18878 (eval $ac_compile) 2>conftest.er1
18879 ac_status=$?
18880 grep -v '^ *+' conftest.er1 >conftest.err
18881 rm -f conftest.er1
18882 cat conftest.err >&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); } &&
18885 { ac_try='test -z "$ac_cxx_werror_flag"
18886 || test ! -s conftest.err'
18887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18888 (eval $ac_try) 2>&5
18889 ac_status=$?
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); }; } &&
18892 { ac_try='test -s conftest.$ac_objext'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18895 ac_status=$?
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; }; then
18898 ac_lo=$ac_mid; break
18899 else
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18902
18903 ac_hi=`expr '(' $ac_mid ')' - 1`
18904 if test $ac_mid -le $ac_hi; then
18905 ac_lo= ac_hi=
18906 break
18907 fi
18908 ac_mid=`expr 2 '*' $ac_mid`
18909 fi
18910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18911 done
18912 else
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.$ac_ext >&5
18915
18916 ac_lo= ac_hi=
18917 fi
18918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18919 fi
18920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18921 # Binary search between lo and hi bounds.
18922 while test "x$ac_lo" != "x$ac_hi"; do
18923 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18924 cat >conftest.$ac_ext <<_ACEOF
18925 /* confdefs.h. */
18926 _ACEOF
18927 cat confdefs.h >>conftest.$ac_ext
18928 cat >>conftest.$ac_ext <<_ACEOF
18929 /* end confdefs.h. */
18930 $ac_includes_default
18931 int
18932 main ()
18933 {
18934 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18935 test_array [0] = 0
18936
18937 ;
18938 return 0;
18939 }
18940 _ACEOF
18941 rm -f conftest.$ac_objext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18943 (eval $ac_compile) 2>conftest.er1
18944 ac_status=$?
18945 grep -v '^ *+' conftest.er1 >conftest.err
18946 rm -f conftest.er1
18947 cat conftest.err >&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } &&
18950 { ac_try='test -z "$ac_cxx_werror_flag"
18951 || test ! -s conftest.err'
18952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18953 (eval $ac_try) 2>&5
18954 ac_status=$?
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); }; } &&
18957 { ac_try='test -s conftest.$ac_objext'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18960 ac_status=$?
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; }; then
18963 ac_hi=$ac_mid
18964 else
18965 echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.$ac_ext >&5
18967
18968 ac_lo=`expr '(' $ac_mid ')' + 1`
18969 fi
18970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18971 done
18972 case $ac_lo in
18973 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18974 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18975 See \`config.log' for more details." >&5
18976 echo "$as_me: error: cannot compute sizeof (void *), 77
18977 See \`config.log' for more details." >&2;}
18978 { (exit 1); exit 1; }; } ;;
18979 esac
18980 else
18981 if test "$cross_compiling" = yes; then
18982 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18983 See \`config.log' for more details." >&5
18984 echo "$as_me: error: cannot run test program while cross compiling
18985 See \`config.log' for more details." >&2;}
18986 { (exit 1); exit 1; }; }
18987 else
18988 cat >conftest.$ac_ext <<_ACEOF
18989 /* confdefs.h. */
18990 _ACEOF
18991 cat confdefs.h >>conftest.$ac_ext
18992 cat >>conftest.$ac_ext <<_ACEOF
18993 /* end confdefs.h. */
18994 $ac_includes_default
18995 long longval () { return (long) (sizeof (void *)); }
18996 unsigned long ulongval () { return (long) (sizeof (void *)); }
18997 #include <stdio.h>
18998 #include <stdlib.h>
18999 int
19000 main ()
19001 {
19002
19003 FILE *f = fopen ("conftest.val", "w");
19004 if (! f)
19005 exit (1);
19006 if (((long) (sizeof (void *))) < 0)
19007 {
19008 long i = longval ();
19009 if (i != ((long) (sizeof (void *))))
19010 exit (1);
19011 fprintf (f, "%ld\n", i);
19012 }
19013 else
19014 {
19015 unsigned long i = ulongval ();
19016 if (i != ((long) (sizeof (void *))))
19017 exit (1);
19018 fprintf (f, "%lu\n", i);
19019 }
19020 exit (ferror (f) || fclose (f) != 0);
19021
19022 ;
19023 return 0;
19024 }
19025 _ACEOF
19026 rm -f conftest$ac_exeext
19027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19028 (eval $ac_link) 2>&5
19029 ac_status=$?
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033 (eval $ac_try) 2>&5
19034 ac_status=$?
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); }; }; then
19037 ac_cv_sizeof_void_p=`cat conftest.val`
19038 else
19039 echo "$as_me: program exited with status $ac_status" >&5
19040 echo "$as_me: failed program was:" >&5
19041 sed 's/^/| /' conftest.$ac_ext >&5
19042
19043 ( exit $ac_status )
19044 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19045 See \`config.log' for more details." >&5
19046 echo "$as_me: error: cannot compute sizeof (void *), 77
19047 See \`config.log' for more details." >&2;}
19048 { (exit 1); exit 1; }; }
19049 fi
19050 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19051 fi
19052 fi
19053 rm -f conftest.val
19054 else
19055 ac_cv_sizeof_void_p=0
19056 fi
19057 fi
19058 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19059 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19060 cat >>confdefs.h <<_ACEOF
19061 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19062 _ACEOF
19063
19064
19065 echo "$as_me:$LINENO: checking for int" >&5
19066 echo $ECHO_N "checking for int... $ECHO_C" >&6
19067 if test "${ac_cv_type_int+set}" = set; then
19068 echo $ECHO_N "(cached) $ECHO_C" >&6
19069 else
19070 cat >conftest.$ac_ext <<_ACEOF
19071 /* confdefs.h. */
19072 _ACEOF
19073 cat confdefs.h >>conftest.$ac_ext
19074 cat >>conftest.$ac_ext <<_ACEOF
19075 /* end confdefs.h. */
19076 $ac_includes_default
19077 int
19078 main ()
19079 {
19080 if ((int *) 0)
19081 return 0;
19082 if (sizeof (int))
19083 return 0;
19084 ;
19085 return 0;
19086 }
19087 _ACEOF
19088 rm -f conftest.$ac_objext
19089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19090 (eval $ac_compile) 2>conftest.er1
19091 ac_status=$?
19092 grep -v '^ *+' conftest.er1 >conftest.err
19093 rm -f conftest.er1
19094 cat conftest.err >&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); } &&
19097 { ac_try='test -z "$ac_cxx_werror_flag"
19098 || test ! -s conftest.err'
19099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100 (eval $ac_try) 2>&5
19101 ac_status=$?
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); }; } &&
19104 { ac_try='test -s conftest.$ac_objext'
19105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19106 (eval $ac_try) 2>&5
19107 ac_status=$?
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); }; }; then
19110 ac_cv_type_int=yes
19111 else
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.$ac_ext >&5
19114
19115 ac_cv_type_int=no
19116 fi
19117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19118 fi
19119 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19120 echo "${ECHO_T}$ac_cv_type_int" >&6
19121
19122 echo "$as_me:$LINENO: checking size of int" >&5
19123 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19124 if test "${ac_cv_sizeof_int+set}" = set; then
19125 echo $ECHO_N "(cached) $ECHO_C" >&6
19126 else
19127 if test "$ac_cv_type_int" = yes; then
19128 # The cast to unsigned long works around a bug in the HP C Compiler
19129 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19130 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19131 # This bug is HP SR number 8606223364.
19132 if test "$cross_compiling" = yes; then
19133 # Depending upon the size, compute the lo and hi bounds.
19134 cat >conftest.$ac_ext <<_ACEOF
19135 /* confdefs.h. */
19136 _ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 $ac_includes_default
19141 int
19142 main ()
19143 {
19144 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19145 test_array [0] = 0
19146
19147 ;
19148 return 0;
19149 }
19150 _ACEOF
19151 rm -f conftest.$ac_objext
19152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19153 (eval $ac_compile) 2>conftest.er1
19154 ac_status=$?
19155 grep -v '^ *+' conftest.er1 >conftest.err
19156 rm -f conftest.er1
19157 cat conftest.err >&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); } &&
19160 { ac_try='test -z "$ac_cxx_werror_flag"
19161 || test ! -s conftest.err'
19162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19163 (eval $ac_try) 2>&5
19164 ac_status=$?
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); }; } &&
19167 { ac_try='test -s conftest.$ac_objext'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19170 ac_status=$?
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; }; then
19173 ac_lo=0 ac_mid=0
19174 while :; do
19175 cat >conftest.$ac_ext <<_ACEOF
19176 /* confdefs.h. */
19177 _ACEOF
19178 cat confdefs.h >>conftest.$ac_ext
19179 cat >>conftest.$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19181 $ac_includes_default
19182 int
19183 main ()
19184 {
19185 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19186 test_array [0] = 0
19187
19188 ;
19189 return 0;
19190 }
19191 _ACEOF
19192 rm -f conftest.$ac_objext
19193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19194 (eval $ac_compile) 2>conftest.er1
19195 ac_status=$?
19196 grep -v '^ *+' conftest.er1 >conftest.err
19197 rm -f conftest.er1
19198 cat conftest.err >&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); } &&
19201 { ac_try='test -z "$ac_cxx_werror_flag"
19202 || test ! -s conftest.err'
19203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204 (eval $ac_try) 2>&5
19205 ac_status=$?
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; } &&
19208 { ac_try='test -s conftest.$ac_objext'
19209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19210 (eval $ac_try) 2>&5
19211 ac_status=$?
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; }; then
19214 ac_hi=$ac_mid; break
19215 else
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.$ac_ext >&5
19218
19219 ac_lo=`expr $ac_mid + 1`
19220 if test $ac_lo -le $ac_mid; then
19221 ac_lo= ac_hi=
19222 break
19223 fi
19224 ac_mid=`expr 2 '*' $ac_mid + 1`
19225 fi
19226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19227 done
19228 else
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.$ac_ext >&5
19231
19232 cat >conftest.$ac_ext <<_ACEOF
19233 /* confdefs.h. */
19234 _ACEOF
19235 cat confdefs.h >>conftest.$ac_ext
19236 cat >>conftest.$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19238 $ac_includes_default
19239 int
19240 main ()
19241 {
19242 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19243 test_array [0] = 0
19244
19245 ;
19246 return 0;
19247 }
19248 _ACEOF
19249 rm -f conftest.$ac_objext
19250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19251 (eval $ac_compile) 2>conftest.er1
19252 ac_status=$?
19253 grep -v '^ *+' conftest.er1 >conftest.err
19254 rm -f conftest.er1
19255 cat conftest.err >&5
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); } &&
19258 { ac_try='test -z "$ac_cxx_werror_flag"
19259 || test ! -s conftest.err'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19262 ac_status=$?
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; } &&
19265 { ac_try='test -s conftest.$ac_objext'
19266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267 (eval $ac_try) 2>&5
19268 ac_status=$?
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); }; }; then
19271 ac_hi=-1 ac_mid=-1
19272 while :; do
19273 cat >conftest.$ac_ext <<_ACEOF
19274 /* confdefs.h. */
19275 _ACEOF
19276 cat confdefs.h >>conftest.$ac_ext
19277 cat >>conftest.$ac_ext <<_ACEOF
19278 /* end confdefs.h. */
19279 $ac_includes_default
19280 int
19281 main ()
19282 {
19283 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19284 test_array [0] = 0
19285
19286 ;
19287 return 0;
19288 }
19289 _ACEOF
19290 rm -f conftest.$ac_objext
19291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19292 (eval $ac_compile) 2>conftest.er1
19293 ac_status=$?
19294 grep -v '^ *+' conftest.er1 >conftest.err
19295 rm -f conftest.er1
19296 cat conftest.err >&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } &&
19299 { ac_try='test -z "$ac_cxx_werror_flag"
19300 || test ! -s conftest.err'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19303 ac_status=$?
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; } &&
19306 { ac_try='test -s conftest.$ac_objext'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19309 ac_status=$?
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 ac_lo=$ac_mid; break
19313 else
19314 echo "$as_me: failed program was:" >&5
19315 sed 's/^/| /' conftest.$ac_ext >&5
19316
19317 ac_hi=`expr '(' $ac_mid ')' - 1`
19318 if test $ac_mid -le $ac_hi; then
19319 ac_lo= ac_hi=
19320 break
19321 fi
19322 ac_mid=`expr 2 '*' $ac_mid`
19323 fi
19324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19325 done
19326 else
19327 echo "$as_me: failed program was:" >&5
19328 sed 's/^/| /' conftest.$ac_ext >&5
19329
19330 ac_lo= ac_hi=
19331 fi
19332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19333 fi
19334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19335 # Binary search between lo and hi bounds.
19336 while test "x$ac_lo" != "x$ac_hi"; do
19337 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19338 cat >conftest.$ac_ext <<_ACEOF
19339 /* confdefs.h. */
19340 _ACEOF
19341 cat confdefs.h >>conftest.$ac_ext
19342 cat >>conftest.$ac_ext <<_ACEOF
19343 /* end confdefs.h. */
19344 $ac_includes_default
19345 int
19346 main ()
19347 {
19348 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19349 test_array [0] = 0
19350
19351 ;
19352 return 0;
19353 }
19354 _ACEOF
19355 rm -f conftest.$ac_objext
19356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19357 (eval $ac_compile) 2>conftest.er1
19358 ac_status=$?
19359 grep -v '^ *+' conftest.er1 >conftest.err
19360 rm -f conftest.er1
19361 cat conftest.err >&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); } &&
19364 { ac_try='test -z "$ac_cxx_werror_flag"
19365 || test ! -s conftest.err'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19368 ac_status=$?
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; } &&
19371 { ac_try='test -s conftest.$ac_objext'
19372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19373 (eval $ac_try) 2>&5
19374 ac_status=$?
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); }; }; then
19377 ac_hi=$ac_mid
19378 else
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.$ac_ext >&5
19381
19382 ac_lo=`expr '(' $ac_mid ')' + 1`
19383 fi
19384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19385 done
19386 case $ac_lo in
19387 ?*) ac_cv_sizeof_int=$ac_lo;;
19388 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19389 See \`config.log' for more details." >&5
19390 echo "$as_me: error: cannot compute sizeof (int), 77
19391 See \`config.log' for more details." >&2;}
19392 { (exit 1); exit 1; }; } ;;
19393 esac
19394 else
19395 if test "$cross_compiling" = yes; then
19396 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19397 See \`config.log' for more details." >&5
19398 echo "$as_me: error: cannot run test program while cross compiling
19399 See \`config.log' for more details." >&2;}
19400 { (exit 1); exit 1; }; }
19401 else
19402 cat >conftest.$ac_ext <<_ACEOF
19403 /* confdefs.h. */
19404 _ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 $ac_includes_default
19409 long longval () { return (long) (sizeof (int)); }
19410 unsigned long ulongval () { return (long) (sizeof (int)); }
19411 #include <stdio.h>
19412 #include <stdlib.h>
19413 int
19414 main ()
19415 {
19416
19417 FILE *f = fopen ("conftest.val", "w");
19418 if (! f)
19419 exit (1);
19420 if (((long) (sizeof (int))) < 0)
19421 {
19422 long i = longval ();
19423 if (i != ((long) (sizeof (int))))
19424 exit (1);
19425 fprintf (f, "%ld\n", i);
19426 }
19427 else
19428 {
19429 unsigned long i = ulongval ();
19430 if (i != ((long) (sizeof (int))))
19431 exit (1);
19432 fprintf (f, "%lu\n", i);
19433 }
19434 exit (ferror (f) || fclose (f) != 0);
19435
19436 ;
19437 return 0;
19438 }
19439 _ACEOF
19440 rm -f conftest$ac_exeext
19441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19442 (eval $ac_link) 2>&5
19443 ac_status=$?
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19447 (eval $ac_try) 2>&5
19448 ac_status=$?
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); }; }; then
19451 ac_cv_sizeof_int=`cat conftest.val`
19452 else
19453 echo "$as_me: program exited with status $ac_status" >&5
19454 echo "$as_me: failed program was:" >&5
19455 sed 's/^/| /' conftest.$ac_ext >&5
19456
19457 ( exit $ac_status )
19458 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19459 See \`config.log' for more details." >&5
19460 echo "$as_me: error: cannot compute sizeof (int), 77
19461 See \`config.log' for more details." >&2;}
19462 { (exit 1); exit 1; }; }
19463 fi
19464 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19465 fi
19466 fi
19467 rm -f conftest.val
19468 else
19469 ac_cv_sizeof_int=0
19470 fi
19471 fi
19472 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19473 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19474 cat >>confdefs.h <<_ACEOF
19475 #define SIZEOF_INT $ac_cv_sizeof_int
19476 _ACEOF
19477
19478
19479 echo "$as_me:$LINENO: checking for long" >&5
19480 echo $ECHO_N "checking for long... $ECHO_C" >&6
19481 if test "${ac_cv_type_long+set}" = set; then
19482 echo $ECHO_N "(cached) $ECHO_C" >&6
19483 else
19484 cat >conftest.$ac_ext <<_ACEOF
19485 /* confdefs.h. */
19486 _ACEOF
19487 cat confdefs.h >>conftest.$ac_ext
19488 cat >>conftest.$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 $ac_includes_default
19491 int
19492 main ()
19493 {
19494 if ((long *) 0)
19495 return 0;
19496 if (sizeof (long))
19497 return 0;
19498 ;
19499 return 0;
19500 }
19501 _ACEOF
19502 rm -f conftest.$ac_objext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19504 (eval $ac_compile) 2>conftest.er1
19505 ac_status=$?
19506 grep -v '^ *+' conftest.er1 >conftest.err
19507 rm -f conftest.er1
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } &&
19511 { ac_try='test -z "$ac_cxx_werror_flag"
19512 || test ! -s conftest.err'
19513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514 (eval $ac_try) 2>&5
19515 ac_status=$?
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; } &&
19518 { ac_try='test -s conftest.$ac_objext'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19521 ac_status=$?
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19524 ac_cv_type_long=yes
19525 else
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.$ac_ext >&5
19528
19529 ac_cv_type_long=no
19530 fi
19531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19532 fi
19533 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19534 echo "${ECHO_T}$ac_cv_type_long" >&6
19535
19536 echo "$as_me:$LINENO: checking size of long" >&5
19537 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19538 if test "${ac_cv_sizeof_long+set}" = set; then
19539 echo $ECHO_N "(cached) $ECHO_C" >&6
19540 else
19541 if test "$ac_cv_type_long" = yes; then
19542 # The cast to unsigned long works around a bug in the HP C Compiler
19543 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19544 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19545 # This bug is HP SR number 8606223364.
19546 if test "$cross_compiling" = yes; then
19547 # Depending upon the size, compute the lo and hi bounds.
19548 cat >conftest.$ac_ext <<_ACEOF
19549 /* confdefs.h. */
19550 _ACEOF
19551 cat confdefs.h >>conftest.$ac_ext
19552 cat >>conftest.$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 $ac_includes_default
19555 int
19556 main ()
19557 {
19558 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19559 test_array [0] = 0
19560
19561 ;
19562 return 0;
19563 }
19564 _ACEOF
19565 rm -f conftest.$ac_objext
19566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19567 (eval $ac_compile) 2>conftest.er1
19568 ac_status=$?
19569 grep -v '^ *+' conftest.er1 >conftest.err
19570 rm -f conftest.er1
19571 cat conftest.err >&5
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); } &&
19574 { ac_try='test -z "$ac_cxx_werror_flag"
19575 || test ! -s conftest.err'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19578 ac_status=$?
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; } &&
19581 { ac_try='test -s conftest.$ac_objext'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19584 ac_status=$?
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; }; then
19587 ac_lo=0 ac_mid=0
19588 while :; do
19589 cat >conftest.$ac_ext <<_ACEOF
19590 /* confdefs.h. */
19591 _ACEOF
19592 cat confdefs.h >>conftest.$ac_ext
19593 cat >>conftest.$ac_ext <<_ACEOF
19594 /* end confdefs.h. */
19595 $ac_includes_default
19596 int
19597 main ()
19598 {
19599 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19600 test_array [0] = 0
19601
19602 ;
19603 return 0;
19604 }
19605 _ACEOF
19606 rm -f conftest.$ac_objext
19607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19608 (eval $ac_compile) 2>conftest.er1
19609 ac_status=$?
19610 grep -v '^ *+' conftest.er1 >conftest.err
19611 rm -f conftest.er1
19612 cat conftest.err >&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); } &&
19615 { ac_try='test -z "$ac_cxx_werror_flag"
19616 || test ! -s conftest.err'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19619 ac_status=$?
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; } &&
19622 { ac_try='test -s conftest.$ac_objext'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19625 ac_status=$?
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; }; then
19628 ac_hi=$ac_mid; break
19629 else
19630 echo "$as_me: failed program was:" >&5
19631 sed 's/^/| /' conftest.$ac_ext >&5
19632
19633 ac_lo=`expr $ac_mid + 1`
19634 if test $ac_lo -le $ac_mid; then
19635 ac_lo= ac_hi=
19636 break
19637 fi
19638 ac_mid=`expr 2 '*' $ac_mid + 1`
19639 fi
19640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19641 done
19642 else
19643 echo "$as_me: failed program was:" >&5
19644 sed 's/^/| /' conftest.$ac_ext >&5
19645
19646 cat >conftest.$ac_ext <<_ACEOF
19647 /* confdefs.h. */
19648 _ACEOF
19649 cat confdefs.h >>conftest.$ac_ext
19650 cat >>conftest.$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19653 int
19654 main ()
19655 {
19656 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19657 test_array [0] = 0
19658
19659 ;
19660 return 0;
19661 }
19662 _ACEOF
19663 rm -f conftest.$ac_objext
19664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19665 (eval $ac_compile) 2>conftest.er1
19666 ac_status=$?
19667 grep -v '^ *+' conftest.er1 >conftest.err
19668 rm -f conftest.er1
19669 cat conftest.err >&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } &&
19672 { ac_try='test -z "$ac_cxx_werror_flag"
19673 || test ! -s conftest.err'
19674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19675 (eval $ac_try) 2>&5
19676 ac_status=$?
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }; } &&
19679 { ac_try='test -s conftest.$ac_objext'
19680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19681 (eval $ac_try) 2>&5
19682 ac_status=$?
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); }; }; then
19685 ac_hi=-1 ac_mid=-1
19686 while :; do
19687 cat >conftest.$ac_ext <<_ACEOF
19688 /* confdefs.h. */
19689 _ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693 $ac_includes_default
19694 int
19695 main ()
19696 {
19697 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19698 test_array [0] = 0
19699
19700 ;
19701 return 0;
19702 }
19703 _ACEOF
19704 rm -f conftest.$ac_objext
19705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19706 (eval $ac_compile) 2>conftest.er1
19707 ac_status=$?
19708 grep -v '^ *+' conftest.er1 >conftest.err
19709 rm -f conftest.er1
19710 cat conftest.err >&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } &&
19713 { ac_try='test -z "$ac_cxx_werror_flag"
19714 || test ! -s conftest.err'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; } &&
19720 { ac_try='test -s conftest.$ac_objext'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19723 ac_status=$?
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; }; then
19726 ac_lo=$ac_mid; break
19727 else
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.$ac_ext >&5
19730
19731 ac_hi=`expr '(' $ac_mid ')' - 1`
19732 if test $ac_mid -le $ac_hi; then
19733 ac_lo= ac_hi=
19734 break
19735 fi
19736 ac_mid=`expr 2 '*' $ac_mid`
19737 fi
19738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19739 done
19740 else
19741 echo "$as_me: failed program was:" >&5
19742 sed 's/^/| /' conftest.$ac_ext >&5
19743
19744 ac_lo= ac_hi=
19745 fi
19746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19747 fi
19748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19749 # Binary search between lo and hi bounds.
19750 while test "x$ac_lo" != "x$ac_hi"; do
19751 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19752 cat >conftest.$ac_ext <<_ACEOF
19753 /* confdefs.h. */
19754 _ACEOF
19755 cat confdefs.h >>conftest.$ac_ext
19756 cat >>conftest.$ac_ext <<_ACEOF
19757 /* end confdefs.h. */
19758 $ac_includes_default
19759 int
19760 main ()
19761 {
19762 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19763 test_array [0] = 0
19764
19765 ;
19766 return 0;
19767 }
19768 _ACEOF
19769 rm -f conftest.$ac_objext
19770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19771 (eval $ac_compile) 2>conftest.er1
19772 ac_status=$?
19773 grep -v '^ *+' conftest.er1 >conftest.err
19774 rm -f conftest.er1
19775 cat conftest.err >&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); } &&
19778 { ac_try='test -z "$ac_cxx_werror_flag"
19779 || test ! -s conftest.err'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19782 ac_status=$?
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; } &&
19785 { ac_try='test -s conftest.$ac_objext'
19786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19787 (eval $ac_try) 2>&5
19788 ac_status=$?
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); }; }; then
19791 ac_hi=$ac_mid
19792 else
19793 echo "$as_me: failed program was:" >&5
19794 sed 's/^/| /' conftest.$ac_ext >&5
19795
19796 ac_lo=`expr '(' $ac_mid ')' + 1`
19797 fi
19798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19799 done
19800 case $ac_lo in
19801 ?*) ac_cv_sizeof_long=$ac_lo;;
19802 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19803 See \`config.log' for more details." >&5
19804 echo "$as_me: error: cannot compute sizeof (long), 77
19805 See \`config.log' for more details." >&2;}
19806 { (exit 1); exit 1; }; } ;;
19807 esac
19808 else
19809 if test "$cross_compiling" = yes; then
19810 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19811 See \`config.log' for more details." >&5
19812 echo "$as_me: error: cannot run test program while cross compiling
19813 See \`config.log' for more details." >&2;}
19814 { (exit 1); exit 1; }; }
19815 else
19816 cat >conftest.$ac_ext <<_ACEOF
19817 /* confdefs.h. */
19818 _ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 $ac_includes_default
19823 long longval () { return (long) (sizeof (long)); }
19824 unsigned long ulongval () { return (long) (sizeof (long)); }
19825 #include <stdio.h>
19826 #include <stdlib.h>
19827 int
19828 main ()
19829 {
19830
19831 FILE *f = fopen ("conftest.val", "w");
19832 if (! f)
19833 exit (1);
19834 if (((long) (sizeof (long))) < 0)
19835 {
19836 long i = longval ();
19837 if (i != ((long) (sizeof (long))))
19838 exit (1);
19839 fprintf (f, "%ld\n", i);
19840 }
19841 else
19842 {
19843 unsigned long i = ulongval ();
19844 if (i != ((long) (sizeof (long))))
19845 exit (1);
19846 fprintf (f, "%lu\n", i);
19847 }
19848 exit (ferror (f) || fclose (f) != 0);
19849
19850 ;
19851 return 0;
19852 }
19853 _ACEOF
19854 rm -f conftest$ac_exeext
19855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19856 (eval $ac_link) 2>&5
19857 ac_status=$?
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19861 (eval $ac_try) 2>&5
19862 ac_status=$?
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; }; then
19865 ac_cv_sizeof_long=`cat conftest.val`
19866 else
19867 echo "$as_me: program exited with status $ac_status" >&5
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.$ac_ext >&5
19870
19871 ( exit $ac_status )
19872 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19873 See \`config.log' for more details." >&5
19874 echo "$as_me: error: cannot compute sizeof (long), 77
19875 See \`config.log' for more details." >&2;}
19876 { (exit 1); exit 1; }; }
19877 fi
19878 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19879 fi
19880 fi
19881 rm -f conftest.val
19882 else
19883 ac_cv_sizeof_long=0
19884 fi
19885 fi
19886 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19887 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19888 cat >>confdefs.h <<_ACEOF
19889 #define SIZEOF_LONG $ac_cv_sizeof_long
19890 _ACEOF
19891
19892
19893 echo "$as_me:$LINENO: checking for size_t" >&5
19894 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19895 if test "${ac_cv_type_size_t+set}" = set; then
19896 echo $ECHO_N "(cached) $ECHO_C" >&6
19897 else
19898 cat >conftest.$ac_ext <<_ACEOF
19899 /* confdefs.h. */
19900 _ACEOF
19901 cat confdefs.h >>conftest.$ac_ext
19902 cat >>conftest.$ac_ext <<_ACEOF
19903 /* end confdefs.h. */
19904 $ac_includes_default
19905 int
19906 main ()
19907 {
19908 if ((size_t *) 0)
19909 return 0;
19910 if (sizeof (size_t))
19911 return 0;
19912 ;
19913 return 0;
19914 }
19915 _ACEOF
19916 rm -f conftest.$ac_objext
19917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19918 (eval $ac_compile) 2>conftest.er1
19919 ac_status=$?
19920 grep -v '^ *+' conftest.er1 >conftest.err
19921 rm -f conftest.er1
19922 cat conftest.err >&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); } &&
19925 { ac_try='test -z "$ac_cxx_werror_flag"
19926 || test ! -s conftest.err'
19927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19928 (eval $ac_try) 2>&5
19929 ac_status=$?
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); }; } &&
19932 { ac_try='test -s conftest.$ac_objext'
19933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19934 (eval $ac_try) 2>&5
19935 ac_status=$?
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); }; }; then
19938 ac_cv_type_size_t=yes
19939 else
19940 echo "$as_me: failed program was:" >&5
19941 sed 's/^/| /' conftest.$ac_ext >&5
19942
19943 ac_cv_type_size_t=no
19944 fi
19945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19946 fi
19947 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19948 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19949
19950 echo "$as_me:$LINENO: checking size of size_t" >&5
19951 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19952 if test "${ac_cv_sizeof_size_t+set}" = set; then
19953 echo $ECHO_N "(cached) $ECHO_C" >&6
19954 else
19955 if test "$ac_cv_type_size_t" = yes; then
19956 # The cast to unsigned long works around a bug in the HP C Compiler
19957 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19958 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19959 # This bug is HP SR number 8606223364.
19960 if test "$cross_compiling" = yes; then
19961 # Depending upon the size, compute the lo and hi bounds.
19962 cat >conftest.$ac_ext <<_ACEOF
19963 /* confdefs.h. */
19964 _ACEOF
19965 cat confdefs.h >>conftest.$ac_ext
19966 cat >>conftest.$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19968 $ac_includes_default
19969 int
19970 main ()
19971 {
19972 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19973 test_array [0] = 0
19974
19975 ;
19976 return 0;
19977 }
19978 _ACEOF
19979 rm -f conftest.$ac_objext
19980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19981 (eval $ac_compile) 2>conftest.er1
19982 ac_status=$?
19983 grep -v '^ *+' conftest.er1 >conftest.err
19984 rm -f conftest.er1
19985 cat conftest.err >&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); } &&
19988 { ac_try='test -z "$ac_cxx_werror_flag"
19989 || test ! -s conftest.err'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19992 ac_status=$?
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; } &&
19995 { ac_try='test -s conftest.$ac_objext'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19998 ac_status=$?
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; }; then
20001 ac_lo=0 ac_mid=0
20002 while :; do
20003 cat >conftest.$ac_ext <<_ACEOF
20004 /* confdefs.h. */
20005 _ACEOF
20006 cat confdefs.h >>conftest.$ac_ext
20007 cat >>conftest.$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20009 $ac_includes_default
20010 int
20011 main ()
20012 {
20013 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20014 test_array [0] = 0
20015
20016 ;
20017 return 0;
20018 }
20019 _ACEOF
20020 rm -f conftest.$ac_objext
20021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20022 (eval $ac_compile) 2>conftest.er1
20023 ac_status=$?
20024 grep -v '^ *+' conftest.er1 >conftest.err
20025 rm -f conftest.er1
20026 cat conftest.err >&5
20027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028 (exit $ac_status); } &&
20029 { ac_try='test -z "$ac_cxx_werror_flag"
20030 || test ! -s conftest.err'
20031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032 (eval $ac_try) 2>&5
20033 ac_status=$?
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); }; } &&
20036 { ac_try='test -s conftest.$ac_objext'
20037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038 (eval $ac_try) 2>&5
20039 ac_status=$?
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); }; }; then
20042 ac_hi=$ac_mid; break
20043 else
20044 echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.$ac_ext >&5
20046
20047 ac_lo=`expr $ac_mid + 1`
20048 if test $ac_lo -le $ac_mid; then
20049 ac_lo= ac_hi=
20050 break
20051 fi
20052 ac_mid=`expr 2 '*' $ac_mid + 1`
20053 fi
20054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20055 done
20056 else
20057 echo "$as_me: failed program was:" >&5
20058 sed 's/^/| /' conftest.$ac_ext >&5
20059
20060 cat >conftest.$ac_ext <<_ACEOF
20061 /* confdefs.h. */
20062 _ACEOF
20063 cat confdefs.h >>conftest.$ac_ext
20064 cat >>conftest.$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20066 $ac_includes_default
20067 int
20068 main ()
20069 {
20070 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20071 test_array [0] = 0
20072
20073 ;
20074 return 0;
20075 }
20076 _ACEOF
20077 rm -f conftest.$ac_objext
20078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20079 (eval $ac_compile) 2>conftest.er1
20080 ac_status=$?
20081 grep -v '^ *+' conftest.er1 >conftest.err
20082 rm -f conftest.er1
20083 cat conftest.err >&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); } &&
20086 { ac_try='test -z "$ac_cxx_werror_flag"
20087 || test ! -s conftest.err'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20090 ac_status=$?
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; } &&
20093 { ac_try='test -s conftest.$ac_objext'
20094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20095 (eval $ac_try) 2>&5
20096 ac_status=$?
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); }; }; then
20099 ac_hi=-1 ac_mid=-1
20100 while :; do
20101 cat >conftest.$ac_ext <<_ACEOF
20102 /* confdefs.h. */
20103 _ACEOF
20104 cat confdefs.h >>conftest.$ac_ext
20105 cat >>conftest.$ac_ext <<_ACEOF
20106 /* end confdefs.h. */
20107 $ac_includes_default
20108 int
20109 main ()
20110 {
20111 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20112 test_array [0] = 0
20113
20114 ;
20115 return 0;
20116 }
20117 _ACEOF
20118 rm -f conftest.$ac_objext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20120 (eval $ac_compile) 2>conftest.er1
20121 ac_status=$?
20122 grep -v '^ *+' conftest.er1 >conftest.err
20123 rm -f conftest.er1
20124 cat conftest.err >&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } &&
20127 { ac_try='test -z "$ac_cxx_werror_flag"
20128 || test ! -s conftest.err'
20129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130 (eval $ac_try) 2>&5
20131 ac_status=$?
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); }; } &&
20134 { ac_try='test -s conftest.$ac_objext'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20137 ac_status=$?
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; }; then
20140 ac_lo=$ac_mid; break
20141 else
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20144
20145 ac_hi=`expr '(' $ac_mid ')' - 1`
20146 if test $ac_mid -le $ac_hi; then
20147 ac_lo= ac_hi=
20148 break
20149 fi
20150 ac_mid=`expr 2 '*' $ac_mid`
20151 fi
20152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20153 done
20154 else
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20157
20158 ac_lo= ac_hi=
20159 fi
20160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20161 fi
20162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20163 # Binary search between lo and hi bounds.
20164 while test "x$ac_lo" != "x$ac_hi"; do
20165 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20166 cat >conftest.$ac_ext <<_ACEOF
20167 /* confdefs.h. */
20168 _ACEOF
20169 cat confdefs.h >>conftest.$ac_ext
20170 cat >>conftest.$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20172 $ac_includes_default
20173 int
20174 main ()
20175 {
20176 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20177 test_array [0] = 0
20178
20179 ;
20180 return 0;
20181 }
20182 _ACEOF
20183 rm -f conftest.$ac_objext
20184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20185 (eval $ac_compile) 2>conftest.er1
20186 ac_status=$?
20187 grep -v '^ *+' conftest.er1 >conftest.err
20188 rm -f conftest.er1
20189 cat conftest.err >&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); } &&
20192 { ac_try='test -z "$ac_cxx_werror_flag"
20193 || test ! -s conftest.err'
20194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20195 (eval $ac_try) 2>&5
20196 ac_status=$?
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); }; } &&
20199 { ac_try='test -s conftest.$ac_objext'
20200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20201 (eval $ac_try) 2>&5
20202 ac_status=$?
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); }; }; then
20205 ac_hi=$ac_mid
20206 else
20207 echo "$as_me: failed program was:" >&5
20208 sed 's/^/| /' conftest.$ac_ext >&5
20209
20210 ac_lo=`expr '(' $ac_mid ')' + 1`
20211 fi
20212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20213 done
20214 case $ac_lo in
20215 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20216 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20217 See \`config.log' for more details." >&5
20218 echo "$as_me: error: cannot compute sizeof (size_t), 77
20219 See \`config.log' for more details." >&2;}
20220 { (exit 1); exit 1; }; } ;;
20221 esac
20222 else
20223 if test "$cross_compiling" = yes; then
20224 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20225 See \`config.log' for more details." >&5
20226 echo "$as_me: error: cannot run test program while cross compiling
20227 See \`config.log' for more details." >&2;}
20228 { (exit 1); exit 1; }; }
20229 else
20230 cat >conftest.$ac_ext <<_ACEOF
20231 /* confdefs.h. */
20232 _ACEOF
20233 cat confdefs.h >>conftest.$ac_ext
20234 cat >>conftest.$ac_ext <<_ACEOF
20235 /* end confdefs.h. */
20236 $ac_includes_default
20237 long longval () { return (long) (sizeof (size_t)); }
20238 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20239 #include <stdio.h>
20240 #include <stdlib.h>
20241 int
20242 main ()
20243 {
20244
20245 FILE *f = fopen ("conftest.val", "w");
20246 if (! f)
20247 exit (1);
20248 if (((long) (sizeof (size_t))) < 0)
20249 {
20250 long i = longval ();
20251 if (i != ((long) (sizeof (size_t))))
20252 exit (1);
20253 fprintf (f, "%ld\n", i);
20254 }
20255 else
20256 {
20257 unsigned long i = ulongval ();
20258 if (i != ((long) (sizeof (size_t))))
20259 exit (1);
20260 fprintf (f, "%lu\n", i);
20261 }
20262 exit (ferror (f) || fclose (f) != 0);
20263
20264 ;
20265 return 0;
20266 }
20267 _ACEOF
20268 rm -f conftest$ac_exeext
20269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20270 (eval $ac_link) 2>&5
20271 ac_status=$?
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275 (eval $ac_try) 2>&5
20276 ac_status=$?
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; }; then
20279 ac_cv_sizeof_size_t=`cat conftest.val`
20280 else
20281 echo "$as_me: program exited with status $ac_status" >&5
20282 echo "$as_me: failed program was:" >&5
20283 sed 's/^/| /' conftest.$ac_ext >&5
20284
20285 ( exit $ac_status )
20286 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20287 See \`config.log' for more details." >&5
20288 echo "$as_me: error: cannot compute sizeof (size_t), 77
20289 See \`config.log' for more details." >&2;}
20290 { (exit 1); exit 1; }; }
20291 fi
20292 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20293 fi
20294 fi
20295 rm -f conftest.val
20296 else
20297 ac_cv_sizeof_size_t=0
20298 fi
20299 fi
20300 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20301 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20302 cat >>confdefs.h <<_ACEOF
20303 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20304 _ACEOF
20305
20306
20307
20308 case "${host}" in
20309 arm-*-linux* )
20310 echo "$as_me:$LINENO: checking for long long" >&5
20311 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20312 if test "${ac_cv_type_long_long+set}" = set; then
20313 echo $ECHO_N "(cached) $ECHO_C" >&6
20314 else
20315 cat >conftest.$ac_ext <<_ACEOF
20316 /* confdefs.h. */
20317 _ACEOF
20318 cat confdefs.h >>conftest.$ac_ext
20319 cat >>conftest.$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 $ac_includes_default
20322 int
20323 main ()
20324 {
20325 if ((long long *) 0)
20326 return 0;
20327 if (sizeof (long long))
20328 return 0;
20329 ;
20330 return 0;
20331 }
20332 _ACEOF
20333 rm -f conftest.$ac_objext
20334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20335 (eval $ac_compile) 2>conftest.er1
20336 ac_status=$?
20337 grep -v '^ *+' conftest.er1 >conftest.err
20338 rm -f conftest.er1
20339 cat conftest.err >&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); } &&
20342 { ac_try='test -z "$ac_cxx_werror_flag"
20343 || test ! -s conftest.err'
20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20345 (eval $ac_try) 2>&5
20346 ac_status=$?
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; } &&
20349 { ac_try='test -s conftest.$ac_objext'
20350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20351 (eval $ac_try) 2>&5
20352 ac_status=$?
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; }; then
20355 ac_cv_type_long_long=yes
20356 else
20357 echo "$as_me: failed program was:" >&5
20358 sed 's/^/| /' conftest.$ac_ext >&5
20359
20360 ac_cv_type_long_long=no
20361 fi
20362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20363 fi
20364 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20365 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20366
20367 echo "$as_me:$LINENO: checking size of long long" >&5
20368 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20369 if test "${ac_cv_sizeof_long_long+set}" = set; then
20370 echo $ECHO_N "(cached) $ECHO_C" >&6
20371 else
20372 if test "$ac_cv_type_long_long" = yes; then
20373 # The cast to unsigned long works around a bug in the HP C Compiler
20374 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20375 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20376 # This bug is HP SR number 8606223364.
20377 if test "$cross_compiling" = yes; then
20378 # Depending upon the size, compute the lo and hi bounds.
20379 cat >conftest.$ac_ext <<_ACEOF
20380 /* confdefs.h. */
20381 _ACEOF
20382 cat confdefs.h >>conftest.$ac_ext
20383 cat >>conftest.$ac_ext <<_ACEOF
20384 /* end confdefs.h. */
20385 $ac_includes_default
20386 int
20387 main ()
20388 {
20389 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20390 test_array [0] = 0
20391
20392 ;
20393 return 0;
20394 }
20395 _ACEOF
20396 rm -f conftest.$ac_objext
20397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20398 (eval $ac_compile) 2>conftest.er1
20399 ac_status=$?
20400 grep -v '^ *+' conftest.er1 >conftest.err
20401 rm -f conftest.er1
20402 cat conftest.err >&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); } &&
20405 { ac_try='test -z "$ac_cxx_werror_flag"
20406 || test ! -s conftest.err'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20409 ac_status=$?
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; } &&
20412 { ac_try='test -s conftest.$ac_objext'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20415 ac_status=$?
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; }; then
20418 ac_lo=0 ac_mid=0
20419 while :; do
20420 cat >conftest.$ac_ext <<_ACEOF
20421 /* confdefs.h. */
20422 _ACEOF
20423 cat confdefs.h >>conftest.$ac_ext
20424 cat >>conftest.$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 $ac_includes_default
20427 int
20428 main ()
20429 {
20430 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20431 test_array [0] = 0
20432
20433 ;
20434 return 0;
20435 }
20436 _ACEOF
20437 rm -f conftest.$ac_objext
20438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20439 (eval $ac_compile) 2>conftest.er1
20440 ac_status=$?
20441 grep -v '^ *+' conftest.er1 >conftest.err
20442 rm -f conftest.er1
20443 cat conftest.err >&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); } &&
20446 { ac_try='test -z "$ac_cxx_werror_flag"
20447 || test ! -s conftest.err'
20448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20449 (eval $ac_try) 2>&5
20450 ac_status=$?
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); }; } &&
20453 { ac_try='test -s conftest.$ac_objext'
20454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20455 (eval $ac_try) 2>&5
20456 ac_status=$?
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); }; }; then
20459 ac_hi=$ac_mid; break
20460 else
20461 echo "$as_me: failed program was:" >&5
20462 sed 's/^/| /' conftest.$ac_ext >&5
20463
20464 ac_lo=`expr $ac_mid + 1`
20465 if test $ac_lo -le $ac_mid; then
20466 ac_lo= ac_hi=
20467 break
20468 fi
20469 ac_mid=`expr 2 '*' $ac_mid + 1`
20470 fi
20471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20472 done
20473 else
20474 echo "$as_me: failed program was:" >&5
20475 sed 's/^/| /' conftest.$ac_ext >&5
20476
20477 cat >conftest.$ac_ext <<_ACEOF
20478 /* confdefs.h. */
20479 _ACEOF
20480 cat confdefs.h >>conftest.$ac_ext
20481 cat >>conftest.$ac_ext <<_ACEOF
20482 /* end confdefs.h. */
20483 $ac_includes_default
20484 int
20485 main ()
20486 {
20487 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20488 test_array [0] = 0
20489
20490 ;
20491 return 0;
20492 }
20493 _ACEOF
20494 rm -f conftest.$ac_objext
20495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20496 (eval $ac_compile) 2>conftest.er1
20497 ac_status=$?
20498 grep -v '^ *+' conftest.er1 >conftest.err
20499 rm -f conftest.er1
20500 cat conftest.err >&5
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); } &&
20503 { ac_try='test -z "$ac_cxx_werror_flag"
20504 || test ! -s conftest.err'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20507 ac_status=$?
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; } &&
20510 { ac_try='test -s conftest.$ac_objext'
20511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20512 (eval $ac_try) 2>&5
20513 ac_status=$?
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); }; }; then
20516 ac_hi=-1 ac_mid=-1
20517 while :; do
20518 cat >conftest.$ac_ext <<_ACEOF
20519 /* confdefs.h. */
20520 _ACEOF
20521 cat confdefs.h >>conftest.$ac_ext
20522 cat >>conftest.$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20524 $ac_includes_default
20525 int
20526 main ()
20527 {
20528 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20529 test_array [0] = 0
20530
20531 ;
20532 return 0;
20533 }
20534 _ACEOF
20535 rm -f conftest.$ac_objext
20536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20537 (eval $ac_compile) 2>conftest.er1
20538 ac_status=$?
20539 grep -v '^ *+' conftest.er1 >conftest.err
20540 rm -f conftest.er1
20541 cat conftest.err >&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } &&
20544 { ac_try='test -z "$ac_cxx_werror_flag"
20545 || test ! -s conftest.err'
20546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547 (eval $ac_try) 2>&5
20548 ac_status=$?
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; } &&
20551 { ac_try='test -s conftest.$ac_objext'
20552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20553 (eval $ac_try) 2>&5
20554 ac_status=$?
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); }; }; then
20557 ac_lo=$ac_mid; break
20558 else
20559 echo "$as_me: failed program was:" >&5
20560 sed 's/^/| /' conftest.$ac_ext >&5
20561
20562 ac_hi=`expr '(' $ac_mid ')' - 1`
20563 if test $ac_mid -le $ac_hi; then
20564 ac_lo= ac_hi=
20565 break
20566 fi
20567 ac_mid=`expr 2 '*' $ac_mid`
20568 fi
20569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20570 done
20571 else
20572 echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.$ac_ext >&5
20574
20575 ac_lo= ac_hi=
20576 fi
20577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20578 fi
20579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20580 # Binary search between lo and hi bounds.
20581 while test "x$ac_lo" != "x$ac_hi"; do
20582 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20583 cat >conftest.$ac_ext <<_ACEOF
20584 /* confdefs.h. */
20585 _ACEOF
20586 cat confdefs.h >>conftest.$ac_ext
20587 cat >>conftest.$ac_ext <<_ACEOF
20588 /* end confdefs.h. */
20589 $ac_includes_default
20590 int
20591 main ()
20592 {
20593 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20594 test_array [0] = 0
20595
20596 ;
20597 return 0;
20598 }
20599 _ACEOF
20600 rm -f conftest.$ac_objext
20601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20602 (eval $ac_compile) 2>conftest.er1
20603 ac_status=$?
20604 grep -v '^ *+' conftest.er1 >conftest.err
20605 rm -f conftest.er1
20606 cat conftest.err >&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } &&
20609 { ac_try='test -z "$ac_cxx_werror_flag"
20610 || test ! -s conftest.err'
20611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20612 (eval $ac_try) 2>&5
20613 ac_status=$?
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); }; } &&
20616 { ac_try='test -s conftest.$ac_objext'
20617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20618 (eval $ac_try) 2>&5
20619 ac_status=$?
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); }; }; then
20622 ac_hi=$ac_mid
20623 else
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20626
20627 ac_lo=`expr '(' $ac_mid ')' + 1`
20628 fi
20629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20630 done
20631 case $ac_lo in
20632 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20633 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20634 See \`config.log' for more details." >&5
20635 echo "$as_me: error: cannot compute sizeof (long long), 77
20636 See \`config.log' for more details." >&2;}
20637 { (exit 1); exit 1; }; } ;;
20638 esac
20639 else
20640 if test "$cross_compiling" = yes; then
20641 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20642 See \`config.log' for more details." >&5
20643 echo "$as_me: error: cannot run test program while cross compiling
20644 See \`config.log' for more details." >&2;}
20645 { (exit 1); exit 1; }; }
20646 else
20647 cat >conftest.$ac_ext <<_ACEOF
20648 /* confdefs.h. */
20649 _ACEOF
20650 cat confdefs.h >>conftest.$ac_ext
20651 cat >>conftest.$ac_ext <<_ACEOF
20652 /* end confdefs.h. */
20653 $ac_includes_default
20654 long longval () { return (long) (sizeof (long long)); }
20655 unsigned long ulongval () { return (long) (sizeof (long long)); }
20656 #include <stdio.h>
20657 #include <stdlib.h>
20658 int
20659 main ()
20660 {
20661
20662 FILE *f = fopen ("conftest.val", "w");
20663 if (! f)
20664 exit (1);
20665 if (((long) (sizeof (long long))) < 0)
20666 {
20667 long i = longval ();
20668 if (i != ((long) (sizeof (long long))))
20669 exit (1);
20670 fprintf (f, "%ld\n", i);
20671 }
20672 else
20673 {
20674 unsigned long i = ulongval ();
20675 if (i != ((long) (sizeof (long long))))
20676 exit (1);
20677 fprintf (f, "%lu\n", i);
20678 }
20679 exit (ferror (f) || fclose (f) != 0);
20680
20681 ;
20682 return 0;
20683 }
20684 _ACEOF
20685 rm -f conftest$ac_exeext
20686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20687 (eval $ac_link) 2>&5
20688 ac_status=$?
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20693 ac_status=$?
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; }; then
20696 ac_cv_sizeof_long_long=`cat conftest.val`
20697 else
20698 echo "$as_me: program exited with status $ac_status" >&5
20699 echo "$as_me: failed program was:" >&5
20700 sed 's/^/| /' conftest.$ac_ext >&5
20701
20702 ( exit $ac_status )
20703 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20704 See \`config.log' for more details." >&5
20705 echo "$as_me: error: cannot compute sizeof (long long), 77
20706 See \`config.log' for more details." >&2;}
20707 { (exit 1); exit 1; }; }
20708 fi
20709 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20710 fi
20711 fi
20712 rm -f conftest.val
20713 else
20714 ac_cv_sizeof_long_long=0
20715 fi
20716 fi
20717 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20718 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20719 cat >>confdefs.h <<_ACEOF
20720 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20721 _ACEOF
20722
20723
20724 ;;
20725 *-hp-hpux* )
20726 echo "$as_me:$LINENO: checking for long long" >&5
20727 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20728 if test "${ac_cv_type_long_long+set}" = set; then
20729 echo $ECHO_N "(cached) $ECHO_C" >&6
20730 else
20731 cat >conftest.$ac_ext <<_ACEOF
20732 /* confdefs.h. */
20733 _ACEOF
20734 cat confdefs.h >>conftest.$ac_ext
20735 cat >>conftest.$ac_ext <<_ACEOF
20736 /* end confdefs.h. */
20737 $ac_includes_default
20738 int
20739 main ()
20740 {
20741 if ((long long *) 0)
20742 return 0;
20743 if (sizeof (long long))
20744 return 0;
20745 ;
20746 return 0;
20747 }
20748 _ACEOF
20749 rm -f conftest.$ac_objext
20750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20751 (eval $ac_compile) 2>conftest.er1
20752 ac_status=$?
20753 grep -v '^ *+' conftest.er1 >conftest.err
20754 rm -f conftest.er1
20755 cat conftest.err >&5
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); } &&
20758 { ac_try='test -z "$ac_cxx_werror_flag"
20759 || test ! -s conftest.err'
20760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20761 (eval $ac_try) 2>&5
20762 ac_status=$?
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); }; } &&
20765 { ac_try='test -s conftest.$ac_objext'
20766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20767 (eval $ac_try) 2>&5
20768 ac_status=$?
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); }; }; then
20771 ac_cv_type_long_long=yes
20772 else
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.$ac_ext >&5
20775
20776 ac_cv_type_long_long=no
20777 fi
20778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20779 fi
20780 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20781 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20782
20783 echo "$as_me:$LINENO: checking size of long long" >&5
20784 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20785 if test "${ac_cv_sizeof_long_long+set}" = set; then
20786 echo $ECHO_N "(cached) $ECHO_C" >&6
20787 else
20788 if test "$ac_cv_type_long_long" = yes; then
20789 # The cast to unsigned long works around a bug in the HP C Compiler
20790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20792 # This bug is HP SR number 8606223364.
20793 if test "$cross_compiling" = yes; then
20794 # Depending upon the size, compute the lo and hi bounds.
20795 cat >conftest.$ac_ext <<_ACEOF
20796 /* confdefs.h. */
20797 _ACEOF
20798 cat confdefs.h >>conftest.$ac_ext
20799 cat >>conftest.$ac_ext <<_ACEOF
20800 /* end confdefs.h. */
20801 $ac_includes_default
20802 int
20803 main ()
20804 {
20805 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20806 test_array [0] = 0
20807
20808 ;
20809 return 0;
20810 }
20811 _ACEOF
20812 rm -f conftest.$ac_objext
20813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20814 (eval $ac_compile) 2>conftest.er1
20815 ac_status=$?
20816 grep -v '^ *+' conftest.er1 >conftest.err
20817 rm -f conftest.er1
20818 cat conftest.err >&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } &&
20821 { ac_try='test -z "$ac_cxx_werror_flag"
20822 || test ! -s conftest.err'
20823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20824 (eval $ac_try) 2>&5
20825 ac_status=$?
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); }; } &&
20828 { ac_try='test -s conftest.$ac_objext'
20829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20830 (eval $ac_try) 2>&5
20831 ac_status=$?
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); }; }; then
20834 ac_lo=0 ac_mid=0
20835 while :; do
20836 cat >conftest.$ac_ext <<_ACEOF
20837 /* confdefs.h. */
20838 _ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 $ac_includes_default
20843 int
20844 main ()
20845 {
20846 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20847 test_array [0] = 0
20848
20849 ;
20850 return 0;
20851 }
20852 _ACEOF
20853 rm -f conftest.$ac_objext
20854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20855 (eval $ac_compile) 2>conftest.er1
20856 ac_status=$?
20857 grep -v '^ *+' conftest.er1 >conftest.err
20858 rm -f conftest.er1
20859 cat conftest.err >&5
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); } &&
20862 { ac_try='test -z "$ac_cxx_werror_flag"
20863 || test ! -s conftest.err'
20864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20865 (eval $ac_try) 2>&5
20866 ac_status=$?
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); }; } &&
20869 { ac_try='test -s conftest.$ac_objext'
20870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20871 (eval $ac_try) 2>&5
20872 ac_status=$?
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; }; then
20875 ac_hi=$ac_mid; break
20876 else
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.$ac_ext >&5
20879
20880 ac_lo=`expr $ac_mid + 1`
20881 if test $ac_lo -le $ac_mid; then
20882 ac_lo= ac_hi=
20883 break
20884 fi
20885 ac_mid=`expr 2 '*' $ac_mid + 1`
20886 fi
20887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20888 done
20889 else
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.$ac_ext >&5
20892
20893 cat >conftest.$ac_ext <<_ACEOF
20894 /* confdefs.h. */
20895 _ACEOF
20896 cat confdefs.h >>conftest.$ac_ext
20897 cat >>conftest.$ac_ext <<_ACEOF
20898 /* end confdefs.h. */
20899 $ac_includes_default
20900 int
20901 main ()
20902 {
20903 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20904 test_array [0] = 0
20905
20906 ;
20907 return 0;
20908 }
20909 _ACEOF
20910 rm -f conftest.$ac_objext
20911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20912 (eval $ac_compile) 2>conftest.er1
20913 ac_status=$?
20914 grep -v '^ *+' conftest.er1 >conftest.err
20915 rm -f conftest.er1
20916 cat conftest.err >&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } &&
20919 { ac_try='test -z "$ac_cxx_werror_flag"
20920 || test ! -s conftest.err'
20921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20922 (eval $ac_try) 2>&5
20923 ac_status=$?
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); }; } &&
20926 { ac_try='test -s conftest.$ac_objext'
20927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20928 (eval $ac_try) 2>&5
20929 ac_status=$?
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); }; }; then
20932 ac_hi=-1 ac_mid=-1
20933 while :; do
20934 cat >conftest.$ac_ext <<_ACEOF
20935 /* confdefs.h. */
20936 _ACEOF
20937 cat confdefs.h >>conftest.$ac_ext
20938 cat >>conftest.$ac_ext <<_ACEOF
20939 /* end confdefs.h. */
20940 $ac_includes_default
20941 int
20942 main ()
20943 {
20944 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20945 test_array [0] = 0
20946
20947 ;
20948 return 0;
20949 }
20950 _ACEOF
20951 rm -f conftest.$ac_objext
20952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20953 (eval $ac_compile) 2>conftest.er1
20954 ac_status=$?
20955 grep -v '^ *+' conftest.er1 >conftest.err
20956 rm -f conftest.er1
20957 cat conftest.err >&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } &&
20960 { ac_try='test -z "$ac_cxx_werror_flag"
20961 || test ! -s conftest.err'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20964 ac_status=$?
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; } &&
20967 { ac_try='test -s conftest.$ac_objext'
20968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969 (eval $ac_try) 2>&5
20970 ac_status=$?
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; }; then
20973 ac_lo=$ac_mid; break
20974 else
20975 echo "$as_me: failed program was:" >&5
20976 sed 's/^/| /' conftest.$ac_ext >&5
20977
20978 ac_hi=`expr '(' $ac_mid ')' - 1`
20979 if test $ac_mid -le $ac_hi; then
20980 ac_lo= ac_hi=
20981 break
20982 fi
20983 ac_mid=`expr 2 '*' $ac_mid`
20984 fi
20985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20986 done
20987 else
20988 echo "$as_me: failed program was:" >&5
20989 sed 's/^/| /' conftest.$ac_ext >&5
20990
20991 ac_lo= ac_hi=
20992 fi
20993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20994 fi
20995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20996 # Binary search between lo and hi bounds.
20997 while test "x$ac_lo" != "x$ac_hi"; do
20998 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20999 cat >conftest.$ac_ext <<_ACEOF
21000 /* confdefs.h. */
21001 _ACEOF
21002 cat confdefs.h >>conftest.$ac_ext
21003 cat >>conftest.$ac_ext <<_ACEOF
21004 /* end confdefs.h. */
21005 $ac_includes_default
21006 int
21007 main ()
21008 {
21009 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21010 test_array [0] = 0
21011
21012 ;
21013 return 0;
21014 }
21015 _ACEOF
21016 rm -f conftest.$ac_objext
21017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21018 (eval $ac_compile) 2>conftest.er1
21019 ac_status=$?
21020 grep -v '^ *+' conftest.er1 >conftest.err
21021 rm -f conftest.er1
21022 cat conftest.err >&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); } &&
21025 { ac_try='test -z "$ac_cxx_werror_flag"
21026 || test ! -s conftest.err'
21027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21028 (eval $ac_try) 2>&5
21029 ac_status=$?
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); }; } &&
21032 { ac_try='test -s conftest.$ac_objext'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21035 ac_status=$?
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; }; then
21038 ac_hi=$ac_mid
21039 else
21040 echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.$ac_ext >&5
21042
21043 ac_lo=`expr '(' $ac_mid ')' + 1`
21044 fi
21045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21046 done
21047 case $ac_lo in
21048 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21049 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21050 See \`config.log' for more details." >&5
21051 echo "$as_me: error: cannot compute sizeof (long long), 77
21052 See \`config.log' for more details." >&2;}
21053 { (exit 1); exit 1; }; } ;;
21054 esac
21055 else
21056 if test "$cross_compiling" = yes; then
21057 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21058 See \`config.log' for more details." >&5
21059 echo "$as_me: error: cannot run test program while cross compiling
21060 See \`config.log' for more details." >&2;}
21061 { (exit 1); exit 1; }; }
21062 else
21063 cat >conftest.$ac_ext <<_ACEOF
21064 /* confdefs.h. */
21065 _ACEOF
21066 cat confdefs.h >>conftest.$ac_ext
21067 cat >>conftest.$ac_ext <<_ACEOF
21068 /* end confdefs.h. */
21069 $ac_includes_default
21070 long longval () { return (long) (sizeof (long long)); }
21071 unsigned long ulongval () { return (long) (sizeof (long long)); }
21072 #include <stdio.h>
21073 #include <stdlib.h>
21074 int
21075 main ()
21076 {
21077
21078 FILE *f = fopen ("conftest.val", "w");
21079 if (! f)
21080 exit (1);
21081 if (((long) (sizeof (long long))) < 0)
21082 {
21083 long i = longval ();
21084 if (i != ((long) (sizeof (long long))))
21085 exit (1);
21086 fprintf (f, "%ld\n", i);
21087 }
21088 else
21089 {
21090 unsigned long i = ulongval ();
21091 if (i != ((long) (sizeof (long long))))
21092 exit (1);
21093 fprintf (f, "%lu\n", i);
21094 }
21095 exit (ferror (f) || fclose (f) != 0);
21096
21097 ;
21098 return 0;
21099 }
21100 _ACEOF
21101 rm -f conftest$ac_exeext
21102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21103 (eval $ac_link) 2>&5
21104 ac_status=$?
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21109 ac_status=$?
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; }; then
21112 ac_cv_sizeof_long_long=`cat conftest.val`
21113 else
21114 echo "$as_me: program exited with status $ac_status" >&5
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.$ac_ext >&5
21117
21118 ( exit $ac_status )
21119 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21120 See \`config.log' for more details." >&5
21121 echo "$as_me: error: cannot compute sizeof (long long), 77
21122 See \`config.log' for more details." >&2;}
21123 { (exit 1); exit 1; }; }
21124 fi
21125 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21126 fi
21127 fi
21128 rm -f conftest.val
21129 else
21130 ac_cv_sizeof_long_long=0
21131 fi
21132 fi
21133 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21134 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21135 cat >>confdefs.h <<_ACEOF
21136 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21137 _ACEOF
21138
21139
21140 if test "$ac_cv_sizeof_long_long" != "0"; then
21141 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21142 fi
21143 ;;
21144 * )
21145 echo "$as_me:$LINENO: checking for long long" >&5
21146 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21147 if test "${ac_cv_type_long_long+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 else
21150 cat >conftest.$ac_ext <<_ACEOF
21151 /* confdefs.h. */
21152 _ACEOF
21153 cat confdefs.h >>conftest.$ac_ext
21154 cat >>conftest.$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 $ac_includes_default
21157 int
21158 main ()
21159 {
21160 if ((long long *) 0)
21161 return 0;
21162 if (sizeof (long long))
21163 return 0;
21164 ;
21165 return 0;
21166 }
21167 _ACEOF
21168 rm -f conftest.$ac_objext
21169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21170 (eval $ac_compile) 2>conftest.er1
21171 ac_status=$?
21172 grep -v '^ *+' conftest.er1 >conftest.err
21173 rm -f conftest.er1
21174 cat conftest.err >&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); } &&
21177 { ac_try='test -z "$ac_cxx_werror_flag"
21178 || test ! -s conftest.err'
21179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21180 (eval $ac_try) 2>&5
21181 ac_status=$?
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); }; } &&
21184 { ac_try='test -s conftest.$ac_objext'
21185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21186 (eval $ac_try) 2>&5
21187 ac_status=$?
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); }; }; then
21190 ac_cv_type_long_long=yes
21191 else
21192 echo "$as_me: failed program was:" >&5
21193 sed 's/^/| /' conftest.$ac_ext >&5
21194
21195 ac_cv_type_long_long=no
21196 fi
21197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21198 fi
21199 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21200 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21201
21202 echo "$as_me:$LINENO: checking size of long long" >&5
21203 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21204 if test "${ac_cv_sizeof_long_long+set}" = set; then
21205 echo $ECHO_N "(cached) $ECHO_C" >&6
21206 else
21207 if test "$ac_cv_type_long_long" = yes; then
21208 # The cast to unsigned long works around a bug in the HP C Compiler
21209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21211 # This bug is HP SR number 8606223364.
21212 if test "$cross_compiling" = yes; then
21213 # Depending upon the size, compute the lo and hi bounds.
21214 cat >conftest.$ac_ext <<_ACEOF
21215 /* confdefs.h. */
21216 _ACEOF
21217 cat confdefs.h >>conftest.$ac_ext
21218 cat >>conftest.$ac_ext <<_ACEOF
21219 /* end confdefs.h. */
21220 $ac_includes_default
21221 int
21222 main ()
21223 {
21224 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21225 test_array [0] = 0
21226
21227 ;
21228 return 0;
21229 }
21230 _ACEOF
21231 rm -f conftest.$ac_objext
21232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21233 (eval $ac_compile) 2>conftest.er1
21234 ac_status=$?
21235 grep -v '^ *+' conftest.er1 >conftest.err
21236 rm -f conftest.er1
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } &&
21240 { ac_try='test -z "$ac_cxx_werror_flag"
21241 || test ! -s conftest.err'
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); }; } &&
21247 { ac_try='test -s conftest.$ac_objext'
21248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21249 (eval $ac_try) 2>&5
21250 ac_status=$?
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); }; }; then
21253 ac_lo=0 ac_mid=0
21254 while :; do
21255 cat >conftest.$ac_ext <<_ACEOF
21256 /* confdefs.h. */
21257 _ACEOF
21258 cat confdefs.h >>conftest.$ac_ext
21259 cat >>conftest.$ac_ext <<_ACEOF
21260 /* end confdefs.h. */
21261 $ac_includes_default
21262 int
21263 main ()
21264 {
21265 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21266 test_array [0] = 0
21267
21268 ;
21269 return 0;
21270 }
21271 _ACEOF
21272 rm -f conftest.$ac_objext
21273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21274 (eval $ac_compile) 2>conftest.er1
21275 ac_status=$?
21276 grep -v '^ *+' conftest.er1 >conftest.err
21277 rm -f conftest.er1
21278 cat conftest.err >&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); } &&
21281 { ac_try='test -z "$ac_cxx_werror_flag"
21282 || test ! -s conftest.err'
21283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21284 (eval $ac_try) 2>&5
21285 ac_status=$?
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); }; } &&
21288 { ac_try='test -s conftest.$ac_objext'
21289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290 (eval $ac_try) 2>&5
21291 ac_status=$?
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; }; then
21294 ac_hi=$ac_mid; break
21295 else
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21298
21299 ac_lo=`expr $ac_mid + 1`
21300 if test $ac_lo -le $ac_mid; then
21301 ac_lo= ac_hi=
21302 break
21303 fi
21304 ac_mid=`expr 2 '*' $ac_mid + 1`
21305 fi
21306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21307 done
21308 else
21309 echo "$as_me: failed program was:" >&5
21310 sed 's/^/| /' conftest.$ac_ext >&5
21311
21312 cat >conftest.$ac_ext <<_ACEOF
21313 /* confdefs.h. */
21314 _ACEOF
21315 cat confdefs.h >>conftest.$ac_ext
21316 cat >>conftest.$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318 $ac_includes_default
21319 int
21320 main ()
21321 {
21322 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21323 test_array [0] = 0
21324
21325 ;
21326 return 0;
21327 }
21328 _ACEOF
21329 rm -f conftest.$ac_objext
21330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21331 (eval $ac_compile) 2>conftest.er1
21332 ac_status=$?
21333 grep -v '^ *+' conftest.er1 >conftest.err
21334 rm -f conftest.er1
21335 cat conftest.err >&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } &&
21338 { ac_try='test -z "$ac_cxx_werror_flag"
21339 || test ! -s conftest.err'
21340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21341 (eval $ac_try) 2>&5
21342 ac_status=$?
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; } &&
21345 { ac_try='test -s conftest.$ac_objext'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21348 ac_status=$?
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; }; then
21351 ac_hi=-1 ac_mid=-1
21352 while :; do
21353 cat >conftest.$ac_ext <<_ACEOF
21354 /* confdefs.h. */
21355 _ACEOF
21356 cat confdefs.h >>conftest.$ac_ext
21357 cat >>conftest.$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21359 $ac_includes_default
21360 int
21361 main ()
21362 {
21363 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21364 test_array [0] = 0
21365
21366 ;
21367 return 0;
21368 }
21369 _ACEOF
21370 rm -f conftest.$ac_objext
21371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21372 (eval $ac_compile) 2>conftest.er1
21373 ac_status=$?
21374 grep -v '^ *+' conftest.er1 >conftest.err
21375 rm -f conftest.er1
21376 cat conftest.err >&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); } &&
21379 { ac_try='test -z "$ac_cxx_werror_flag"
21380 || test ! -s conftest.err'
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); }; } &&
21386 { ac_try='test -s conftest.$ac_objext'
21387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21388 (eval $ac_try) 2>&5
21389 ac_status=$?
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); }; }; then
21392 ac_lo=$ac_mid; break
21393 else
21394 echo "$as_me: failed program was:" >&5
21395 sed 's/^/| /' conftest.$ac_ext >&5
21396
21397 ac_hi=`expr '(' $ac_mid ')' - 1`
21398 if test $ac_mid -le $ac_hi; then
21399 ac_lo= ac_hi=
21400 break
21401 fi
21402 ac_mid=`expr 2 '*' $ac_mid`
21403 fi
21404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21405 done
21406 else
21407 echo "$as_me: failed program was:" >&5
21408 sed 's/^/| /' conftest.$ac_ext >&5
21409
21410 ac_lo= ac_hi=
21411 fi
21412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21413 fi
21414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21415 # Binary search between lo and hi bounds.
21416 while test "x$ac_lo" != "x$ac_hi"; do
21417 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21418 cat >conftest.$ac_ext <<_ACEOF
21419 /* confdefs.h. */
21420 _ACEOF
21421 cat confdefs.h >>conftest.$ac_ext
21422 cat >>conftest.$ac_ext <<_ACEOF
21423 /* end confdefs.h. */
21424 $ac_includes_default
21425 int
21426 main ()
21427 {
21428 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21429 test_array [0] = 0
21430
21431 ;
21432 return 0;
21433 }
21434 _ACEOF
21435 rm -f conftest.$ac_objext
21436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21437 (eval $ac_compile) 2>conftest.er1
21438 ac_status=$?
21439 grep -v '^ *+' conftest.er1 >conftest.err
21440 rm -f conftest.er1
21441 cat conftest.err >&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); } &&
21444 { ac_try='test -z "$ac_cxx_werror_flag"
21445 || test ! -s conftest.err'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21448 ac_status=$?
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; } &&
21451 { ac_try='test -s conftest.$ac_objext'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21454 ac_status=$?
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21457 ac_hi=$ac_mid
21458 else
21459 echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.$ac_ext >&5
21461
21462 ac_lo=`expr '(' $ac_mid ')' + 1`
21463 fi
21464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21465 done
21466 case $ac_lo in
21467 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21468 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21469 See \`config.log' for more details." >&5
21470 echo "$as_me: error: cannot compute sizeof (long long), 77
21471 See \`config.log' for more details." >&2;}
21472 { (exit 1); exit 1; }; } ;;
21473 esac
21474 else
21475 if test "$cross_compiling" = yes; then
21476 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21477 See \`config.log' for more details." >&5
21478 echo "$as_me: error: cannot run test program while cross compiling
21479 See \`config.log' for more details." >&2;}
21480 { (exit 1); exit 1; }; }
21481 else
21482 cat >conftest.$ac_ext <<_ACEOF
21483 /* confdefs.h. */
21484 _ACEOF
21485 cat confdefs.h >>conftest.$ac_ext
21486 cat >>conftest.$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21488 $ac_includes_default
21489 long longval () { return (long) (sizeof (long long)); }
21490 unsigned long ulongval () { return (long) (sizeof (long long)); }
21491 #include <stdio.h>
21492 #include <stdlib.h>
21493 int
21494 main ()
21495 {
21496
21497 FILE *f = fopen ("conftest.val", "w");
21498 if (! f)
21499 exit (1);
21500 if (((long) (sizeof (long long))) < 0)
21501 {
21502 long i = longval ();
21503 if (i != ((long) (sizeof (long long))))
21504 exit (1);
21505 fprintf (f, "%ld\n", i);
21506 }
21507 else
21508 {
21509 unsigned long i = ulongval ();
21510 if (i != ((long) (sizeof (long long))))
21511 exit (1);
21512 fprintf (f, "%lu\n", i);
21513 }
21514 exit (ferror (f) || fclose (f) != 0);
21515
21516 ;
21517 return 0;
21518 }
21519 _ACEOF
21520 rm -f conftest$ac_exeext
21521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21522 (eval $ac_link) 2>&5
21523 ac_status=$?
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21527 (eval $ac_try) 2>&5
21528 ac_status=$?
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); }; }; then
21531 ac_cv_sizeof_long_long=`cat conftest.val`
21532 else
21533 echo "$as_me: program exited with status $ac_status" >&5
21534 echo "$as_me: failed program was:" >&5
21535 sed 's/^/| /' conftest.$ac_ext >&5
21536
21537 ( exit $ac_status )
21538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21539 See \`config.log' for more details." >&5
21540 echo "$as_me: error: cannot compute sizeof (long long), 77
21541 See \`config.log' for more details." >&2;}
21542 { (exit 1); exit 1; }; }
21543 fi
21544 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21545 fi
21546 fi
21547 rm -f conftest.val
21548 else
21549 ac_cv_sizeof_long_long=0
21550 fi
21551 fi
21552 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21553 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21554 cat >>confdefs.h <<_ACEOF
21555 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21556 _ACEOF
21557
21558
21559 esac
21560
21561 echo "$as_me:$LINENO: checking for wchar_t" >&5
21562 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21563 if test "${ac_cv_type_wchar_t+set}" = set; then
21564 echo $ECHO_N "(cached) $ECHO_C" >&6
21565 else
21566 cat >conftest.$ac_ext <<_ACEOF
21567 /* confdefs.h. */
21568 _ACEOF
21569 cat confdefs.h >>conftest.$ac_ext
21570 cat >>conftest.$ac_ext <<_ACEOF
21571 /* end confdefs.h. */
21572
21573 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21574 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21575 # error "fake wchar_t"
21576 #endif
21577 #ifdef HAVE_WCHAR_H
21578 # ifdef __CYGWIN__
21579 # include <stddef.h>
21580 # endif
21581 # include <wchar.h>
21582 #endif
21583 #ifdef HAVE_STDLIB_H
21584 # include <stdlib.h>
21585 #endif
21586 #include <stdio.h>
21587
21588
21589
21590 int
21591 main ()
21592 {
21593 if ((wchar_t *) 0)
21594 return 0;
21595 if (sizeof (wchar_t))
21596 return 0;
21597 ;
21598 return 0;
21599 }
21600 _ACEOF
21601 rm -f conftest.$ac_objext
21602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21603 (eval $ac_compile) 2>conftest.er1
21604 ac_status=$?
21605 grep -v '^ *+' conftest.er1 >conftest.err
21606 rm -f conftest.er1
21607 cat conftest.err >&5
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); } &&
21610 { ac_try='test -z "$ac_cxx_werror_flag"
21611 || test ! -s conftest.err'
21612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21613 (eval $ac_try) 2>&5
21614 ac_status=$?
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); }; } &&
21617 { ac_try='test -s conftest.$ac_objext'
21618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21619 (eval $ac_try) 2>&5
21620 ac_status=$?
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); }; }; then
21623 ac_cv_type_wchar_t=yes
21624 else
21625 echo "$as_me: failed program was:" >&5
21626 sed 's/^/| /' conftest.$ac_ext >&5
21627
21628 ac_cv_type_wchar_t=no
21629 fi
21630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21631 fi
21632 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21633 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21634
21635 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21636 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21637 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21638 echo $ECHO_N "(cached) $ECHO_C" >&6
21639 else
21640 if test "$ac_cv_type_wchar_t" = yes; then
21641 # The cast to unsigned long works around a bug in the HP C Compiler
21642 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21643 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21644 # This bug is HP SR number 8606223364.
21645 if test "$cross_compiling" = yes; then
21646 # Depending upon the size, compute the lo and hi bounds.
21647 cat >conftest.$ac_ext <<_ACEOF
21648 /* confdefs.h. */
21649 _ACEOF
21650 cat confdefs.h >>conftest.$ac_ext
21651 cat >>conftest.$ac_ext <<_ACEOF
21652 /* end confdefs.h. */
21653
21654 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21655 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21656 # error "fake wchar_t"
21657 #endif
21658 #ifdef HAVE_WCHAR_H
21659 # ifdef __CYGWIN__
21660 # include <stddef.h>
21661 # endif
21662 # include <wchar.h>
21663 #endif
21664 #ifdef HAVE_STDLIB_H
21665 # include <stdlib.h>
21666 #endif
21667 #include <stdio.h>
21668
21669
21670
21671 int
21672 main ()
21673 {
21674 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21675 test_array [0] = 0
21676
21677 ;
21678 return 0;
21679 }
21680 _ACEOF
21681 rm -f conftest.$ac_objext
21682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21683 (eval $ac_compile) 2>conftest.er1
21684 ac_status=$?
21685 grep -v '^ *+' conftest.er1 >conftest.err
21686 rm -f conftest.er1
21687 cat conftest.err >&5
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); } &&
21690 { ac_try='test -z "$ac_cxx_werror_flag"
21691 || test ! -s conftest.err'
21692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21693 (eval $ac_try) 2>&5
21694 ac_status=$?
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; } &&
21697 { ac_try='test -s conftest.$ac_objext'
21698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21699 (eval $ac_try) 2>&5
21700 ac_status=$?
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); }; }; then
21703 ac_lo=0 ac_mid=0
21704 while :; do
21705 cat >conftest.$ac_ext <<_ACEOF
21706 /* confdefs.h. */
21707 _ACEOF
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21711
21712 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21713 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21714 # error "fake wchar_t"
21715 #endif
21716 #ifdef HAVE_WCHAR_H
21717 # ifdef __CYGWIN__
21718 # include <stddef.h>
21719 # endif
21720 # include <wchar.h>
21721 #endif
21722 #ifdef HAVE_STDLIB_H
21723 # include <stdlib.h>
21724 #endif
21725 #include <stdio.h>
21726
21727
21728
21729 int
21730 main ()
21731 {
21732 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21733 test_array [0] = 0
21734
21735 ;
21736 return 0;
21737 }
21738 _ACEOF
21739 rm -f conftest.$ac_objext
21740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21741 (eval $ac_compile) 2>conftest.er1
21742 ac_status=$?
21743 grep -v '^ *+' conftest.er1 >conftest.err
21744 rm -f conftest.er1
21745 cat conftest.err >&5
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); } &&
21748 { ac_try='test -z "$ac_cxx_werror_flag"
21749 || test ! -s conftest.err'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21752 ac_status=$?
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; } &&
21755 { ac_try='test -s conftest.$ac_objext'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21758 ac_status=$?
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; }; then
21761 ac_hi=$ac_mid; break
21762 else
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21765
21766 ac_lo=`expr $ac_mid + 1`
21767 if test $ac_lo -le $ac_mid; then
21768 ac_lo= ac_hi=
21769 break
21770 fi
21771 ac_mid=`expr 2 '*' $ac_mid + 1`
21772 fi
21773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21774 done
21775 else
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.$ac_ext >&5
21778
21779 cat >conftest.$ac_ext <<_ACEOF
21780 /* confdefs.h. */
21781 _ACEOF
21782 cat confdefs.h >>conftest.$ac_ext
21783 cat >>conftest.$ac_ext <<_ACEOF
21784 /* end confdefs.h. */
21785
21786 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21787 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21788 # error "fake wchar_t"
21789 #endif
21790 #ifdef HAVE_WCHAR_H
21791 # ifdef __CYGWIN__
21792 # include <stddef.h>
21793 # endif
21794 # include <wchar.h>
21795 #endif
21796 #ifdef HAVE_STDLIB_H
21797 # include <stdlib.h>
21798 #endif
21799 #include <stdio.h>
21800
21801
21802
21803 int
21804 main ()
21805 {
21806 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21807 test_array [0] = 0
21808
21809 ;
21810 return 0;
21811 }
21812 _ACEOF
21813 rm -f conftest.$ac_objext
21814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21815 (eval $ac_compile) 2>conftest.er1
21816 ac_status=$?
21817 grep -v '^ *+' conftest.er1 >conftest.err
21818 rm -f conftest.er1
21819 cat conftest.err >&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); } &&
21822 { ac_try='test -z "$ac_cxx_werror_flag"
21823 || test ! -s conftest.err'
21824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21825 (eval $ac_try) 2>&5
21826 ac_status=$?
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); }; } &&
21829 { ac_try='test -s conftest.$ac_objext'
21830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21831 (eval $ac_try) 2>&5
21832 ac_status=$?
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); }; }; then
21835 ac_hi=-1 ac_mid=-1
21836 while :; do
21837 cat >conftest.$ac_ext <<_ACEOF
21838 /* confdefs.h. */
21839 _ACEOF
21840 cat confdefs.h >>conftest.$ac_ext
21841 cat >>conftest.$ac_ext <<_ACEOF
21842 /* end confdefs.h. */
21843
21844 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21845 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21846 # error "fake wchar_t"
21847 #endif
21848 #ifdef HAVE_WCHAR_H
21849 # ifdef __CYGWIN__
21850 # include <stddef.h>
21851 # endif
21852 # include <wchar.h>
21853 #endif
21854 #ifdef HAVE_STDLIB_H
21855 # include <stdlib.h>
21856 #endif
21857 #include <stdio.h>
21858
21859
21860
21861 int
21862 main ()
21863 {
21864 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21865 test_array [0] = 0
21866
21867 ;
21868 return 0;
21869 }
21870 _ACEOF
21871 rm -f conftest.$ac_objext
21872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21873 (eval $ac_compile) 2>conftest.er1
21874 ac_status=$?
21875 grep -v '^ *+' conftest.er1 >conftest.err
21876 rm -f conftest.er1
21877 cat conftest.err >&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } &&
21880 { ac_try='test -z "$ac_cxx_werror_flag"
21881 || test ! -s conftest.err'
21882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21883 (eval $ac_try) 2>&5
21884 ac_status=$?
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); }; } &&
21887 { ac_try='test -s conftest.$ac_objext'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21890 ac_status=$?
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; }; then
21893 ac_lo=$ac_mid; break
21894 else
21895 echo "$as_me: failed program was:" >&5
21896 sed 's/^/| /' conftest.$ac_ext >&5
21897
21898 ac_hi=`expr '(' $ac_mid ')' - 1`
21899 if test $ac_mid -le $ac_hi; then
21900 ac_lo= ac_hi=
21901 break
21902 fi
21903 ac_mid=`expr 2 '*' $ac_mid`
21904 fi
21905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21906 done
21907 else
21908 echo "$as_me: failed program was:" >&5
21909 sed 's/^/| /' conftest.$ac_ext >&5
21910
21911 ac_lo= ac_hi=
21912 fi
21913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21914 fi
21915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21916 # Binary search between lo and hi bounds.
21917 while test "x$ac_lo" != "x$ac_hi"; do
21918 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21919 cat >conftest.$ac_ext <<_ACEOF
21920 /* confdefs.h. */
21921 _ACEOF
21922 cat confdefs.h >>conftest.$ac_ext
21923 cat >>conftest.$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21925
21926 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21927 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21928 # error "fake wchar_t"
21929 #endif
21930 #ifdef HAVE_WCHAR_H
21931 # ifdef __CYGWIN__
21932 # include <stddef.h>
21933 # endif
21934 # include <wchar.h>
21935 #endif
21936 #ifdef HAVE_STDLIB_H
21937 # include <stdlib.h>
21938 #endif
21939 #include <stdio.h>
21940
21941
21942
21943 int
21944 main ()
21945 {
21946 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21947 test_array [0] = 0
21948
21949 ;
21950 return 0;
21951 }
21952 _ACEOF
21953 rm -f conftest.$ac_objext
21954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21955 (eval $ac_compile) 2>conftest.er1
21956 ac_status=$?
21957 grep -v '^ *+' conftest.er1 >conftest.err
21958 rm -f conftest.er1
21959 cat conftest.err >&5
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); } &&
21962 { ac_try='test -z "$ac_cxx_werror_flag"
21963 || test ! -s conftest.err'
21964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21965 (eval $ac_try) 2>&5
21966 ac_status=$?
21967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968 (exit $ac_status); }; } &&
21969 { ac_try='test -s conftest.$ac_objext'
21970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21971 (eval $ac_try) 2>&5
21972 ac_status=$?
21973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974 (exit $ac_status); }; }; then
21975 ac_hi=$ac_mid
21976 else
21977 echo "$as_me: failed program was:" >&5
21978 sed 's/^/| /' conftest.$ac_ext >&5
21979
21980 ac_lo=`expr '(' $ac_mid ')' + 1`
21981 fi
21982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21983 done
21984 case $ac_lo in
21985 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21986 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21987 See \`config.log' for more details." >&5
21988 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21989 See \`config.log' for more details." >&2;}
21990 { (exit 1); exit 1; }; } ;;
21991 esac
21992 else
21993 if test "$cross_compiling" = yes; then
21994 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21995 See \`config.log' for more details." >&5
21996 echo "$as_me: error: cannot run test program while cross compiling
21997 See \`config.log' for more details." >&2;}
21998 { (exit 1); exit 1; }; }
21999 else
22000 cat >conftest.$ac_ext <<_ACEOF
22001 /* confdefs.h. */
22002 _ACEOF
22003 cat confdefs.h >>conftest.$ac_ext
22004 cat >>conftest.$ac_ext <<_ACEOF
22005 /* end confdefs.h. */
22006
22007 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22008 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22009 # error "fake wchar_t"
22010 #endif
22011 #ifdef HAVE_WCHAR_H
22012 # ifdef __CYGWIN__
22013 # include <stddef.h>
22014 # endif
22015 # include <wchar.h>
22016 #endif
22017 #ifdef HAVE_STDLIB_H
22018 # include <stdlib.h>
22019 #endif
22020 #include <stdio.h>
22021
22022
22023
22024 long longval () { return (long) (sizeof (wchar_t)); }
22025 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22026 #include <stdio.h>
22027 #include <stdlib.h>
22028 int
22029 main ()
22030 {
22031
22032 FILE *f = fopen ("conftest.val", "w");
22033 if (! f)
22034 exit (1);
22035 if (((long) (sizeof (wchar_t))) < 0)
22036 {
22037 long i = longval ();
22038 if (i != ((long) (sizeof (wchar_t))))
22039 exit (1);
22040 fprintf (f, "%ld\n", i);
22041 }
22042 else
22043 {
22044 unsigned long i = ulongval ();
22045 if (i != ((long) (sizeof (wchar_t))))
22046 exit (1);
22047 fprintf (f, "%lu\n", i);
22048 }
22049 exit (ferror (f) || fclose (f) != 0);
22050
22051 ;
22052 return 0;
22053 }
22054 _ACEOF
22055 rm -f conftest$ac_exeext
22056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22057 (eval $ac_link) 2>&5
22058 ac_status=$?
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22062 (eval $ac_try) 2>&5
22063 ac_status=$?
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); }; }; then
22066 ac_cv_sizeof_wchar_t=`cat conftest.val`
22067 else
22068 echo "$as_me: program exited with status $ac_status" >&5
22069 echo "$as_me: failed program was:" >&5
22070 sed 's/^/| /' conftest.$ac_ext >&5
22071
22072 ( exit $ac_status )
22073 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22074 See \`config.log' for more details." >&5
22075 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22076 See \`config.log' for more details." >&2;}
22077 { (exit 1); exit 1; }; }
22078 fi
22079 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22080 fi
22081 fi
22082 rm -f conftest.val
22083 else
22084 ac_cv_sizeof_wchar_t=0
22085 fi
22086 fi
22087 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22088 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22089 cat >>confdefs.h <<_ACEOF
22090 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22091 _ACEOF
22092
22093
22094 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22095 wxUSE_WCHAR_T=yes
22096 else
22097 wxUSE_WCHAR_T=no
22098 fi
22099
22100 echo "$as_me:$LINENO: checking for va_copy" >&5
22101 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22102 if test "${wx_cv_func_va_copy+set}" = set; then
22103 echo $ECHO_N "(cached) $ECHO_C" >&6
22104 else
22105
22106 cat >conftest.$ac_ext <<_ACEOF
22107
22108 #include <stdarg.h>
22109 void foo(char *f, ...)
22110 {
22111 va_list ap1, ap2;
22112 va_start(ap1, f);
22113 va_copy(ap2, ap1);
22114 va_end(ap2);
22115 va_end(ap1);
22116 }
22117 int main()
22118 {
22119 foo("hi", 17);
22120 return 0;
22121 }
22122 _ACEOF
22123 rm -f conftest.$ac_objext conftest$ac_exeext
22124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22125 (eval $ac_link) 2>conftest.er1
22126 ac_status=$?
22127 grep -v '^ *+' conftest.er1 >conftest.err
22128 rm -f conftest.er1
22129 cat conftest.err >&5
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); } &&
22132 { ac_try='test -z "$ac_cxx_werror_flag"
22133 || test ! -s conftest.err'
22134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22135 (eval $ac_try) 2>&5
22136 ac_status=$?
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; } &&
22139 { ac_try='test -s conftest$ac_exeext'
22140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22141 (eval $ac_try) 2>&5
22142 ac_status=$?
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); }; }; then
22145 wx_cv_func_va_copy=yes
22146 else
22147 echo "$as_me: failed program was:" >&5
22148 sed 's/^/| /' conftest.$ac_ext >&5
22149
22150 wx_cv_func_va_copy=no
22151
22152 fi
22153 rm -f conftest.err conftest.$ac_objext \
22154 conftest$ac_exeext conftest.$ac_ext
22155
22156
22157 fi
22158 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22159 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22160
22161 if test $wx_cv_func_va_copy = "yes"; then
22162 cat >>confdefs.h <<\_ACEOF
22163 #define HAVE_VA_COPY 1
22164 _ACEOF
22165
22166 else
22167 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22168 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22169 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22170 echo $ECHO_N "(cached) $ECHO_C" >&6
22171 else
22172
22173 if test "$cross_compiling" = yes; then
22174 wx_cv_type_va_list_lvalue=yes
22175
22176 else
22177 cat >conftest.$ac_ext <<_ACEOF
22178
22179 #include <stdarg.h>
22180 int foo(char *f, ...)
22181 {
22182 va_list ap1, ap2;
22183 va_start(ap1, f);
22184 ap2 = ap1;
22185 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22186 return 1;
22187 va_end(ap2);
22188 va_end(ap1);
22189 return 0;
22190 }
22191 int main()
22192 {
22193 return foo("hi", 17);
22194 }
22195 _ACEOF
22196 rm -f conftest$ac_exeext
22197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22198 (eval $ac_link) 2>&5
22199 ac_status=$?
22200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22201 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22203 (eval $ac_try) 2>&5
22204 ac_status=$?
22205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 (exit $ac_status); }; }; then
22207 wx_cv_type_va_list_lvalue=yes
22208 else
22209 echo "$as_me: program exited with status $ac_status" >&5
22210 echo "$as_me: failed program was:" >&5
22211 sed 's/^/| /' conftest.$ac_ext >&5
22212
22213 ( exit $ac_status )
22214 wx_cv_type_va_list_lvalue=no
22215 fi
22216 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22217 fi
22218
22219
22220 fi
22221 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22222 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22223
22224 if test $wx_cv_type_va_list_lvalue != "yes"; then
22225 cat >>confdefs.h <<\_ACEOF
22226 #define VA_LIST_IS_ARRAY 1
22227 _ACEOF
22228
22229 fi
22230 fi
22231
22232 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22233 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22234 if test "${wx_cv_have_variadic_macros+set}" = set; then
22235 echo $ECHO_N "(cached) $ECHO_C" >&6
22236 else
22237
22238 cat >conftest.$ac_ext <<_ACEOF
22239 /* confdefs.h. */
22240 _ACEOF
22241 cat confdefs.h >>conftest.$ac_ext
22242 cat >>conftest.$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22244
22245 #include <stdio.h>
22246 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22247
22248 int
22249 main ()
22250 {
22251
22252 test("%s %d %p", "test", 1, 0);
22253
22254
22255 ;
22256 return 0;
22257 }
22258 _ACEOF
22259 rm -f conftest.$ac_objext
22260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22261 (eval $ac_compile) 2>conftest.er1
22262 ac_status=$?
22263 grep -v '^ *+' conftest.er1 >conftest.err
22264 rm -f conftest.er1
22265 cat conftest.err >&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); } &&
22268 { ac_try='test -z "$ac_cxx_werror_flag"
22269 || test ! -s conftest.err'
22270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22271 (eval $ac_try) 2>&5
22272 ac_status=$?
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); }; } &&
22275 { ac_try='test -s conftest.$ac_objext'
22276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277 (eval $ac_try) 2>&5
22278 ac_status=$?
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); }; }; then
22281 wx_cv_have_variadic_macros=yes
22282 else
22283 echo "$as_me: failed program was:" >&5
22284 sed 's/^/| /' conftest.$ac_ext >&5
22285
22286 wx_cv_have_variadic_macros=no
22287
22288 fi
22289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22290
22291
22292 fi
22293 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22294 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22295
22296 if test $wx_cv_have_variadic_macros = "yes"; then
22297 cat >>confdefs.h <<\_ACEOF
22298 #define HAVE_VARIADIC_MACROS 1
22299 _ACEOF
22300
22301 fi
22302
22303 # Check whether --enable-largefile or --disable-largefile was given.
22304 if test "${enable_largefile+set}" = set; then
22305 enableval="$enable_largefile"
22306
22307 fi;
22308 if test "$enable_largefile" != no; then
22309 wx_largefile=no
22310
22311 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22312 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22313 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22314 echo $ECHO_N "(cached) $ECHO_C" >&6
22315 else
22316
22317 cat >conftest.$ac_ext <<_ACEOF
22318 /* confdefs.h. */
22319 _ACEOF
22320 cat confdefs.h >>conftest.$ac_ext
22321 cat >>conftest.$ac_ext <<_ACEOF
22322 /* end confdefs.h. */
22323 #define _FILE_OFFSET_BITS 64
22324 #include <sys/types.h>
22325 int
22326 main ()
22327 {
22328 typedef struct {
22329 unsigned int field: sizeof(off_t) == 8;
22330 } wxlf;
22331
22332 ;
22333 return 0;
22334 }
22335 _ACEOF
22336 rm -f conftest.$ac_objext
22337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22338 (eval $ac_compile) 2>conftest.er1
22339 ac_status=$?
22340 grep -v '^ *+' conftest.er1 >conftest.err
22341 rm -f conftest.er1
22342 cat conftest.err >&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); } &&
22345 { ac_try='test -z "$ac_cxx_werror_flag"
22346 || test ! -s conftest.err'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22349 ac_status=$?
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; } &&
22352 { ac_try='test -s conftest.$ac_objext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22355 ac_status=$?
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 ac_cv_sys_file_offset_bits=64
22359 else
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.$ac_ext >&5
22362
22363 ac_cv_sys_file_offset_bits=no
22364 fi
22365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22366
22367
22368 fi
22369 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22370 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22371
22372 if test "$ac_cv_sys_file_offset_bits" != no; then
22373 wx_largefile=yes
22374 cat >>confdefs.h <<_ACEOF
22375 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22376 _ACEOF
22377
22378 fi
22379
22380 if test "x$wx_largefile" != "xyes"; then
22381
22382 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22383 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22384 if test "${ac_cv_sys_large_files+set}" = set; then
22385 echo $ECHO_N "(cached) $ECHO_C" >&6
22386 else
22387
22388 cat >conftest.$ac_ext <<_ACEOF
22389 /* confdefs.h. */
22390 _ACEOF
22391 cat confdefs.h >>conftest.$ac_ext
22392 cat >>conftest.$ac_ext <<_ACEOF
22393 /* end confdefs.h. */
22394 #define _LARGE_FILES 1
22395 #include <sys/types.h>
22396 int
22397 main ()
22398 {
22399 typedef struct {
22400 unsigned int field: sizeof(off_t) == 8;
22401 } wxlf;
22402
22403 ;
22404 return 0;
22405 }
22406 _ACEOF
22407 rm -f conftest.$ac_objext
22408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22409 (eval $ac_compile) 2>conftest.er1
22410 ac_status=$?
22411 grep -v '^ *+' conftest.er1 >conftest.err
22412 rm -f conftest.er1
22413 cat conftest.err >&5
22414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415 (exit $ac_status); } &&
22416 { ac_try='test -z "$ac_cxx_werror_flag"
22417 || test ! -s conftest.err'
22418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22419 (eval $ac_try) 2>&5
22420 ac_status=$?
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; } &&
22423 { ac_try='test -s conftest.$ac_objext'
22424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425 (eval $ac_try) 2>&5
22426 ac_status=$?
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); }; }; then
22429 ac_cv_sys_large_files=1
22430 else
22431 echo "$as_me: failed program was:" >&5
22432 sed 's/^/| /' conftest.$ac_ext >&5
22433
22434 ac_cv_sys_large_files=no
22435 fi
22436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22437
22438
22439 fi
22440 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22441 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22442
22443 if test "$ac_cv_sys_large_files" != no; then
22444 wx_largefile=yes
22445 cat >>confdefs.h <<_ACEOF
22446 #define _LARGE_FILES $ac_cv_sys_large_files
22447 _ACEOF
22448
22449 fi
22450
22451 fi
22452
22453 echo "$as_me:$LINENO: checking if large file support is available" >&5
22454 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22455 if test "x$wx_largefile" = "xyes"; then
22456 cat >>confdefs.h <<\_ACEOF
22457 #define HAVE_LARGEFILE_SUPPORT 1
22458 _ACEOF
22459
22460 fi
22461 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22462 echo "${ECHO_T}$wx_largefile" >&6
22463 fi
22464
22465
22466 if test "x$wx_largefile" = "xyes"; then
22467 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22468 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22469
22470 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22471 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22472 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22473 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22474 echo $ECHO_N "(cached) $ECHO_C" >&6
22475 else
22476
22477 cat >conftest.$ac_ext <<_ACEOF
22478 /* confdefs.h. */
22479 _ACEOF
22480 cat confdefs.h >>conftest.$ac_ext
22481 cat >>conftest.$ac_ext <<_ACEOF
22482 /* end confdefs.h. */
22483
22484 int
22485 main ()
22486 {
22487
22488 #ifndef __STDC_EXT__
22489 choke me
22490 #endif
22491
22492 ;
22493 return 0;
22494 }
22495 _ACEOF
22496 rm -f conftest.$ac_objext
22497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22498 (eval $ac_compile) 2>conftest.er1
22499 ac_status=$?
22500 grep -v '^ *+' conftest.er1 >conftest.err
22501 rm -f conftest.er1
22502 cat conftest.err >&5
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); } &&
22505 { ac_try='test -z "$ac_cxx_werror_flag"
22506 || test ! -s conftest.err'
22507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22508 (eval $ac_try) 2>&5
22509 ac_status=$?
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); }; } &&
22512 { ac_try='test -s conftest.$ac_objext'
22513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22514 (eval $ac_try) 2>&5
22515 ac_status=$?
22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22517 (exit $ac_status); }; }; then
22518 wx_cv_STDC_EXT_required=no
22519 else
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22522
22523 wx_cv_STDC_EXT_required=yes
22524
22525 fi
22526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22527
22528
22529 fi
22530 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22531 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22532 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22533 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22534 fi
22535 fi
22536 else
22537 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22538 fi
22539 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22540 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22541 if test "${ac_cv_sys_largefile_source+set}" = set; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22543 else
22544 while :; do
22545 ac_cv_sys_largefile_source=no
22546 cat >conftest.$ac_ext <<_ACEOF
22547 /* confdefs.h. */
22548 _ACEOF
22549 cat confdefs.h >>conftest.$ac_ext
22550 cat >>conftest.$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22552 #include <stdio.h>
22553 int
22554 main ()
22555 {
22556 return !fseeko;
22557 ;
22558 return 0;
22559 }
22560 _ACEOF
22561 rm -f conftest.$ac_objext
22562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22563 (eval $ac_compile) 2>conftest.er1
22564 ac_status=$?
22565 grep -v '^ *+' conftest.er1 >conftest.err
22566 rm -f conftest.er1
22567 cat conftest.err >&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); } &&
22570 { ac_try='test -z "$ac_cxx_werror_flag"
22571 || test ! -s conftest.err'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22574 ac_status=$?
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; } &&
22577 { ac_try='test -s conftest.$ac_objext'
22578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579 (eval $ac_try) 2>&5
22580 ac_status=$?
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; }; then
22583 break
22584 else
22585 echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.$ac_ext >&5
22587
22588 fi
22589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22590 cat >conftest.$ac_ext <<_ACEOF
22591 /* confdefs.h. */
22592 _ACEOF
22593 cat confdefs.h >>conftest.$ac_ext
22594 cat >>conftest.$ac_ext <<_ACEOF
22595 /* end confdefs.h. */
22596 #define _LARGEFILE_SOURCE 1
22597 #include <stdio.h>
22598 int
22599 main ()
22600 {
22601 return !fseeko;
22602 ;
22603 return 0;
22604 }
22605 _ACEOF
22606 rm -f conftest.$ac_objext
22607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22608 (eval $ac_compile) 2>conftest.er1
22609 ac_status=$?
22610 grep -v '^ *+' conftest.er1 >conftest.err
22611 rm -f conftest.er1
22612 cat conftest.err >&5
22613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614 (exit $ac_status); } &&
22615 { ac_try='test -z "$ac_cxx_werror_flag"
22616 || test ! -s conftest.err'
22617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22618 (eval $ac_try) 2>&5
22619 ac_status=$?
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); }; } &&
22622 { ac_try='test -s conftest.$ac_objext'
22623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22624 (eval $ac_try) 2>&5
22625 ac_status=$?
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; }; then
22628 ac_cv_sys_largefile_source=1; break
22629 else
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.$ac_ext >&5
22632
22633 fi
22634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22635 break
22636 done
22637 fi
22638 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22639 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22640 if test "$ac_cv_sys_largefile_source" != no; then
22641
22642 cat >>confdefs.h <<_ACEOF
22643 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22644 _ACEOF
22645
22646 fi
22647 rm -f conftest*
22648
22649 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22650 # in glibc 2.1.3, but that breaks too many other things.
22651 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22652 echo "$as_me:$LINENO: checking for fseeko" >&5
22653 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22654 if test "${ac_cv_func_fseeko+set}" = set; then
22655 echo $ECHO_N "(cached) $ECHO_C" >&6
22656 else
22657 cat >conftest.$ac_ext <<_ACEOF
22658 /* confdefs.h. */
22659 _ACEOF
22660 cat confdefs.h >>conftest.$ac_ext
22661 cat >>conftest.$ac_ext <<_ACEOF
22662 /* end confdefs.h. */
22663 #include <stdio.h>
22664 int
22665 main ()
22666 {
22667 return fseeko && fseeko (stdin, 0, 0);
22668 ;
22669 return 0;
22670 }
22671 _ACEOF
22672 rm -f conftest.$ac_objext conftest$ac_exeext
22673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22674 (eval $ac_link) 2>conftest.er1
22675 ac_status=$?
22676 grep -v '^ *+' conftest.er1 >conftest.err
22677 rm -f conftest.er1
22678 cat conftest.err >&5
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); } &&
22681 { ac_try='test -z "$ac_cxx_werror_flag"
22682 || test ! -s conftest.err'
22683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22684 (eval $ac_try) 2>&5
22685 ac_status=$?
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); }; } &&
22688 { ac_try='test -s conftest$ac_exeext'
22689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22690 (eval $ac_try) 2>&5
22691 ac_status=$?
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); }; }; then
22694 ac_cv_func_fseeko=yes
22695 else
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.$ac_ext >&5
22698
22699 ac_cv_func_fseeko=no
22700 fi
22701 rm -f conftest.err conftest.$ac_objext \
22702 conftest$ac_exeext conftest.$ac_ext
22703 fi
22704 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22705 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22706 if test $ac_cv_func_fseeko = yes; then
22707
22708 cat >>confdefs.h <<\_ACEOF
22709 #define HAVE_FSEEKO 1
22710 _ACEOF
22711
22712 fi
22713
22714 if test "$ac_cv_sys_largefile_source" != no; then
22715 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22716 fi
22717 fi
22718
22719 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22720 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22721 if test "${ac_cv_c_bigendian+set}" = set; then
22722 echo $ECHO_N "(cached) $ECHO_C" >&6
22723 else
22724 ac_cv_c_bigendian=unknown
22725 # See if sys/param.h defines the BYTE_ORDER macro.
22726 cat >conftest.$ac_ext <<_ACEOF
22727 /* confdefs.h. */
22728 _ACEOF
22729 cat confdefs.h >>conftest.$ac_ext
22730 cat >>conftest.$ac_ext <<_ACEOF
22731 /* end confdefs.h. */
22732 #include <sys/types.h>
22733 #include <sys/param.h>
22734 int
22735 main ()
22736 {
22737
22738 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22739 bogus endian macros
22740 #endif
22741 ;
22742 return 0;
22743 }
22744 _ACEOF
22745 rm -f conftest.$ac_objext
22746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22747 (eval $ac_compile) 2>conftest.er1
22748 ac_status=$?
22749 grep -v '^ *+' conftest.er1 >conftest.err
22750 rm -f conftest.er1
22751 cat conftest.err >&5
22752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753 (exit $ac_status); } &&
22754 { ac_try='test -z "$ac_cxx_werror_flag"
22755 || test ! -s conftest.err'
22756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22757 (eval $ac_try) 2>&5
22758 ac_status=$?
22759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760 (exit $ac_status); }; } &&
22761 { ac_try='test -s conftest.$ac_objext'
22762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22763 (eval $ac_try) 2>&5
22764 ac_status=$?
22765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22766 (exit $ac_status); }; }; then
22767 # It does; now see whether it defined to BIG_ENDIAN or not.
22768 cat >conftest.$ac_ext <<_ACEOF
22769 /* confdefs.h. */
22770 _ACEOF
22771 cat confdefs.h >>conftest.$ac_ext
22772 cat >>conftest.$ac_ext <<_ACEOF
22773 /* end confdefs.h. */
22774 #include <sys/types.h>
22775 #include <sys/param.h>
22776 int
22777 main ()
22778 {
22779
22780 #if BYTE_ORDER != BIG_ENDIAN
22781 not big endian
22782 #endif
22783 ;
22784 return 0;
22785 }
22786 _ACEOF
22787 rm -f conftest.$ac_objext
22788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22789 (eval $ac_compile) 2>conftest.er1
22790 ac_status=$?
22791 grep -v '^ *+' conftest.er1 >conftest.err
22792 rm -f conftest.er1
22793 cat conftest.err >&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); } &&
22796 { ac_try='test -z "$ac_cxx_werror_flag"
22797 || test ! -s conftest.err'
22798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22799 (eval $ac_try) 2>&5
22800 ac_status=$?
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; } &&
22803 { ac_try='test -s conftest.$ac_objext'
22804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22805 (eval $ac_try) 2>&5
22806 ac_status=$?
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); }; }; then
22809 ac_cv_c_bigendian=yes
22810 else
22811 echo "$as_me: failed program was:" >&5
22812 sed 's/^/| /' conftest.$ac_ext >&5
22813
22814 ac_cv_c_bigendian=no
22815 fi
22816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22817 else
22818 echo "$as_me: failed program was:" >&5
22819 sed 's/^/| /' conftest.$ac_ext >&5
22820
22821 fi
22822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22823 if test $ac_cv_c_bigendian = unknown; then
22824 if test "$cross_compiling" = yes; then
22825 ac_cv_c_bigendian=unknown
22826 else
22827 cat >conftest.$ac_ext <<_ACEOF
22828 /* confdefs.h. */
22829 _ACEOF
22830 cat confdefs.h >>conftest.$ac_ext
22831 cat >>conftest.$ac_ext <<_ACEOF
22832 /* end confdefs.h. */
22833 main () {
22834 /* Are we little or big endian? From Harbison&Steele. */
22835 union
22836 {
22837 long l;
22838 char c[sizeof (long)];
22839 } u;
22840 u.l = 1;
22841 exit (u.c[sizeof (long) - 1] == 1);
22842 }
22843 _ACEOF
22844 rm -f conftest$ac_exeext
22845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22846 (eval $ac_link) 2>&5
22847 ac_status=$?
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22851 (eval $ac_try) 2>&5
22852 ac_status=$?
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); }; }; then
22855 ac_cv_c_bigendian=no
22856 else
22857 echo "$as_me: program exited with status $ac_status" >&5
22858 echo "$as_me: failed program was:" >&5
22859 sed 's/^/| /' conftest.$ac_ext >&5
22860
22861 ( exit $ac_status )
22862 ac_cv_c_bigendian=yes
22863 fi
22864 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22865 fi
22866 fi
22867 fi
22868 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22869 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22870 if test $ac_cv_c_bigendian = unknown; then
22871 { 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
22872 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;}
22873 fi
22874 if test $ac_cv_c_bigendian = yes; then
22875 cat >>confdefs.h <<\_ACEOF
22876 #define WORDS_BIGENDIAN 1
22877 _ACEOF
22878
22879 fi
22880
22881
22882
22883
22884
22885 ac_ext=cc
22886 ac_cpp='$CXXCPP $CPPFLAGS'
22887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22890
22891
22892
22893 for ac_header in iostream
22894 do
22895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22897 echo "$as_me:$LINENO: checking for $ac_header" >&5
22898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22900 echo $ECHO_N "(cached) $ECHO_C" >&6
22901 fi
22902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22904 else
22905 # Is the header compilable?
22906 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22907 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22908 cat >conftest.$ac_ext <<_ACEOF
22909 /* confdefs.h. */
22910 _ACEOF
22911 cat confdefs.h >>conftest.$ac_ext
22912 cat >>conftest.$ac_ext <<_ACEOF
22913 /* end confdefs.h. */
22914 $ac_includes_default
22915 #include <$ac_header>
22916 _ACEOF
22917 rm -f conftest.$ac_objext
22918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22919 (eval $ac_compile) 2>conftest.er1
22920 ac_status=$?
22921 grep -v '^ *+' conftest.er1 >conftest.err
22922 rm -f conftest.er1
22923 cat conftest.err >&5
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); } &&
22926 { ac_try='test -z "$ac_cxx_werror_flag"
22927 || test ! -s conftest.err'
22928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22929 (eval $ac_try) 2>&5
22930 ac_status=$?
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; } &&
22933 { ac_try='test -s conftest.$ac_objext'
22934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22935 (eval $ac_try) 2>&5
22936 ac_status=$?
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); }; }; then
22939 ac_header_compiler=yes
22940 else
22941 echo "$as_me: failed program was:" >&5
22942 sed 's/^/| /' conftest.$ac_ext >&5
22943
22944 ac_header_compiler=no
22945 fi
22946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22948 echo "${ECHO_T}$ac_header_compiler" >&6
22949
22950 # Is the header present?
22951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22953 cat >conftest.$ac_ext <<_ACEOF
22954 /* confdefs.h. */
22955 _ACEOF
22956 cat confdefs.h >>conftest.$ac_ext
22957 cat >>conftest.$ac_ext <<_ACEOF
22958 /* end confdefs.h. */
22959 #include <$ac_header>
22960 _ACEOF
22961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22963 ac_status=$?
22964 grep -v '^ *+' conftest.er1 >conftest.err
22965 rm -f conftest.er1
22966 cat conftest.err >&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); } >/dev/null; then
22969 if test -s conftest.err; then
22970 ac_cpp_err=$ac_cxx_preproc_warn_flag
22971 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22972 else
22973 ac_cpp_err=
22974 fi
22975 else
22976 ac_cpp_err=yes
22977 fi
22978 if test -z "$ac_cpp_err"; then
22979 ac_header_preproc=yes
22980 else
22981 echo "$as_me: failed program was:" >&5
22982 sed 's/^/| /' conftest.$ac_ext >&5
22983
22984 ac_header_preproc=no
22985 fi
22986 rm -f conftest.err conftest.$ac_ext
22987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22988 echo "${ECHO_T}$ac_header_preproc" >&6
22989
22990 # So? What about this header?
22991 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22992 yes:no: )
22993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22997 ac_header_preproc=yes
22998 ;;
22999 no:yes:* )
23000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23012 (
23013 cat <<\_ASBOX
23014 ## ----------------------------------------- ##
23015 ## Report this to wx-dev@lists.wxwidgets.org ##
23016 ## ----------------------------------------- ##
23017 _ASBOX
23018 ) |
23019 sed "s/^/$as_me: WARNING: /" >&2
23020 ;;
23021 esac
23022 echo "$as_me:$LINENO: checking for $ac_header" >&5
23023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23026 else
23027 eval "$as_ac_Header=\$ac_header_preproc"
23028 fi
23029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23031
23032 fi
23033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23034 cat >>confdefs.h <<_ACEOF
23035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23036 _ACEOF
23037
23038 fi
23039
23040 done
23041
23042
23043 if test "$ac_cv_header_iostream" = "yes" ; then
23044 :
23045 else
23046 cat >>confdefs.h <<\_ACEOF
23047 #define wxUSE_IOSTREAMH 1
23048 _ACEOF
23049
23050 fi
23051
23052 ac_ext=cc
23053 ac_cpp='$CXXCPP $CPPFLAGS'
23054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23057
23058
23059
23060
23061 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23062 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23063 if test "${wx_cv_cpp_bool+set}" = set; then
23064 echo $ECHO_N "(cached) $ECHO_C" >&6
23065 else
23066
23067
23068
23069 ac_ext=cc
23070 ac_cpp='$CXXCPP $CPPFLAGS'
23071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23074
23075
23076 cat >conftest.$ac_ext <<_ACEOF
23077 /* confdefs.h. */
23078 _ACEOF
23079 cat confdefs.h >>conftest.$ac_ext
23080 cat >>conftest.$ac_ext <<_ACEOF
23081 /* end confdefs.h. */
23082
23083
23084 int
23085 main ()
23086 {
23087
23088 bool b = true;
23089
23090 return 0;
23091
23092 ;
23093 return 0;
23094 }
23095 _ACEOF
23096 rm -f conftest.$ac_objext
23097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23098 (eval $ac_compile) 2>conftest.er1
23099 ac_status=$?
23100 grep -v '^ *+' conftest.er1 >conftest.err
23101 rm -f conftest.er1
23102 cat conftest.err >&5
23103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104 (exit $ac_status); } &&
23105 { ac_try='test -z "$ac_cxx_werror_flag"
23106 || test ! -s conftest.err'
23107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23108 (eval $ac_try) 2>&5
23109 ac_status=$?
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); }; } &&
23112 { ac_try='test -s conftest.$ac_objext'
23113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23114 (eval $ac_try) 2>&5
23115 ac_status=$?
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); }; }; then
23118
23119 wx_cv_cpp_bool=yes
23120
23121 else
23122 echo "$as_me: failed program was:" >&5
23123 sed 's/^/| /' conftest.$ac_ext >&5
23124
23125
23126 wx_cv_cpp_bool=no
23127
23128
23129 fi
23130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23131
23132 ac_ext=cc
23133 ac_cpp='$CXXCPP $CPPFLAGS'
23134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23137
23138
23139 fi
23140 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23141 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23142
23143 if test "$wx_cv_cpp_bool" = "yes"; then
23144 cat >>confdefs.h <<\_ACEOF
23145 #define HAVE_BOOL 1
23146 _ACEOF
23147
23148 fi
23149
23150
23151
23152 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23153 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23154 if test "${wx_cv_explicit+set}" = set; then
23155 echo $ECHO_N "(cached) $ECHO_C" >&6
23156 else
23157
23158
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 cat >conftest.$ac_ext <<_ACEOF
23168 /* confdefs.h. */
23169 _ACEOF
23170 cat confdefs.h >>conftest.$ac_ext
23171 cat >>conftest.$ac_ext <<_ACEOF
23172 /* end confdefs.h. */
23173
23174 class Foo { public: explicit Foo(int) {} };
23175
23176 int
23177 main ()
23178 {
23179
23180 return 0;
23181
23182 ;
23183 return 0;
23184 }
23185 _ACEOF
23186 rm -f conftest.$ac_objext
23187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23188 (eval $ac_compile) 2>conftest.er1
23189 ac_status=$?
23190 grep -v '^ *+' conftest.er1 >conftest.err
23191 rm -f conftest.er1
23192 cat conftest.err >&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); } &&
23195 { ac_try='test -z "$ac_cxx_werror_flag"
23196 || test ! -s conftest.err'
23197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23198 (eval $ac_try) 2>&5
23199 ac_status=$?
23200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23201 (exit $ac_status); }; } &&
23202 { ac_try='test -s conftest.$ac_objext'
23203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23204 (eval $ac_try) 2>&5
23205 ac_status=$?
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); }; }; then
23208
23209 cat >conftest.$ac_ext <<_ACEOF
23210 /* confdefs.h. */
23211 _ACEOF
23212 cat confdefs.h >>conftest.$ac_ext
23213 cat >>conftest.$ac_ext <<_ACEOF
23214 /* end confdefs.h. */
23215
23216 class Foo { public: explicit Foo(int) {} };
23217 static void TakeFoo(const Foo& foo) { }
23218
23219 int
23220 main ()
23221 {
23222
23223 TakeFoo(17);
23224 return 0;
23225
23226 ;
23227 return 0;
23228 }
23229 _ACEOF
23230 rm -f conftest.$ac_objext
23231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23232 (eval $ac_compile) 2>conftest.er1
23233 ac_status=$?
23234 grep -v '^ *+' conftest.er1 >conftest.err
23235 rm -f conftest.er1
23236 cat conftest.err >&5
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); } &&
23239 { ac_try='test -z "$ac_cxx_werror_flag"
23240 || test ! -s conftest.err'
23241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23242 (eval $ac_try) 2>&5
23243 ac_status=$?
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); }; } &&
23246 { ac_try='test -s conftest.$ac_objext'
23247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23248 (eval $ac_try) 2>&5
23249 ac_status=$?
23250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23251 (exit $ac_status); }; }; then
23252 wx_cv_explicit=no
23253 else
23254 echo "$as_me: failed program was:" >&5
23255 sed 's/^/| /' conftest.$ac_ext >&5
23256
23257 wx_cv_explicit=yes
23258
23259 fi
23260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23261
23262 else
23263 echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.$ac_ext >&5
23265
23266 wx_cv_explicit=no
23267
23268 fi
23269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23270
23271 ac_ext=cc
23272 ac_cpp='$CXXCPP $CPPFLAGS'
23273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23276
23277
23278 fi
23279 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23280 echo "${ECHO_T}$wx_cv_explicit" >&6
23281
23282 if test "$wx_cv_explicit" = "yes"; then
23283 cat >>confdefs.h <<\_ACEOF
23284 #define HAVE_EXPLICIT 1
23285 _ACEOF
23286
23287 fi
23288
23289
23290 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23291 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23292 if test "${ac_cv_cxx_const_cast+set}" = set; then
23293 echo $ECHO_N "(cached) $ECHO_C" >&6
23294 else
23295
23296
23297 ac_ext=cc
23298 ac_cpp='$CXXCPP $CPPFLAGS'
23299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23302
23303 cat >conftest.$ac_ext <<_ACEOF
23304 /* confdefs.h. */
23305 _ACEOF
23306 cat confdefs.h >>conftest.$ac_ext
23307 cat >>conftest.$ac_ext <<_ACEOF
23308 /* end confdefs.h. */
23309
23310 int
23311 main ()
23312 {
23313 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23314 ;
23315 return 0;
23316 }
23317 _ACEOF
23318 rm -f conftest.$ac_objext
23319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23320 (eval $ac_compile) 2>conftest.er1
23321 ac_status=$?
23322 grep -v '^ *+' conftest.er1 >conftest.err
23323 rm -f conftest.er1
23324 cat conftest.err >&5
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); } &&
23327 { ac_try='test -z "$ac_cxx_werror_flag"
23328 || test ! -s conftest.err'
23329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23330 (eval $ac_try) 2>&5
23331 ac_status=$?
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); }; } &&
23334 { ac_try='test -s conftest.$ac_objext'
23335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336 (eval $ac_try) 2>&5
23337 ac_status=$?
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; }; then
23340 ac_cv_cxx_const_cast=yes
23341 else
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.$ac_ext >&5
23344
23345 ac_cv_cxx_const_cast=no
23346 fi
23347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23348 ac_ext=cc
23349 ac_cpp='$CXXCPP $CPPFLAGS'
23350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23353
23354
23355 fi
23356 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23357 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23358 if test "$ac_cv_cxx_const_cast" = yes; then
23359
23360 cat >>confdefs.h <<\_ACEOF
23361 #define HAVE_CONST_CAST
23362 _ACEOF
23363
23364 fi
23365
23366 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23367 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23368 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23369 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 else
23371
23372
23373 ac_ext=cc
23374 ac_cpp='$CXXCPP $CPPFLAGS'
23375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23378
23379 cat >conftest.$ac_ext <<_ACEOF
23380 /* confdefs.h. */
23381 _ACEOF
23382 cat confdefs.h >>conftest.$ac_ext
23383 cat >>conftest.$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23385 #include <typeinfo>
23386 class Base { public : Base () {} virtual void f () = 0;};
23387 class Derived : public Base { public : Derived () {} virtual void f () {} };
23388 class Unrelated { public : Unrelated () {} };
23389 int g (Unrelated&) { return 0; }
23390 int
23391 main ()
23392 {
23393
23394 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23395 ;
23396 return 0;
23397 }
23398 _ACEOF
23399 rm -f conftest.$ac_objext
23400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23401 (eval $ac_compile) 2>conftest.er1
23402 ac_status=$?
23403 grep -v '^ *+' conftest.er1 >conftest.err
23404 rm -f conftest.er1
23405 cat conftest.err >&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); } &&
23408 { ac_try='test -z "$ac_cxx_werror_flag"
23409 || test ! -s conftest.err'
23410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23411 (eval $ac_try) 2>&5
23412 ac_status=$?
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); }; } &&
23415 { ac_try='test -s conftest.$ac_objext'
23416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23417 (eval $ac_try) 2>&5
23418 ac_status=$?
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); }; }; then
23421 ac_cv_cxx_reinterpret_cast=yes
23422 else
23423 echo "$as_me: failed program was:" >&5
23424 sed 's/^/| /' conftest.$ac_ext >&5
23425
23426 ac_cv_cxx_reinterpret_cast=no
23427 fi
23428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23429 ac_ext=cc
23430 ac_cpp='$CXXCPP $CPPFLAGS'
23431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23434
23435
23436 fi
23437 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23438 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23439 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23440
23441 cat >>confdefs.h <<\_ACEOF
23442 #define HAVE_REINTERPRET_CAST
23443 _ACEOF
23444
23445 fi
23446
23447 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23448 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23449 if test "${ac_cv_cxx_static_cast+set}" = set; then
23450 echo $ECHO_N "(cached) $ECHO_C" >&6
23451 else
23452
23453
23454 ac_ext=cc
23455 ac_cpp='$CXXCPP $CPPFLAGS'
23456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23459
23460 cat >conftest.$ac_ext <<_ACEOF
23461 /* confdefs.h. */
23462 _ACEOF
23463 cat confdefs.h >>conftest.$ac_ext
23464 cat >>conftest.$ac_ext <<_ACEOF
23465 /* end confdefs.h. */
23466 #include <typeinfo>
23467 class Base { public : Base () {} virtual void f () = 0; };
23468 class Derived : public Base { public : Derived () {} virtual void f () {} };
23469 int g (Derived&) { return 0; }
23470 int
23471 main ()
23472 {
23473
23474 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23475 ;
23476 return 0;
23477 }
23478 _ACEOF
23479 rm -f conftest.$ac_objext
23480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23481 (eval $ac_compile) 2>conftest.er1
23482 ac_status=$?
23483 grep -v '^ *+' conftest.er1 >conftest.err
23484 rm -f conftest.er1
23485 cat conftest.err >&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); } &&
23488 { ac_try='test -z "$ac_cxx_werror_flag"
23489 || test ! -s conftest.err'
23490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23491 (eval $ac_try) 2>&5
23492 ac_status=$?
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); }; } &&
23495 { ac_try='test -s conftest.$ac_objext'
23496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23497 (eval $ac_try) 2>&5
23498 ac_status=$?
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); }; }; then
23501 ac_cv_cxx_static_cast=yes
23502 else
23503 echo "$as_me: failed program was:" >&5
23504 sed 's/^/| /' conftest.$ac_ext >&5
23505
23506 ac_cv_cxx_static_cast=no
23507 fi
23508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23509 ac_ext=cc
23510 ac_cpp='$CXXCPP $CPPFLAGS'
23511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23514
23515
23516 fi
23517 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23518 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23519 if test "$ac_cv_cxx_static_cast" = yes; then
23520
23521 cat >>confdefs.h <<\_ACEOF
23522 #define HAVE_STATIC_CAST
23523 _ACEOF
23524
23525 fi
23526
23527
23528 if test "x$SUNCXX" = xyes; then
23529 CXXFLAGS="-features=tmplife $CXXFLAGS"
23530 fi
23531
23532 if test "x$SUNCC" = xyes; then
23533 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23534 fi
23535
23536 if test "x$SGICC" = "xyes"; then
23537 CFLAGS="-woff 3970 $CFLAGS"
23538 fi
23539 if test "x$SGICXX" = "xyes"; then
23540 CXXFLAGS="-woff 3970 $CXXFLAGS"
23541 fi
23542
23543 if test "x$HPCC" = "xyes"; then
23544 CFLAGS="+W 2011,2450 $CFLAGS"
23545 fi
23546 if test "x$HPCXX" = "xyes"; then
23547 CXXFLAGS="+W 2340 $CXXFLAGS"
23548 fi
23549
23550 if test "x$COMPAQCXX" = "xyes"; then
23551 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23552 fi
23553
23554 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23555 if test "$wxUSE_UNICODE" = "yes"; then
23556 std_string="std::wstring"
23557 char_type="wchar_t"
23558 else
23559 std_string="std::string"
23560 char_type="char"
23561 fi
23562
23563 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23564 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23565 cat >conftest.$ac_ext <<_ACEOF
23566 /* confdefs.h. */
23567 _ACEOF
23568 cat confdefs.h >>conftest.$ac_ext
23569 cat >>conftest.$ac_ext <<_ACEOF
23570 /* end confdefs.h. */
23571 #include <string>
23572 int
23573 main ()
23574 {
23575 $std_string foo;
23576 ;
23577 return 0;
23578 }
23579 _ACEOF
23580 rm -f conftest.$ac_objext
23581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23582 (eval $ac_compile) 2>conftest.er1
23583 ac_status=$?
23584 grep -v '^ *+' conftest.er1 >conftest.err
23585 rm -f conftest.er1
23586 cat conftest.err >&5
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); } &&
23589 { ac_try='test -z "$ac_cxx_werror_flag"
23590 || test ! -s conftest.err'
23591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23592 (eval $ac_try) 2>&5
23593 ac_status=$?
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; } &&
23596 { ac_try='test -s conftest.$ac_objext'
23597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23598 (eval $ac_try) 2>&5
23599 ac_status=$?
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); }; }; then
23602 echo "$as_me:$LINENO: result: yes" >&5
23603 echo "${ECHO_T}yes" >&6
23604 cat >>confdefs.h <<\_ACEOF
23605 #define HAVE_STD_WSTRING 1
23606 _ACEOF
23607
23608 else
23609 echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.$ac_ext >&5
23611
23612 echo "$as_me:$LINENO: result: no" >&5
23613 echo "${ECHO_T}no" >&6
23614 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23615 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23616 cat >conftest.$ac_ext <<_ACEOF
23617 /* confdefs.h. */
23618 _ACEOF
23619 cat confdefs.h >>conftest.$ac_ext
23620 cat >>conftest.$ac_ext <<_ACEOF
23621 /* end confdefs.h. */
23622
23623 #ifdef HAVE_WCHAR_H
23624 # ifdef __CYGWIN__
23625 # include <stddef.h>
23626 # endif
23627 # include <wchar.h>
23628 #endif
23629 #ifdef HAVE_STDLIB_H
23630 # include <stdlib.h>
23631 #endif
23632 #include <stdio.h>
23633 #include <string>
23634
23635 int
23636 main ()
23637 {
23638 std::basic_string<$char_type> foo;
23639 const $char_type* dummy = foo.c_str();
23640 ;
23641 return 0;
23642 }
23643 _ACEOF
23644 rm -f conftest.$ac_objext
23645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23646 (eval $ac_compile) 2>conftest.er1
23647 ac_status=$?
23648 grep -v '^ *+' conftest.er1 >conftest.err
23649 rm -f conftest.er1
23650 cat conftest.err >&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); } &&
23653 { ac_try='test -z "$ac_cxx_werror_flag"
23654 || test ! -s conftest.err'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23657 ac_status=$?
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; } &&
23660 { ac_try='test -s conftest.$ac_objext'
23661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23662 (eval $ac_try) 2>&5
23663 ac_status=$?
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); }; }; then
23666 echo "$as_me:$LINENO: result: yes" >&5
23667 echo "${ECHO_T}yes" >&6
23668 else
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.$ac_ext >&5
23671
23672 echo "$as_me:$LINENO: result: no" >&5
23673 echo "${ECHO_T}no" >&6
23674 if test "$wxUSE_STL" = "yes"; then
23675 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23676 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23677 { (exit 1); exit 1; }; }
23678 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23679 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23680 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23681 { (exit 1); exit 1; }; }
23682 else
23683 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23684 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23685 wxUSE_STD_STRING=no
23686 fi
23687
23688
23689 fi
23690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23691
23692 fi
23693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23694 fi
23695
23696 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23697 echo "$as_me:$LINENO: checking for std::istream" >&5
23698 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23699 if test "${ac_cv_type_std__istream+set}" = set; then
23700 echo $ECHO_N "(cached) $ECHO_C" >&6
23701 else
23702 cat >conftest.$ac_ext <<_ACEOF
23703 /* confdefs.h. */
23704 _ACEOF
23705 cat confdefs.h >>conftest.$ac_ext
23706 cat >>conftest.$ac_ext <<_ACEOF
23707 /* end confdefs.h. */
23708 #include <iostream>
23709
23710 int
23711 main ()
23712 {
23713 if ((std::istream *) 0)
23714 return 0;
23715 if (sizeof (std::istream))
23716 return 0;
23717 ;
23718 return 0;
23719 }
23720 _ACEOF
23721 rm -f conftest.$ac_objext
23722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23723 (eval $ac_compile) 2>conftest.er1
23724 ac_status=$?
23725 grep -v '^ *+' conftest.er1 >conftest.err
23726 rm -f conftest.er1
23727 cat conftest.err >&5
23728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23729 (exit $ac_status); } &&
23730 { ac_try='test -z "$ac_cxx_werror_flag"
23731 || test ! -s conftest.err'
23732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23733 (eval $ac_try) 2>&5
23734 ac_status=$?
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); }; } &&
23737 { ac_try='test -s conftest.$ac_objext'
23738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23739 (eval $ac_try) 2>&5
23740 ac_status=$?
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); }; }; then
23743 ac_cv_type_std__istream=yes
23744 else
23745 echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.$ac_ext >&5
23747
23748 ac_cv_type_std__istream=no
23749 fi
23750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23751 fi
23752 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23753 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23754 if test $ac_cv_type_std__istream = yes; then
23755
23756 cat >>confdefs.h <<_ACEOF
23757 #define HAVE_STD__ISTREAM 1
23758 _ACEOF
23759
23760
23761 else
23762 wxUSE_STD_IOSTREAM=no
23763 fi
23764 echo "$as_me:$LINENO: checking for std::ostream" >&5
23765 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23766 if test "${ac_cv_type_std__ostream+set}" = set; then
23767 echo $ECHO_N "(cached) $ECHO_C" >&6
23768 else
23769 cat >conftest.$ac_ext <<_ACEOF
23770 /* confdefs.h. */
23771 _ACEOF
23772 cat confdefs.h >>conftest.$ac_ext
23773 cat >>conftest.$ac_ext <<_ACEOF
23774 /* end confdefs.h. */
23775 #include <iostream>
23776
23777 int
23778 main ()
23779 {
23780 if ((std::ostream *) 0)
23781 return 0;
23782 if (sizeof (std::ostream))
23783 return 0;
23784 ;
23785 return 0;
23786 }
23787 _ACEOF
23788 rm -f conftest.$ac_objext
23789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23790 (eval $ac_compile) 2>conftest.er1
23791 ac_status=$?
23792 grep -v '^ *+' conftest.er1 >conftest.err
23793 rm -f conftest.er1
23794 cat conftest.err >&5
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); } &&
23797 { ac_try='test -z "$ac_cxx_werror_flag"
23798 || test ! -s conftest.err'
23799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23800 (eval $ac_try) 2>&5
23801 ac_status=$?
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); }; } &&
23804 { ac_try='test -s conftest.$ac_objext'
23805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23806 (eval $ac_try) 2>&5
23807 ac_status=$?
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); }; }; then
23810 ac_cv_type_std__ostream=yes
23811 else
23812 echo "$as_me: failed program was:" >&5
23813 sed 's/^/| /' conftest.$ac_ext >&5
23814
23815 ac_cv_type_std__ostream=no
23816 fi
23817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23818 fi
23819 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23820 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23821 if test $ac_cv_type_std__ostream = yes; then
23822
23823 cat >>confdefs.h <<_ACEOF
23824 #define HAVE_STD__OSTREAM 1
23825 _ACEOF
23826
23827
23828 else
23829 wxUSE_STD_IOSTREAM=no
23830 fi
23831
23832
23833 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23834 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23835 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23836 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23837 { (exit 1); exit 1; }; }
23838 else
23839 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23840 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23841 fi
23842 fi
23843 fi
23844
23845 if test "$wxUSE_STL" = "yes"; then
23846 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23847 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23848 cat >conftest.$ac_ext <<_ACEOF
23849 /* confdefs.h. */
23850 _ACEOF
23851 cat confdefs.h >>conftest.$ac_ext
23852 cat >>conftest.$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854 #include <string>
23855 #include <functional>
23856 #include <algorithm>
23857 #include <vector>
23858 #include <list>
23859 int
23860 main ()
23861 {
23862 std::vector<int> moo;
23863 std::list<int> foo;
23864 std::vector<int>::iterator it =
23865 std::find_if(moo.begin(), moo.end(),
23866 std::bind2nd(std::less<int>(), 3));
23867 ;
23868 return 0;
23869 }
23870 _ACEOF
23871 rm -f conftest.$ac_objext
23872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23873 (eval $ac_compile) 2>conftest.er1
23874 ac_status=$?
23875 grep -v '^ *+' conftest.er1 >conftest.err
23876 rm -f conftest.er1
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } &&
23880 { ac_try='test -z "$ac_cxx_werror_flag"
23881 || test ! -s conftest.err'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23884 ac_status=$?
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; } &&
23887 { ac_try='test -s conftest.$ac_objext'
23888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23889 (eval $ac_try) 2>&5
23890 ac_status=$?
23891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); }; }; then
23893 echo "$as_me:$LINENO: result: yes" >&5
23894 echo "${ECHO_T}yes" >&6
23895 else
23896 echo "$as_me: failed program was:" >&5
23897 sed 's/^/| /' conftest.$ac_ext >&5
23898
23899 echo "$as_me:$LINENO: result: no" >&5
23900 echo "${ECHO_T}no" >&6
23901 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23902 echo "$as_me: error: Basic STL functionality missing" >&2;}
23903 { (exit 1); exit 1; }; }
23904 fi
23905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23906
23907 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23908 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23909 cat >conftest.$ac_ext <<_ACEOF
23910 /* confdefs.h. */
23911 _ACEOF
23912 cat confdefs.h >>conftest.$ac_ext
23913 cat >>conftest.$ac_ext <<_ACEOF
23914 /* end confdefs.h. */
23915 #include <string>
23916 int
23917 main ()
23918 {
23919 std::string foo, bar;
23920 foo.compare(bar);
23921 foo.compare(1, 1, bar);
23922 foo.compare(1, 1, bar, 1, 1);
23923 foo.compare("");
23924 foo.compare(1, 1, "");
23925 foo.compare(1, 1, "", 2);
23926 ;
23927 return 0;
23928 }
23929 _ACEOF
23930 rm -f conftest.$ac_objext
23931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23932 (eval $ac_compile) 2>conftest.er1
23933 ac_status=$?
23934 grep -v '^ *+' conftest.er1 >conftest.err
23935 rm -f conftest.er1
23936 cat conftest.err >&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); } &&
23939 { ac_try='test -z "$ac_cxx_werror_flag"
23940 || test ! -s conftest.err'
23941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23942 (eval $ac_try) 2>&5
23943 ac_status=$?
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); }; } &&
23946 { ac_try='test -s conftest.$ac_objext'
23947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23948 (eval $ac_try) 2>&5
23949 ac_status=$?
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); }; }; then
23952 echo "$as_me:$LINENO: result: yes" >&5
23953 echo "${ECHO_T}yes" >&6
23954 cat >>confdefs.h <<\_ACEOF
23955 #define HAVE_STD_STRING_COMPARE 1
23956 _ACEOF
23957
23958 else
23959 echo "$as_me: failed program was:" >&5
23960 sed 's/^/| /' conftest.$ac_ext >&5
23961
23962 echo "$as_me:$LINENO: result: no" >&5
23963 echo "${ECHO_T}no" >&6
23964 fi
23965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23966
23967 if test "${ac_cv_header_hash_map+set}" = set; then
23968 echo "$as_me:$LINENO: checking for hash_map" >&5
23969 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23970 if test "${ac_cv_header_hash_map+set}" = set; then
23971 echo $ECHO_N "(cached) $ECHO_C" >&6
23972 fi
23973 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23974 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23975 else
23976 # Is the header compilable?
23977 echo "$as_me:$LINENO: checking hash_map usability" >&5
23978 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23979 cat >conftest.$ac_ext <<_ACEOF
23980 /* confdefs.h. */
23981 _ACEOF
23982 cat confdefs.h >>conftest.$ac_ext
23983 cat >>conftest.$ac_ext <<_ACEOF
23984 /* end confdefs.h. */
23985 $ac_includes_default
23986 #include <hash_map>
23987 _ACEOF
23988 rm -f conftest.$ac_objext
23989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23990 (eval $ac_compile) 2>conftest.er1
23991 ac_status=$?
23992 grep -v '^ *+' conftest.er1 >conftest.err
23993 rm -f conftest.er1
23994 cat conftest.err >&5
23995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996 (exit $ac_status); } &&
23997 { ac_try='test -z "$ac_cxx_werror_flag"
23998 || test ! -s conftest.err'
23999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24000 (eval $ac_try) 2>&5
24001 ac_status=$?
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); }; } &&
24004 { ac_try='test -s conftest.$ac_objext'
24005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24006 (eval $ac_try) 2>&5
24007 ac_status=$?
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); }; }; then
24010 ac_header_compiler=yes
24011 else
24012 echo "$as_me: failed program was:" >&5
24013 sed 's/^/| /' conftest.$ac_ext >&5
24014
24015 ac_header_compiler=no
24016 fi
24017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24019 echo "${ECHO_T}$ac_header_compiler" >&6
24020
24021 # Is the header present?
24022 echo "$as_me:$LINENO: checking hash_map presence" >&5
24023 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24024 cat >conftest.$ac_ext <<_ACEOF
24025 /* confdefs.h. */
24026 _ACEOF
24027 cat confdefs.h >>conftest.$ac_ext
24028 cat >>conftest.$ac_ext <<_ACEOF
24029 /* end confdefs.h. */
24030 #include <hash_map>
24031 _ACEOF
24032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24034 ac_status=$?
24035 grep -v '^ *+' conftest.er1 >conftest.err
24036 rm -f conftest.er1
24037 cat conftest.err >&5
24038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039 (exit $ac_status); } >/dev/null; then
24040 if test -s conftest.err; then
24041 ac_cpp_err=$ac_cxx_preproc_warn_flag
24042 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24043 else
24044 ac_cpp_err=
24045 fi
24046 else
24047 ac_cpp_err=yes
24048 fi
24049 if test -z "$ac_cpp_err"; then
24050 ac_header_preproc=yes
24051 else
24052 echo "$as_me: failed program was:" >&5
24053 sed 's/^/| /' conftest.$ac_ext >&5
24054
24055 ac_header_preproc=no
24056 fi
24057 rm -f conftest.err conftest.$ac_ext
24058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24059 echo "${ECHO_T}$ac_header_preproc" >&6
24060
24061 # So? What about this header?
24062 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24063 yes:no: )
24064 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24065 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24066 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24067 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24068 ac_header_preproc=yes
24069 ;;
24070 no:yes:* )
24071 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24072 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24073 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24074 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24075 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24076 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24077 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24078 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24079 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24080 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24081 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24082 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24083 (
24084 cat <<\_ASBOX
24085 ## ----------------------------------------- ##
24086 ## Report this to wx-dev@lists.wxwidgets.org ##
24087 ## ----------------------------------------- ##
24088 _ASBOX
24089 ) |
24090 sed "s/^/$as_me: WARNING: /" >&2
24091 ;;
24092 esac
24093 echo "$as_me:$LINENO: checking for hash_map" >&5
24094 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24095 if test "${ac_cv_header_hash_map+set}" = set; then
24096 echo $ECHO_N "(cached) $ECHO_C" >&6
24097 else
24098 ac_cv_header_hash_map=$ac_header_preproc
24099 fi
24100 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24101 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24102
24103 fi
24104 if test $ac_cv_header_hash_map = yes; then
24105 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24106 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24107 cat >conftest.$ac_ext <<_ACEOF
24108 /* confdefs.h. */
24109 _ACEOF
24110 cat confdefs.h >>conftest.$ac_ext
24111 cat >>conftest.$ac_ext <<_ACEOF
24112 /* end confdefs.h. */
24113 #include <hash_map>
24114 #include <hash_set>
24115 int
24116 main ()
24117 {
24118 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24119 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24120 ;
24121 return 0;
24122 }
24123 _ACEOF
24124 rm -f conftest.$ac_objext
24125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24126 (eval $ac_compile) 2>conftest.er1
24127 ac_status=$?
24128 grep -v '^ *+' conftest.er1 >conftest.err
24129 rm -f conftest.er1
24130 cat conftest.err >&5
24131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24132 (exit $ac_status); } &&
24133 { ac_try='test -z "$ac_cxx_werror_flag"
24134 || test ! -s conftest.err'
24135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24136 (eval $ac_try) 2>&5
24137 ac_status=$?
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); }; } &&
24140 { ac_try='test -s conftest.$ac_objext'
24141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24142 (eval $ac_try) 2>&5
24143 ac_status=$?
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); }; }; then
24146 echo "$as_me:$LINENO: result: yes" >&5
24147 echo "${ECHO_T}yes" >&6
24148 cat >>confdefs.h <<\_ACEOF
24149 #define HAVE_HASH_MAP 1
24150 _ACEOF
24151
24152 cat >>confdefs.h <<\_ACEOF
24153 #define HAVE_STD_HASH_MAP 1
24154 _ACEOF
24155
24156 else
24157 echo "$as_me: failed program was:" >&5
24158 sed 's/^/| /' conftest.$ac_ext >&5
24159
24160 echo "$as_me:$LINENO: result: no" >&5
24161 echo "${ECHO_T}no" >&6
24162 fi
24163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24164
24165 fi
24166
24167
24168
24169 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24170 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24171 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24172 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24173 echo $ECHO_N "(cached) $ECHO_C" >&6
24174 fi
24175 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24176 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24177 else
24178 # Is the header compilable?
24179 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24180 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24181 cat >conftest.$ac_ext <<_ACEOF
24182 /* confdefs.h. */
24183 _ACEOF
24184 cat confdefs.h >>conftest.$ac_ext
24185 cat >>conftest.$ac_ext <<_ACEOF
24186 /* end confdefs.h. */
24187 $ac_includes_default
24188 #include <ext/hash_map>
24189 _ACEOF
24190 rm -f conftest.$ac_objext
24191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24192 (eval $ac_compile) 2>conftest.er1
24193 ac_status=$?
24194 grep -v '^ *+' conftest.er1 >conftest.err
24195 rm -f conftest.er1
24196 cat conftest.err >&5
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); } &&
24199 { ac_try='test -z "$ac_cxx_werror_flag"
24200 || test ! -s conftest.err'
24201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24202 (eval $ac_try) 2>&5
24203 ac_status=$?
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); }; } &&
24206 { ac_try='test -s conftest.$ac_objext'
24207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24208 (eval $ac_try) 2>&5
24209 ac_status=$?
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); }; }; then
24212 ac_header_compiler=yes
24213 else
24214 echo "$as_me: failed program was:" >&5
24215 sed 's/^/| /' conftest.$ac_ext >&5
24216
24217 ac_header_compiler=no
24218 fi
24219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24221 echo "${ECHO_T}$ac_header_compiler" >&6
24222
24223 # Is the header present?
24224 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24225 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24226 cat >conftest.$ac_ext <<_ACEOF
24227 /* confdefs.h. */
24228 _ACEOF
24229 cat confdefs.h >>conftest.$ac_ext
24230 cat >>conftest.$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24232 #include <ext/hash_map>
24233 _ACEOF
24234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24235 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24236 ac_status=$?
24237 grep -v '^ *+' conftest.er1 >conftest.err
24238 rm -f conftest.er1
24239 cat conftest.err >&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); } >/dev/null; then
24242 if test -s conftest.err; then
24243 ac_cpp_err=$ac_cxx_preproc_warn_flag
24244 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24245 else
24246 ac_cpp_err=
24247 fi
24248 else
24249 ac_cpp_err=yes
24250 fi
24251 if test -z "$ac_cpp_err"; then
24252 ac_header_preproc=yes
24253 else
24254 echo "$as_me: failed program was:" >&5
24255 sed 's/^/| /' conftest.$ac_ext >&5
24256
24257 ac_header_preproc=no
24258 fi
24259 rm -f conftest.err conftest.$ac_ext
24260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24261 echo "${ECHO_T}$ac_header_preproc" >&6
24262
24263 # So? What about this header?
24264 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24265 yes:no: )
24266 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24267 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24268 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24269 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24270 ac_header_preproc=yes
24271 ;;
24272 no:yes:* )
24273 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24274 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24275 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24276 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24277 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24278 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24279 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24280 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24281 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24282 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24283 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24284 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24285 (
24286 cat <<\_ASBOX
24287 ## ----------------------------------------- ##
24288 ## Report this to wx-dev@lists.wxwidgets.org ##
24289 ## ----------------------------------------- ##
24290 _ASBOX
24291 ) |
24292 sed "s/^/$as_me: WARNING: /" >&2
24293 ;;
24294 esac
24295 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24296 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24297 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24298 echo $ECHO_N "(cached) $ECHO_C" >&6
24299 else
24300 ac_cv_header_ext_hash_map=$ac_header_preproc
24301 fi
24302 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24303 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24304
24305 fi
24306 if test $ac_cv_header_ext_hash_map = yes; then
24307 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24308 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24309 cat >conftest.$ac_ext <<_ACEOF
24310 /* confdefs.h. */
24311 _ACEOF
24312 cat confdefs.h >>conftest.$ac_ext
24313 cat >>conftest.$ac_ext <<_ACEOF
24314 /* end confdefs.h. */
24315 #include <ext/hash_map>
24316 #include <ext/hash_set>
24317 int
24318 main ()
24319 {
24320 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24321 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24322 ;
24323 return 0;
24324 }
24325 _ACEOF
24326 rm -f conftest.$ac_objext
24327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24328 (eval $ac_compile) 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); } &&
24335 { ac_try='test -z "$ac_cxx_werror_flag"
24336 || test ! -s conftest.err'
24337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24338 (eval $ac_try) 2>&5
24339 ac_status=$?
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); }; } &&
24342 { ac_try='test -s conftest.$ac_objext'
24343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24344 (eval $ac_try) 2>&5
24345 ac_status=$?
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); }; }; then
24348 echo "$as_me:$LINENO: result: yes" >&5
24349 echo "${ECHO_T}yes" >&6
24350 cat >>confdefs.h <<\_ACEOF
24351 #define HAVE_EXT_HASH_MAP 1
24352 _ACEOF
24353
24354 cat >>confdefs.h <<\_ACEOF
24355 #define HAVE_GNU_CXX_HASH_MAP 1
24356 _ACEOF
24357
24358 else
24359 echo "$as_me: failed program was:" >&5
24360 sed 's/^/| /' conftest.$ac_ext >&5
24361
24362 echo "$as_me:$LINENO: result: no" >&5
24363 echo "${ECHO_T}no" >&6
24364 fi
24365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24366
24367 fi
24368
24369
24370 fi
24371
24372
24373 SEARCH_INCLUDE="\
24374 /usr/local/include \
24375 \
24376 /usr/Motif-2.1/include \
24377 /usr/Motif-1.2/include \
24378 /usr/include/Motif1.2 \
24379 \
24380 /usr/dt/include \
24381 /usr/openwin/include \
24382 \
24383 /usr/include/Xm \
24384 \
24385 /usr/X11R6/include \
24386 /usr/X11R6.4/include \
24387 /usr/X11R5/include \
24388 /usr/X11R4/include \
24389 \
24390 /usr/include/X11R6 \
24391 /usr/include/X11R5 \
24392 /usr/include/X11R4 \
24393 \
24394 /usr/local/X11R6/include \
24395 /usr/local/X11R5/include \
24396 /usr/local/X11R4/include \
24397 \
24398 /usr/local/include/X11R6 \
24399 /usr/local/include/X11R5 \
24400 /usr/local/include/X11R4 \
24401 \
24402 /usr/X11/include \
24403 /usr/include/X11 \
24404 /usr/local/X11/include \
24405 /usr/local/include/X11 \
24406 \
24407 /usr/XFree86/include/X11 \
24408 /usr/pkg/include \
24409 \
24410 /usr/openwin/share/include"
24411
24412 echo "$as_me:$LINENO: checking for libraries directory" >&5
24413 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24414
24415 case "${host}" in
24416 *-*-irix6* )
24417 if test "${wx_cv_std_libpath+set}" = set; then
24418 echo $ECHO_N "(cached) $ECHO_C" >&6
24419 else
24420
24421 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24422 for e in a so sl dylib dll.a; do
24423 libc="$d/libc.$e"
24424 if test -f $libc; then
24425 save_LIBS="$LIBS"
24426 LIBS="$libc"
24427 cat >conftest.$ac_ext <<_ACEOF
24428 int main() { return 0; }
24429 _ACEOF
24430 rm -f conftest.$ac_objext conftest$ac_exeext
24431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24432 (eval $ac_link) 2>conftest.er1
24433 ac_status=$?
24434 grep -v '^ *+' conftest.er1 >conftest.err
24435 rm -f conftest.er1
24436 cat conftest.err >&5
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); } &&
24439 { ac_try='test -z "$ac_cxx_werror_flag"
24440 || test ! -s conftest.err'
24441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24442 (eval $ac_try) 2>&5
24443 ac_status=$?
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); }; } &&
24446 { ac_try='test -s conftest$ac_exeext'
24447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24449 ac_status=$?
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); }; }; then
24452 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24453 else
24454 echo "$as_me: failed program was:" >&5
24455 sed 's/^/| /' conftest.$ac_ext >&5
24456
24457 fi
24458 rm -f conftest.err conftest.$ac_objext \
24459 conftest$ac_exeext conftest.$ac_ext
24460 LIBS="$save_LIBS"
24461 if test "x$wx_cv_std_libpath" != "x"; then
24462 break 2
24463 fi
24464 fi
24465 done
24466 done
24467 if test "x$wx_cv_std_libpath" = "x"; then
24468 wx_cv_std_libpath="lib"
24469 fi
24470
24471
24472 fi
24473
24474 ;;
24475
24476 *-*-solaris2* )
24477 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24478 wx_cv_std_libpath="lib/64"
24479 else
24480 wx_cv_std_libpath="lib"
24481 fi
24482 ;;
24483
24484 *-*-linux* )
24485 if test "$ac_cv_sizeof_void_p" = 8 -a \
24486 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24487 wx_cv_std_libpath="lib64"
24488 else
24489 wx_cv_std_libpath="lib"
24490 fi
24491 ;;
24492
24493 *)
24494 wx_cv_std_libpath="lib";
24495 ;;
24496 esac
24497
24498 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24499 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24500
24501 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24502
24503 if test "$build" != "$host" -a "$GCC" = yes; then
24504 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24505 cross_root=`dirname $cross_root`
24506 cross_root=`dirname $cross_root`
24507
24508 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24509 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24510 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24511
24512 if test -z "$PKG_CONFIG_PATH"; then
24513 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24514 export PKG_CONFIG_PATH
24515 fi
24516
24517 if test -z "$x_includes" -o "$x_includes" = NONE; then
24518
24519 ac_find_includes=
24520 for ac_dir in $SEARCH_INCLUDE /usr/include;
24521 do
24522 if test -f "$ac_dir/X11/Intrinsic.h"; then
24523 ac_find_includes=$ac_dir
24524 break
24525 fi
24526 done
24527
24528 x_includes=$ac_find_includes
24529 fi
24530 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24531
24532 ac_find_libraries=
24533 for ac_dir in $SEARCH_LIB;
24534 do
24535 for ac_extension in a so sl dylib dll.a; do
24536 if test -f "$ac_dir/libXt.$ac_extension"; then
24537 ac_find_libraries=$ac_dir
24538 break 2
24539 fi
24540 done
24541 done
24542
24543 x_libraries=$ac_find_libraries
24544 fi
24545 fi
24546 fi
24547
24548
24549 cat >confcache <<\_ACEOF
24550 # This file is a shell script that caches the results of configure
24551 # tests run on this system so they can be shared between configure
24552 # scripts and configure runs, see configure's option --config-cache.
24553 # It is not useful on other systems. If it contains results you don't
24554 # want to keep, you may remove or edit it.
24555 #
24556 # config.status only pays attention to the cache file if you give it
24557 # the --recheck option to rerun configure.
24558 #
24559 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24560 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24561 # following values.
24562
24563 _ACEOF
24564
24565 # The following way of writing the cache mishandles newlines in values,
24566 # but we know of no workaround that is simple, portable, and efficient.
24567 # So, don't put newlines in cache variables' values.
24568 # Ultrix sh set writes to stderr and can't be redirected directly,
24569 # and sets the high bit in the cache file unless we assign to the vars.
24570 {
24571 (set) 2>&1 |
24572 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24573 *ac_space=\ *)
24574 # `set' does not quote correctly, so add quotes (double-quote
24575 # substitution turns \\\\ into \\, and sed turns \\ into \).
24576 sed -n \
24577 "s/'/'\\\\''/g;
24578 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24579 ;;
24580 *)
24581 # `set' quotes correctly as required by POSIX, so do not add quotes.
24582 sed -n \
24583 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24584 ;;
24585 esac;
24586 } |
24587 sed '
24588 t clear
24589 : clear
24590 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24591 t end
24592 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24593 : end' >>confcache
24594 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24595 if test -w $cache_file; then
24596 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24597 cat confcache >$cache_file
24598 else
24599 echo "not updating unwritable cache $cache_file"
24600 fi
24601 fi
24602 rm -f confcache
24603
24604 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24605 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24606 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24607 if test "${wx_cv_lib_glibc21+set}" = set; then
24608 echo $ECHO_N "(cached) $ECHO_C" >&6
24609 else
24610
24611 cat >conftest.$ac_ext <<_ACEOF
24612 /* confdefs.h. */
24613 _ACEOF
24614 cat confdefs.h >>conftest.$ac_ext
24615 cat >>conftest.$ac_ext <<_ACEOF
24616 /* end confdefs.h. */
24617 #include <features.h>
24618 int
24619 main ()
24620 {
24621
24622 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24623 not glibc 2.1
24624 #endif
24625
24626 ;
24627 return 0;
24628 }
24629 _ACEOF
24630 rm -f conftest.$ac_objext
24631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24632 (eval $ac_compile) 2>conftest.er1
24633 ac_status=$?
24634 grep -v '^ *+' conftest.er1 >conftest.err
24635 rm -f conftest.er1
24636 cat conftest.err >&5
24637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638 (exit $ac_status); } &&
24639 { ac_try='test -z "$ac_cxx_werror_flag"
24640 || test ! -s conftest.err'
24641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24642 (eval $ac_try) 2>&5
24643 ac_status=$?
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); }; } &&
24646 { ac_try='test -s conftest.$ac_objext'
24647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24648 (eval $ac_try) 2>&5
24649 ac_status=$?
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; }; then
24652
24653 wx_cv_lib_glibc21=yes
24654
24655 else
24656 echo "$as_me: failed program was:" >&5
24657 sed 's/^/| /' conftest.$ac_ext >&5
24658
24659
24660 wx_cv_lib_glibc21=no
24661
24662
24663 fi
24664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24665
24666 fi
24667 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24668 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24669 if test "$wx_cv_lib_glibc21" = "yes"; then
24670 cat >>confdefs.h <<\_ACEOF
24671 #define wxHAVE_GLIBC2 1
24672 _ACEOF
24673
24674 fi
24675 fi
24676
24677 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24678 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24679 cat >>confdefs.h <<\_ACEOF
24680 #define _GNU_SOURCE 1
24681 _ACEOF
24682
24683 fi
24684 fi
24685
24686 have_cos=0
24687 have_floor=0
24688
24689 for ac_func in cos
24690 do
24691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24692 echo "$as_me:$LINENO: checking for $ac_func" >&5
24693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24694 if eval "test \"\${$as_ac_var+set}\" = set"; then
24695 echo $ECHO_N "(cached) $ECHO_C" >&6
24696 else
24697 cat >conftest.$ac_ext <<_ACEOF
24698 /* confdefs.h. */
24699 _ACEOF
24700 cat confdefs.h >>conftest.$ac_ext
24701 cat >>conftest.$ac_ext <<_ACEOF
24702 /* end confdefs.h. */
24703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24705 #define $ac_func innocuous_$ac_func
24706
24707 /* System header to define __stub macros and hopefully few prototypes,
24708 which can conflict with char $ac_func (); below.
24709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24710 <limits.h> exists even on freestanding compilers. */
24711
24712 #ifdef __STDC__
24713 # include <limits.h>
24714 #else
24715 # include <assert.h>
24716 #endif
24717
24718 #undef $ac_func
24719
24720 /* Override any gcc2 internal prototype to avoid an error. */
24721 #ifdef __cplusplus
24722 extern "C"
24723 {
24724 #endif
24725 /* We use char because int might match the return type of a gcc2
24726 builtin and then its argument prototype would still apply. */
24727 char $ac_func ();
24728 /* The GNU C library defines this for functions which it implements
24729 to always fail with ENOSYS. Some functions are actually named
24730 something starting with __ and the normal name is an alias. */
24731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24732 choke me
24733 #else
24734 char (*f) () = $ac_func;
24735 #endif
24736 #ifdef __cplusplus
24737 }
24738 #endif
24739
24740 int
24741 main ()
24742 {
24743 return f != $ac_func;
24744 ;
24745 return 0;
24746 }
24747 _ACEOF
24748 rm -f conftest.$ac_objext conftest$ac_exeext
24749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24750 (eval $ac_link) 2>conftest.er1
24751 ac_status=$?
24752 grep -v '^ *+' conftest.er1 >conftest.err
24753 rm -f conftest.er1
24754 cat conftest.err >&5
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); } &&
24757 { ac_try='test -z "$ac_cxx_werror_flag"
24758 || test ! -s conftest.err'
24759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24760 (eval $ac_try) 2>&5
24761 ac_status=$?
24762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763 (exit $ac_status); }; } &&
24764 { ac_try='test -s conftest$ac_exeext'
24765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24766 (eval $ac_try) 2>&5
24767 ac_status=$?
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); }; }; then
24770 eval "$as_ac_var=yes"
24771 else
24772 echo "$as_me: failed program was:" >&5
24773 sed 's/^/| /' conftest.$ac_ext >&5
24774
24775 eval "$as_ac_var=no"
24776 fi
24777 rm -f conftest.err conftest.$ac_objext \
24778 conftest$ac_exeext conftest.$ac_ext
24779 fi
24780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24782 if test `eval echo '${'$as_ac_var'}'` = yes; then
24783 cat >>confdefs.h <<_ACEOF
24784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24785 _ACEOF
24786 have_cos=1
24787 fi
24788 done
24789
24790
24791 for ac_func in floor
24792 do
24793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24794 echo "$as_me:$LINENO: checking for $ac_func" >&5
24795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24796 if eval "test \"\${$as_ac_var+set}\" = set"; then
24797 echo $ECHO_N "(cached) $ECHO_C" >&6
24798 else
24799 cat >conftest.$ac_ext <<_ACEOF
24800 /* confdefs.h. */
24801 _ACEOF
24802 cat confdefs.h >>conftest.$ac_ext
24803 cat >>conftest.$ac_ext <<_ACEOF
24804 /* end confdefs.h. */
24805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24807 #define $ac_func innocuous_$ac_func
24808
24809 /* System header to define __stub macros and hopefully few prototypes,
24810 which can conflict with char $ac_func (); below.
24811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24812 <limits.h> exists even on freestanding compilers. */
24813
24814 #ifdef __STDC__
24815 # include <limits.h>
24816 #else
24817 # include <assert.h>
24818 #endif
24819
24820 #undef $ac_func
24821
24822 /* Override any gcc2 internal prototype to avoid an error. */
24823 #ifdef __cplusplus
24824 extern "C"
24825 {
24826 #endif
24827 /* We use char because int might match the return type of a gcc2
24828 builtin and then its argument prototype would still apply. */
24829 char $ac_func ();
24830 /* The GNU C library defines this for functions which it implements
24831 to always fail with ENOSYS. Some functions are actually named
24832 something starting with __ and the normal name is an alias. */
24833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24834 choke me
24835 #else
24836 char (*f) () = $ac_func;
24837 #endif
24838 #ifdef __cplusplus
24839 }
24840 #endif
24841
24842 int
24843 main ()
24844 {
24845 return f != $ac_func;
24846 ;
24847 return 0;
24848 }
24849 _ACEOF
24850 rm -f conftest.$ac_objext conftest$ac_exeext
24851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24852 (eval $ac_link) 2>conftest.er1
24853 ac_status=$?
24854 grep -v '^ *+' conftest.er1 >conftest.err
24855 rm -f conftest.er1
24856 cat conftest.err >&5
24857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24858 (exit $ac_status); } &&
24859 { ac_try='test -z "$ac_cxx_werror_flag"
24860 || test ! -s conftest.err'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24863 ac_status=$?
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; } &&
24866 { ac_try='test -s conftest$ac_exeext'
24867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24868 (eval $ac_try) 2>&5
24869 ac_status=$?
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); }; }; then
24872 eval "$as_ac_var=yes"
24873 else
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.$ac_ext >&5
24876
24877 eval "$as_ac_var=no"
24878 fi
24879 rm -f conftest.err conftest.$ac_objext \
24880 conftest$ac_exeext conftest.$ac_ext
24881 fi
24882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24884 if test `eval echo '${'$as_ac_var'}'` = yes; then
24885 cat >>confdefs.h <<_ACEOF
24886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24887 _ACEOF
24888 have_floor=1
24889 fi
24890 done
24891
24892 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24893 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24894 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24895 echo "$as_me:$LINENO: result: yes" >&5
24896 echo "${ECHO_T}yes" >&6
24897 else
24898 echo "$as_me:$LINENO: result: no" >&5
24899 echo "${ECHO_T}no" >&6
24900 LIBS="$LIBS -lm"
24901 # use different functions to avoid configure caching
24902 have_sin=0
24903 have_ceil=0
24904
24905 for ac_func in sin
24906 do
24907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24908 echo "$as_me:$LINENO: checking for $ac_func" >&5
24909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24910 if eval "test \"\${$as_ac_var+set}\" = set"; then
24911 echo $ECHO_N "(cached) $ECHO_C" >&6
24912 else
24913 cat >conftest.$ac_ext <<_ACEOF
24914 /* confdefs.h. */
24915 _ACEOF
24916 cat confdefs.h >>conftest.$ac_ext
24917 cat >>conftest.$ac_ext <<_ACEOF
24918 /* end confdefs.h. */
24919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24921 #define $ac_func innocuous_$ac_func
24922
24923 /* System header to define __stub macros and hopefully few prototypes,
24924 which can conflict with char $ac_func (); below.
24925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24926 <limits.h> exists even on freestanding compilers. */
24927
24928 #ifdef __STDC__
24929 # include <limits.h>
24930 #else
24931 # include <assert.h>
24932 #endif
24933
24934 #undef $ac_func
24935
24936 /* Override any gcc2 internal prototype to avoid an error. */
24937 #ifdef __cplusplus
24938 extern "C"
24939 {
24940 #endif
24941 /* We use char because int might match the return type of a gcc2
24942 builtin and then its argument prototype would still apply. */
24943 char $ac_func ();
24944 /* The GNU C library defines this for functions which it implements
24945 to always fail with ENOSYS. Some functions are actually named
24946 something starting with __ and the normal name is an alias. */
24947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24948 choke me
24949 #else
24950 char (*f) () = $ac_func;
24951 #endif
24952 #ifdef __cplusplus
24953 }
24954 #endif
24955
24956 int
24957 main ()
24958 {
24959 return f != $ac_func;
24960 ;
24961 return 0;
24962 }
24963 _ACEOF
24964 rm -f conftest.$ac_objext conftest$ac_exeext
24965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24966 (eval $ac_link) 2>conftest.er1
24967 ac_status=$?
24968 grep -v '^ *+' conftest.er1 >conftest.err
24969 rm -f conftest.er1
24970 cat conftest.err >&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); } &&
24973 { ac_try='test -z "$ac_cxx_werror_flag"
24974 || test ! -s conftest.err'
24975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24976 (eval $ac_try) 2>&5
24977 ac_status=$?
24978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24979 (exit $ac_status); }; } &&
24980 { ac_try='test -s conftest$ac_exeext'
24981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24982 (eval $ac_try) 2>&5
24983 ac_status=$?
24984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24985 (exit $ac_status); }; }; then
24986 eval "$as_ac_var=yes"
24987 else
24988 echo "$as_me: failed program was:" >&5
24989 sed 's/^/| /' conftest.$ac_ext >&5
24990
24991 eval "$as_ac_var=no"
24992 fi
24993 rm -f conftest.err conftest.$ac_objext \
24994 conftest$ac_exeext conftest.$ac_ext
24995 fi
24996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24998 if test `eval echo '${'$as_ac_var'}'` = yes; then
24999 cat >>confdefs.h <<_ACEOF
25000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25001 _ACEOF
25002 have_sin=1
25003 fi
25004 done
25005
25006
25007 for ac_func in ceil
25008 do
25009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25010 echo "$as_me:$LINENO: checking for $ac_func" >&5
25011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25012 if eval "test \"\${$as_ac_var+set}\" = set"; then
25013 echo $ECHO_N "(cached) $ECHO_C" >&6
25014 else
25015 cat >conftest.$ac_ext <<_ACEOF
25016 /* confdefs.h. */
25017 _ACEOF
25018 cat confdefs.h >>conftest.$ac_ext
25019 cat >>conftest.$ac_ext <<_ACEOF
25020 /* end confdefs.h. */
25021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25023 #define $ac_func innocuous_$ac_func
25024
25025 /* System header to define __stub macros and hopefully few prototypes,
25026 which can conflict with char $ac_func (); below.
25027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25028 <limits.h> exists even on freestanding compilers. */
25029
25030 #ifdef __STDC__
25031 # include <limits.h>
25032 #else
25033 # include <assert.h>
25034 #endif
25035
25036 #undef $ac_func
25037
25038 /* Override any gcc2 internal prototype to avoid an error. */
25039 #ifdef __cplusplus
25040 extern "C"
25041 {
25042 #endif
25043 /* We use char because int might match the return type of a gcc2
25044 builtin and then its argument prototype would still apply. */
25045 char $ac_func ();
25046 /* The GNU C library defines this for functions which it implements
25047 to always fail with ENOSYS. Some functions are actually named
25048 something starting with __ and the normal name is an alias. */
25049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25050 choke me
25051 #else
25052 char (*f) () = $ac_func;
25053 #endif
25054 #ifdef __cplusplus
25055 }
25056 #endif
25057
25058 int
25059 main ()
25060 {
25061 return f != $ac_func;
25062 ;
25063 return 0;
25064 }
25065 _ACEOF
25066 rm -f conftest.$ac_objext conftest$ac_exeext
25067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25068 (eval $ac_link) 2>conftest.er1
25069 ac_status=$?
25070 grep -v '^ *+' conftest.er1 >conftest.err
25071 rm -f conftest.er1
25072 cat conftest.err >&5
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); } &&
25075 { ac_try='test -z "$ac_cxx_werror_flag"
25076 || test ! -s conftest.err'
25077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25078 (eval $ac_try) 2>&5
25079 ac_status=$?
25080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25081 (exit $ac_status); }; } &&
25082 { ac_try='test -s conftest$ac_exeext'
25083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25084 (eval $ac_try) 2>&5
25085 ac_status=$?
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); }; }; then
25088 eval "$as_ac_var=yes"
25089 else
25090 echo "$as_me: failed program was:" >&5
25091 sed 's/^/| /' conftest.$ac_ext >&5
25092
25093 eval "$as_ac_var=no"
25094 fi
25095 rm -f conftest.err conftest.$ac_objext \
25096 conftest$ac_exeext conftest.$ac_ext
25097 fi
25098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25100 if test `eval echo '${'$as_ac_var'}'` = yes; then
25101 cat >>confdefs.h <<_ACEOF
25102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25103 _ACEOF
25104 have_ceil=1
25105 fi
25106 done
25107
25108 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25109 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25110 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25111 echo "$as_me:$LINENO: result: yes" >&5
25112 echo "${ECHO_T}yes" >&6
25113 else
25114 echo "$as_me:$LINENO: result: no" >&5
25115 echo "${ECHO_T}no" >&6
25116 # not sure we should warn the user, crash, etc.
25117 fi
25118 fi
25119
25120
25121
25122 if test "$wxUSE_REGEX" != "no"; then
25123 cat >>confdefs.h <<\_ACEOF
25124 #define wxUSE_REGEX 1
25125 _ACEOF
25126
25127
25128 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25129 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25130 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25131 wxUSE_REGEX=builtin
25132 fi
25133
25134 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25135 if test "${ac_cv_header_regex_h+set}" = set; then
25136 echo "$as_me:$LINENO: checking for regex.h" >&5
25137 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25138 if test "${ac_cv_header_regex_h+set}" = set; then
25139 echo $ECHO_N "(cached) $ECHO_C" >&6
25140 fi
25141 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25142 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25143 else
25144 # Is the header compilable?
25145 echo "$as_me:$LINENO: checking regex.h usability" >&5
25146 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25147 cat >conftest.$ac_ext <<_ACEOF
25148 /* confdefs.h. */
25149 _ACEOF
25150 cat confdefs.h >>conftest.$ac_ext
25151 cat >>conftest.$ac_ext <<_ACEOF
25152 /* end confdefs.h. */
25153 $ac_includes_default
25154 #include <regex.h>
25155 _ACEOF
25156 rm -f conftest.$ac_objext
25157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25158 (eval $ac_compile) 2>conftest.er1
25159 ac_status=$?
25160 grep -v '^ *+' conftest.er1 >conftest.err
25161 rm -f conftest.er1
25162 cat conftest.err >&5
25163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); } &&
25165 { ac_try='test -z "$ac_cxx_werror_flag"
25166 || test ! -s conftest.err'
25167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25168 (eval $ac_try) 2>&5
25169 ac_status=$?
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); }; } &&
25172 { ac_try='test -s conftest.$ac_objext'
25173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25174 (eval $ac_try) 2>&5
25175 ac_status=$?
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); }; }; then
25178 ac_header_compiler=yes
25179 else
25180 echo "$as_me: failed program was:" >&5
25181 sed 's/^/| /' conftest.$ac_ext >&5
25182
25183 ac_header_compiler=no
25184 fi
25185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25187 echo "${ECHO_T}$ac_header_compiler" >&6
25188
25189 # Is the header present?
25190 echo "$as_me:$LINENO: checking regex.h presence" >&5
25191 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25192 cat >conftest.$ac_ext <<_ACEOF
25193 /* confdefs.h. */
25194 _ACEOF
25195 cat confdefs.h >>conftest.$ac_ext
25196 cat >>conftest.$ac_ext <<_ACEOF
25197 /* end confdefs.h. */
25198 #include <regex.h>
25199 _ACEOF
25200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25202 ac_status=$?
25203 grep -v '^ *+' conftest.er1 >conftest.err
25204 rm -f conftest.er1
25205 cat conftest.err >&5
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); } >/dev/null; then
25208 if test -s conftest.err; then
25209 ac_cpp_err=$ac_cxx_preproc_warn_flag
25210 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25211 else
25212 ac_cpp_err=
25213 fi
25214 else
25215 ac_cpp_err=yes
25216 fi
25217 if test -z "$ac_cpp_err"; then
25218 ac_header_preproc=yes
25219 else
25220 echo "$as_me: failed program was:" >&5
25221 sed 's/^/| /' conftest.$ac_ext >&5
25222
25223 ac_header_preproc=no
25224 fi
25225 rm -f conftest.err conftest.$ac_ext
25226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25227 echo "${ECHO_T}$ac_header_preproc" >&6
25228
25229 # So? What about this header?
25230 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25231 yes:no: )
25232 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25233 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25234 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25235 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25236 ac_header_preproc=yes
25237 ;;
25238 no:yes:* )
25239 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25240 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25241 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25242 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25243 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25244 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25245 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25246 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25247 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25248 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25249 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25250 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25251 (
25252 cat <<\_ASBOX
25253 ## ----------------------------------------- ##
25254 ## Report this to wx-dev@lists.wxwidgets.org ##
25255 ## ----------------------------------------- ##
25256 _ASBOX
25257 ) |
25258 sed "s/^/$as_me: WARNING: /" >&2
25259 ;;
25260 esac
25261 echo "$as_me:$LINENO: checking for regex.h" >&5
25262 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25263 if test "${ac_cv_header_regex_h+set}" = set; then
25264 echo $ECHO_N "(cached) $ECHO_C" >&6
25265 else
25266 ac_cv_header_regex_h=$ac_header_preproc
25267 fi
25268 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25269 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25270
25271 fi
25272 if test $ac_cv_header_regex_h = yes; then
25273
25274
25275 for ac_func in regcomp re_search
25276 do
25277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25278 echo "$as_me:$LINENO: checking for $ac_func" >&5
25279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25280 if eval "test \"\${$as_ac_var+set}\" = set"; then
25281 echo $ECHO_N "(cached) $ECHO_C" >&6
25282 else
25283 cat >conftest.$ac_ext <<_ACEOF
25284 /* confdefs.h. */
25285 _ACEOF
25286 cat confdefs.h >>conftest.$ac_ext
25287 cat >>conftest.$ac_ext <<_ACEOF
25288 /* end confdefs.h. */
25289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25291 #define $ac_func innocuous_$ac_func
25292
25293 /* System header to define __stub macros and hopefully few prototypes,
25294 which can conflict with char $ac_func (); below.
25295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25296 <limits.h> exists even on freestanding compilers. */
25297
25298 #ifdef __STDC__
25299 # include <limits.h>
25300 #else
25301 # include <assert.h>
25302 #endif
25303
25304 #undef $ac_func
25305
25306 /* Override any gcc2 internal prototype to avoid an error. */
25307 #ifdef __cplusplus
25308 extern "C"
25309 {
25310 #endif
25311 /* We use char because int might match the return type of a gcc2
25312 builtin and then its argument prototype would still apply. */
25313 char $ac_func ();
25314 /* The GNU C library defines this for functions which it implements
25315 to always fail with ENOSYS. Some functions are actually named
25316 something starting with __ and the normal name is an alias. */
25317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25318 choke me
25319 #else
25320 char (*f) () = $ac_func;
25321 #endif
25322 #ifdef __cplusplus
25323 }
25324 #endif
25325
25326 int
25327 main ()
25328 {
25329 return f != $ac_func;
25330 ;
25331 return 0;
25332 }
25333 _ACEOF
25334 rm -f conftest.$ac_objext conftest$ac_exeext
25335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25336 (eval $ac_link) 2>conftest.er1
25337 ac_status=$?
25338 grep -v '^ *+' conftest.er1 >conftest.err
25339 rm -f conftest.er1
25340 cat conftest.err >&5
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); } &&
25343 { ac_try='test -z "$ac_cxx_werror_flag"
25344 || test ! -s conftest.err'
25345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25346 (eval $ac_try) 2>&5
25347 ac_status=$?
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); }; } &&
25350 { ac_try='test -s conftest$ac_exeext'
25351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25352 (eval $ac_try) 2>&5
25353 ac_status=$?
25354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25355 (exit $ac_status); }; }; then
25356 eval "$as_ac_var=yes"
25357 else
25358 echo "$as_me: failed program was:" >&5
25359 sed 's/^/| /' conftest.$ac_ext >&5
25360
25361 eval "$as_ac_var=no"
25362 fi
25363 rm -f conftest.err conftest.$ac_objext \
25364 conftest$ac_exeext conftest.$ac_ext
25365 fi
25366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25368 if test `eval echo '${'$as_ac_var'}'` = yes; then
25369 cat >>confdefs.h <<_ACEOF
25370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25371 _ACEOF
25372
25373 fi
25374 done
25375
25376 fi
25377
25378
25379
25380 if test "x$ac_cv_func_regcomp" != "xyes"; then
25381 if test "$wxUSE_REGEX" = "sys" ; then
25382 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25383 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25384 { (exit 1); exit 1; }; }
25385 else
25386 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25387 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25388 wxUSE_REGEX=builtin
25389 fi
25390 else
25391 wxUSE_REGEX=sys
25392 cat >>confdefs.h <<\_ACEOF
25393 #define WX_NO_REGEX_ADVANCED 1
25394 _ACEOF
25395
25396 fi
25397 fi
25398 fi
25399
25400
25401 ZLIB_LINK=
25402 if test "$wxUSE_ZLIB" != "no" ; then
25403 cat >>confdefs.h <<\_ACEOF
25404 #define wxUSE_ZLIB 1
25405 _ACEOF
25406
25407
25408 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25409 if test "$USE_DARWIN" = 1; then
25410 system_zlib_h_ok="yes"
25411 else
25412 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25413 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25414 if test "${ac_cv_header_zlib_h+set}" = set; then
25415 echo $ECHO_N "(cached) $ECHO_C" >&6
25416 else
25417 if test "$cross_compiling" = yes; then
25418 unset ac_cv_header_zlib_h
25419
25420 else
25421 cat >conftest.$ac_ext <<_ACEOF
25422 /* confdefs.h. */
25423 _ACEOF
25424 cat confdefs.h >>conftest.$ac_ext
25425 cat >>conftest.$ac_ext <<_ACEOF
25426 /* end confdefs.h. */
25427
25428 #include <zlib.h>
25429 #include <stdio.h>
25430
25431 int main()
25432 {
25433 FILE *f=fopen("conftestval", "w");
25434 if (!f) exit(1);
25435 fprintf(f, "%s",
25436 ZLIB_VERSION[0] == '1' &&
25437 (ZLIB_VERSION[2] > '1' ||
25438 (ZLIB_VERSION[2] == '1' &&
25439 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25440 exit(0);
25441 }
25442
25443 _ACEOF
25444 rm -f conftest$ac_exeext
25445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25446 (eval $ac_link) 2>&5
25447 ac_status=$?
25448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25451 (eval $ac_try) 2>&5
25452 ac_status=$?
25453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25454 (exit $ac_status); }; }; then
25455 ac_cv_header_zlib_h=`cat conftestval`
25456 else
25457 echo "$as_me: program exited with status $ac_status" >&5
25458 echo "$as_me: failed program was:" >&5
25459 sed 's/^/| /' conftest.$ac_ext >&5
25460
25461 ( exit $ac_status )
25462 ac_cv_header_zlib_h=no
25463 fi
25464 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25465 fi
25466
25467 fi
25468 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25469 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25470 if test "${ac_cv_header_zlib_h+set}" = set; then
25471 echo "$as_me:$LINENO: checking for zlib.h" >&5
25472 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25473 if test "${ac_cv_header_zlib_h+set}" = set; then
25474 echo $ECHO_N "(cached) $ECHO_C" >&6
25475 fi
25476 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25477 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25478 else
25479 # Is the header compilable?
25480 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25481 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25482 cat >conftest.$ac_ext <<_ACEOF
25483 /* confdefs.h. */
25484 _ACEOF
25485 cat confdefs.h >>conftest.$ac_ext
25486 cat >>conftest.$ac_ext <<_ACEOF
25487 /* end confdefs.h. */
25488 $ac_includes_default
25489 #include <zlib.h>
25490 _ACEOF
25491 rm -f conftest.$ac_objext
25492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25493 (eval $ac_compile) 2>conftest.er1
25494 ac_status=$?
25495 grep -v '^ *+' conftest.er1 >conftest.err
25496 rm -f conftest.er1
25497 cat conftest.err >&5
25498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25499 (exit $ac_status); } &&
25500 { ac_try='test -z "$ac_cxx_werror_flag"
25501 || test ! -s conftest.err'
25502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25503 (eval $ac_try) 2>&5
25504 ac_status=$?
25505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506 (exit $ac_status); }; } &&
25507 { ac_try='test -s conftest.$ac_objext'
25508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25509 (eval $ac_try) 2>&5
25510 ac_status=$?
25511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25512 (exit $ac_status); }; }; then
25513 ac_header_compiler=yes
25514 else
25515 echo "$as_me: failed program was:" >&5
25516 sed 's/^/| /' conftest.$ac_ext >&5
25517
25518 ac_header_compiler=no
25519 fi
25520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25522 echo "${ECHO_T}$ac_header_compiler" >&6
25523
25524 # Is the header present?
25525 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25526 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25527 cat >conftest.$ac_ext <<_ACEOF
25528 /* confdefs.h. */
25529 _ACEOF
25530 cat confdefs.h >>conftest.$ac_ext
25531 cat >>conftest.$ac_ext <<_ACEOF
25532 /* end confdefs.h. */
25533 #include <zlib.h>
25534 _ACEOF
25535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25536 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25537 ac_status=$?
25538 grep -v '^ *+' conftest.er1 >conftest.err
25539 rm -f conftest.er1
25540 cat conftest.err >&5
25541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25542 (exit $ac_status); } >/dev/null; then
25543 if test -s conftest.err; then
25544 ac_cpp_err=$ac_cxx_preproc_warn_flag
25545 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25546 else
25547 ac_cpp_err=
25548 fi
25549 else
25550 ac_cpp_err=yes
25551 fi
25552 if test -z "$ac_cpp_err"; then
25553 ac_header_preproc=yes
25554 else
25555 echo "$as_me: failed program was:" >&5
25556 sed 's/^/| /' conftest.$ac_ext >&5
25557
25558 ac_header_preproc=no
25559 fi
25560 rm -f conftest.err conftest.$ac_ext
25561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25562 echo "${ECHO_T}$ac_header_preproc" >&6
25563
25564 # So? What about this header?
25565 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25566 yes:no: )
25567 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25568 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25569 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25570 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25571 ac_header_preproc=yes
25572 ;;
25573 no:yes:* )
25574 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25575 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25576 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25577 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25578 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25579 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25580 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25581 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25582 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25583 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25584 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25585 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25586 (
25587 cat <<\_ASBOX
25588 ## ----------------------------------------- ##
25589 ## Report this to wx-dev@lists.wxwidgets.org ##
25590 ## ----------------------------------------- ##
25591 _ASBOX
25592 ) |
25593 sed "s/^/$as_me: WARNING: /" >&2
25594 ;;
25595 esac
25596 echo "$as_me:$LINENO: checking for zlib.h" >&5
25597 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25598 if test "${ac_cv_header_zlib_h+set}" = set; then
25599 echo $ECHO_N "(cached) $ECHO_C" >&6
25600 else
25601 ac_cv_header_zlib_h=$ac_header_preproc
25602 fi
25603 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25604 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25605
25606 fi
25607
25608
25609
25610 system_zlib_h_ok=$ac_cv_header_zlib_h
25611 fi
25612
25613 if test "$system_zlib_h_ok" = "yes"; then
25614 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25615 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25616 if test "${ac_cv_lib_z_deflate+set}" = set; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 else
25619 ac_check_lib_save_LIBS=$LIBS
25620 LIBS="-lz $LIBS"
25621 cat >conftest.$ac_ext <<_ACEOF
25622 /* confdefs.h. */
25623 _ACEOF
25624 cat confdefs.h >>conftest.$ac_ext
25625 cat >>conftest.$ac_ext <<_ACEOF
25626 /* end confdefs.h. */
25627
25628 /* Override any gcc2 internal prototype to avoid an error. */
25629 #ifdef __cplusplus
25630 extern "C"
25631 #endif
25632 /* We use char because int might match the return type of a gcc2
25633 builtin and then its argument prototype would still apply. */
25634 char deflate ();
25635 int
25636 main ()
25637 {
25638 deflate ();
25639 ;
25640 return 0;
25641 }
25642 _ACEOF
25643 rm -f conftest.$ac_objext conftest$ac_exeext
25644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25645 (eval $ac_link) 2>conftest.er1
25646 ac_status=$?
25647 grep -v '^ *+' conftest.er1 >conftest.err
25648 rm -f conftest.er1
25649 cat conftest.err >&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } &&
25652 { ac_try='test -z "$ac_cxx_werror_flag"
25653 || test ! -s conftest.err'
25654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25655 (eval $ac_try) 2>&5
25656 ac_status=$?
25657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25658 (exit $ac_status); }; } &&
25659 { ac_try='test -s conftest$ac_exeext'
25660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25661 (eval $ac_try) 2>&5
25662 ac_status=$?
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); }; }; then
25665 ac_cv_lib_z_deflate=yes
25666 else
25667 echo "$as_me: failed program was:" >&5
25668 sed 's/^/| /' conftest.$ac_ext >&5
25669
25670 ac_cv_lib_z_deflate=no
25671 fi
25672 rm -f conftest.err conftest.$ac_objext \
25673 conftest$ac_exeext conftest.$ac_ext
25674 LIBS=$ac_check_lib_save_LIBS
25675 fi
25676 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25677 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25678 if test $ac_cv_lib_z_deflate = yes; then
25679 ZLIB_LINK=" -lz"
25680 fi
25681
25682 fi
25683
25684 if test "x$ZLIB_LINK" = "x" ; then
25685 if test "$wxUSE_ZLIB" = "sys" ; then
25686 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25687 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25688 { (exit 1); exit 1; }; }
25689 else
25690 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25691 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25692 wxUSE_ZLIB=builtin
25693 fi
25694 else
25695 wxUSE_ZLIB=sys
25696 fi
25697 fi
25698 fi
25699
25700
25701 PNG_LINK=
25702 if test "$wxUSE_LIBPNG" != "no" ; then
25703 cat >>confdefs.h <<\_ACEOF
25704 #define wxUSE_LIBPNG 1
25705 _ACEOF
25706
25707
25708 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25709 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25710 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25711 wxUSE_LIBPNG=sys
25712 fi
25713
25714 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25715 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25716 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25717 wxUSE_LIBPNG=builtin
25718 fi
25719
25720 if test "$wxUSE_MGL" != 1 ; then
25721 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25722 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25723 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25724 if test "${ac_cv_header_png_h+set}" = set; then
25725 echo $ECHO_N "(cached) $ECHO_C" >&6
25726 else
25727 if test "$cross_compiling" = yes; then
25728 unset ac_cv_header_png_h
25729
25730 else
25731 cat >conftest.$ac_ext <<_ACEOF
25732 /* confdefs.h. */
25733 _ACEOF
25734 cat confdefs.h >>conftest.$ac_ext
25735 cat >>conftest.$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25737
25738 #include <png.h>
25739 #include <stdio.h>
25740
25741 int main()
25742 {
25743 FILE *f=fopen("conftestval", "w");
25744 if (!f) exit(1);
25745 fprintf(f, "%s",
25746 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25747 exit(0);
25748 }
25749
25750 _ACEOF
25751 rm -f conftest$ac_exeext
25752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25753 (eval $ac_link) 2>&5
25754 ac_status=$?
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25758 (eval $ac_try) 2>&5
25759 ac_status=$?
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; }; then
25762 ac_cv_header_png_h=`cat conftestval`
25763 else
25764 echo "$as_me: program exited with status $ac_status" >&5
25765 echo "$as_me: failed program was:" >&5
25766 sed 's/^/| /' conftest.$ac_ext >&5
25767
25768 ( exit $ac_status )
25769 ac_cv_header_png_h=no
25770 fi
25771 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25772 fi
25773
25774 fi
25775 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25776 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25777 if test "${ac_cv_header_png_h+set}" = set; then
25778 echo "$as_me:$LINENO: checking for png.h" >&5
25779 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25780 if test "${ac_cv_header_png_h+set}" = set; then
25781 echo $ECHO_N "(cached) $ECHO_C" >&6
25782 fi
25783 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25784 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25785 else
25786 # Is the header compilable?
25787 echo "$as_me:$LINENO: checking png.h usability" >&5
25788 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25789 cat >conftest.$ac_ext <<_ACEOF
25790 /* confdefs.h. */
25791 _ACEOF
25792 cat confdefs.h >>conftest.$ac_ext
25793 cat >>conftest.$ac_ext <<_ACEOF
25794 /* end confdefs.h. */
25795 $ac_includes_default
25796 #include <png.h>
25797 _ACEOF
25798 rm -f conftest.$ac_objext
25799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25800 (eval $ac_compile) 2>conftest.er1
25801 ac_status=$?
25802 grep -v '^ *+' conftest.er1 >conftest.err
25803 rm -f conftest.er1
25804 cat conftest.err >&5
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); } &&
25807 { ac_try='test -z "$ac_cxx_werror_flag"
25808 || test ! -s conftest.err'
25809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25810 (eval $ac_try) 2>&5
25811 ac_status=$?
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); }; } &&
25814 { ac_try='test -s conftest.$ac_objext'
25815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25816 (eval $ac_try) 2>&5
25817 ac_status=$?
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); }; }; then
25820 ac_header_compiler=yes
25821 else
25822 echo "$as_me: failed program was:" >&5
25823 sed 's/^/| /' conftest.$ac_ext >&5
25824
25825 ac_header_compiler=no
25826 fi
25827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25828 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25829 echo "${ECHO_T}$ac_header_compiler" >&6
25830
25831 # Is the header present?
25832 echo "$as_me:$LINENO: checking png.h presence" >&5
25833 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25834 cat >conftest.$ac_ext <<_ACEOF
25835 /* confdefs.h. */
25836 _ACEOF
25837 cat confdefs.h >>conftest.$ac_ext
25838 cat >>conftest.$ac_ext <<_ACEOF
25839 /* end confdefs.h. */
25840 #include <png.h>
25841 _ACEOF
25842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25843 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25844 ac_status=$?
25845 grep -v '^ *+' conftest.er1 >conftest.err
25846 rm -f conftest.er1
25847 cat conftest.err >&5
25848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849 (exit $ac_status); } >/dev/null; then
25850 if test -s conftest.err; then
25851 ac_cpp_err=$ac_cxx_preproc_warn_flag
25852 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25853 else
25854 ac_cpp_err=
25855 fi
25856 else
25857 ac_cpp_err=yes
25858 fi
25859 if test -z "$ac_cpp_err"; then
25860 ac_header_preproc=yes
25861 else
25862 echo "$as_me: failed program was:" >&5
25863 sed 's/^/| /' conftest.$ac_ext >&5
25864
25865 ac_header_preproc=no
25866 fi
25867 rm -f conftest.err conftest.$ac_ext
25868 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25869 echo "${ECHO_T}$ac_header_preproc" >&6
25870
25871 # So? What about this header?
25872 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25873 yes:no: )
25874 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25875 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25876 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25877 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25878 ac_header_preproc=yes
25879 ;;
25880 no:yes:* )
25881 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25882 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25883 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25884 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25885 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25886 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25887 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25888 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25889 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25890 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25891 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25892 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25893 (
25894 cat <<\_ASBOX
25895 ## ----------------------------------------- ##
25896 ## Report this to wx-dev@lists.wxwidgets.org ##
25897 ## ----------------------------------------- ##
25898 _ASBOX
25899 ) |
25900 sed "s/^/$as_me: WARNING: /" >&2
25901 ;;
25902 esac
25903 echo "$as_me:$LINENO: checking for png.h" >&5
25904 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25905 if test "${ac_cv_header_png_h+set}" = set; then
25906 echo $ECHO_N "(cached) $ECHO_C" >&6
25907 else
25908 ac_cv_header_png_h=$ac_header_preproc
25909 fi
25910 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25911 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25912
25913 fi
25914
25915
25916
25917 if test "$ac_cv_header_png_h" = "yes"; then
25918 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25919 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25920 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25921 echo $ECHO_N "(cached) $ECHO_C" >&6
25922 else
25923 ac_check_lib_save_LIBS=$LIBS
25924 LIBS="-lpng -lz -lm $LIBS"
25925 cat >conftest.$ac_ext <<_ACEOF
25926 /* confdefs.h. */
25927 _ACEOF
25928 cat confdefs.h >>conftest.$ac_ext
25929 cat >>conftest.$ac_ext <<_ACEOF
25930 /* end confdefs.h. */
25931
25932 /* Override any gcc2 internal prototype to avoid an error. */
25933 #ifdef __cplusplus
25934 extern "C"
25935 #endif
25936 /* We use char because int might match the return type of a gcc2
25937 builtin and then its argument prototype would still apply. */
25938 char png_check_sig ();
25939 int
25940 main ()
25941 {
25942 png_check_sig ();
25943 ;
25944 return 0;
25945 }
25946 _ACEOF
25947 rm -f conftest.$ac_objext conftest$ac_exeext
25948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25949 (eval $ac_link) 2>conftest.er1
25950 ac_status=$?
25951 grep -v '^ *+' conftest.er1 >conftest.err
25952 rm -f conftest.er1
25953 cat conftest.err >&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } &&
25956 { ac_try='test -z "$ac_cxx_werror_flag"
25957 || test ! -s conftest.err'
25958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25959 (eval $ac_try) 2>&5
25960 ac_status=$?
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); }; } &&
25963 { ac_try='test -s conftest$ac_exeext'
25964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25965 (eval $ac_try) 2>&5
25966 ac_status=$?
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); }; }; then
25969 ac_cv_lib_png_png_check_sig=yes
25970 else
25971 echo "$as_me: failed program was:" >&5
25972 sed 's/^/| /' conftest.$ac_ext >&5
25973
25974 ac_cv_lib_png_png_check_sig=no
25975 fi
25976 rm -f conftest.err conftest.$ac_objext \
25977 conftest$ac_exeext conftest.$ac_ext
25978 LIBS=$ac_check_lib_save_LIBS
25979 fi
25980 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25981 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25982 if test $ac_cv_lib_png_png_check_sig = yes; then
25983 PNG_LINK=" -lpng -lz"
25984 fi
25985
25986 fi
25987
25988 if test "x$PNG_LINK" = "x" ; then
25989 if test "$wxUSE_LIBPNG" = "sys" ; then
25990 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25991 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25992 { (exit 1); exit 1; }; }
25993 else
25994 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25995 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25996 wxUSE_LIBPNG=builtin
25997 fi
25998 else
25999 wxUSE_LIBPNG=sys
26000 fi
26001 fi
26002 fi
26003
26004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26005 fi
26006
26007
26008 JPEG_LINK=
26009 if test "$wxUSE_LIBJPEG" != "no" ; then
26010 cat >>confdefs.h <<\_ACEOF
26011 #define wxUSE_LIBJPEG 1
26012 _ACEOF
26013
26014
26015 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26016 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26017 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26018 wxUSE_LIBJPEG=sys
26019 fi
26020
26021 if test "$wxUSE_MGL" != 1 ; then
26022 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26023 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26024 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26025 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26026 echo $ECHO_N "(cached) $ECHO_C" >&6
26027 else
26028 cat >conftest.$ac_ext <<_ACEOF
26029 /* confdefs.h. */
26030 _ACEOF
26031 cat confdefs.h >>conftest.$ac_ext
26032 cat >>conftest.$ac_ext <<_ACEOF
26033 /* end confdefs.h. */
26034
26035 #undef HAVE_STDLIB_H
26036 #include <stdio.h>
26037 #include <jpeglib.h>
26038
26039 int
26040 main ()
26041 {
26042
26043
26044 ;
26045 return 0;
26046 }
26047 _ACEOF
26048 rm -f conftest.$ac_objext
26049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26050 (eval $ac_compile) 2>conftest.er1
26051 ac_status=$?
26052 grep -v '^ *+' conftest.er1 >conftest.err
26053 rm -f conftest.er1
26054 cat conftest.err >&5
26055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056 (exit $ac_status); } &&
26057 { ac_try='test -z "$ac_cxx_werror_flag"
26058 || test ! -s conftest.err'
26059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26060 (eval $ac_try) 2>&5
26061 ac_status=$?
26062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26063 (exit $ac_status); }; } &&
26064 { ac_try='test -s conftest.$ac_objext'
26065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26066 (eval $ac_try) 2>&5
26067 ac_status=$?
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); }; }; then
26070 ac_cv_header_jpeglib_h=yes
26071 else
26072 echo "$as_me: failed program was:" >&5
26073 sed 's/^/| /' conftest.$ac_ext >&5
26074
26075 ac_cv_header_jpeglib_h=no
26076
26077 fi
26078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26079
26080 fi
26081
26082 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26083 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26084
26085 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26086 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26087 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26088 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26089 echo $ECHO_N "(cached) $ECHO_C" >&6
26090 else
26091 ac_check_lib_save_LIBS=$LIBS
26092 LIBS="-ljpeg $LIBS"
26093 cat >conftest.$ac_ext <<_ACEOF
26094 /* confdefs.h. */
26095 _ACEOF
26096 cat confdefs.h >>conftest.$ac_ext
26097 cat >>conftest.$ac_ext <<_ACEOF
26098 /* end confdefs.h. */
26099
26100 /* Override any gcc2 internal prototype to avoid an error. */
26101 #ifdef __cplusplus
26102 extern "C"
26103 #endif
26104 /* We use char because int might match the return type of a gcc2
26105 builtin and then its argument prototype would still apply. */
26106 char jpeg_read_header ();
26107 int
26108 main ()
26109 {
26110 jpeg_read_header ();
26111 ;
26112 return 0;
26113 }
26114 _ACEOF
26115 rm -f conftest.$ac_objext conftest$ac_exeext
26116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26117 (eval $ac_link) 2>conftest.er1
26118 ac_status=$?
26119 grep -v '^ *+' conftest.er1 >conftest.err
26120 rm -f conftest.er1
26121 cat conftest.err >&5
26122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123 (exit $ac_status); } &&
26124 { ac_try='test -z "$ac_cxx_werror_flag"
26125 || test ! -s conftest.err'
26126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26127 (eval $ac_try) 2>&5
26128 ac_status=$?
26129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130 (exit $ac_status); }; } &&
26131 { ac_try='test -s conftest$ac_exeext'
26132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26133 (eval $ac_try) 2>&5
26134 ac_status=$?
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); }; }; then
26137 ac_cv_lib_jpeg_jpeg_read_header=yes
26138 else
26139 echo "$as_me: failed program was:" >&5
26140 sed 's/^/| /' conftest.$ac_ext >&5
26141
26142 ac_cv_lib_jpeg_jpeg_read_header=no
26143 fi
26144 rm -f conftest.err conftest.$ac_objext \
26145 conftest$ac_exeext conftest.$ac_ext
26146 LIBS=$ac_check_lib_save_LIBS
26147 fi
26148 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26149 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26150 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26151 JPEG_LINK=" -ljpeg"
26152 fi
26153
26154 fi
26155
26156 if test "x$JPEG_LINK" = "x" ; then
26157 if test "$wxUSE_LIBJPEG" = "sys" ; then
26158 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26159 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26160 { (exit 1); exit 1; }; }
26161 else
26162 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26163 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26164 wxUSE_LIBJPEG=builtin
26165 fi
26166 else
26167 wxUSE_LIBJPEG=sys
26168 fi
26169 fi
26170 fi
26171 fi
26172
26173
26174 TIFF_LINK=
26175 TIFF_PREREQ_LINKS=-lm
26176 if test "$wxUSE_LIBTIFF" != "no" ; then
26177 cat >>confdefs.h <<\_ACEOF
26178 #define wxUSE_LIBTIFF 1
26179 _ACEOF
26180
26181
26182 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26183 if test "$wxUSE_LIBJPEG" = "sys"; then
26184 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26185 fi
26186 if test "$wxUSE_ZLIB" = "sys"; then
26187 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26188 fi
26189 if test "${ac_cv_header_tiffio_h+set}" = set; then
26190 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26191 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26192 if test "${ac_cv_header_tiffio_h+set}" = set; then
26193 echo $ECHO_N "(cached) $ECHO_C" >&6
26194 fi
26195 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26196 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26197 else
26198 # Is the header compilable?
26199 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26200 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26201 cat >conftest.$ac_ext <<_ACEOF
26202 /* confdefs.h. */
26203 _ACEOF
26204 cat confdefs.h >>conftest.$ac_ext
26205 cat >>conftest.$ac_ext <<_ACEOF
26206 /* end confdefs.h. */
26207 $ac_includes_default
26208 #include <tiffio.h>
26209 _ACEOF
26210 rm -f conftest.$ac_objext
26211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26212 (eval $ac_compile) 2>conftest.er1
26213 ac_status=$?
26214 grep -v '^ *+' conftest.er1 >conftest.err
26215 rm -f conftest.er1
26216 cat conftest.err >&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); } &&
26219 { ac_try='test -z "$ac_cxx_werror_flag"
26220 || test ! -s conftest.err'
26221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26222 (eval $ac_try) 2>&5
26223 ac_status=$?
26224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 (exit $ac_status); }; } &&
26226 { ac_try='test -s conftest.$ac_objext'
26227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26228 (eval $ac_try) 2>&5
26229 ac_status=$?
26230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231 (exit $ac_status); }; }; then
26232 ac_header_compiler=yes
26233 else
26234 echo "$as_me: failed program was:" >&5
26235 sed 's/^/| /' conftest.$ac_ext >&5
26236
26237 ac_header_compiler=no
26238 fi
26239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26241 echo "${ECHO_T}$ac_header_compiler" >&6
26242
26243 # Is the header present?
26244 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26245 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26246 cat >conftest.$ac_ext <<_ACEOF
26247 /* confdefs.h. */
26248 _ACEOF
26249 cat confdefs.h >>conftest.$ac_ext
26250 cat >>conftest.$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26252 #include <tiffio.h>
26253 _ACEOF
26254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26256 ac_status=$?
26257 grep -v '^ *+' conftest.er1 >conftest.err
26258 rm -f conftest.er1
26259 cat conftest.err >&5
26260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26261 (exit $ac_status); } >/dev/null; then
26262 if test -s conftest.err; then
26263 ac_cpp_err=$ac_cxx_preproc_warn_flag
26264 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26265 else
26266 ac_cpp_err=
26267 fi
26268 else
26269 ac_cpp_err=yes
26270 fi
26271 if test -z "$ac_cpp_err"; then
26272 ac_header_preproc=yes
26273 else
26274 echo "$as_me: failed program was:" >&5
26275 sed 's/^/| /' conftest.$ac_ext >&5
26276
26277 ac_header_preproc=no
26278 fi
26279 rm -f conftest.err conftest.$ac_ext
26280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26281 echo "${ECHO_T}$ac_header_preproc" >&6
26282
26283 # So? What about this header?
26284 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26285 yes:no: )
26286 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26287 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26288 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26289 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26290 ac_header_preproc=yes
26291 ;;
26292 no:yes:* )
26293 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26294 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26295 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26296 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26297 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26298 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26299 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26300 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26301 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26302 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26303 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26304 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26305 (
26306 cat <<\_ASBOX
26307 ## ----------------------------------------- ##
26308 ## Report this to wx-dev@lists.wxwidgets.org ##
26309 ## ----------------------------------------- ##
26310 _ASBOX
26311 ) |
26312 sed "s/^/$as_me: WARNING: /" >&2
26313 ;;
26314 esac
26315 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26316 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26317 if test "${ac_cv_header_tiffio_h+set}" = set; then
26318 echo $ECHO_N "(cached) $ECHO_C" >&6
26319 else
26320 ac_cv_header_tiffio_h=$ac_header_preproc
26321 fi
26322 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26323 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26324
26325 fi
26326 if test $ac_cv_header_tiffio_h = yes; then
26327
26328 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26329 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26330 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26331 echo $ECHO_N "(cached) $ECHO_C" >&6
26332 else
26333 ac_check_lib_save_LIBS=$LIBS
26334 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26335 cat >conftest.$ac_ext <<_ACEOF
26336 /* confdefs.h. */
26337 _ACEOF
26338 cat confdefs.h >>conftest.$ac_ext
26339 cat >>conftest.$ac_ext <<_ACEOF
26340 /* end confdefs.h. */
26341
26342 /* Override any gcc2 internal prototype to avoid an error. */
26343 #ifdef __cplusplus
26344 extern "C"
26345 #endif
26346 /* We use char because int might match the return type of a gcc2
26347 builtin and then its argument prototype would still apply. */
26348 char TIFFError ();
26349 int
26350 main ()
26351 {
26352 TIFFError ();
26353 ;
26354 return 0;
26355 }
26356 _ACEOF
26357 rm -f conftest.$ac_objext conftest$ac_exeext
26358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26359 (eval $ac_link) 2>conftest.er1
26360 ac_status=$?
26361 grep -v '^ *+' conftest.er1 >conftest.err
26362 rm -f conftest.er1
26363 cat conftest.err >&5
26364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365 (exit $ac_status); } &&
26366 { ac_try='test -z "$ac_cxx_werror_flag"
26367 || test ! -s conftest.err'
26368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26369 (eval $ac_try) 2>&5
26370 ac_status=$?
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); }; } &&
26373 { ac_try='test -s conftest$ac_exeext'
26374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26375 (eval $ac_try) 2>&5
26376 ac_status=$?
26377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378 (exit $ac_status); }; }; then
26379 ac_cv_lib_tiff_TIFFError=yes
26380 else
26381 echo "$as_me: failed program was:" >&5
26382 sed 's/^/| /' conftest.$ac_ext >&5
26383
26384 ac_cv_lib_tiff_TIFFError=no
26385 fi
26386 rm -f conftest.err conftest.$ac_objext \
26387 conftest$ac_exeext conftest.$ac_ext
26388 LIBS=$ac_check_lib_save_LIBS
26389 fi
26390 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26391 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26392 if test $ac_cv_lib_tiff_TIFFError = yes; then
26393 TIFF_LINK=" -ltiff"
26394 fi
26395
26396
26397
26398 fi
26399
26400
26401
26402 if test "x$TIFF_LINK" = "x" ; then
26403 if test "$wxUSE_LIBTIFF" = "sys" ; then
26404 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26405 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26406 { (exit 1); exit 1; }; }
26407 else
26408 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26409 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26410 wxUSE_LIBTIFF=builtin
26411 fi
26412 else
26413 wxUSE_LIBTIFF=sys
26414 fi
26415 fi
26416 fi
26417
26418
26419 if test "$wxUSE_WCHAR_T" != "yes"; then
26420 if test "$wxUSE_EXPAT" != "no"; then
26421 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26422 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26423 wxUSE_EXPAT=no
26424 fi
26425 if test "$wxUSE_XML" != "no"; then
26426 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26427 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26428 wxUSE_XML=no
26429 fi
26430 fi
26431
26432 if test "$wxUSE_EXPAT" != "no"; then
26433 wxUSE_XML=yes
26434 cat >>confdefs.h <<\_ACEOF
26435 #define wxUSE_EXPAT 1
26436 _ACEOF
26437
26438 cat >>confdefs.h <<\_ACEOF
26439 #define wxUSE_XML 1
26440 _ACEOF
26441
26442
26443 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26444 if test "${ac_cv_header_expat_h+set}" = set; then
26445 echo "$as_me:$LINENO: checking for expat.h" >&5
26446 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26447 if test "${ac_cv_header_expat_h+set}" = set; then
26448 echo $ECHO_N "(cached) $ECHO_C" >&6
26449 fi
26450 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26451 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26452 else
26453 # Is the header compilable?
26454 echo "$as_me:$LINENO: checking expat.h usability" >&5
26455 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26456 cat >conftest.$ac_ext <<_ACEOF
26457 /* confdefs.h. */
26458 _ACEOF
26459 cat confdefs.h >>conftest.$ac_ext
26460 cat >>conftest.$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26462 $ac_includes_default
26463 #include <expat.h>
26464 _ACEOF
26465 rm -f conftest.$ac_objext
26466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26467 (eval $ac_compile) 2>conftest.er1
26468 ac_status=$?
26469 grep -v '^ *+' conftest.er1 >conftest.err
26470 rm -f conftest.er1
26471 cat conftest.err >&5
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); } &&
26474 { ac_try='test -z "$ac_cxx_werror_flag"
26475 || test ! -s conftest.err'
26476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26477 (eval $ac_try) 2>&5
26478 ac_status=$?
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); }; } &&
26481 { ac_try='test -s conftest.$ac_objext'
26482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26483 (eval $ac_try) 2>&5
26484 ac_status=$?
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); }; }; then
26487 ac_header_compiler=yes
26488 else
26489 echo "$as_me: failed program was:" >&5
26490 sed 's/^/| /' conftest.$ac_ext >&5
26491
26492 ac_header_compiler=no
26493 fi
26494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26496 echo "${ECHO_T}$ac_header_compiler" >&6
26497
26498 # Is the header present?
26499 echo "$as_me:$LINENO: checking expat.h presence" >&5
26500 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26501 cat >conftest.$ac_ext <<_ACEOF
26502 /* confdefs.h. */
26503 _ACEOF
26504 cat confdefs.h >>conftest.$ac_ext
26505 cat >>conftest.$ac_ext <<_ACEOF
26506 /* end confdefs.h. */
26507 #include <expat.h>
26508 _ACEOF
26509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26510 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26511 ac_status=$?
26512 grep -v '^ *+' conftest.er1 >conftest.err
26513 rm -f conftest.er1
26514 cat conftest.err >&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); } >/dev/null; then
26517 if test -s conftest.err; then
26518 ac_cpp_err=$ac_cxx_preproc_warn_flag
26519 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26520 else
26521 ac_cpp_err=
26522 fi
26523 else
26524 ac_cpp_err=yes
26525 fi
26526 if test -z "$ac_cpp_err"; then
26527 ac_header_preproc=yes
26528 else
26529 echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.$ac_ext >&5
26531
26532 ac_header_preproc=no
26533 fi
26534 rm -f conftest.err conftest.$ac_ext
26535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26536 echo "${ECHO_T}$ac_header_preproc" >&6
26537
26538 # So? What about this header?
26539 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26540 yes:no: )
26541 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26542 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26543 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26544 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26545 ac_header_preproc=yes
26546 ;;
26547 no:yes:* )
26548 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26549 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26550 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26551 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26552 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26553 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26554 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26555 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26556 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26557 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26558 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26559 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26560 (
26561 cat <<\_ASBOX
26562 ## ----------------------------------------- ##
26563 ## Report this to wx-dev@lists.wxwidgets.org ##
26564 ## ----------------------------------------- ##
26565 _ASBOX
26566 ) |
26567 sed "s/^/$as_me: WARNING: /" >&2
26568 ;;
26569 esac
26570 echo "$as_me:$LINENO: checking for expat.h" >&5
26571 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26572 if test "${ac_cv_header_expat_h+set}" = set; then
26573 echo $ECHO_N "(cached) $ECHO_C" >&6
26574 else
26575 ac_cv_header_expat_h=$ac_header_preproc
26576 fi
26577 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26578 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26579
26580 fi
26581 if test $ac_cv_header_expat_h = yes; then
26582 found_expat_h=1
26583 fi
26584
26585
26586 if test "x$found_expat_h" = "x1"; then
26587 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26588 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26589 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26590 echo $ECHO_N "(cached) $ECHO_C" >&6
26591 else
26592
26593 cat >conftest.$ac_ext <<_ACEOF
26594 /* confdefs.h. */
26595 _ACEOF
26596 cat confdefs.h >>conftest.$ac_ext
26597 cat >>conftest.$ac_ext <<_ACEOF
26598 /* end confdefs.h. */
26599 #include <expat.h>
26600 int
26601 main ()
26602 {
26603
26604 ;
26605 return 0;
26606 }
26607 _ACEOF
26608 rm -f conftest.$ac_objext
26609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26610 (eval $ac_compile) 2>conftest.er1
26611 ac_status=$?
26612 grep -v '^ *+' conftest.er1 >conftest.err
26613 rm -f conftest.er1
26614 cat conftest.err >&5
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); } &&
26617 { ac_try='test -z "$ac_cxx_werror_flag"
26618 || test ! -s conftest.err'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26621 ac_status=$?
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; } &&
26624 { ac_try='test -s conftest.$ac_objext'
26625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26626 (eval $ac_try) 2>&5
26627 ac_status=$?
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); }; }; then
26630 wx_cv_expat_is_not_broken=yes
26631 else
26632 echo "$as_me: failed program was:" >&5
26633 sed 's/^/| /' conftest.$ac_ext >&5
26634
26635 wx_cv_expat_is_not_broken=no
26636
26637 fi
26638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26639
26640
26641 fi
26642 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26643 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26644 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26645 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26646 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26647 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26648 echo $ECHO_N "(cached) $ECHO_C" >&6
26649 else
26650 ac_check_lib_save_LIBS=$LIBS
26651 LIBS="-lexpat $LIBS"
26652 cat >conftest.$ac_ext <<_ACEOF
26653 /* confdefs.h. */
26654 _ACEOF
26655 cat confdefs.h >>conftest.$ac_ext
26656 cat >>conftest.$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26658
26659 /* Override any gcc2 internal prototype to avoid an error. */
26660 #ifdef __cplusplus
26661 extern "C"
26662 #endif
26663 /* We use char because int might match the return type of a gcc2
26664 builtin and then its argument prototype would still apply. */
26665 char XML_ParserCreate ();
26666 int
26667 main ()
26668 {
26669 XML_ParserCreate ();
26670 ;
26671 return 0;
26672 }
26673 _ACEOF
26674 rm -f conftest.$ac_objext conftest$ac_exeext
26675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26676 (eval $ac_link) 2>conftest.er1
26677 ac_status=$?
26678 grep -v '^ *+' conftest.er1 >conftest.err
26679 rm -f conftest.er1
26680 cat conftest.err >&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } &&
26683 { ac_try='test -z "$ac_cxx_werror_flag"
26684 || test ! -s conftest.err'
26685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26686 (eval $ac_try) 2>&5
26687 ac_status=$?
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); }; } &&
26690 { ac_try='test -s conftest$ac_exeext'
26691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26692 (eval $ac_try) 2>&5
26693 ac_status=$?
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); }; }; then
26696 ac_cv_lib_expat_XML_ParserCreate=yes
26697 else
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.$ac_ext >&5
26700
26701 ac_cv_lib_expat_XML_ParserCreate=no
26702 fi
26703 rm -f conftest.err conftest.$ac_objext \
26704 conftest$ac_exeext conftest.$ac_ext
26705 LIBS=$ac_check_lib_save_LIBS
26706 fi
26707 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26708 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26709 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26710 EXPAT_LINK=" -lexpat"
26711 fi
26712
26713 fi
26714 fi
26715 if test "x$EXPAT_LINK" = "x" ; then
26716 if test "$wxUSE_EXPAT" = "sys" ; then
26717 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26718 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26719 { (exit 1); exit 1; }; }
26720 else
26721 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26722 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26723 wxUSE_EXPAT=builtin
26724 fi
26725 else
26726 wxUSE_EXPAT=sys
26727 fi
26728 fi
26729 if test "$wxUSE_EXPAT" = "builtin" ; then
26730
26731
26732 subdirs="$subdirs src/expat"
26733
26734 fi
26735 fi
26736
26737
26738
26739 if test "$wxUSE_LIBMSPACK" != "no"; then
26740 if test "${ac_cv_header_mspack_h+set}" = set; then
26741 echo "$as_me:$LINENO: checking for mspack.h" >&5
26742 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26743 if test "${ac_cv_header_mspack_h+set}" = set; then
26744 echo $ECHO_N "(cached) $ECHO_C" >&6
26745 fi
26746 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26747 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26748 else
26749 # Is the header compilable?
26750 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26751 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26752 cat >conftest.$ac_ext <<_ACEOF
26753 /* confdefs.h. */
26754 _ACEOF
26755 cat confdefs.h >>conftest.$ac_ext
26756 cat >>conftest.$ac_ext <<_ACEOF
26757 /* end confdefs.h. */
26758 $ac_includes_default
26759 #include <mspack.h>
26760 _ACEOF
26761 rm -f conftest.$ac_objext
26762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26763 (eval $ac_compile) 2>conftest.er1
26764 ac_status=$?
26765 grep -v '^ *+' conftest.er1 >conftest.err
26766 rm -f conftest.er1
26767 cat conftest.err >&5
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); } &&
26770 { ac_try='test -z "$ac_cxx_werror_flag"
26771 || test ! -s conftest.err'
26772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26773 (eval $ac_try) 2>&5
26774 ac_status=$?
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); }; } &&
26777 { ac_try='test -s conftest.$ac_objext'
26778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26779 (eval $ac_try) 2>&5
26780 ac_status=$?
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); }; }; then
26783 ac_header_compiler=yes
26784 else
26785 echo "$as_me: failed program was:" >&5
26786 sed 's/^/| /' conftest.$ac_ext >&5
26787
26788 ac_header_compiler=no
26789 fi
26790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26792 echo "${ECHO_T}$ac_header_compiler" >&6
26793
26794 # Is the header present?
26795 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26796 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26797 cat >conftest.$ac_ext <<_ACEOF
26798 /* confdefs.h. */
26799 _ACEOF
26800 cat confdefs.h >>conftest.$ac_ext
26801 cat >>conftest.$ac_ext <<_ACEOF
26802 /* end confdefs.h. */
26803 #include <mspack.h>
26804 _ACEOF
26805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26807 ac_status=$?
26808 grep -v '^ *+' conftest.er1 >conftest.err
26809 rm -f conftest.er1
26810 cat conftest.err >&5
26811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26812 (exit $ac_status); } >/dev/null; then
26813 if test -s conftest.err; then
26814 ac_cpp_err=$ac_cxx_preproc_warn_flag
26815 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26816 else
26817 ac_cpp_err=
26818 fi
26819 else
26820 ac_cpp_err=yes
26821 fi
26822 if test -z "$ac_cpp_err"; then
26823 ac_header_preproc=yes
26824 else
26825 echo "$as_me: failed program was:" >&5
26826 sed 's/^/| /' conftest.$ac_ext >&5
26827
26828 ac_header_preproc=no
26829 fi
26830 rm -f conftest.err conftest.$ac_ext
26831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26832 echo "${ECHO_T}$ac_header_preproc" >&6
26833
26834 # So? What about this header?
26835 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26836 yes:no: )
26837 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26838 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26839 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26840 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26841 ac_header_preproc=yes
26842 ;;
26843 no:yes:* )
26844 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26845 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26846 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26847 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26848 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26849 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26850 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26851 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26852 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26853 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26854 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26855 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26856 (
26857 cat <<\_ASBOX
26858 ## ----------------------------------------- ##
26859 ## Report this to wx-dev@lists.wxwidgets.org ##
26860 ## ----------------------------------------- ##
26861 _ASBOX
26862 ) |
26863 sed "s/^/$as_me: WARNING: /" >&2
26864 ;;
26865 esac
26866 echo "$as_me:$LINENO: checking for mspack.h" >&5
26867 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26868 if test "${ac_cv_header_mspack_h+set}" = set; then
26869 echo $ECHO_N "(cached) $ECHO_C" >&6
26870 else
26871 ac_cv_header_mspack_h=$ac_header_preproc
26872 fi
26873 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26874 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26875
26876 fi
26877 if test $ac_cv_header_mspack_h = yes; then
26878 found_mspack_h=1
26879 fi
26880
26881
26882 if test "x$found_mspack_h" = "x1"; then
26883 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26884 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26885 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26886 echo $ECHO_N "(cached) $ECHO_C" >&6
26887 else
26888 ac_check_lib_save_LIBS=$LIBS
26889 LIBS="-lmspack $LIBS"
26890 cat >conftest.$ac_ext <<_ACEOF
26891 /* confdefs.h. */
26892 _ACEOF
26893 cat confdefs.h >>conftest.$ac_ext
26894 cat >>conftest.$ac_ext <<_ACEOF
26895 /* end confdefs.h. */
26896
26897 /* Override any gcc2 internal prototype to avoid an error. */
26898 #ifdef __cplusplus
26899 extern "C"
26900 #endif
26901 /* We use char because int might match the return type of a gcc2
26902 builtin and then its argument prototype would still apply. */
26903 char mspack_create_chm_decompressor ();
26904 int
26905 main ()
26906 {
26907 mspack_create_chm_decompressor ();
26908 ;
26909 return 0;
26910 }
26911 _ACEOF
26912 rm -f conftest.$ac_objext conftest$ac_exeext
26913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26914 (eval $ac_link) 2>conftest.er1
26915 ac_status=$?
26916 grep -v '^ *+' conftest.er1 >conftest.err
26917 rm -f conftest.er1
26918 cat conftest.err >&5
26919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26920 (exit $ac_status); } &&
26921 { ac_try='test -z "$ac_cxx_werror_flag"
26922 || test ! -s conftest.err'
26923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26924 (eval $ac_try) 2>&5
26925 ac_status=$?
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); }; } &&
26928 { ac_try='test -s conftest$ac_exeext'
26929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26930 (eval $ac_try) 2>&5
26931 ac_status=$?
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); }; }; then
26934 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26935 else
26936 echo "$as_me: failed program was:" >&5
26937 sed 's/^/| /' conftest.$ac_ext >&5
26938
26939 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26940 fi
26941 rm -f conftest.err conftest.$ac_objext \
26942 conftest$ac_exeext conftest.$ac_ext
26943 LIBS=$ac_check_lib_save_LIBS
26944 fi
26945 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26946 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26947 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26948 MSPACK_LINK=" -lmspack"
26949 fi
26950
26951 fi
26952 if test "x$MSPACK_LINK" = "x" ; then
26953 wxUSE_LIBMSPACK=no
26954 fi
26955 fi
26956
26957 if test "$wxUSE_LIBMSPACK" != "no"; then
26958 cat >>confdefs.h <<\_ACEOF
26959 #define wxUSE_LIBMSPACK 1
26960 _ACEOF
26961
26962 fi
26963
26964
26965
26966 AFMINSTALL=
26967 WIN32INSTALL=
26968
26969 TOOLKIT=
26970 TOOLKIT_INCLUDE=
26971 WIDGET_SET=
26972
26973 if test "$USE_WIN32" = 1 ; then
26974
26975 for ac_header in w32api.h
26976 do
26977 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26979 echo "$as_me:$LINENO: checking for $ac_header" >&5
26980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26982 echo $ECHO_N "(cached) $ECHO_C" >&6
26983 fi
26984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26986 else
26987 # Is the header compilable?
26988 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26990 cat >conftest.$ac_ext <<_ACEOF
26991 /* confdefs.h. */
26992 _ACEOF
26993 cat confdefs.h >>conftest.$ac_ext
26994 cat >>conftest.$ac_ext <<_ACEOF
26995 /* end confdefs.h. */
26996 $ac_includes_default
26997 #include <$ac_header>
26998 _ACEOF
26999 rm -f conftest.$ac_objext
27000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27001 (eval $ac_compile) 2>conftest.er1
27002 ac_status=$?
27003 grep -v '^ *+' conftest.er1 >conftest.err
27004 rm -f conftest.er1
27005 cat conftest.err >&5
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); } &&
27008 { ac_try='test -z "$ac_cxx_werror_flag"
27009 || test ! -s conftest.err'
27010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27011 (eval $ac_try) 2>&5
27012 ac_status=$?
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); }; } &&
27015 { ac_try='test -s conftest.$ac_objext'
27016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27017 (eval $ac_try) 2>&5
27018 ac_status=$?
27019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27020 (exit $ac_status); }; }; then
27021 ac_header_compiler=yes
27022 else
27023 echo "$as_me: failed program was:" >&5
27024 sed 's/^/| /' conftest.$ac_ext >&5
27025
27026 ac_header_compiler=no
27027 fi
27028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27030 echo "${ECHO_T}$ac_header_compiler" >&6
27031
27032 # Is the header present?
27033 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27034 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27035 cat >conftest.$ac_ext <<_ACEOF
27036 /* confdefs.h. */
27037 _ACEOF
27038 cat confdefs.h >>conftest.$ac_ext
27039 cat >>conftest.$ac_ext <<_ACEOF
27040 /* end confdefs.h. */
27041 #include <$ac_header>
27042 _ACEOF
27043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27045 ac_status=$?
27046 grep -v '^ *+' conftest.er1 >conftest.err
27047 rm -f conftest.er1
27048 cat conftest.err >&5
27049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27050 (exit $ac_status); } >/dev/null; then
27051 if test -s conftest.err; then
27052 ac_cpp_err=$ac_cxx_preproc_warn_flag
27053 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27054 else
27055 ac_cpp_err=
27056 fi
27057 else
27058 ac_cpp_err=yes
27059 fi
27060 if test -z "$ac_cpp_err"; then
27061 ac_header_preproc=yes
27062 else
27063 echo "$as_me: failed program was:" >&5
27064 sed 's/^/| /' conftest.$ac_ext >&5
27065
27066 ac_header_preproc=no
27067 fi
27068 rm -f conftest.err conftest.$ac_ext
27069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27070 echo "${ECHO_T}$ac_header_preproc" >&6
27071
27072 # So? What about this header?
27073 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27074 yes:no: )
27075 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27078 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27079 ac_header_preproc=yes
27080 ;;
27081 no:yes:* )
27082 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27083 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27084 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27085 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27086 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27087 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27088 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27089 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27092 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27093 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27094 (
27095 cat <<\_ASBOX
27096 ## ----------------------------------------- ##
27097 ## Report this to wx-dev@lists.wxwidgets.org ##
27098 ## ----------------------------------------- ##
27099 _ASBOX
27100 ) |
27101 sed "s/^/$as_me: WARNING: /" >&2
27102 ;;
27103 esac
27104 echo "$as_me:$LINENO: checking for $ac_header" >&5
27105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27107 echo $ECHO_N "(cached) $ECHO_C" >&6
27108 else
27109 eval "$as_ac_Header=\$ac_header_preproc"
27110 fi
27111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27113
27114 fi
27115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27116 cat >>confdefs.h <<_ACEOF
27117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27118 _ACEOF
27119
27120 fi
27121
27122 done
27123
27124 if test "${ac_cv_header_windows_h+set}" = set; then
27125 echo "$as_me:$LINENO: checking for windows.h" >&5
27126 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27127 if test "${ac_cv_header_windows_h+set}" = set; then
27128 echo $ECHO_N "(cached) $ECHO_C" >&6
27129 fi
27130 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27131 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27132 else
27133 # Is the header compilable?
27134 echo "$as_me:$LINENO: checking windows.h usability" >&5
27135 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27136 cat >conftest.$ac_ext <<_ACEOF
27137 /* confdefs.h. */
27138 _ACEOF
27139 cat confdefs.h >>conftest.$ac_ext
27140 cat >>conftest.$ac_ext <<_ACEOF
27141 /* end confdefs.h. */
27142 $ac_includes_default
27143 #include <windows.h>
27144 _ACEOF
27145 rm -f conftest.$ac_objext
27146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27147 (eval $ac_compile) 2>conftest.er1
27148 ac_status=$?
27149 grep -v '^ *+' conftest.er1 >conftest.err
27150 rm -f conftest.er1
27151 cat conftest.err >&5
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); } &&
27154 { ac_try='test -z "$ac_cxx_werror_flag"
27155 || test ! -s conftest.err'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27158 ac_status=$?
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; } &&
27161 { ac_try='test -s conftest.$ac_objext'
27162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27163 (eval $ac_try) 2>&5
27164 ac_status=$?
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); }; }; then
27167 ac_header_compiler=yes
27168 else
27169 echo "$as_me: failed program was:" >&5
27170 sed 's/^/| /' conftest.$ac_ext >&5
27171
27172 ac_header_compiler=no
27173 fi
27174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27176 echo "${ECHO_T}$ac_header_compiler" >&6
27177
27178 # Is the header present?
27179 echo "$as_me:$LINENO: checking windows.h presence" >&5
27180 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27181 cat >conftest.$ac_ext <<_ACEOF
27182 /* confdefs.h. */
27183 _ACEOF
27184 cat confdefs.h >>conftest.$ac_ext
27185 cat >>conftest.$ac_ext <<_ACEOF
27186 /* end confdefs.h. */
27187 #include <windows.h>
27188 _ACEOF
27189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27191 ac_status=$?
27192 grep -v '^ *+' conftest.er1 >conftest.err
27193 rm -f conftest.er1
27194 cat conftest.err >&5
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); } >/dev/null; then
27197 if test -s conftest.err; then
27198 ac_cpp_err=$ac_cxx_preproc_warn_flag
27199 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27200 else
27201 ac_cpp_err=
27202 fi
27203 else
27204 ac_cpp_err=yes
27205 fi
27206 if test -z "$ac_cpp_err"; then
27207 ac_header_preproc=yes
27208 else
27209 echo "$as_me: failed program was:" >&5
27210 sed 's/^/| /' conftest.$ac_ext >&5
27211
27212 ac_header_preproc=no
27213 fi
27214 rm -f conftest.err conftest.$ac_ext
27215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27216 echo "${ECHO_T}$ac_header_preproc" >&6
27217
27218 # So? What about this header?
27219 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27220 yes:no: )
27221 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27222 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27223 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27224 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27225 ac_header_preproc=yes
27226 ;;
27227 no:yes:* )
27228 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27229 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27230 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27231 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27232 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27233 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27234 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27235 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27236 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27237 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27238 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27239 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27240 (
27241 cat <<\_ASBOX
27242 ## ----------------------------------------- ##
27243 ## Report this to wx-dev@lists.wxwidgets.org ##
27244 ## ----------------------------------------- ##
27245 _ASBOX
27246 ) |
27247 sed "s/^/$as_me: WARNING: /" >&2
27248 ;;
27249 esac
27250 echo "$as_me:$LINENO: checking for windows.h" >&5
27251 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27252 if test "${ac_cv_header_windows_h+set}" = set; then
27253 echo $ECHO_N "(cached) $ECHO_C" >&6
27254 else
27255 ac_cv_header_windows_h=$ac_header_preproc
27256 fi
27257 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27258 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27259
27260 fi
27261 if test $ac_cv_header_windows_h = yes; then
27262 :
27263 else
27264
27265 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27266 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27267 { (exit 1); exit 1; }; }
27268
27269 fi
27270
27271
27272
27273 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27274
27275 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27276 LIBS="$LIBS -loleacc"
27277 fi
27278
27279 case "${host}" in
27280 *-*-cygwin* )
27281 LIBS="$LIBS -lkernel32 -luser32"
27282 esac
27283
27284 if test "$wxUSE_ODBC" = "sys" ; then
27285 wxUSE_ODBC = "yes"
27286 fi
27287 if test "$wxUSE_ODBC" = "yes" ; then
27288 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27289 cat >>confdefs.h <<\_ACEOF
27290 #define wxUSE_ODBC 1
27291 _ACEOF
27292
27293 fi
27294
27295 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27296 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27297
27298 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27299
27300 WIN32INSTALL=win32install
27301
27302 echo "$as_me:$LINENO: checking for boolean" >&5
27303 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27304 if test "${ac_cv_type_boolean+set}" = set; then
27305 echo $ECHO_N "(cached) $ECHO_C" >&6
27306 else
27307 cat >conftest.$ac_ext <<_ACEOF
27308 /* confdefs.h. */
27309 _ACEOF
27310 cat confdefs.h >>conftest.$ac_ext
27311 cat >>conftest.$ac_ext <<_ACEOF
27312 /* end confdefs.h. */
27313 #include <windows.h>
27314
27315 int
27316 main ()
27317 {
27318 if ((boolean *) 0)
27319 return 0;
27320 if (sizeof (boolean))
27321 return 0;
27322 ;
27323 return 0;
27324 }
27325 _ACEOF
27326 rm -f conftest.$ac_objext
27327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27328 (eval $ac_compile) 2>conftest.er1
27329 ac_status=$?
27330 grep -v '^ *+' conftest.er1 >conftest.err
27331 rm -f conftest.er1
27332 cat conftest.err >&5
27333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27334 (exit $ac_status); } &&
27335 { ac_try='test -z "$ac_cxx_werror_flag"
27336 || test ! -s conftest.err'
27337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27338 (eval $ac_try) 2>&5
27339 ac_status=$?
27340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27341 (exit $ac_status); }; } &&
27342 { ac_try='test -s conftest.$ac_objext'
27343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27344 (eval $ac_try) 2>&5
27345 ac_status=$?
27346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27347 (exit $ac_status); }; }; then
27348 ac_cv_type_boolean=yes
27349 else
27350 echo "$as_me: failed program was:" >&5
27351 sed 's/^/| /' conftest.$ac_ext >&5
27352
27353 ac_cv_type_boolean=no
27354 fi
27355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27356 fi
27357 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27358 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27359 if test $ac_cv_type_boolean = yes; then
27360
27361 cat >>confdefs.h <<_ACEOF
27362 #define HAVE_BOOLEAN 1
27363 _ACEOF
27364
27365
27366 fi
27367
27368
27369
27370 for ac_header in pbt.h
27371 do
27372 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27374 echo "$as_me:$LINENO: checking for $ac_header" >&5
27375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27377 echo $ECHO_N "(cached) $ECHO_C" >&6
27378 fi
27379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27381 else
27382 # Is the header compilable?
27383 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27385 cat >conftest.$ac_ext <<_ACEOF
27386 /* confdefs.h. */
27387 _ACEOF
27388 cat confdefs.h >>conftest.$ac_ext
27389 cat >>conftest.$ac_ext <<_ACEOF
27390 /* end confdefs.h. */
27391 $ac_includes_default
27392 #include <$ac_header>
27393 _ACEOF
27394 rm -f conftest.$ac_objext
27395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27396 (eval $ac_compile) 2>conftest.er1
27397 ac_status=$?
27398 grep -v '^ *+' conftest.er1 >conftest.err
27399 rm -f conftest.er1
27400 cat conftest.err >&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } &&
27403 { ac_try='test -z "$ac_cxx_werror_flag"
27404 || 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_header_compiler=yes
27417 else
27418 echo "$as_me: failed program was:" >&5
27419 sed 's/^/| /' conftest.$ac_ext >&5
27420
27421 ac_header_compiler=no
27422 fi
27423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27425 echo "${ECHO_T}$ac_header_compiler" >&6
27426
27427 # Is the header present?
27428 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27430 cat >conftest.$ac_ext <<_ACEOF
27431 /* confdefs.h. */
27432 _ACEOF
27433 cat confdefs.h >>conftest.$ac_ext
27434 cat >>conftest.$ac_ext <<_ACEOF
27435 /* end confdefs.h. */
27436 #include <$ac_header>
27437 _ACEOF
27438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27440 ac_status=$?
27441 grep -v '^ *+' conftest.er1 >conftest.err
27442 rm -f conftest.er1
27443 cat conftest.err >&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); } >/dev/null; then
27446 if test -s conftest.err; then
27447 ac_cpp_err=$ac_cxx_preproc_warn_flag
27448 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27449 else
27450 ac_cpp_err=
27451 fi
27452 else
27453 ac_cpp_err=yes
27454 fi
27455 if test -z "$ac_cpp_err"; then
27456 ac_header_preproc=yes
27457 else
27458 echo "$as_me: failed program was:" >&5
27459 sed 's/^/| /' conftest.$ac_ext >&5
27460
27461 ac_header_preproc=no
27462 fi
27463 rm -f conftest.err conftest.$ac_ext
27464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27465 echo "${ECHO_T}$ac_header_preproc" >&6
27466
27467 # So? What about this header?
27468 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27469 yes:no: )
27470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27474 ac_header_preproc=yes
27475 ;;
27476 no:yes:* )
27477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27481 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27483 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27484 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27487 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27489 (
27490 cat <<\_ASBOX
27491 ## ----------------------------------------- ##
27492 ## Report this to wx-dev@lists.wxwidgets.org ##
27493 ## ----------------------------------------- ##
27494 _ASBOX
27495 ) |
27496 sed "s/^/$as_me: WARNING: /" >&2
27497 ;;
27498 esac
27499 echo "$as_me:$LINENO: checking for $ac_header" >&5
27500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27502 echo $ECHO_N "(cached) $ECHO_C" >&6
27503 else
27504 eval "$as_ac_Header=\$ac_header_preproc"
27505 fi
27506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27508
27509 fi
27510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27511 cat >>confdefs.h <<_ACEOF
27512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27513 _ACEOF
27514
27515 else
27516 cat >>confdefs.h <<\_ACEOF
27517 #define NEED_PBT_H 1
27518 _ACEOF
27519
27520 fi
27521
27522 done
27523
27524 fi
27525
27526 if test "$wxUSE_GUI" = "yes"; then
27527 USE_GUI=1
27528
27529 GUI_TK_LIBRARY=
27530
27531 WXGTK12=
27532 WXGTK127=
27533 WXGTK20=
27534 WXGPE=
27535
27536 if test "$wxUSE_COCOA" = 1 ; then
27537 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27538 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27539 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27540 wxUSE_PRINTING_ARCHITECTURE=no
27541 fi
27542 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27543 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27544 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27545 wxUSE_DRAG_AND_DROP=no
27546 fi
27547 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27548 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27549 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27550 wxUSE_DRAGIMAGE=no
27551 fi
27552 fi
27553
27554 if test "$wxUSE_MSW" = 1 ; then
27555 TOOLKIT=MSW
27556 GUIDIST=MSW_DIST
27557
27558 case "${host}" in
27559 *-*-mingw32* )
27560 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27561 esac
27562 fi
27563
27564 if test "$wxUSE_GTK" = 1; then
27565 ac_ext=c
27566 ac_cpp='$CPP $CPPFLAGS'
27567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27570
27571
27572 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27573 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27574
27575 gtk_version_cached=1
27576 if test "${wx_cv_lib_gtk+set}" = set; then
27577 echo $ECHO_N "(cached) $ECHO_C" >&6
27578 else
27579
27580 gtk_version_cached=0
27581 echo "$as_me:$LINENO: result: " >&5
27582 echo "${ECHO_T}" >&6
27583
27584 GTK_MODULES=
27585 if test "$wxUSE_THREADS" = "yes"; then
27586 GTK_MODULES=gthread
27587 fi
27588
27589 wx_cv_lib_gtk=
27590 if test "x$wxGTK_VERSION" != "x1"
27591 then
27592 case "${host}" in
27593 *-*-solaris2* )
27594 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27595 enable_gtktest=no
27596 fi
27597 esac
27598
27599 # Check whether --enable-gtktest or --disable-gtktest was given.
27600 if test "${enable_gtktest+set}" = set; then
27601 enableval="$enable_gtktest"
27602
27603 else
27604 enable_gtktest=yes
27605 fi;
27606
27607 pkg_config_args=gtk+-2.0
27608 for module in . $GTK_MODULES
27609 do
27610 case "$module" in
27611 gthread)
27612 pkg_config_args="$pkg_config_args gthread-2.0"
27613 ;;
27614 esac
27615 done
27616
27617 no_gtk=""
27618
27619 # Extract the first word of "pkg-config", so it can be a program name with args.
27620 set dummy pkg-config; ac_word=$2
27621 echo "$as_me:$LINENO: checking for $ac_word" >&5
27622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27623 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27624 echo $ECHO_N "(cached) $ECHO_C" >&6
27625 else
27626 case $PKG_CONFIG in
27627 [\\/]* | ?:[\\/]*)
27628 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27629 ;;
27630 *)
27631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27632 for as_dir in $PATH
27633 do
27634 IFS=$as_save_IFS
27635 test -z "$as_dir" && as_dir=.
27636 for ac_exec_ext in '' $ac_executable_extensions; do
27637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27638 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27640 break 2
27641 fi
27642 done
27643 done
27644
27645 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27646 ;;
27647 esac
27648 fi
27649 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27650
27651 if test -n "$PKG_CONFIG"; then
27652 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27653 echo "${ECHO_T}$PKG_CONFIG" >&6
27654 else
27655 echo "$as_me:$LINENO: result: no" >&5
27656 echo "${ECHO_T}no" >&6
27657 fi
27658
27659
27660 if test x$PKG_CONFIG != xno ; then
27661 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27662 :
27663 else
27664 echo "*** pkg-config too old; version 0.7 or better required."
27665 no_gtk=yes
27666 PKG_CONFIG=no
27667 fi
27668 else
27669 no_gtk=yes
27670 fi
27671
27672 min_gtk_version=2.0.0
27673 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27674 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27675
27676 if test x$PKG_CONFIG != xno ; then
27677 ## don't try to run the test against uninstalled libtool libs
27678 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27679 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27680 enable_gtktest=no
27681 fi
27682
27683 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27684 :
27685 else
27686 no_gtk=yes
27687 fi
27688 fi
27689
27690 if test x"$no_gtk" = x ; then
27691 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27692 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27693 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27694 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27695 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27696 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27697 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27698 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27699 if test "x$enable_gtktest" = "xyes" ; then
27700 ac_save_CFLAGS="$CFLAGS"
27701 ac_save_LIBS="$LIBS"
27702 CFLAGS="$CFLAGS $GTK_CFLAGS"
27703 LIBS="$GTK_LIBS $LIBS"
27704 rm -f conf.gtktest
27705 if test "$cross_compiling" = yes; then
27706 echo $ac_n "cross compiling; assumed OK... $ac_c"
27707 else
27708 cat >conftest.$ac_ext <<_ACEOF
27709 /* confdefs.h. */
27710 _ACEOF
27711 cat confdefs.h >>conftest.$ac_ext
27712 cat >>conftest.$ac_ext <<_ACEOF
27713 /* end confdefs.h. */
27714
27715 #include <gtk/gtk.h>
27716 #include <stdio.h>
27717 #include <stdlib.h>
27718
27719 int
27720 main ()
27721 {
27722 int major, minor, micro;
27723 char *tmp_version;
27724
27725 system ("touch conf.gtktest");
27726
27727 /* HP/UX 9 (%@#!) writes to sscanf strings */
27728 tmp_version = g_strdup("$min_gtk_version");
27729 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27730 printf("%s, bad version string\n", "$min_gtk_version");
27731 exit(1);
27732 }
27733
27734 if ((gtk_major_version != $gtk_config_major_version) ||
27735 (gtk_minor_version != $gtk_config_minor_version) ||
27736 (gtk_micro_version != $gtk_config_micro_version))
27737 {
27738 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27739 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27740 gtk_major_version, gtk_minor_version, gtk_micro_version);
27741 printf ("*** was found! If pkg-config was correct, then it is best\n");
27742 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27743 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27744 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27745 printf("*** required on your system.\n");
27746 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27747 printf("*** to point to the correct configuration files\n");
27748 }
27749 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27750 (gtk_minor_version != GTK_MINOR_VERSION) ||
27751 (gtk_micro_version != GTK_MICRO_VERSION))
27752 {
27753 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27754 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27755 printf("*** library (version %d.%d.%d)\n",
27756 gtk_major_version, gtk_minor_version, gtk_micro_version);
27757 }
27758 else
27759 {
27760 if ((gtk_major_version > major) ||
27761 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27762 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27763 {
27764 return 0;
27765 }
27766 else
27767 {
27768 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27769 gtk_major_version, gtk_minor_version, gtk_micro_version);
27770 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27771 major, minor, micro);
27772 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27773 printf("***\n");
27774 printf("*** If you have already installed a sufficiently new version, this error\n");
27775 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27776 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27777 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27778 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27779 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27780 printf("*** so that the correct libraries are found at run-time))\n");
27781 }
27782 }
27783 return 1;
27784 }
27785
27786 _ACEOF
27787 rm -f conftest$ac_exeext
27788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27789 (eval $ac_link) 2>&5
27790 ac_status=$?
27791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27792 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27794 (eval $ac_try) 2>&5
27795 ac_status=$?
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); }; }; then
27798 :
27799 else
27800 echo "$as_me: program exited with status $ac_status" >&5
27801 echo "$as_me: failed program was:" >&5
27802 sed 's/^/| /' conftest.$ac_ext >&5
27803
27804 ( exit $ac_status )
27805 no_gtk=yes
27806 fi
27807 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27808 fi
27809 CFLAGS="$ac_save_CFLAGS"
27810 LIBS="$ac_save_LIBS"
27811 fi
27812 fi
27813 if test "x$no_gtk" = x ; then
27814 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27815 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27816 wx_cv_lib_gtk=2.0
27817 else
27818 echo "$as_me:$LINENO: result: no" >&5
27819 echo "${ECHO_T}no" >&6
27820 if test "$PKG_CONFIG" = "no" ; then
27821 echo "*** A new enough version of pkg-config was not found."
27822 echo "*** See http://pkgconfig.sourceforge.net"
27823 else
27824 if test -f conf.gtktest ; then
27825 :
27826 else
27827 echo "*** Could not run GTK+ test program, checking why..."
27828 ac_save_CFLAGS="$CFLAGS"
27829 ac_save_LIBS="$LIBS"
27830 CFLAGS="$CFLAGS $GTK_CFLAGS"
27831 LIBS="$LIBS $GTK_LIBS"
27832 cat >conftest.$ac_ext <<_ACEOF
27833 /* confdefs.h. */
27834 _ACEOF
27835 cat confdefs.h >>conftest.$ac_ext
27836 cat >>conftest.$ac_ext <<_ACEOF
27837 /* end confdefs.h. */
27838
27839 #include <gtk/gtk.h>
27840 #include <stdio.h>
27841
27842 int
27843 main ()
27844 {
27845 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27846 ;
27847 return 0;
27848 }
27849 _ACEOF
27850 rm -f conftest.$ac_objext conftest$ac_exeext
27851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27852 (eval $ac_link) 2>conftest.er1
27853 ac_status=$?
27854 grep -v '^ *+' conftest.er1 >conftest.err
27855 rm -f conftest.er1
27856 cat conftest.err >&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); } &&
27859 { ac_try='test -z "$ac_c_werror_flag"
27860 || test ! -s conftest.err'
27861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27862 (eval $ac_try) 2>&5
27863 ac_status=$?
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); }; } &&
27866 { ac_try='test -s conftest$ac_exeext'
27867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27868 (eval $ac_try) 2>&5
27869 ac_status=$?
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); }; }; then
27872 echo "*** The test program compiled, but did not run. This usually means"
27873 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27874 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27875 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27876 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27877 echo "*** is required on your system"
27878 echo "***"
27879 echo "*** If you have an old version installed, it is best to remove it, although"
27880 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27881 else
27882 echo "$as_me: failed program was:" >&5
27883 sed 's/^/| /' conftest.$ac_ext >&5
27884
27885 echo "*** The test program failed to compile or link. See the file config.log for the"
27886 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27887 fi
27888 rm -f conftest.err conftest.$ac_objext \
27889 conftest$ac_exeext conftest.$ac_ext
27890 CFLAGS="$ac_save_CFLAGS"
27891 LIBS="$ac_save_LIBS"
27892 fi
27893 fi
27894 GTK_CFLAGS=""
27895 GTK_LIBS=""
27896 :
27897 fi
27898
27899
27900 rm -f conf.gtktest
27901
27902
27903 case "${host}" in
27904 *-*-solaris2* )
27905 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27906 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27907 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27908 fi
27909 if test "$wxUSE_SHARED" != "yes"; then
27910 GTK_LIBS="$GTK_LIBS -lX11"
27911 fi
27912 esac
27913 fi
27914
27915 if test -z "$wx_cv_lib_gtk"; then
27916 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27917
27918 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27919 if test "${with_gtk_prefix+set}" = set; then
27920 withval="$with_gtk_prefix"
27921 gtk_config_prefix="$withval"
27922 else
27923 gtk_config_prefix=""
27924 fi;
27925
27926 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27927 if test "${with_gtk_exec_prefix+set}" = set; then
27928 withval="$with_gtk_exec_prefix"
27929 gtk_config_exec_prefix="$withval"
27930 else
27931 gtk_config_exec_prefix=""
27932 fi;
27933 # Check whether --enable-gtktest or --disable-gtktest was given.
27934 if test "${enable_gtktest+set}" = set; then
27935 enableval="$enable_gtktest"
27936
27937 else
27938 enable_gtktest=yes
27939 fi;
27940
27941 for module in . $GTK_MODULES
27942 do
27943 case "$module" in
27944 gthread)
27945 gtk_config_args="$gtk_config_args gthread"
27946 ;;
27947 esac
27948 done
27949
27950 if test x$gtk_config_exec_prefix != x ; then
27951 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27952 if test x${GTK_CONFIG+set} != xset ; then
27953 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27954 fi
27955 fi
27956 if test x$gtk_config_prefix != x ; then
27957 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27958 if test x${GTK_CONFIG+set} != xset ; then
27959 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27960 fi
27961 fi
27962
27963 # Extract the first word of "gtk-config", so it can be a program name with args.
27964 set dummy gtk-config; ac_word=$2
27965 echo "$as_me:$LINENO: checking for $ac_word" >&5
27966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27967 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27968 echo $ECHO_N "(cached) $ECHO_C" >&6
27969 else
27970 case $GTK_CONFIG in
27971 [\\/]* | ?:[\\/]*)
27972 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27973 ;;
27974 *)
27975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27976 for as_dir in $PATH
27977 do
27978 IFS=$as_save_IFS
27979 test -z "$as_dir" && as_dir=.
27980 for ac_exec_ext in '' $ac_executable_extensions; do
27981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27982 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27984 break 2
27985 fi
27986 done
27987 done
27988
27989 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27990 ;;
27991 esac
27992 fi
27993 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27994
27995 if test -n "$GTK_CONFIG"; then
27996 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27997 echo "${ECHO_T}$GTK_CONFIG" >&6
27998 else
27999 echo "$as_me:$LINENO: result: no" >&5
28000 echo "${ECHO_T}no" >&6
28001 fi
28002
28003 min_gtk_version=1.2.7
28004 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28005 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28006 no_gtk=""
28007 if test "$GTK_CONFIG" = "no" ; then
28008 no_gtk=yes
28009 else
28010 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28011 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28012 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28013 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28014 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28015 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28016 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28017 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28018 if test "x$enable_gtktest" = "xyes" ; then
28019 ac_save_CFLAGS="$CFLAGS"
28020 ac_save_LIBS="$LIBS"
28021 CFLAGS="$CFLAGS $GTK_CFLAGS"
28022 LIBS="$GTK_LIBS $LIBS"
28023 rm -f conf.gtktest
28024 if test "$cross_compiling" = yes; then
28025 echo $ac_n "cross compiling; assumed OK... $ac_c"
28026 else
28027 cat >conftest.$ac_ext <<_ACEOF
28028 /* confdefs.h. */
28029 _ACEOF
28030 cat confdefs.h >>conftest.$ac_ext
28031 cat >>conftest.$ac_ext <<_ACEOF
28032 /* end confdefs.h. */
28033
28034 #include <gtk/gtk.h>
28035 #include <stdio.h>
28036 #include <stdlib.h>
28037
28038 int
28039 main ()
28040 {
28041 int major, minor, micro;
28042 char *tmp_version;
28043
28044 system ("touch conf.gtktest");
28045
28046 /* HP/UX 9 (%@#!) writes to sscanf strings */
28047 tmp_version = g_strdup("$min_gtk_version");
28048 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28049 printf("%s, bad version string\n", "$min_gtk_version");
28050 exit(1);
28051 }
28052
28053 if ((gtk_major_version != $gtk_config_major_version) ||
28054 (gtk_minor_version != $gtk_config_minor_version) ||
28055 (gtk_micro_version != $gtk_config_micro_version))
28056 {
28057 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28058 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28059 gtk_major_version, gtk_minor_version, gtk_micro_version);
28060 printf ("*** was found! If gtk-config was correct, then it is best\n");
28061 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28062 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28063 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28064 printf("*** required on your system.\n");
28065 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28066 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28067 printf("*** before re-running configure\n");
28068 }
28069 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28070 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28071 (gtk_minor_version != GTK_MINOR_VERSION) ||
28072 (gtk_micro_version != GTK_MICRO_VERSION))
28073 {
28074 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28075 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28076 printf("*** library (version %d.%d.%d)\n",
28077 gtk_major_version, gtk_minor_version, gtk_micro_version);
28078 }
28079 #endif /* defined (GTK_MAJOR_VERSION) ... */
28080 else
28081 {
28082 if ((gtk_major_version > major) ||
28083 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28084 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28085 {
28086 return 0;
28087 }
28088 else
28089 {
28090 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28091 gtk_major_version, gtk_minor_version, gtk_micro_version);
28092 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28093 major, minor, micro);
28094 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28095 printf("***\n");
28096 printf("*** If you have already installed a sufficiently new version, this error\n");
28097 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28098 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28099 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28100 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28101 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28102 printf("*** so that the correct libraries are found at run-time))\n");
28103 }
28104 }
28105 return 1;
28106 }
28107
28108 _ACEOF
28109 rm -f conftest$ac_exeext
28110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28111 (eval $ac_link) 2>&5
28112 ac_status=$?
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28116 (eval $ac_try) 2>&5
28117 ac_status=$?
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); }; }; then
28120 :
28121 else
28122 echo "$as_me: program exited with status $ac_status" >&5
28123 echo "$as_me: failed program was:" >&5
28124 sed 's/^/| /' conftest.$ac_ext >&5
28125
28126 ( exit $ac_status )
28127 no_gtk=yes
28128 fi
28129 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28130 fi
28131 CFLAGS="$ac_save_CFLAGS"
28132 LIBS="$ac_save_LIBS"
28133 fi
28134 fi
28135 if test "x$no_gtk" = x ; then
28136 echo "$as_me:$LINENO: result: yes" >&5
28137 echo "${ECHO_T}yes" >&6
28138 wx_cv_lib_gtk=1.2.7
28139 else
28140 echo "$as_me:$LINENO: result: no" >&5
28141 echo "${ECHO_T}no" >&6
28142 if test "$GTK_CONFIG" = "no" ; then
28143 echo "*** The gtk-config script installed by GTK could not be found"
28144 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28145 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28146 echo "*** full path to gtk-config."
28147 else
28148 if test -f conf.gtktest ; then
28149 :
28150 else
28151 echo "*** Could not run GTK test program, checking why..."
28152 CFLAGS="$CFLAGS $GTK_CFLAGS"
28153 LIBS="$LIBS $GTK_LIBS"
28154 cat >conftest.$ac_ext <<_ACEOF
28155 /* confdefs.h. */
28156 _ACEOF
28157 cat confdefs.h >>conftest.$ac_ext
28158 cat >>conftest.$ac_ext <<_ACEOF
28159 /* end confdefs.h. */
28160
28161 #include <gtk/gtk.h>
28162 #include <stdio.h>
28163
28164 int
28165 main ()
28166 {
28167 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28168 ;
28169 return 0;
28170 }
28171 _ACEOF
28172 rm -f conftest.$ac_objext conftest$ac_exeext
28173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28174 (eval $ac_link) 2>conftest.er1
28175 ac_status=$?
28176 grep -v '^ *+' conftest.er1 >conftest.err
28177 rm -f conftest.er1
28178 cat conftest.err >&5
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); } &&
28181 { ac_try='test -z "$ac_c_werror_flag"
28182 || test ! -s conftest.err'
28183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28184 (eval $ac_try) 2>&5
28185 ac_status=$?
28186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28187 (exit $ac_status); }; } &&
28188 { ac_try='test -s conftest$ac_exeext'
28189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28190 (eval $ac_try) 2>&5
28191 ac_status=$?
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); }; }; then
28194 echo "*** The test program compiled, but did not run. This usually means"
28195 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28196 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28197 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28198 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28199 echo "*** is required on your system"
28200 echo "***"
28201 echo "*** If you have an old version installed, it is best to remove it, although"
28202 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28203 echo "***"
28204 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28205 echo "*** came with the system with the command"
28206 echo "***"
28207 echo "*** rpm --erase --nodeps gtk gtk-devel"
28208 else
28209 echo "$as_me: failed program was:" >&5
28210 sed 's/^/| /' conftest.$ac_ext >&5
28211
28212 echo "*** The test program failed to compile or link. See the file config.log for the"
28213 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28214 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28215 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28216 fi
28217 rm -f conftest.err conftest.$ac_objext \
28218 conftest$ac_exeext conftest.$ac_ext
28219 CFLAGS="$ac_save_CFLAGS"
28220 LIBS="$ac_save_LIBS"
28221 fi
28222 fi
28223 GTK_CFLAGS=""
28224 GTK_LIBS=""
28225 :
28226 fi
28227
28228
28229 rm -f conf.gtktest
28230
28231
28232 if test -z "$wx_cv_lib_gtk"; then
28233
28234 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28235 if test "${with_gtk_prefix+set}" = set; then
28236 withval="$with_gtk_prefix"
28237 gtk_config_prefix="$withval"
28238 else
28239 gtk_config_prefix=""
28240 fi;
28241
28242 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28243 if test "${with_gtk_exec_prefix+set}" = set; then
28244 withval="$with_gtk_exec_prefix"
28245 gtk_config_exec_prefix="$withval"
28246 else
28247 gtk_config_exec_prefix=""
28248 fi;
28249 # Check whether --enable-gtktest or --disable-gtktest was given.
28250 if test "${enable_gtktest+set}" = set; then
28251 enableval="$enable_gtktest"
28252
28253 else
28254 enable_gtktest=yes
28255 fi;
28256
28257 for module in . $GTK_MODULES
28258 do
28259 case "$module" in
28260 gthread)
28261 gtk_config_args="$gtk_config_args gthread"
28262 ;;
28263 esac
28264 done
28265
28266 if test x$gtk_config_exec_prefix != x ; then
28267 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28268 if test x${GTK_CONFIG+set} != xset ; then
28269 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28270 fi
28271 fi
28272 if test x$gtk_config_prefix != x ; then
28273 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28274 if test x${GTK_CONFIG+set} != xset ; then
28275 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28276 fi
28277 fi
28278
28279 # Extract the first word of "gtk-config", so it can be a program name with args.
28280 set dummy gtk-config; ac_word=$2
28281 echo "$as_me:$LINENO: checking for $ac_word" >&5
28282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28283 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28284 echo $ECHO_N "(cached) $ECHO_C" >&6
28285 else
28286 case $GTK_CONFIG in
28287 [\\/]* | ?:[\\/]*)
28288 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28289 ;;
28290 *)
28291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28292 for as_dir in $PATH
28293 do
28294 IFS=$as_save_IFS
28295 test -z "$as_dir" && as_dir=.
28296 for ac_exec_ext in '' $ac_executable_extensions; do
28297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28298 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28300 break 2
28301 fi
28302 done
28303 done
28304
28305 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28306 ;;
28307 esac
28308 fi
28309 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28310
28311 if test -n "$GTK_CONFIG"; then
28312 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28313 echo "${ECHO_T}$GTK_CONFIG" >&6
28314 else
28315 echo "$as_me:$LINENO: result: no" >&5
28316 echo "${ECHO_T}no" >&6
28317 fi
28318
28319 min_gtk_version=1.2.3
28320 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28321 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28322 no_gtk=""
28323 if test "$GTK_CONFIG" = "no" ; then
28324 no_gtk=yes
28325 else
28326 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28327 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28328 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28329 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28330 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28331 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28332 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28333 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28334 if test "x$enable_gtktest" = "xyes" ; then
28335 ac_save_CFLAGS="$CFLAGS"
28336 ac_save_LIBS="$LIBS"
28337 CFLAGS="$CFLAGS $GTK_CFLAGS"
28338 LIBS="$GTK_LIBS $LIBS"
28339 rm -f conf.gtktest
28340 if test "$cross_compiling" = yes; then
28341 echo $ac_n "cross compiling; assumed OK... $ac_c"
28342 else
28343 cat >conftest.$ac_ext <<_ACEOF
28344 /* confdefs.h. */
28345 _ACEOF
28346 cat confdefs.h >>conftest.$ac_ext
28347 cat >>conftest.$ac_ext <<_ACEOF
28348 /* end confdefs.h. */
28349
28350 #include <gtk/gtk.h>
28351 #include <stdio.h>
28352 #include <stdlib.h>
28353
28354 int
28355 main ()
28356 {
28357 int major, minor, micro;
28358 char *tmp_version;
28359
28360 system ("touch conf.gtktest");
28361
28362 /* HP/UX 9 (%@#!) writes to sscanf strings */
28363 tmp_version = g_strdup("$min_gtk_version");
28364 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28365 printf("%s, bad version string\n", "$min_gtk_version");
28366 exit(1);
28367 }
28368
28369 if ((gtk_major_version != $gtk_config_major_version) ||
28370 (gtk_minor_version != $gtk_config_minor_version) ||
28371 (gtk_micro_version != $gtk_config_micro_version))
28372 {
28373 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28374 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28375 gtk_major_version, gtk_minor_version, gtk_micro_version);
28376 printf ("*** was found! If gtk-config was correct, then it is best\n");
28377 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28378 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28379 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28380 printf("*** required on your system.\n");
28381 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28382 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28383 printf("*** before re-running configure\n");
28384 }
28385 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28386 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28387 (gtk_minor_version != GTK_MINOR_VERSION) ||
28388 (gtk_micro_version != GTK_MICRO_VERSION))
28389 {
28390 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28391 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28392 printf("*** library (version %d.%d.%d)\n",
28393 gtk_major_version, gtk_minor_version, gtk_micro_version);
28394 }
28395 #endif /* defined (GTK_MAJOR_VERSION) ... */
28396 else
28397 {
28398 if ((gtk_major_version > major) ||
28399 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28400 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28401 {
28402 return 0;
28403 }
28404 else
28405 {
28406 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28407 gtk_major_version, gtk_minor_version, gtk_micro_version);
28408 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28409 major, minor, micro);
28410 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28411 printf("***\n");
28412 printf("*** If you have already installed a sufficiently new version, this error\n");
28413 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28414 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28415 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28416 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28417 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28418 printf("*** so that the correct libraries are found at run-time))\n");
28419 }
28420 }
28421 return 1;
28422 }
28423
28424 _ACEOF
28425 rm -f conftest$ac_exeext
28426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28427 (eval $ac_link) 2>&5
28428 ac_status=$?
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28432 (eval $ac_try) 2>&5
28433 ac_status=$?
28434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28435 (exit $ac_status); }; }; then
28436 :
28437 else
28438 echo "$as_me: program exited with status $ac_status" >&5
28439 echo "$as_me: failed program was:" >&5
28440 sed 's/^/| /' conftest.$ac_ext >&5
28441
28442 ( exit $ac_status )
28443 no_gtk=yes
28444 fi
28445 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28446 fi
28447 CFLAGS="$ac_save_CFLAGS"
28448 LIBS="$ac_save_LIBS"
28449 fi
28450 fi
28451 if test "x$no_gtk" = x ; then
28452 echo "$as_me:$LINENO: result: yes" >&5
28453 echo "${ECHO_T}yes" >&6
28454 wx_cv_lib_gtk=1.2.3
28455 else
28456 echo "$as_me:$LINENO: result: no" >&5
28457 echo "${ECHO_T}no" >&6
28458 if test "$GTK_CONFIG" = "no" ; then
28459 echo "*** The gtk-config script installed by GTK could not be found"
28460 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28461 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28462 echo "*** full path to gtk-config."
28463 else
28464 if test -f conf.gtktest ; then
28465 :
28466 else
28467 echo "*** Could not run GTK test program, checking why..."
28468 CFLAGS="$CFLAGS $GTK_CFLAGS"
28469 LIBS="$LIBS $GTK_LIBS"
28470 cat >conftest.$ac_ext <<_ACEOF
28471 /* confdefs.h. */
28472 _ACEOF
28473 cat confdefs.h >>conftest.$ac_ext
28474 cat >>conftest.$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28476
28477 #include <gtk/gtk.h>
28478 #include <stdio.h>
28479
28480 int
28481 main ()
28482 {
28483 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28484 ;
28485 return 0;
28486 }
28487 _ACEOF
28488 rm -f conftest.$ac_objext conftest$ac_exeext
28489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28490 (eval $ac_link) 2>conftest.er1
28491 ac_status=$?
28492 grep -v '^ *+' conftest.er1 >conftest.err
28493 rm -f conftest.er1
28494 cat conftest.err >&5
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); } &&
28497 { ac_try='test -z "$ac_c_werror_flag"
28498 || test ! -s conftest.err'
28499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28500 (eval $ac_try) 2>&5
28501 ac_status=$?
28502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); }; } &&
28504 { ac_try='test -s conftest$ac_exeext'
28505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28506 (eval $ac_try) 2>&5
28507 ac_status=$?
28508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28509 (exit $ac_status); }; }; then
28510 echo "*** The test program compiled, but did not run. This usually means"
28511 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28512 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28513 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28514 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28515 echo "*** is required on your system"
28516 echo "***"
28517 echo "*** If you have an old version installed, it is best to remove it, although"
28518 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28519 echo "***"
28520 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28521 echo "*** came with the system with the command"
28522 echo "***"
28523 echo "*** rpm --erase --nodeps gtk gtk-devel"
28524 else
28525 echo "$as_me: failed program was:" >&5
28526 sed 's/^/| /' conftest.$ac_ext >&5
28527
28528 echo "*** The test program failed to compile or link. See the file config.log for the"
28529 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28530 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28531 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28532 fi
28533 rm -f conftest.err conftest.$ac_objext \
28534 conftest$ac_exeext conftest.$ac_ext
28535 CFLAGS="$ac_save_CFLAGS"
28536 LIBS="$ac_save_LIBS"
28537 fi
28538 fi
28539 GTK_CFLAGS=""
28540 GTK_LIBS=""
28541 :
28542 fi
28543
28544
28545 rm -f conf.gtktest
28546
28547 fi
28548 fi
28549 fi
28550
28551 if test -z "$wx_cv_lib_gtk"; then
28552 wx_cv_lib_gtk=none
28553 else
28554 wx_cv_cflags_gtk=$GTK_CFLAGS
28555 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28556 fi
28557
28558
28559 fi
28560
28561
28562 if test "$gtk_version_cached" = 1; then
28563 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28564 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28565 fi
28566
28567 case "$wx_cv_lib_gtk" in
28568 2.0) WXGTK20=1
28569 TOOLKIT_VERSION=2
28570 ;;
28571 1.2.7) WXGTK127=1
28572 WXGTK12=1
28573 ;;
28574 1.2.3) WXGTK12=1
28575 ;;
28576 *) { { echo "$as_me:$LINENO: error:
28577 The development files for GTK+ were not found. For GTK+ 2, please
28578 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28579 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28580 and that the version is 1.2.3 or above. Also check that the
28581 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28582 --libs' are in the LD_LIBRARY_PATH or equivalent.
28583 " >&5
28584 echo "$as_me: error:
28585 The development files for GTK+ were not found. For GTK+ 2, please
28586 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28587 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28588 and that the version is 1.2.3 or above. Also check that the
28589 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28590 --libs' are in the LD_LIBRARY_PATH or equivalent.
28591 " >&2;}
28592 { (exit 1); exit 1; }; }
28593 ;;
28594 esac
28595
28596 if test "$WXGTK20" = 1; then
28597 save_CFLAGS="$CFLAGS"
28598 save_LIBS="$LIBS"
28599 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28600 LIBS="$LIBS $wx_cv_libs_gtk"
28601
28602 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28603 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28604 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28605 echo $ECHO_N "(cached) $ECHO_C" >&6
28606 else
28607 cat >conftest.$ac_ext <<_ACEOF
28608 /* confdefs.h. */
28609 _ACEOF
28610 cat confdefs.h >>conftest.$ac_ext
28611 cat >>conftest.$ac_ext <<_ACEOF
28612 /* end confdefs.h. */
28613 #include <gtk/gtk.h>
28614
28615 int
28616 main ()
28617 {
28618 #ifndef gtk_icon_size_lookup
28619 char *p = (char *) gtk_icon_size_lookup;
28620 #endif
28621
28622 ;
28623 return 0;
28624 }
28625 _ACEOF
28626 rm -f conftest.$ac_objext
28627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28628 (eval $ac_compile) 2>conftest.er1
28629 ac_status=$?
28630 grep -v '^ *+' conftest.er1 >conftest.err
28631 rm -f conftest.er1
28632 cat conftest.err >&5
28633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28634 (exit $ac_status); } &&
28635 { ac_try='test -z "$ac_c_werror_flag"
28636 || test ! -s conftest.err'
28637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638 (eval $ac_try) 2>&5
28639 ac_status=$?
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); }; } &&
28642 { ac_try='test -s conftest.$ac_objext'
28643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28644 (eval $ac_try) 2>&5
28645 ac_status=$?
28646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28647 (exit $ac_status); }; }; then
28648 ac_cv_have_decl_gtk_icon_size_lookup=yes
28649 else
28650 echo "$as_me: failed program was:" >&5
28651 sed 's/^/| /' conftest.$ac_ext >&5
28652
28653 ac_cv_have_decl_gtk_icon_size_lookup=no
28654 fi
28655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28656 fi
28657 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28658 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28659 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28660
28661 cat >>confdefs.h <<_ACEOF
28662 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28663 _ACEOF
28664
28665
28666 else
28667 cat >>confdefs.h <<_ACEOF
28668 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28669 _ACEOF
28670
28671 cat >>confdefs.h <<\_ACEOF
28672 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28673 _ACEOF
28674
28675 fi
28676
28677
28678
28679 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28680 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28681 cat >conftest.$ac_ext <<_ACEOF
28682 /* confdefs.h. */
28683 _ACEOF
28684 cat confdefs.h >>conftest.$ac_ext
28685 cat >>conftest.$ac_ext <<_ACEOF
28686 /* end confdefs.h. */
28687
28688 #include <gtk/gtk.h>
28689
28690 int
28691 main ()
28692 {
28693
28694 #if !GTK_CHECK_VERSION(2,6,0)
28695 Not GTK+ 2.6
28696 #endif
28697
28698 ;
28699 return 0;
28700 }
28701 _ACEOF
28702 rm -f conftest.$ac_objext
28703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28704 (eval $ac_compile) 2>conftest.er1
28705 ac_status=$?
28706 grep -v '^ *+' conftest.er1 >conftest.err
28707 rm -f conftest.er1
28708 cat conftest.err >&5
28709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28710 (exit $ac_status); } &&
28711 { ac_try='test -z "$ac_c_werror_flag"
28712 || test ! -s conftest.err'
28713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28714 (eval $ac_try) 2>&5
28715 ac_status=$?
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); }; } &&
28718 { ac_try='test -s conftest.$ac_objext'
28719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28720 (eval $ac_try) 2>&5
28721 ac_status=$?
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); }; }; then
28724
28725 cat >>confdefs.h <<\_ACEOF
28726 #define __WXGTK26__ 1
28727 _ACEOF
28728
28729 cat >>confdefs.h <<\_ACEOF
28730 #define __WXGTK24__ 1
28731 _ACEOF
28732
28733 echo "$as_me:$LINENO: result: yes" >&5
28734 echo "${ECHO_T}yes" >&6
28735 ac_wxgtk26=1
28736
28737 else
28738 echo "$as_me: failed program was:" >&5
28739 sed 's/^/| /' conftest.$ac_ext >&5
28740
28741
28742 echo "$as_me:$LINENO: result: no" >&5
28743 echo "${ECHO_T}no" >&6
28744 ac_wxgtk26=0
28745
28746 fi
28747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28748
28749 if test "$ac_wxgtk26" = 0; then
28750 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28751 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28752 cat >conftest.$ac_ext <<_ACEOF
28753 /* confdefs.h. */
28754 _ACEOF
28755 cat confdefs.h >>conftest.$ac_ext
28756 cat >>conftest.$ac_ext <<_ACEOF
28757 /* end confdefs.h. */
28758
28759 #include <gtk/gtk.h>
28760
28761 int
28762 main ()
28763 {
28764
28765 #if !GTK_CHECK_VERSION(2,4,0)
28766 Not GTK+ 2.4
28767 #endif
28768
28769 ;
28770 return 0;
28771 }
28772 _ACEOF
28773 rm -f conftest.$ac_objext
28774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28775 (eval $ac_compile) 2>conftest.er1
28776 ac_status=$?
28777 grep -v '^ *+' conftest.er1 >conftest.err
28778 rm -f conftest.er1
28779 cat conftest.err >&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); } &&
28782 { ac_try='test -z "$ac_c_werror_flag"
28783 || test ! -s conftest.err'
28784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28785 (eval $ac_try) 2>&5
28786 ac_status=$?
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); }; } &&
28789 { ac_try='test -s conftest.$ac_objext'
28790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28791 (eval $ac_try) 2>&5
28792 ac_status=$?
28793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28794 (exit $ac_status); }; }; then
28795
28796 cat >>confdefs.h <<\_ACEOF
28797 #define __WXGTK24__ 1
28798 _ACEOF
28799
28800 echo "$as_me:$LINENO: result: yes" >&5
28801 echo "${ECHO_T}yes" >&6
28802
28803 else
28804 echo "$as_me: failed program was:" >&5
28805 sed 's/^/| /' conftest.$ac_ext >&5
28806
28807
28808 echo "$as_me:$LINENO: result: no" >&5
28809 echo "${ECHO_T}no" >&6
28810
28811 fi
28812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28813 fi
28814
28815 CFLAGS="$save_CFLAGS"
28816 LIBS="$save_LIBS"
28817 else
28818 if test "$wxUSE_UNICODE" = "yes"; then
28819 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28820 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28821 wxUSE_UNICODE=no
28822 fi
28823 fi
28824
28825 ac_ext=cc
28826 ac_cpp='$CXXCPP $CPPFLAGS'
28827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28830
28831
28832 if test "$USE_DARWIN" != 1; then
28833
28834 for ac_func in poll
28835 do
28836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28837 echo "$as_me:$LINENO: checking for $ac_func" >&5
28838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28839 if eval "test \"\${$as_ac_var+set}\" = set"; then
28840 echo $ECHO_N "(cached) $ECHO_C" >&6
28841 else
28842 cat >conftest.$ac_ext <<_ACEOF
28843 /* confdefs.h. */
28844 _ACEOF
28845 cat confdefs.h >>conftest.$ac_ext
28846 cat >>conftest.$ac_ext <<_ACEOF
28847 /* end confdefs.h. */
28848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28850 #define $ac_func innocuous_$ac_func
28851
28852 /* System header to define __stub macros and hopefully few prototypes,
28853 which can conflict with char $ac_func (); below.
28854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28855 <limits.h> exists even on freestanding compilers. */
28856
28857 #ifdef __STDC__
28858 # include <limits.h>
28859 #else
28860 # include <assert.h>
28861 #endif
28862
28863 #undef $ac_func
28864
28865 /* Override any gcc2 internal prototype to avoid an error. */
28866 #ifdef __cplusplus
28867 extern "C"
28868 {
28869 #endif
28870 /* We use char because int might match the return type of a gcc2
28871 builtin and then its argument prototype would still apply. */
28872 char $ac_func ();
28873 /* The GNU C library defines this for functions which it implements
28874 to always fail with ENOSYS. Some functions are actually named
28875 something starting with __ and the normal name is an alias. */
28876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28877 choke me
28878 #else
28879 char (*f) () = $ac_func;
28880 #endif
28881 #ifdef __cplusplus
28882 }
28883 #endif
28884
28885 int
28886 main ()
28887 {
28888 return f != $ac_func;
28889 ;
28890 return 0;
28891 }
28892 _ACEOF
28893 rm -f conftest.$ac_objext conftest$ac_exeext
28894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28895 (eval $ac_link) 2>conftest.er1
28896 ac_status=$?
28897 grep -v '^ *+' conftest.er1 >conftest.err
28898 rm -f conftest.er1
28899 cat conftest.err >&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); } &&
28902 { ac_try='test -z "$ac_cxx_werror_flag"
28903 || test ! -s conftest.err'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28906 ac_status=$?
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; } &&
28909 { ac_try='test -s conftest$ac_exeext'
28910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28911 (eval $ac_try) 2>&5
28912 ac_status=$?
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); }; }; then
28915 eval "$as_ac_var=yes"
28916 else
28917 echo "$as_me: failed program was:" >&5
28918 sed 's/^/| /' conftest.$ac_ext >&5
28919
28920 eval "$as_ac_var=no"
28921 fi
28922 rm -f conftest.err conftest.$ac_objext \
28923 conftest$ac_exeext conftest.$ac_ext
28924 fi
28925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28927 if test `eval echo '${'$as_ac_var'}'` = yes; then
28928 cat >>confdefs.h <<_ACEOF
28929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28930 _ACEOF
28931
28932 fi
28933 done
28934
28935 fi
28936
28937 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28938 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28939
28940 AFMINSTALL=afminstall
28941 TOOLKIT=GTK
28942 GUIDIST=GTK_DIST
28943
28944 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28945 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28946 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28947 echo $ECHO_N "(cached) $ECHO_C" >&6
28948 else
28949 ac_check_lib_save_LIBS=$LIBS
28950 LIBS="-lgdk $LIBS"
28951 cat >conftest.$ac_ext <<_ACEOF
28952 /* confdefs.h. */
28953 _ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28957
28958 /* Override any gcc2 internal prototype to avoid an error. */
28959 #ifdef __cplusplus
28960 extern "C"
28961 #endif
28962 /* We use char because int might match the return type of a gcc2
28963 builtin and then its argument prototype would still apply. */
28964 char gdk_im_open ();
28965 int
28966 main ()
28967 {
28968 gdk_im_open ();
28969 ;
28970 return 0;
28971 }
28972 _ACEOF
28973 rm -f conftest.$ac_objext conftest$ac_exeext
28974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28975 (eval $ac_link) 2>conftest.er1
28976 ac_status=$?
28977 grep -v '^ *+' conftest.er1 >conftest.err
28978 rm -f conftest.er1
28979 cat conftest.err >&5
28980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28981 (exit $ac_status); } &&
28982 { ac_try='test -z "$ac_cxx_werror_flag"
28983 || test ! -s conftest.err'
28984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28985 (eval $ac_try) 2>&5
28986 ac_status=$?
28987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988 (exit $ac_status); }; } &&
28989 { ac_try='test -s conftest$ac_exeext'
28990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28991 (eval $ac_try) 2>&5
28992 ac_status=$?
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); }; }; then
28995 ac_cv_lib_gdk_gdk_im_open=yes
28996 else
28997 echo "$as_me: failed program was:" >&5
28998 sed 's/^/| /' conftest.$ac_ext >&5
28999
29000 ac_cv_lib_gdk_gdk_im_open=no
29001 fi
29002 rm -f conftest.err conftest.$ac_objext \
29003 conftest$ac_exeext conftest.$ac_ext
29004 LIBS=$ac_check_lib_save_LIBS
29005 fi
29006 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29007 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29008 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29009 cat >>confdefs.h <<\_ACEOF
29010 #define HAVE_XIM 1
29011 _ACEOF
29012
29013 fi
29014
29015
29016
29017 if test "$wxUSE_GPE" = "yes"; then
29018 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29019 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29020
29021 ac_find_libraries=
29022 for ac_dir in $SEARCH_LIB;
29023 do
29024 for ac_extension in a so sl dylib dll.a; do
29025 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29026 ac_find_libraries=$ac_dir
29027 break 2
29028 fi
29029 done
29030 done
29031
29032 if test "$ac_find_libraries" != "" ; then
29033
29034 if test "$ac_find_libraries" = "default location"; then
29035 ac_path_to_link=""
29036 else
29037 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29038 result=$?
29039 if test $result = 0; then
29040 ac_path_to_link=""
29041 else
29042 ac_path_to_link=" -L$ac_find_libraries"
29043 fi
29044 fi
29045
29046 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29047 WXGPE=1
29048 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29049 echo "${ECHO_T}found in $ac_find_libraries" >&6
29050 else
29051 echo "$as_me:$LINENO: result: not found" >&5
29052 echo "${ECHO_T}not found" >&6
29053 fi
29054
29055 fi
29056 fi
29057
29058 if test "$wxUSE_MGL" = 1; then
29059 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29060 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29061 if test "x$MGL_ROOT" = x ; then
29062 echo "$as_me:$LINENO: result: not found" >&5
29063 echo "${ECHO_T}not found" >&6
29064 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29065 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29066 { (exit 1); exit 1; }; }
29067 else
29068 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29069 echo "${ECHO_T}$MGL_ROOT" >&6
29070 fi
29071
29072 echo "$as_me:$LINENO: checking for libmgl location" >&5
29073 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29074 case "${host}" in
29075 *-*-linux* )
29076 if test "x$wxUSE_SHARED" = xyes ; then
29077 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29078 else
29079 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29080 fi
29081 ;;
29082 *-pc-msdosdjgpp )
29083 mgl_os_candidates="dos32/dj2"
29084 ;;
29085 *)
29086 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29087 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29088 { (exit 1); exit 1; }; }
29089 esac
29090
29091 mgl_lib_type=""
29092 mgl_os=""
29093
29094 for mgl_os_i in $mgl_os_candidates ; do
29095 if test "x$mgl_os" = x ; then
29096 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29097 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29098 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29099 mgl_lib_type=debug
29100 mgl_os=$mgl_os_i
29101 fi
29102 fi
29103 if test "x$mgl_lib_type" = x ; then
29104 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29105 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29106 mgl_lib_type=release
29107 mgl_os=$mgl_os_i
29108 fi
29109 fi
29110 fi
29111 done
29112
29113 if test "x$mgl_os" = x ; then
29114 echo "$as_me:$LINENO: result: not found" >&5
29115 echo "${ECHO_T}not found" >&6
29116 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29117 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29118 { (exit 1); exit 1; }; }
29119 fi
29120 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29121 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29122
29123 wxUSE_UNIVERSAL="yes"
29124
29125 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29126 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29127
29128 AFMINSTALL=afminstall
29129 TOOLKIT=MGL
29130 GUIDIST=MGL_DIST
29131 fi
29132
29133 if test "$wxUSE_DFB" = 1; then
29134
29135
29136 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29137 if test -n "$ac_tool_prefix"; then
29138 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29139 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29140 echo "$as_me:$LINENO: checking for $ac_word" >&5
29141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29142 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29143 echo $ECHO_N "(cached) $ECHO_C" >&6
29144 else
29145 case $PKG_CONFIG in
29146 [\\/]* | ?:[\\/]*)
29147 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29148 ;;
29149 *)
29150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29151 for as_dir in $PATH
29152 do
29153 IFS=$as_save_IFS
29154 test -z "$as_dir" && as_dir=.
29155 for ac_exec_ext in '' $ac_executable_extensions; do
29156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29157 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29159 break 2
29160 fi
29161 done
29162 done
29163
29164 ;;
29165 esac
29166 fi
29167 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29168
29169 if test -n "$PKG_CONFIG"; then
29170 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29171 echo "${ECHO_T}$PKG_CONFIG" >&6
29172 else
29173 echo "$as_me:$LINENO: result: no" >&5
29174 echo "${ECHO_T}no" >&6
29175 fi
29176
29177 fi
29178 if test -z "$ac_cv_path_PKG_CONFIG"; then
29179 ac_pt_PKG_CONFIG=$PKG_CONFIG
29180 # Extract the first word of "pkg-config", so it can be a program name with args.
29181 set dummy pkg-config; ac_word=$2
29182 echo "$as_me:$LINENO: checking for $ac_word" >&5
29183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29184 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29185 echo $ECHO_N "(cached) $ECHO_C" >&6
29186 else
29187 case $ac_pt_PKG_CONFIG in
29188 [\\/]* | ?:[\\/]*)
29189 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29190 ;;
29191 *)
29192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29193 for as_dir in $PATH
29194 do
29195 IFS=$as_save_IFS
29196 test -z "$as_dir" && as_dir=.
29197 for ac_exec_ext in '' $ac_executable_extensions; do
29198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29199 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29201 break 2
29202 fi
29203 done
29204 done
29205
29206 ;;
29207 esac
29208 fi
29209 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29210
29211 if test -n "$ac_pt_PKG_CONFIG"; then
29212 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29213 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29214 else
29215 echo "$as_me:$LINENO: result: no" >&5
29216 echo "${ECHO_T}no" >&6
29217 fi
29218
29219 PKG_CONFIG=$ac_pt_PKG_CONFIG
29220 else
29221 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29222 fi
29223
29224 fi
29225 if test -n "$PKG_CONFIG"; then
29226 _pkg_min_version=0.9.0
29227 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29228 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29229 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29230 echo "$as_me:$LINENO: result: yes" >&5
29231 echo "${ECHO_T}yes" >&6
29232 else
29233 echo "$as_me:$LINENO: result: no" >&5
29234 echo "${ECHO_T}no" >&6
29235 PKG_CONFIG=""
29236 fi
29237
29238 fi
29239
29240 pkg_failed=no
29241 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29242 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29243
29244 if test -n "$PKG_CONFIG"; then
29245 if test -n "$DIRECTFB_CFLAGS"; then
29246 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29247 else
29248 if test -n "$PKG_CONFIG" && \
29249 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29250 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29251 ac_status=$?
29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253 (exit $ac_status); }; then
29254 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29255 else
29256 pkg_failed=yes
29257 fi
29258 fi
29259 else
29260 pkg_failed=untried
29261 fi
29262 if test -n "$PKG_CONFIG"; then
29263 if test -n "$DIRECTFB_LIBS"; then
29264 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29265 else
29266 if test -n "$PKG_CONFIG" && \
29267 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29268 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29269 ac_status=$?
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); }; then
29272 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29273 else
29274 pkg_failed=yes
29275 fi
29276 fi
29277 else
29278 pkg_failed=untried
29279 fi
29280
29281
29282
29283 if test $pkg_failed = yes; then
29284
29285 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29286 _pkg_short_errors_supported=yes
29287 else
29288 _pkg_short_errors_supported=no
29289 fi
29290 if test $_pkg_short_errors_supported = yes; then
29291 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29292 else
29293 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29294 fi
29295 # Put the nasty error message in config.log where it belongs
29296 echo "$DIRECTFB_PKG_ERRORS" >&5
29297
29298
29299 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29300 echo "$as_me: error: DirectFB not found." >&2;}
29301 { (exit 1); exit 1; }; }
29302
29303
29304 elif test $pkg_failed = untried; then
29305
29306 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29307 echo "$as_me: error: DirectFB not found." >&2;}
29308 { (exit 1); exit 1; }; }
29309
29310
29311 else
29312 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29313 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29314 echo "$as_me:$LINENO: result: yes" >&5
29315 echo "${ECHO_T}yes" >&6
29316
29317 wxUSE_UNIVERSAL="yes"
29318 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29319 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29320 TOOLKIT=DFB
29321 GUIDIST=DFB_DIST
29322
29323 fi
29324 fi
29325
29326 if test "$wxUSE_MICROWIN" = 1; then
29327 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29328 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29329 if test "x$MICROWINDOWS" = x ; then
29330 echo "$as_me:$LINENO: result: not found" >&5
29331 echo "${ECHO_T}not found" >&6
29332 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29333 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29334 { (exit 1); exit 1; }; }
29335 else
29336 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29337 echo "${ECHO_T}$MICROWINDOWS" >&6
29338 fi
29339
29340 if test -f $MICROWINDOWS/lib/libmwin.a; then
29341 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29342 echo "${ECHO_T}MicroWindows' libraries found." >&6
29343 else
29344 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29345 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29346 { (exit 1); exit 1; }; }
29347 fi
29348
29349 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29350 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29351
29352 wxUSE_UNIVERSAL="yes"
29353
29354 AFMINSTALL=afminstall
29355 TOOLKIT=MICROWIN
29356 GUIDIST=MICROWIN_DIST
29357
29358 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29359 fi
29360
29361 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29362 echo "$as_me:$LINENO: checking for X" >&5
29363 echo $ECHO_N "checking for X... $ECHO_C" >&6
29364
29365
29366 # Check whether --with-x or --without-x was given.
29367 if test "${with_x+set}" = set; then
29368 withval="$with_x"
29369
29370 fi;
29371 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29372 if test "x$with_x" = xno; then
29373 # The user explicitly disabled X.
29374 have_x=disabled
29375 else
29376 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29377 # Both variables are already set.
29378 have_x=yes
29379 else
29380 if test "${ac_cv_have_x+set}" = set; then
29381 echo $ECHO_N "(cached) $ECHO_C" >&6
29382 else
29383 # One or both of the vars are not set, and there is no cached value.
29384 ac_x_includes=no ac_x_libraries=no
29385 rm -fr conftest.dir
29386 if mkdir conftest.dir; then
29387 cd conftest.dir
29388 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29389 cat >Imakefile <<'_ACEOF'
29390 acfindx:
29391 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29392 _ACEOF
29393 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29394 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29395 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29396 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29397 for ac_extension in a so sl; do
29398 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29399 test -f $ac_im_libdir/libX11.$ac_extension; then
29400 ac_im_usrlibdir=$ac_im_libdir; break
29401 fi
29402 done
29403 # Screen out bogus values from the imake configuration. They are
29404 # bogus both because they are the default anyway, and because
29405 # using them would break gcc on systems where it needs fixed includes.
29406 case $ac_im_incroot in
29407 /usr/include) ;;
29408 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29409 esac
29410 case $ac_im_usrlibdir in
29411 /usr/lib | /lib) ;;
29412 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29413 esac
29414 fi
29415 cd ..
29416 rm -fr conftest.dir
29417 fi
29418
29419 # Standard set of common directories for X headers.
29420 # Check X11 before X11Rn because it is often a symlink to the current release.
29421 ac_x_header_dirs='
29422 /usr/X11/include
29423 /usr/X11R6/include
29424 /usr/X11R5/include
29425 /usr/X11R4/include
29426
29427 /usr/include/X11
29428 /usr/include/X11R6
29429 /usr/include/X11R5
29430 /usr/include/X11R4
29431
29432 /usr/local/X11/include
29433 /usr/local/X11R6/include
29434 /usr/local/X11R5/include
29435 /usr/local/X11R4/include
29436
29437 /usr/local/include/X11
29438 /usr/local/include/X11R6
29439 /usr/local/include/X11R5
29440 /usr/local/include/X11R4
29441
29442 /usr/X386/include
29443 /usr/x386/include
29444 /usr/XFree86/include/X11
29445
29446 /usr/include
29447 /usr/local/include
29448 /usr/unsupported/include
29449 /usr/athena/include
29450 /usr/local/x11r5/include
29451 /usr/lpp/Xamples/include
29452
29453 /usr/openwin/include
29454 /usr/openwin/share/include'
29455
29456 if test "$ac_x_includes" = no; then
29457 # Guess where to find include files, by looking for Intrinsic.h.
29458 # First, try using that file with no special directory specified.
29459 cat >conftest.$ac_ext <<_ACEOF
29460 /* confdefs.h. */
29461 _ACEOF
29462 cat confdefs.h >>conftest.$ac_ext
29463 cat >>conftest.$ac_ext <<_ACEOF
29464 /* end confdefs.h. */
29465 #include <X11/Intrinsic.h>
29466 _ACEOF
29467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29469 ac_status=$?
29470 grep -v '^ *+' conftest.er1 >conftest.err
29471 rm -f conftest.er1
29472 cat conftest.err >&5
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); } >/dev/null; then
29475 if test -s conftest.err; then
29476 ac_cpp_err=$ac_cxx_preproc_warn_flag
29477 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29478 else
29479 ac_cpp_err=
29480 fi
29481 else
29482 ac_cpp_err=yes
29483 fi
29484 if test -z "$ac_cpp_err"; then
29485 # We can compile using X headers with no special include directory.
29486 ac_x_includes=
29487 else
29488 echo "$as_me: failed program was:" >&5
29489 sed 's/^/| /' conftest.$ac_ext >&5
29490
29491 for ac_dir in $ac_x_header_dirs; do
29492 if test -r "$ac_dir/X11/Intrinsic.h"; then
29493 ac_x_includes=$ac_dir
29494 break
29495 fi
29496 done
29497 fi
29498 rm -f conftest.err conftest.$ac_ext
29499 fi # $ac_x_includes = no
29500
29501 if test "$ac_x_libraries" = no; then
29502 # Check for the libraries.
29503 # See if we find them without any special options.
29504 # Don't add to $LIBS permanently.
29505 ac_save_LIBS=$LIBS
29506 LIBS="-lXt $LIBS"
29507 cat >conftest.$ac_ext <<_ACEOF
29508 /* confdefs.h. */
29509 _ACEOF
29510 cat confdefs.h >>conftest.$ac_ext
29511 cat >>conftest.$ac_ext <<_ACEOF
29512 /* end confdefs.h. */
29513 #include <X11/Intrinsic.h>
29514 int
29515 main ()
29516 {
29517 XtMalloc (0)
29518 ;
29519 return 0;
29520 }
29521 _ACEOF
29522 rm -f conftest.$ac_objext conftest$ac_exeext
29523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29524 (eval $ac_link) 2>conftest.er1
29525 ac_status=$?
29526 grep -v '^ *+' conftest.er1 >conftest.err
29527 rm -f conftest.er1
29528 cat conftest.err >&5
29529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29530 (exit $ac_status); } &&
29531 { ac_try='test -z "$ac_cxx_werror_flag"
29532 || test ! -s conftest.err'
29533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29534 (eval $ac_try) 2>&5
29535 ac_status=$?
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); }; } &&
29538 { ac_try='test -s conftest$ac_exeext'
29539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29540 (eval $ac_try) 2>&5
29541 ac_status=$?
29542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 (exit $ac_status); }; }; then
29544 LIBS=$ac_save_LIBS
29545 # We can link X programs with no special library path.
29546 ac_x_libraries=
29547 else
29548 echo "$as_me: failed program was:" >&5
29549 sed 's/^/| /' conftest.$ac_ext >&5
29550
29551 LIBS=$ac_save_LIBS
29552 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29553 do
29554 # Don't even attempt the hair of trying to link an X program!
29555 for ac_extension in a so sl; do
29556 if test -r $ac_dir/libXt.$ac_extension; then
29557 ac_x_libraries=$ac_dir
29558 break 2
29559 fi
29560 done
29561 done
29562 fi
29563 rm -f conftest.err conftest.$ac_objext \
29564 conftest$ac_exeext conftest.$ac_ext
29565 fi # $ac_x_libraries = no
29566
29567 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29568 # Didn't find X anywhere. Cache the known absence of X.
29569 ac_cv_have_x="have_x=no"
29570 else
29571 # Record where we found X for the cache.
29572 ac_cv_have_x="have_x=yes \
29573 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29574 fi
29575 fi
29576
29577 fi
29578 eval "$ac_cv_have_x"
29579 fi # $with_x != no
29580
29581 if test "$have_x" != yes; then
29582 echo "$as_me:$LINENO: result: $have_x" >&5
29583 echo "${ECHO_T}$have_x" >&6
29584 no_x=yes
29585 else
29586 # If each of the values was on the command line, it overrides each guess.
29587 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29588 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29589 # Update the cache value to reflect the command line values.
29590 ac_cv_have_x="have_x=yes \
29591 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29592 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29593 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
29594 fi
29595
29596 if test "$no_x" = yes; then
29597 # Not all programs may use this symbol, but it does not hurt to define it.
29598
29599 cat >>confdefs.h <<\_ACEOF
29600 #define X_DISPLAY_MISSING 1
29601 _ACEOF
29602
29603 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29604 else
29605 if test -n "$x_includes"; then
29606 X_CFLAGS="$X_CFLAGS -I$x_includes"
29607 fi
29608
29609 # It would also be nice to do this for all -L options, not just this one.
29610 if test -n "$x_libraries"; then
29611 X_LIBS="$X_LIBS -L$x_libraries"
29612 # For Solaris; some versions of Sun CC require a space after -R and
29613 # others require no space. Words are not sufficient . . . .
29614 case `(uname -sr) 2>/dev/null` in
29615 "SunOS 5"*)
29616 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29617 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29618 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29619 cat >conftest.$ac_ext <<_ACEOF
29620 /* confdefs.h. */
29621 _ACEOF
29622 cat confdefs.h >>conftest.$ac_ext
29623 cat >>conftest.$ac_ext <<_ACEOF
29624 /* end confdefs.h. */
29625
29626 int
29627 main ()
29628 {
29629
29630 ;
29631 return 0;
29632 }
29633 _ACEOF
29634 rm -f conftest.$ac_objext conftest$ac_exeext
29635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29636 (eval $ac_link) 2>conftest.er1
29637 ac_status=$?
29638 grep -v '^ *+' conftest.er1 >conftest.err
29639 rm -f conftest.er1
29640 cat conftest.err >&5
29641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29642 (exit $ac_status); } &&
29643 { ac_try='test -z "$ac_cxx_werror_flag"
29644 || test ! -s conftest.err'
29645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29646 (eval $ac_try) 2>&5
29647 ac_status=$?
29648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 (exit $ac_status); }; } &&
29650 { ac_try='test -s conftest$ac_exeext'
29651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29652 (eval $ac_try) 2>&5
29653 ac_status=$?
29654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29655 (exit $ac_status); }; }; then
29656 ac_R_nospace=yes
29657 else
29658 echo "$as_me: failed program was:" >&5
29659 sed 's/^/| /' conftest.$ac_ext >&5
29660
29661 ac_R_nospace=no
29662 fi
29663 rm -f conftest.err conftest.$ac_objext \
29664 conftest$ac_exeext conftest.$ac_ext
29665 if test $ac_R_nospace = yes; then
29666 echo "$as_me:$LINENO: result: no" >&5
29667 echo "${ECHO_T}no" >&6
29668 X_LIBS="$X_LIBS -R$x_libraries"
29669 else
29670 LIBS="$ac_xsave_LIBS -R $x_libraries"
29671 cat >conftest.$ac_ext <<_ACEOF
29672 /* confdefs.h. */
29673 _ACEOF
29674 cat confdefs.h >>conftest.$ac_ext
29675 cat >>conftest.$ac_ext <<_ACEOF
29676 /* end confdefs.h. */
29677
29678 int
29679 main ()
29680 {
29681
29682 ;
29683 return 0;
29684 }
29685 _ACEOF
29686 rm -f conftest.$ac_objext conftest$ac_exeext
29687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29688 (eval $ac_link) 2>conftest.er1
29689 ac_status=$?
29690 grep -v '^ *+' conftest.er1 >conftest.err
29691 rm -f conftest.er1
29692 cat conftest.err >&5
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); } &&
29695 { ac_try='test -z "$ac_cxx_werror_flag"
29696 || test ! -s conftest.err'
29697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29698 (eval $ac_try) 2>&5
29699 ac_status=$?
29700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); }; } &&
29702 { ac_try='test -s conftest$ac_exeext'
29703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29704 (eval $ac_try) 2>&5
29705 ac_status=$?
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); }; }; then
29708 ac_R_space=yes
29709 else
29710 echo "$as_me: failed program was:" >&5
29711 sed 's/^/| /' conftest.$ac_ext >&5
29712
29713 ac_R_space=no
29714 fi
29715 rm -f conftest.err conftest.$ac_objext \
29716 conftest$ac_exeext conftest.$ac_ext
29717 if test $ac_R_space = yes; then
29718 echo "$as_me:$LINENO: result: yes" >&5
29719 echo "${ECHO_T}yes" >&6
29720 X_LIBS="$X_LIBS -R $x_libraries"
29721 else
29722 echo "$as_me:$LINENO: result: neither works" >&5
29723 echo "${ECHO_T}neither works" >&6
29724 fi
29725 fi
29726 LIBS=$ac_xsave_LIBS
29727 esac
29728 fi
29729
29730 # Check for system-dependent libraries X programs must link with.
29731 # Do this before checking for the system-independent R6 libraries
29732 # (-lICE), since we may need -lsocket or whatever for X linking.
29733
29734 if test "$ISC" = yes; then
29735 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29736 else
29737 # Martyn Johnson says this is needed for Ultrix, if the X
29738 # libraries were built with DECnet support. And Karl Berry says
29739 # the Alpha needs dnet_stub (dnet does not exist).
29740 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29741 cat >conftest.$ac_ext <<_ACEOF
29742 /* confdefs.h. */
29743 _ACEOF
29744 cat confdefs.h >>conftest.$ac_ext
29745 cat >>conftest.$ac_ext <<_ACEOF
29746 /* end confdefs.h. */
29747
29748 /* Override any gcc2 internal prototype to avoid an error. */
29749 #ifdef __cplusplus
29750 extern "C"
29751 #endif
29752 /* We use char because int might match the return type of a gcc2
29753 builtin and then its argument prototype would still apply. */
29754 char XOpenDisplay ();
29755 int
29756 main ()
29757 {
29758 XOpenDisplay ();
29759 ;
29760 return 0;
29761 }
29762 _ACEOF
29763 rm -f conftest.$ac_objext conftest$ac_exeext
29764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29765 (eval $ac_link) 2>conftest.er1
29766 ac_status=$?
29767 grep -v '^ *+' conftest.er1 >conftest.err
29768 rm -f conftest.er1
29769 cat conftest.err >&5
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); } &&
29772 { ac_try='test -z "$ac_cxx_werror_flag"
29773 || test ! -s conftest.err'
29774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29775 (eval $ac_try) 2>&5
29776 ac_status=$?
29777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29778 (exit $ac_status); }; } &&
29779 { ac_try='test -s conftest$ac_exeext'
29780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29781 (eval $ac_try) 2>&5
29782 ac_status=$?
29783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29784 (exit $ac_status); }; }; then
29785 :
29786 else
29787 echo "$as_me: failed program was:" >&5
29788 sed 's/^/| /' conftest.$ac_ext >&5
29789
29790 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29791 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29792 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29793 echo $ECHO_N "(cached) $ECHO_C" >&6
29794 else
29795 ac_check_lib_save_LIBS=$LIBS
29796 LIBS="-ldnet $LIBS"
29797 cat >conftest.$ac_ext <<_ACEOF
29798 /* confdefs.h. */
29799 _ACEOF
29800 cat confdefs.h >>conftest.$ac_ext
29801 cat >>conftest.$ac_ext <<_ACEOF
29802 /* end confdefs.h. */
29803
29804 /* Override any gcc2 internal prototype to avoid an error. */
29805 #ifdef __cplusplus
29806 extern "C"
29807 #endif
29808 /* We use char because int might match the return type of a gcc2
29809 builtin and then its argument prototype would still apply. */
29810 char dnet_ntoa ();
29811 int
29812 main ()
29813 {
29814 dnet_ntoa ();
29815 ;
29816 return 0;
29817 }
29818 _ACEOF
29819 rm -f conftest.$ac_objext conftest$ac_exeext
29820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29821 (eval $ac_link) 2>conftest.er1
29822 ac_status=$?
29823 grep -v '^ *+' conftest.er1 >conftest.err
29824 rm -f conftest.er1
29825 cat conftest.err >&5
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); } &&
29828 { ac_try='test -z "$ac_cxx_werror_flag"
29829 || test ! -s conftest.err'
29830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29831 (eval $ac_try) 2>&5
29832 ac_status=$?
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); }; } &&
29835 { ac_try='test -s conftest$ac_exeext'
29836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29837 (eval $ac_try) 2>&5
29838 ac_status=$?
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); }; }; then
29841 ac_cv_lib_dnet_dnet_ntoa=yes
29842 else
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.$ac_ext >&5
29845
29846 ac_cv_lib_dnet_dnet_ntoa=no
29847 fi
29848 rm -f conftest.err conftest.$ac_objext \
29849 conftest$ac_exeext conftest.$ac_ext
29850 LIBS=$ac_check_lib_save_LIBS
29851 fi
29852 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29853 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29854 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29855 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29856 fi
29857
29858 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29859 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29860 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29861 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29862 echo $ECHO_N "(cached) $ECHO_C" >&6
29863 else
29864 ac_check_lib_save_LIBS=$LIBS
29865 LIBS="-ldnet_stub $LIBS"
29866 cat >conftest.$ac_ext <<_ACEOF
29867 /* confdefs.h. */
29868 _ACEOF
29869 cat confdefs.h >>conftest.$ac_ext
29870 cat >>conftest.$ac_ext <<_ACEOF
29871 /* end confdefs.h. */
29872
29873 /* Override any gcc2 internal prototype to avoid an error. */
29874 #ifdef __cplusplus
29875 extern "C"
29876 #endif
29877 /* We use char because int might match the return type of a gcc2
29878 builtin and then its argument prototype would still apply. */
29879 char dnet_ntoa ();
29880 int
29881 main ()
29882 {
29883 dnet_ntoa ();
29884 ;
29885 return 0;
29886 }
29887 _ACEOF
29888 rm -f conftest.$ac_objext conftest$ac_exeext
29889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29890 (eval $ac_link) 2>conftest.er1
29891 ac_status=$?
29892 grep -v '^ *+' conftest.er1 >conftest.err
29893 rm -f conftest.er1
29894 cat conftest.err >&5
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); } &&
29897 { ac_try='test -z "$ac_cxx_werror_flag"
29898 || test ! -s conftest.err'
29899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900 (eval $ac_try) 2>&5
29901 ac_status=$?
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; } &&
29904 { ac_try='test -s conftest$ac_exeext'
29905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29906 (eval $ac_try) 2>&5
29907 ac_status=$?
29908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29909 (exit $ac_status); }; }; then
29910 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29911 else
29912 echo "$as_me: failed program was:" >&5
29913 sed 's/^/| /' conftest.$ac_ext >&5
29914
29915 ac_cv_lib_dnet_stub_dnet_ntoa=no
29916 fi
29917 rm -f conftest.err conftest.$ac_objext \
29918 conftest$ac_exeext conftest.$ac_ext
29919 LIBS=$ac_check_lib_save_LIBS
29920 fi
29921 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29922 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29923 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29924 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29925 fi
29926
29927 fi
29928 fi
29929 rm -f conftest.err conftest.$ac_objext \
29930 conftest$ac_exeext conftest.$ac_ext
29931 LIBS="$ac_xsave_LIBS"
29932
29933 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29934 # to get the SysV transport functions.
29935 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29936 # needs -lnsl.
29937 # The nsl library prevents programs from opening the X display
29938 # on Irix 5.2, according to T.E. Dickey.
29939 # The functions gethostbyname, getservbyname, and inet_addr are
29940 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29941 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29942 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29943 if test "${ac_cv_func_gethostbyname+set}" = set; then
29944 echo $ECHO_N "(cached) $ECHO_C" >&6
29945 else
29946 cat >conftest.$ac_ext <<_ACEOF
29947 /* confdefs.h. */
29948 _ACEOF
29949 cat confdefs.h >>conftest.$ac_ext
29950 cat >>conftest.$ac_ext <<_ACEOF
29951 /* end confdefs.h. */
29952 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29954 #define gethostbyname innocuous_gethostbyname
29955
29956 /* System header to define __stub macros and hopefully few prototypes,
29957 which can conflict with char gethostbyname (); below.
29958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29959 <limits.h> exists even on freestanding compilers. */
29960
29961 #ifdef __STDC__
29962 # include <limits.h>
29963 #else
29964 # include <assert.h>
29965 #endif
29966
29967 #undef gethostbyname
29968
29969 /* Override any gcc2 internal prototype to avoid an error. */
29970 #ifdef __cplusplus
29971 extern "C"
29972 {
29973 #endif
29974 /* We use char because int might match the return type of a gcc2
29975 builtin and then its argument prototype would still apply. */
29976 char gethostbyname ();
29977 /* The GNU C library defines this for functions which it implements
29978 to always fail with ENOSYS. Some functions are actually named
29979 something starting with __ and the normal name is an alias. */
29980 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29981 choke me
29982 #else
29983 char (*f) () = gethostbyname;
29984 #endif
29985 #ifdef __cplusplus
29986 }
29987 #endif
29988
29989 int
29990 main ()
29991 {
29992 return f != gethostbyname;
29993 ;
29994 return 0;
29995 }
29996 _ACEOF
29997 rm -f conftest.$ac_objext conftest$ac_exeext
29998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29999 (eval $ac_link) 2>conftest.er1
30000 ac_status=$?
30001 grep -v '^ *+' conftest.er1 >conftest.err
30002 rm -f conftest.er1
30003 cat conftest.err >&5
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); } &&
30006 { ac_try='test -z "$ac_cxx_werror_flag"
30007 || test ! -s conftest.err'
30008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30009 (eval $ac_try) 2>&5
30010 ac_status=$?
30011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012 (exit $ac_status); }; } &&
30013 { ac_try='test -s conftest$ac_exeext'
30014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30015 (eval $ac_try) 2>&5
30016 ac_status=$?
30017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30018 (exit $ac_status); }; }; then
30019 ac_cv_func_gethostbyname=yes
30020 else
30021 echo "$as_me: failed program was:" >&5
30022 sed 's/^/| /' conftest.$ac_ext >&5
30023
30024 ac_cv_func_gethostbyname=no
30025 fi
30026 rm -f conftest.err conftest.$ac_objext \
30027 conftest$ac_exeext conftest.$ac_ext
30028 fi
30029 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30030 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30031
30032 if test $ac_cv_func_gethostbyname = no; then
30033 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30034 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30035 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30036 echo $ECHO_N "(cached) $ECHO_C" >&6
30037 else
30038 ac_check_lib_save_LIBS=$LIBS
30039 LIBS="-lnsl $LIBS"
30040 cat >conftest.$ac_ext <<_ACEOF
30041 /* confdefs.h. */
30042 _ACEOF
30043 cat confdefs.h >>conftest.$ac_ext
30044 cat >>conftest.$ac_ext <<_ACEOF
30045 /* end confdefs.h. */
30046
30047 /* Override any gcc2 internal prototype to avoid an error. */
30048 #ifdef __cplusplus
30049 extern "C"
30050 #endif
30051 /* We use char because int might match the return type of a gcc2
30052 builtin and then its argument prototype would still apply. */
30053 char gethostbyname ();
30054 int
30055 main ()
30056 {
30057 gethostbyname ();
30058 ;
30059 return 0;
30060 }
30061 _ACEOF
30062 rm -f conftest.$ac_objext conftest$ac_exeext
30063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30064 (eval $ac_link) 2>conftest.er1
30065 ac_status=$?
30066 grep -v '^ *+' conftest.er1 >conftest.err
30067 rm -f conftest.er1
30068 cat conftest.err >&5
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); } &&
30071 { ac_try='test -z "$ac_cxx_werror_flag"
30072 || test ! -s conftest.err'
30073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30074 (eval $ac_try) 2>&5
30075 ac_status=$?
30076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30077 (exit $ac_status); }; } &&
30078 { ac_try='test -s conftest$ac_exeext'
30079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30080 (eval $ac_try) 2>&5
30081 ac_status=$?
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); }; }; then
30084 ac_cv_lib_nsl_gethostbyname=yes
30085 else
30086 echo "$as_me: failed program was:" >&5
30087 sed 's/^/| /' conftest.$ac_ext >&5
30088
30089 ac_cv_lib_nsl_gethostbyname=no
30090 fi
30091 rm -f conftest.err conftest.$ac_objext \
30092 conftest$ac_exeext conftest.$ac_ext
30093 LIBS=$ac_check_lib_save_LIBS
30094 fi
30095 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30096 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30097 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30098 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30099 fi
30100
30101 if test $ac_cv_lib_nsl_gethostbyname = no; then
30102 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30103 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30104 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30105 echo $ECHO_N "(cached) $ECHO_C" >&6
30106 else
30107 ac_check_lib_save_LIBS=$LIBS
30108 LIBS="-lbsd $LIBS"
30109 cat >conftest.$ac_ext <<_ACEOF
30110 /* confdefs.h. */
30111 _ACEOF
30112 cat confdefs.h >>conftest.$ac_ext
30113 cat >>conftest.$ac_ext <<_ACEOF
30114 /* end confdefs.h. */
30115
30116 /* Override any gcc2 internal prototype to avoid an error. */
30117 #ifdef __cplusplus
30118 extern "C"
30119 #endif
30120 /* We use char because int might match the return type of a gcc2
30121 builtin and then its argument prototype would still apply. */
30122 char gethostbyname ();
30123 int
30124 main ()
30125 {
30126 gethostbyname ();
30127 ;
30128 return 0;
30129 }
30130 _ACEOF
30131 rm -f conftest.$ac_objext conftest$ac_exeext
30132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30133 (eval $ac_link) 2>conftest.er1
30134 ac_status=$?
30135 grep -v '^ *+' conftest.er1 >conftest.err
30136 rm -f conftest.er1
30137 cat conftest.err >&5
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); } &&
30140 { ac_try='test -z "$ac_cxx_werror_flag"
30141 || test ! -s conftest.err'
30142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30143 (eval $ac_try) 2>&5
30144 ac_status=$?
30145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30146 (exit $ac_status); }; } &&
30147 { ac_try='test -s conftest$ac_exeext'
30148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30149 (eval $ac_try) 2>&5
30150 ac_status=$?
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); }; }; then
30153 ac_cv_lib_bsd_gethostbyname=yes
30154 else
30155 echo "$as_me: failed program was:" >&5
30156 sed 's/^/| /' conftest.$ac_ext >&5
30157
30158 ac_cv_lib_bsd_gethostbyname=no
30159 fi
30160 rm -f conftest.err conftest.$ac_objext \
30161 conftest$ac_exeext conftest.$ac_ext
30162 LIBS=$ac_check_lib_save_LIBS
30163 fi
30164 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30165 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30166 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30167 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30168 fi
30169
30170 fi
30171 fi
30172
30173 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30174 # socket/setsockopt and other routines are undefined under SCO ODT
30175 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30176 # on later versions), says Simon Leinen: it contains gethostby*
30177 # variants that don't use the name server (or something). -lsocket
30178 # must be given before -lnsl if both are needed. We assume that
30179 # if connect needs -lnsl, so does gethostbyname.
30180 echo "$as_me:$LINENO: checking for connect" >&5
30181 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30182 if test "${ac_cv_func_connect+set}" = set; then
30183 echo $ECHO_N "(cached) $ECHO_C" >&6
30184 else
30185 cat >conftest.$ac_ext <<_ACEOF
30186 /* confdefs.h. */
30187 _ACEOF
30188 cat confdefs.h >>conftest.$ac_ext
30189 cat >>conftest.$ac_ext <<_ACEOF
30190 /* end confdefs.h. */
30191 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30193 #define connect innocuous_connect
30194
30195 /* System header to define __stub macros and hopefully few prototypes,
30196 which can conflict with char connect (); below.
30197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30198 <limits.h> exists even on freestanding compilers. */
30199
30200 #ifdef __STDC__
30201 # include <limits.h>
30202 #else
30203 # include <assert.h>
30204 #endif
30205
30206 #undef connect
30207
30208 /* Override any gcc2 internal prototype to avoid an error. */
30209 #ifdef __cplusplus
30210 extern "C"
30211 {
30212 #endif
30213 /* We use char because int might match the return type of a gcc2
30214 builtin and then its argument prototype would still apply. */
30215 char connect ();
30216 /* The GNU C library defines this for functions which it implements
30217 to always fail with ENOSYS. Some functions are actually named
30218 something starting with __ and the normal name is an alias. */
30219 #if defined (__stub_connect) || defined (__stub___connect)
30220 choke me
30221 #else
30222 char (*f) () = connect;
30223 #endif
30224 #ifdef __cplusplus
30225 }
30226 #endif
30227
30228 int
30229 main ()
30230 {
30231 return f != connect;
30232 ;
30233 return 0;
30234 }
30235 _ACEOF
30236 rm -f conftest.$ac_objext conftest$ac_exeext
30237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30238 (eval $ac_link) 2>conftest.er1
30239 ac_status=$?
30240 grep -v '^ *+' conftest.er1 >conftest.err
30241 rm -f conftest.er1
30242 cat conftest.err >&5
30243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30244 (exit $ac_status); } &&
30245 { ac_try='test -z "$ac_cxx_werror_flag"
30246 || test ! -s conftest.err'
30247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30248 (eval $ac_try) 2>&5
30249 ac_status=$?
30250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30251 (exit $ac_status); }; } &&
30252 { ac_try='test -s conftest$ac_exeext'
30253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30254 (eval $ac_try) 2>&5
30255 ac_status=$?
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); }; }; then
30258 ac_cv_func_connect=yes
30259 else
30260 echo "$as_me: failed program was:" >&5
30261 sed 's/^/| /' conftest.$ac_ext >&5
30262
30263 ac_cv_func_connect=no
30264 fi
30265 rm -f conftest.err conftest.$ac_objext \
30266 conftest$ac_exeext conftest.$ac_ext
30267 fi
30268 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30269 echo "${ECHO_T}$ac_cv_func_connect" >&6
30270
30271 if test $ac_cv_func_connect = no; then
30272 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30273 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30274 if test "${ac_cv_lib_socket_connect+set}" = set; then
30275 echo $ECHO_N "(cached) $ECHO_C" >&6
30276 else
30277 ac_check_lib_save_LIBS=$LIBS
30278 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30279 cat >conftest.$ac_ext <<_ACEOF
30280 /* confdefs.h. */
30281 _ACEOF
30282 cat confdefs.h >>conftest.$ac_ext
30283 cat >>conftest.$ac_ext <<_ACEOF
30284 /* end confdefs.h. */
30285
30286 /* Override any gcc2 internal prototype to avoid an error. */
30287 #ifdef __cplusplus
30288 extern "C"
30289 #endif
30290 /* We use char because int might match the return type of a gcc2
30291 builtin and then its argument prototype would still apply. */
30292 char connect ();
30293 int
30294 main ()
30295 {
30296 connect ();
30297 ;
30298 return 0;
30299 }
30300 _ACEOF
30301 rm -f conftest.$ac_objext conftest$ac_exeext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30303 (eval $ac_link) 2>conftest.er1
30304 ac_status=$?
30305 grep -v '^ *+' conftest.er1 >conftest.err
30306 rm -f conftest.er1
30307 cat conftest.err >&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); } &&
30310 { ac_try='test -z "$ac_cxx_werror_flag"
30311 || test ! -s conftest.err'
30312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30313 (eval $ac_try) 2>&5
30314 ac_status=$?
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); }; } &&
30317 { ac_try='test -s conftest$ac_exeext'
30318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30319 (eval $ac_try) 2>&5
30320 ac_status=$?
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); }; }; then
30323 ac_cv_lib_socket_connect=yes
30324 else
30325 echo "$as_me: failed program was:" >&5
30326 sed 's/^/| /' conftest.$ac_ext >&5
30327
30328 ac_cv_lib_socket_connect=no
30329 fi
30330 rm -f conftest.err conftest.$ac_objext \
30331 conftest$ac_exeext conftest.$ac_ext
30332 LIBS=$ac_check_lib_save_LIBS
30333 fi
30334 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30335 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30336 if test $ac_cv_lib_socket_connect = yes; then
30337 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30338 fi
30339
30340 fi
30341
30342 # Guillermo Gomez says -lposix is necessary on A/UX.
30343 echo "$as_me:$LINENO: checking for remove" >&5
30344 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30345 if test "${ac_cv_func_remove+set}" = set; then
30346 echo $ECHO_N "(cached) $ECHO_C" >&6
30347 else
30348 cat >conftest.$ac_ext <<_ACEOF
30349 /* confdefs.h. */
30350 _ACEOF
30351 cat confdefs.h >>conftest.$ac_ext
30352 cat >>conftest.$ac_ext <<_ACEOF
30353 /* end confdefs.h. */
30354 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30356 #define remove innocuous_remove
30357
30358 /* System header to define __stub macros and hopefully few prototypes,
30359 which can conflict with char remove (); below.
30360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30361 <limits.h> exists even on freestanding compilers. */
30362
30363 #ifdef __STDC__
30364 # include <limits.h>
30365 #else
30366 # include <assert.h>
30367 #endif
30368
30369 #undef remove
30370
30371 /* Override any gcc2 internal prototype to avoid an error. */
30372 #ifdef __cplusplus
30373 extern "C"
30374 {
30375 #endif
30376 /* We use char because int might match the return type of a gcc2
30377 builtin and then its argument prototype would still apply. */
30378 char remove ();
30379 /* The GNU C library defines this for functions which it implements
30380 to always fail with ENOSYS. Some functions are actually named
30381 something starting with __ and the normal name is an alias. */
30382 #if defined (__stub_remove) || defined (__stub___remove)
30383 choke me
30384 #else
30385 char (*f) () = remove;
30386 #endif
30387 #ifdef __cplusplus
30388 }
30389 #endif
30390
30391 int
30392 main ()
30393 {
30394 return f != remove;
30395 ;
30396 return 0;
30397 }
30398 _ACEOF
30399 rm -f conftest.$ac_objext conftest$ac_exeext
30400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30401 (eval $ac_link) 2>conftest.er1
30402 ac_status=$?
30403 grep -v '^ *+' conftest.er1 >conftest.err
30404 rm -f conftest.er1
30405 cat conftest.err >&5
30406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30407 (exit $ac_status); } &&
30408 { ac_try='test -z "$ac_cxx_werror_flag"
30409 || test ! -s conftest.err'
30410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30411 (eval $ac_try) 2>&5
30412 ac_status=$?
30413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30414 (exit $ac_status); }; } &&
30415 { ac_try='test -s conftest$ac_exeext'
30416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30417 (eval $ac_try) 2>&5
30418 ac_status=$?
30419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420 (exit $ac_status); }; }; then
30421 ac_cv_func_remove=yes
30422 else
30423 echo "$as_me: failed program was:" >&5
30424 sed 's/^/| /' conftest.$ac_ext >&5
30425
30426 ac_cv_func_remove=no
30427 fi
30428 rm -f conftest.err conftest.$ac_objext \
30429 conftest$ac_exeext conftest.$ac_ext
30430 fi
30431 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30432 echo "${ECHO_T}$ac_cv_func_remove" >&6
30433
30434 if test $ac_cv_func_remove = no; then
30435 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30436 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30437 if test "${ac_cv_lib_posix_remove+set}" = set; then
30438 echo $ECHO_N "(cached) $ECHO_C" >&6
30439 else
30440 ac_check_lib_save_LIBS=$LIBS
30441 LIBS="-lposix $LIBS"
30442 cat >conftest.$ac_ext <<_ACEOF
30443 /* confdefs.h. */
30444 _ACEOF
30445 cat confdefs.h >>conftest.$ac_ext
30446 cat >>conftest.$ac_ext <<_ACEOF
30447 /* end confdefs.h. */
30448
30449 /* Override any gcc2 internal prototype to avoid an error. */
30450 #ifdef __cplusplus
30451 extern "C"
30452 #endif
30453 /* We use char because int might match the return type of a gcc2
30454 builtin and then its argument prototype would still apply. */
30455 char remove ();
30456 int
30457 main ()
30458 {
30459 remove ();
30460 ;
30461 return 0;
30462 }
30463 _ACEOF
30464 rm -f conftest.$ac_objext conftest$ac_exeext
30465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30466 (eval $ac_link) 2>conftest.er1
30467 ac_status=$?
30468 grep -v '^ *+' conftest.er1 >conftest.err
30469 rm -f conftest.er1
30470 cat conftest.err >&5
30471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30472 (exit $ac_status); } &&
30473 { ac_try='test -z "$ac_cxx_werror_flag"
30474 || test ! -s conftest.err'
30475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30476 (eval $ac_try) 2>&5
30477 ac_status=$?
30478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479 (exit $ac_status); }; } &&
30480 { ac_try='test -s conftest$ac_exeext'
30481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30482 (eval $ac_try) 2>&5
30483 ac_status=$?
30484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30485 (exit $ac_status); }; }; then
30486 ac_cv_lib_posix_remove=yes
30487 else
30488 echo "$as_me: failed program was:" >&5
30489 sed 's/^/| /' conftest.$ac_ext >&5
30490
30491 ac_cv_lib_posix_remove=no
30492 fi
30493 rm -f conftest.err conftest.$ac_objext \
30494 conftest$ac_exeext conftest.$ac_ext
30495 LIBS=$ac_check_lib_save_LIBS
30496 fi
30497 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30498 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30499 if test $ac_cv_lib_posix_remove = yes; then
30500 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30501 fi
30502
30503 fi
30504
30505 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30506 echo "$as_me:$LINENO: checking for shmat" >&5
30507 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30508 if test "${ac_cv_func_shmat+set}" = set; then
30509 echo $ECHO_N "(cached) $ECHO_C" >&6
30510 else
30511 cat >conftest.$ac_ext <<_ACEOF
30512 /* confdefs.h. */
30513 _ACEOF
30514 cat confdefs.h >>conftest.$ac_ext
30515 cat >>conftest.$ac_ext <<_ACEOF
30516 /* end confdefs.h. */
30517 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30519 #define shmat innocuous_shmat
30520
30521 /* System header to define __stub macros and hopefully few prototypes,
30522 which can conflict with char shmat (); below.
30523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30524 <limits.h> exists even on freestanding compilers. */
30525
30526 #ifdef __STDC__
30527 # include <limits.h>
30528 #else
30529 # include <assert.h>
30530 #endif
30531
30532 #undef shmat
30533
30534 /* Override any gcc2 internal prototype to avoid an error. */
30535 #ifdef __cplusplus
30536 extern "C"
30537 {
30538 #endif
30539 /* We use char because int might match the return type of a gcc2
30540 builtin and then its argument prototype would still apply. */
30541 char shmat ();
30542 /* The GNU C library defines this for functions which it implements
30543 to always fail with ENOSYS. Some functions are actually named
30544 something starting with __ and the normal name is an alias. */
30545 #if defined (__stub_shmat) || defined (__stub___shmat)
30546 choke me
30547 #else
30548 char (*f) () = shmat;
30549 #endif
30550 #ifdef __cplusplus
30551 }
30552 #endif
30553
30554 int
30555 main ()
30556 {
30557 return f != shmat;
30558 ;
30559 return 0;
30560 }
30561 _ACEOF
30562 rm -f conftest.$ac_objext conftest$ac_exeext
30563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30564 (eval $ac_link) 2>conftest.er1
30565 ac_status=$?
30566 grep -v '^ *+' conftest.er1 >conftest.err
30567 rm -f conftest.er1
30568 cat conftest.err >&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); } &&
30571 { ac_try='test -z "$ac_cxx_werror_flag"
30572 || test ! -s conftest.err'
30573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30574 (eval $ac_try) 2>&5
30575 ac_status=$?
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); }; } &&
30578 { ac_try='test -s conftest$ac_exeext'
30579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30580 (eval $ac_try) 2>&5
30581 ac_status=$?
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; }; then
30584 ac_cv_func_shmat=yes
30585 else
30586 echo "$as_me: failed program was:" >&5
30587 sed 's/^/| /' conftest.$ac_ext >&5
30588
30589 ac_cv_func_shmat=no
30590 fi
30591 rm -f conftest.err conftest.$ac_objext \
30592 conftest$ac_exeext conftest.$ac_ext
30593 fi
30594 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30595 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30596
30597 if test $ac_cv_func_shmat = no; then
30598 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30599 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30600 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30601 echo $ECHO_N "(cached) $ECHO_C" >&6
30602 else
30603 ac_check_lib_save_LIBS=$LIBS
30604 LIBS="-lipc $LIBS"
30605 cat >conftest.$ac_ext <<_ACEOF
30606 /* confdefs.h. */
30607 _ACEOF
30608 cat confdefs.h >>conftest.$ac_ext
30609 cat >>conftest.$ac_ext <<_ACEOF
30610 /* end confdefs.h. */
30611
30612 /* Override any gcc2 internal prototype to avoid an error. */
30613 #ifdef __cplusplus
30614 extern "C"
30615 #endif
30616 /* We use char because int might match the return type of a gcc2
30617 builtin and then its argument prototype would still apply. */
30618 char shmat ();
30619 int
30620 main ()
30621 {
30622 shmat ();
30623 ;
30624 return 0;
30625 }
30626 _ACEOF
30627 rm -f conftest.$ac_objext conftest$ac_exeext
30628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30629 (eval $ac_link) 2>conftest.er1
30630 ac_status=$?
30631 grep -v '^ *+' conftest.er1 >conftest.err
30632 rm -f conftest.er1
30633 cat conftest.err >&5
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); } &&
30636 { ac_try='test -z "$ac_cxx_werror_flag"
30637 || test ! -s conftest.err'
30638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30639 (eval $ac_try) 2>&5
30640 ac_status=$?
30641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30642 (exit $ac_status); }; } &&
30643 { ac_try='test -s conftest$ac_exeext'
30644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30645 (eval $ac_try) 2>&5
30646 ac_status=$?
30647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30648 (exit $ac_status); }; }; then
30649 ac_cv_lib_ipc_shmat=yes
30650 else
30651 echo "$as_me: failed program was:" >&5
30652 sed 's/^/| /' conftest.$ac_ext >&5
30653
30654 ac_cv_lib_ipc_shmat=no
30655 fi
30656 rm -f conftest.err conftest.$ac_objext \
30657 conftest$ac_exeext conftest.$ac_ext
30658 LIBS=$ac_check_lib_save_LIBS
30659 fi
30660 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30661 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30662 if test $ac_cv_lib_ipc_shmat = yes; then
30663 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30664 fi
30665
30666 fi
30667 fi
30668
30669 # Check for libraries that X11R6 Xt/Xaw programs need.
30670 ac_save_LDFLAGS=$LDFLAGS
30671 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30672 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30673 # check for ICE first), but we must link in the order -lSM -lICE or
30674 # we get undefined symbols. So assume we have SM if we have ICE.
30675 # These have to be linked with before -lX11, unlike the other
30676 # libraries we check for below, so use a different variable.
30677 # John Interrante, Karl Berry
30678 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30679 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30680 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30681 echo $ECHO_N "(cached) $ECHO_C" >&6
30682 else
30683 ac_check_lib_save_LIBS=$LIBS
30684 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30685 cat >conftest.$ac_ext <<_ACEOF
30686 /* confdefs.h. */
30687 _ACEOF
30688 cat confdefs.h >>conftest.$ac_ext
30689 cat >>conftest.$ac_ext <<_ACEOF
30690 /* end confdefs.h. */
30691
30692 /* Override any gcc2 internal prototype to avoid an error. */
30693 #ifdef __cplusplus
30694 extern "C"
30695 #endif
30696 /* We use char because int might match the return type of a gcc2
30697 builtin and then its argument prototype would still apply. */
30698 char IceConnectionNumber ();
30699 int
30700 main ()
30701 {
30702 IceConnectionNumber ();
30703 ;
30704 return 0;
30705 }
30706 _ACEOF
30707 rm -f conftest.$ac_objext conftest$ac_exeext
30708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30709 (eval $ac_link) 2>conftest.er1
30710 ac_status=$?
30711 grep -v '^ *+' conftest.er1 >conftest.err
30712 rm -f conftest.er1
30713 cat conftest.err >&5
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); } &&
30716 { ac_try='test -z "$ac_cxx_werror_flag"
30717 || test ! -s conftest.err'
30718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30719 (eval $ac_try) 2>&5
30720 ac_status=$?
30721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30722 (exit $ac_status); }; } &&
30723 { ac_try='test -s conftest$ac_exeext'
30724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30725 (eval $ac_try) 2>&5
30726 ac_status=$?
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); }; }; then
30729 ac_cv_lib_ICE_IceConnectionNumber=yes
30730 else
30731 echo "$as_me: failed program was:" >&5
30732 sed 's/^/| /' conftest.$ac_ext >&5
30733
30734 ac_cv_lib_ICE_IceConnectionNumber=no
30735 fi
30736 rm -f conftest.err conftest.$ac_objext \
30737 conftest$ac_exeext conftest.$ac_ext
30738 LIBS=$ac_check_lib_save_LIBS
30739 fi
30740 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30741 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30742 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30743 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30744 fi
30745
30746 LDFLAGS=$ac_save_LDFLAGS
30747
30748 fi
30749
30750
30751 if test "$no_x" = "yes"; then
30752 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30753 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30754 { (exit 1); exit 1; }; }
30755 fi
30756
30757 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30758 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30759 AFMINSTALL=afminstall
30760 COMPILED_X_PROGRAM=0
30761
30762 fi
30763
30764 if test "$wxUSE_X11" = 1; then
30765 if test "$wxUSE_NANOX" = "yes"; then
30766 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30767 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30768 if test "x$MICROWIN" = x ; then
30769 echo "$as_me:$LINENO: result: not found" >&5
30770 echo "${ECHO_T}not found" >&6
30771 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30772 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30773 { (exit 1); exit 1; }; }
30774 else
30775 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30776 echo "${ECHO_T}$MICROWIN" >&6
30777 cat >>confdefs.h <<\_ACEOF
30778 #define wxUSE_NANOX 1
30779 _ACEOF
30780
30781 fi
30782 fi
30783
30784 if test "$wxUSE_UNICODE" = "yes"; then
30785
30786 pkg_failed=no
30787 echo "$as_me:$LINENO: checking for PANGOX" >&5
30788 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30789
30790 if test -n "$PKG_CONFIG"; then
30791 if test -n "$PANGOX_CFLAGS"; then
30792 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30793 else
30794 if test -n "$PKG_CONFIG" && \
30795 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30796 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30797 ac_status=$?
30798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30799 (exit $ac_status); }; then
30800 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30801 else
30802 pkg_failed=yes
30803 fi
30804 fi
30805 else
30806 pkg_failed=untried
30807 fi
30808 if test -n "$PKG_CONFIG"; then
30809 if test -n "$PANGOX_LIBS"; then
30810 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30811 else
30812 if test -n "$PKG_CONFIG" && \
30813 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30814 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30815 ac_status=$?
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); }; then
30818 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30819 else
30820 pkg_failed=yes
30821 fi
30822 fi
30823 else
30824 pkg_failed=untried
30825 fi
30826
30827
30828
30829 if test $pkg_failed = yes; then
30830
30831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30832 _pkg_short_errors_supported=yes
30833 else
30834 _pkg_short_errors_supported=no
30835 fi
30836 if test $_pkg_short_errors_supported = yes; then
30837 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30838 else
30839 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30840 fi
30841 # Put the nasty error message in config.log where it belongs
30842 echo "$PANGOX_PKG_ERRORS" >&5
30843
30844
30845 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30846 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30847 { (exit 1); exit 1; }; }
30848
30849
30850 elif test $pkg_failed = untried; then
30851
30852 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30853 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30854 { (exit 1); exit 1; }; }
30855
30856
30857 else
30858 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30859 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30860 echo "$as_me:$LINENO: result: yes" >&5
30861 echo "${ECHO_T}yes" >&6
30862
30863 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30864 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30865
30866 fi
30867
30868 pkg_failed=no
30869 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30870 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30871
30872 if test -n "$PKG_CONFIG"; then
30873 if test -n "$PANGOFT2_CFLAGS"; then
30874 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30875 else
30876 if test -n "$PKG_CONFIG" && \
30877 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30878 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30879 ac_status=$?
30880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30881 (exit $ac_status); }; then
30882 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30883 else
30884 pkg_failed=yes
30885 fi
30886 fi
30887 else
30888 pkg_failed=untried
30889 fi
30890 if test -n "$PKG_CONFIG"; then
30891 if test -n "$PANGOFT2_LIBS"; then
30892 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30893 else
30894 if test -n "$PKG_CONFIG" && \
30895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30896 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30897 ac_status=$?
30898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899 (exit $ac_status); }; then
30900 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30901 else
30902 pkg_failed=yes
30903 fi
30904 fi
30905 else
30906 pkg_failed=untried
30907 fi
30908
30909
30910
30911 if test $pkg_failed = yes; then
30912
30913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30914 _pkg_short_errors_supported=yes
30915 else
30916 _pkg_short_errors_supported=no
30917 fi
30918 if test $_pkg_short_errors_supported = yes; then
30919 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30920 else
30921 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30922 fi
30923 # Put the nasty error message in config.log where it belongs
30924 echo "$PANGOFT2_PKG_ERRORS" >&5
30925
30926
30927 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30928 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30929 wxUSE_PRINTING_ARCHITECTURE="no"
30930
30931
30932 elif test $pkg_failed = untried; then
30933
30934 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30935 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30936 wxUSE_PRINTING_ARCHITECTURE="no"
30937
30938
30939 else
30940 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30941 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30942 echo "$as_me:$LINENO: result: yes" >&5
30943 echo "${ECHO_T}yes" >&6
30944
30945 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30946 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30947
30948 fi
30949
30950 pkg_failed=no
30951 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30952 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30953
30954 if test -n "$PKG_CONFIG"; then
30955 if test -n "$PANGOXFT_CFLAGS"; then
30956 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30957 else
30958 if test -n "$PKG_CONFIG" && \
30959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30960 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30961 ac_status=$?
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); }; then
30964 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30965 else
30966 pkg_failed=yes
30967 fi
30968 fi
30969 else
30970 pkg_failed=untried
30971 fi
30972 if test -n "$PKG_CONFIG"; then
30973 if test -n "$PANGOXFT_LIBS"; then
30974 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30975 else
30976 if test -n "$PKG_CONFIG" && \
30977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30978 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30979 ac_status=$?
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); }; then
30982 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30983 else
30984 pkg_failed=yes
30985 fi
30986 fi
30987 else
30988 pkg_failed=untried
30989 fi
30990
30991
30992
30993 if test $pkg_failed = yes; then
30994
30995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30996 _pkg_short_errors_supported=yes
30997 else
30998 _pkg_short_errors_supported=no
30999 fi
31000 if test $_pkg_short_errors_supported = yes; then
31001 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31002 else
31003 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31004 fi
31005 # Put the nasty error message in config.log where it belongs
31006 echo "$PANGOXFT_PKG_ERRORS" >&5
31007
31008
31009 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31010 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31011
31012
31013 elif test $pkg_failed = untried; then
31014
31015 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31016 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31017
31018
31019 else
31020 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31021 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31022 echo "$as_me:$LINENO: result: yes" >&5
31023 echo "${ECHO_T}yes" >&6
31024
31025 cat >>confdefs.h <<\_ACEOF
31026 #define HAVE_PANGO_XFT 1
31027 _ACEOF
31028
31029 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31030 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31031
31032 fi
31033 save_CXXFLAGS="$CXXFLAGS"
31034 save_LIBS="$LIBS"
31035 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31036 LIBS="$LIBS $PANGOX_LIBS"
31037
31038 for ac_func in pango_font_family_is_monospace
31039 do
31040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31041 echo "$as_me:$LINENO: checking for $ac_func" >&5
31042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31043 if eval "test \"\${$as_ac_var+set}\" = set"; then
31044 echo $ECHO_N "(cached) $ECHO_C" >&6
31045 else
31046 cat >conftest.$ac_ext <<_ACEOF
31047 /* confdefs.h. */
31048 _ACEOF
31049 cat confdefs.h >>conftest.$ac_ext
31050 cat >>conftest.$ac_ext <<_ACEOF
31051 /* end confdefs.h. */
31052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31054 #define $ac_func innocuous_$ac_func
31055
31056 /* System header to define __stub macros and hopefully few prototypes,
31057 which can conflict with char $ac_func (); below.
31058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31059 <limits.h> exists even on freestanding compilers. */
31060
31061 #ifdef __STDC__
31062 # include <limits.h>
31063 #else
31064 # include <assert.h>
31065 #endif
31066
31067 #undef $ac_func
31068
31069 /* Override any gcc2 internal prototype to avoid an error. */
31070 #ifdef __cplusplus
31071 extern "C"
31072 {
31073 #endif
31074 /* We use char because int might match the return type of a gcc2
31075 builtin and then its argument prototype would still apply. */
31076 char $ac_func ();
31077 /* The GNU C library defines this for functions which it implements
31078 to always fail with ENOSYS. Some functions are actually named
31079 something starting with __ and the normal name is an alias. */
31080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31081 choke me
31082 #else
31083 char (*f) () = $ac_func;
31084 #endif
31085 #ifdef __cplusplus
31086 }
31087 #endif
31088
31089 int
31090 main ()
31091 {
31092 return f != $ac_func;
31093 ;
31094 return 0;
31095 }
31096 _ACEOF
31097 rm -f conftest.$ac_objext conftest$ac_exeext
31098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31099 (eval $ac_link) 2>conftest.er1
31100 ac_status=$?
31101 grep -v '^ *+' conftest.er1 >conftest.err
31102 rm -f conftest.er1
31103 cat conftest.err >&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); } &&
31106 { ac_try='test -z "$ac_cxx_werror_flag"
31107 || test ! -s conftest.err'
31108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31109 (eval $ac_try) 2>&5
31110 ac_status=$?
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); }; } &&
31113 { ac_try='test -s conftest$ac_exeext'
31114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31115 (eval $ac_try) 2>&5
31116 ac_status=$?
31117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31118 (exit $ac_status); }; }; then
31119 eval "$as_ac_var=yes"
31120 else
31121 echo "$as_me: failed program was:" >&5
31122 sed 's/^/| /' conftest.$ac_ext >&5
31123
31124 eval "$as_ac_var=no"
31125 fi
31126 rm -f conftest.err conftest.$ac_objext \
31127 conftest$ac_exeext conftest.$ac_ext
31128 fi
31129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31131 if test `eval echo '${'$as_ac_var'}'` = yes; then
31132 cat >>confdefs.h <<_ACEOF
31133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31134 _ACEOF
31135
31136 fi
31137 done
31138
31139 CXXFLAGS="$save_CXXFLAGS"
31140 LIBS="$save_LIBS"
31141 fi
31142
31143 wxUSE_UNIVERSAL="yes"
31144
31145 if test "$wxUSE_NANOX" = "yes"; then
31146 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31147 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"
31148 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31149 else
31150 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31151 fi
31152
31153 TOOLKIT=X11
31154 GUIDIST=X11_DIST
31155 fi
31156
31157 if test "$wxUSE_MOTIF" = 1; then
31158 if test "$wxUSE_UNICODE" = "yes"; then
31159 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31160 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31161 { (exit 1); exit 1; }; }
31162 fi
31163
31164 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31165 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31166
31167 ac_find_includes=
31168 for ac_dir in $SEARCH_INCLUDE /usr/include;
31169 do
31170 if test -f "$ac_dir/Xm/Xm.h"; then
31171 ac_find_includes=$ac_dir
31172 break
31173 fi
31174 done
31175
31176 if test "$ac_find_includes" != "" ; then
31177 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31178 echo "${ECHO_T}found in $ac_find_includes" >&6
31179
31180 if test "x$ac_find_includes" = "x/usr/include"; then
31181 ac_path_to_include=""
31182 else
31183 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31184 result=$?
31185 if test $result = 0; then
31186 ac_path_to_include=""
31187 else
31188 ac_path_to_include=" -I$ac_find_includes"
31189 fi
31190 fi
31191
31192 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31193 else
31194 save_CXXFLAGS=$CXXFLAGS
31195 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31196
31197 cat >conftest.$ac_ext <<_ACEOF
31198 /* confdefs.h. */
31199 _ACEOF
31200 cat confdefs.h >>conftest.$ac_ext
31201 cat >>conftest.$ac_ext <<_ACEOF
31202 /* end confdefs.h. */
31203
31204 #include <Xm/Xm.h>
31205
31206 int
31207 main ()
31208 {
31209
31210 int version;
31211 version = xmUseVersion;
31212
31213 ;
31214 return 0;
31215 }
31216 _ACEOF
31217 rm -f conftest.$ac_objext
31218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31219 (eval $ac_compile) 2>conftest.er1
31220 ac_status=$?
31221 grep -v '^ *+' conftest.er1 >conftest.err
31222 rm -f conftest.er1
31223 cat conftest.err >&5
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); } &&
31226 { ac_try='test -z "$ac_cxx_werror_flag"
31227 || test ! -s conftest.err'
31228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31229 (eval $ac_try) 2>&5
31230 ac_status=$?
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); }; } &&
31233 { ac_try='test -s conftest.$ac_objext'
31234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31235 (eval $ac_try) 2>&5
31236 ac_status=$?
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); }; }; then
31239
31240 echo "$as_me:$LINENO: result: found in default search path" >&5
31241 echo "${ECHO_T}found in default search path" >&6
31242 COMPILED_X_PROGRAM=1
31243
31244 else
31245 echo "$as_me: failed program was:" >&5
31246 sed 's/^/| /' conftest.$ac_ext >&5
31247
31248
31249 echo "$as_me:$LINENO: result: no" >&5
31250 echo "${ECHO_T}no" >&6
31251 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31252 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31253 { (exit 1); exit 1; }; }
31254
31255
31256 fi
31257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31258
31259 CXXFLAGS=$save_CXXFLAGS
31260 fi
31261
31262
31263 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31264 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31265
31266 ac_find_libraries=
31267 for ac_dir in $SEARCH_LIB;
31268 do
31269 for ac_extension in a so sl dylib dll.a; do
31270 if test -f "$ac_dir/libXm.$ac_extension"; then
31271 ac_find_libraries=$ac_dir
31272 break 2
31273 fi
31274 done
31275 done
31276
31277
31278 if test "x$ac_find_libraries" != "x" ; then
31279 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31280 echo "${ECHO_T}found in $ac_find_libraries" >&6
31281
31282
31283 if test "$ac_find_libraries" = "default location"; then
31284 ac_path_to_link=""
31285 else
31286 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31287 result=$?
31288 if test $result = 0; then
31289 ac_path_to_link=""
31290 else
31291 ac_path_to_link=" -L$ac_find_libraries"
31292 fi
31293 fi
31294
31295 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31296 else
31297 save_CXXFLAGS=$CXXFLAGS
31298 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31299 save_LIBS="$LIBS"
31300 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31301
31302 cat >conftest.$ac_ext <<_ACEOF
31303 /* confdefs.h. */
31304 _ACEOF
31305 cat confdefs.h >>conftest.$ac_ext
31306 cat >>conftest.$ac_ext <<_ACEOF
31307 /* end confdefs.h. */
31308
31309 #include <Xm/Xm.h>
31310
31311 int
31312 main ()
31313 {
31314
31315 int version;
31316 version = xmUseVersion;
31317
31318 ;
31319 return 0;
31320 }
31321 _ACEOF
31322 rm -f conftest.$ac_objext conftest$ac_exeext
31323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31324 (eval $ac_link) 2>conftest.er1
31325 ac_status=$?
31326 grep -v '^ *+' conftest.er1 >conftest.err
31327 rm -f conftest.er1
31328 cat conftest.err >&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } &&
31331 { ac_try='test -z "$ac_cxx_werror_flag"
31332 || test ! -s conftest.err'
31333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31334 (eval $ac_try) 2>&5
31335 ac_status=$?
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); }; } &&
31338 { ac_try='test -s conftest$ac_exeext'
31339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31340 (eval $ac_try) 2>&5
31341 ac_status=$?
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; }; then
31344
31345 echo "$as_me:$LINENO: result: found in default search path" >&5
31346 echo "${ECHO_T}found in default search path" >&6
31347 COMPILED_X_PROGRAM=1
31348
31349 else
31350 echo "$as_me: failed program was:" >&5
31351 sed 's/^/| /' conftest.$ac_ext >&5
31352
31353
31354 echo "$as_me:$LINENO: result: no" >&5
31355 echo "${ECHO_T}no" >&6
31356 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31357 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31358 { (exit 1); exit 1; }; }
31359
31360
31361 fi
31362 rm -f conftest.err conftest.$ac_objext \
31363 conftest$ac_exeext conftest.$ac_ext
31364
31365 CXXFLAGS=$save_CXXFLAGS
31366 LIBS="$save_LIBS"
31367 fi
31368
31369 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31370 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31371 libp_link=""
31372 libsm_ice_link=""
31373 libs_found=0
31374 for libp in "" " -lXp"; do
31375 if test "$libs_found" = "0"; then
31376 for libsm_ice in "" " -lSM -lICE"; do
31377 if test "$libs_found" = "0"; then
31378 save_LIBS="$LIBS"
31379 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31380 save_CXXFLAGS=$CXXFLAGS
31381 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31382
31383 cat >conftest.$ac_ext <<_ACEOF
31384 /* confdefs.h. */
31385 _ACEOF
31386 cat confdefs.h >>conftest.$ac_ext
31387 cat >>conftest.$ac_ext <<_ACEOF
31388 /* end confdefs.h. */
31389
31390 #include <Xm/Xm.h>
31391 #include <Xm/List.h>
31392
31393 int
31394 main ()
31395 {
31396
31397 XmString string = NULL;
31398 Widget w = NULL;
31399 int position = 0;
31400 XmListAddItem(w, string, position);
31401
31402 ;
31403 return 0;
31404 }
31405 _ACEOF
31406 rm -f conftest.$ac_objext conftest$ac_exeext
31407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31408 (eval $ac_link) 2>conftest.er1
31409 ac_status=$?
31410 grep -v '^ *+' conftest.er1 >conftest.err
31411 rm -f conftest.er1
31412 cat conftest.err >&5
31413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31414 (exit $ac_status); } &&
31415 { ac_try='test -z "$ac_cxx_werror_flag"
31416 || test ! -s conftest.err'
31417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31418 (eval $ac_try) 2>&5
31419 ac_status=$?
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 (exit $ac_status); }; } &&
31422 { ac_try='test -s conftest$ac_exeext'
31423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31424 (eval $ac_try) 2>&5
31425 ac_status=$?
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); }; }; then
31428
31429 libp_link="$libp"
31430 libsm_ice_link="$libsm_ice"
31431 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31432 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31433 libs_found=1
31434
31435 else
31436 echo "$as_me: failed program was:" >&5
31437 sed 's/^/| /' conftest.$ac_ext >&5
31438
31439
31440
31441 fi
31442 rm -f conftest.err conftest.$ac_objext \
31443 conftest$ac_exeext conftest.$ac_ext
31444
31445 LIBS="$save_LIBS"
31446 CXXFLAGS=$save_CXXFLAGS
31447 fi
31448 done
31449 fi
31450 done
31451
31452 if test "$libs_found" = "0"; then
31453 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31454 echo "${ECHO_T}can't find the right libraries" >&6
31455 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31456 echo "$as_me: error: can't link a simple motif program" >&2;}
31457 { (exit 1); exit 1; }; }
31458 fi
31459
31460 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31461 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31462 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31463 echo $ECHO_N "(cached) $ECHO_C" >&6
31464 else
31465 ac_check_lib_save_LIBS=$LIBS
31466 LIBS="-lSgm $LIBS"
31467 cat >conftest.$ac_ext <<_ACEOF
31468 /* confdefs.h. */
31469 _ACEOF
31470 cat confdefs.h >>conftest.$ac_ext
31471 cat >>conftest.$ac_ext <<_ACEOF
31472 /* end confdefs.h. */
31473
31474 /* Override any gcc2 internal prototype to avoid an error. */
31475 #ifdef __cplusplus
31476 extern "C"
31477 #endif
31478 /* We use char because int might match the return type of a gcc2
31479 builtin and then its argument prototype would still apply. */
31480 char SgCreateList ();
31481 int
31482 main ()
31483 {
31484 SgCreateList ();
31485 ;
31486 return 0;
31487 }
31488 _ACEOF
31489 rm -f conftest.$ac_objext conftest$ac_exeext
31490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31491 (eval $ac_link) 2>conftest.er1
31492 ac_status=$?
31493 grep -v '^ *+' conftest.er1 >conftest.err
31494 rm -f conftest.er1
31495 cat conftest.err >&5
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); } &&
31498 { ac_try='test -z "$ac_cxx_werror_flag"
31499 || test ! -s conftest.err'
31500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31501 (eval $ac_try) 2>&5
31502 ac_status=$?
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); }; } &&
31505 { ac_try='test -s conftest$ac_exeext'
31506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31507 (eval $ac_try) 2>&5
31508 ac_status=$?
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); }; }; then
31511 ac_cv_lib_Sgm_SgCreateList=yes
31512 else
31513 echo "$as_me: failed program was:" >&5
31514 sed 's/^/| /' conftest.$ac_ext >&5
31515
31516 ac_cv_lib_Sgm_SgCreateList=no
31517 fi
31518 rm -f conftest.err conftest.$ac_objext \
31519 conftest$ac_exeext conftest.$ac_ext
31520 LIBS=$ac_check_lib_save_LIBS
31521 fi
31522 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31523 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31524 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31525 libsgm_link=" -lSgm"
31526 fi
31527
31528
31529 save_CXXFLAGS=$CXXFLAGS
31530 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31531
31532 echo "$as_me:$LINENO: checking for Motif 2" >&5
31533 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31534 if test "${wx_cv_lib_motif2+set}" = set; then
31535 echo $ECHO_N "(cached) $ECHO_C" >&6
31536 else
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
31546 int
31547 main ()
31548 {
31549
31550 #if XmVersion < 2000
31551 Not Motif 2
31552 #endif
31553
31554 ;
31555 return 0;
31556 }
31557 _ACEOF
31558 rm -f conftest.$ac_objext
31559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31560 (eval $ac_compile) 2>conftest.er1
31561 ac_status=$?
31562 grep -v '^ *+' conftest.er1 >conftest.err
31563 rm -f conftest.er1
31564 cat conftest.err >&5
31565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31566 (exit $ac_status); } &&
31567 { ac_try='test -z "$ac_cxx_werror_flag"
31568 || test ! -s conftest.err'
31569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31570 (eval $ac_try) 2>&5
31571 ac_status=$?
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); }; } &&
31574 { ac_try='test -s conftest.$ac_objext'
31575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31576 (eval $ac_try) 2>&5
31577 ac_status=$?
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); }; }; then
31580 wx_cv_lib_motif2="yes"
31581 else
31582 echo "$as_me: failed program was:" >&5
31583 sed 's/^/| /' conftest.$ac_ext >&5
31584
31585 wx_cv_lib_motif2="no"
31586 fi
31587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31588 fi
31589 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31590 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31591 if test "$wx_cv_lib_motif2" = "yes"; then
31592 cat >>confdefs.h <<\_ACEOF
31593 #define __WXMOTIF20__ 1
31594 _ACEOF
31595
31596 else
31597 cat >>confdefs.h <<\_ACEOF
31598 #define __WXMOTIF20__ 0
31599 _ACEOF
31600
31601 fi
31602
31603 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31604 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31605 if test "${wx_cv_lib_lesstif+set}" = set; then
31606 echo $ECHO_N "(cached) $ECHO_C" >&6
31607 else
31608 cat >conftest.$ac_ext <<_ACEOF
31609 /* confdefs.h. */
31610 _ACEOF
31611 cat confdefs.h >>conftest.$ac_ext
31612 cat >>conftest.$ac_ext <<_ACEOF
31613 /* end confdefs.h. */
31614
31615 #include <Xm/Xm.h>
31616
31617 int
31618 main ()
31619 {
31620
31621 #if !defined(LesstifVersion) || LesstifVersion <= 0
31622 Not Lesstif
31623 #endif
31624
31625 ;
31626 return 0;
31627 }
31628 _ACEOF
31629 rm -f conftest.$ac_objext
31630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31631 (eval $ac_compile) 2>conftest.er1
31632 ac_status=$?
31633 grep -v '^ *+' conftest.er1 >conftest.err
31634 rm -f conftest.er1
31635 cat conftest.err >&5
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); } &&
31638 { ac_try='test -z "$ac_cxx_werror_flag"
31639 || test ! -s conftest.err'
31640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31641 (eval $ac_try) 2>&5
31642 ac_status=$?
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); }; } &&
31645 { ac_try='test -s conftest.$ac_objext'
31646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31647 (eval $ac_try) 2>&5
31648 ac_status=$?
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); }; }; then
31651 wx_cv_lib_lesstif="yes"
31652 else
31653 echo "$as_me: failed program was:" >&5
31654 sed 's/^/| /' conftest.$ac_ext >&5
31655
31656 wx_cv_lib_lesstif="no"
31657 fi
31658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31659
31660 fi
31661 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31662 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31663 if test "$wx_cv_lib_lesstif" = "yes"; then
31664 cat >>confdefs.h <<\_ACEOF
31665 #define __WXLESSTIF__ 1
31666 _ACEOF
31667
31668 else
31669 cat >>confdefs.h <<\_ACEOF
31670 #define __WXLESSTIF__ 0
31671 _ACEOF
31672
31673 fi
31674
31675 CXXFLAGS=$save_CXXFLAGS
31676
31677 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31678 TOOLKIT=MOTIF
31679 GUIDIST=MOTIF_DIST
31680 fi
31681
31682 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31683 if test "$wxUSE_LIBXPM" = "sys"; then
31684 echo "$as_me:$LINENO: checking for Xpm library" >&5
31685 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31686
31687 ac_find_libraries=
31688 for ac_dir in $SEARCH_LIB;
31689 do
31690 for ac_extension in a so sl dylib dll.a; do
31691 if test -f "$ac_dir/libXpm.$ac_extension"; then
31692 ac_find_libraries=$ac_dir
31693 break 2
31694 fi
31695 done
31696 done
31697
31698 if test "$ac_find_libraries" != "" ; then
31699
31700 if test "$ac_find_libraries" = "default location"; then
31701 ac_path_to_link=""
31702 else
31703 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31704 result=$?
31705 if test $result = 0; then
31706 ac_path_to_link=""
31707 else
31708 ac_path_to_link=" -L$ac_find_libraries"
31709 fi
31710 fi
31711
31712 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31713 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31714 echo "${ECHO_T}found in $ac_find_libraries" >&6
31715
31716 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31717 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31718 if test "${wx_cv_x11_xpm_h+set}" = set; then
31719 echo $ECHO_N "(cached) $ECHO_C" >&6
31720 else
31721
31722 save_CXXFLAGS=$CXXFLAGS
31723 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31724
31725 cat >conftest.$ac_ext <<_ACEOF
31726 /* confdefs.h. */
31727 _ACEOF
31728 cat confdefs.h >>conftest.$ac_ext
31729 cat >>conftest.$ac_ext <<_ACEOF
31730 /* end confdefs.h. */
31731
31732 #include <X11/xpm.h>
31733
31734 int
31735 main ()
31736 {
31737
31738 int version;
31739 version = XpmLibraryVersion();
31740
31741 ;
31742 return 0;
31743 }
31744 _ACEOF
31745 rm -f conftest.$ac_objext
31746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31747 (eval $ac_compile) 2>conftest.er1
31748 ac_status=$?
31749 grep -v '^ *+' conftest.er1 >conftest.err
31750 rm -f conftest.er1
31751 cat conftest.err >&5
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); } &&
31754 { ac_try='test -z "$ac_cxx_werror_flag"
31755 || test ! -s conftest.err'
31756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31757 (eval $ac_try) 2>&5
31758 ac_status=$?
31759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31760 (exit $ac_status); }; } &&
31761 { ac_try='test -s conftest.$ac_objext'
31762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31763 (eval $ac_try) 2>&5
31764 ac_status=$?
31765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31766 (exit $ac_status); }; }; then
31767 wx_cv_x11_xpm_h=yes
31768 else
31769 echo "$as_me: failed program was:" >&5
31770 sed 's/^/| /' conftest.$ac_ext >&5
31771
31772 wx_cv_x11_xpm_h=no
31773
31774 fi
31775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31776
31777 CXXFLAGS=$save_CXXFLAGS
31778
31779
31780 fi
31781 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31782 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31783
31784 if test $wx_cv_x11_xpm_h = "yes"; then
31785 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31786 cat >>confdefs.h <<\_ACEOF
31787 #define wxHAVE_LIB_XPM 1
31788 _ACEOF
31789
31790 else
31791 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31792 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31793 fi
31794 fi
31795
31796 fi
31797
31798 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31799 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31800 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31801 echo $ECHO_N "(cached) $ECHO_C" >&6
31802 else
31803 ac_check_lib_save_LIBS=$LIBS
31804 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31805 cat >conftest.$ac_ext <<_ACEOF
31806 /* confdefs.h. */
31807 _ACEOF
31808 cat confdefs.h >>conftest.$ac_ext
31809 cat >>conftest.$ac_ext <<_ACEOF
31810 /* end confdefs.h. */
31811
31812 /* Override any gcc2 internal prototype to avoid an error. */
31813 #ifdef __cplusplus
31814 extern "C"
31815 #endif
31816 /* We use char because int might match the return type of a gcc2
31817 builtin and then its argument prototype would still apply. */
31818 char XShapeQueryExtension ();
31819 int
31820 main ()
31821 {
31822 XShapeQueryExtension ();
31823 ;
31824 return 0;
31825 }
31826 _ACEOF
31827 rm -f conftest.$ac_objext conftest$ac_exeext
31828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31829 (eval $ac_link) 2>conftest.er1
31830 ac_status=$?
31831 grep -v '^ *+' conftest.er1 >conftest.err
31832 rm -f conftest.er1
31833 cat conftest.err >&5
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); } &&
31836 { ac_try='test -z "$ac_cxx_werror_flag"
31837 || test ! -s conftest.err'
31838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31839 (eval $ac_try) 2>&5
31840 ac_status=$?
31841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31842 (exit $ac_status); }; } &&
31843 { ac_try='test -s conftest$ac_exeext'
31844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31845 (eval $ac_try) 2>&5
31846 ac_status=$?
31847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31848 (exit $ac_status); }; }; then
31849 ac_cv_lib_Xext_XShapeQueryExtension=yes
31850 else
31851 echo "$as_me: failed program was:" >&5
31852 sed 's/^/| /' conftest.$ac_ext >&5
31853
31854 ac_cv_lib_Xext_XShapeQueryExtension=no
31855 fi
31856 rm -f conftest.err conftest.$ac_objext \
31857 conftest$ac_exeext conftest.$ac_ext
31858 LIBS=$ac_check_lib_save_LIBS
31859 fi
31860 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31861 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31862 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31863
31864 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31865 wxHAVE_XEXT_LIB=1
31866
31867 fi
31868
31869
31870 if test "$wxHAVE_XEXT_LIB" = 1; then
31871 save_CXXFLAGS="$CXXFLAGS"
31872 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31873
31874 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31875 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31876 cat >conftest.$ac_ext <<_ACEOF
31877 /* confdefs.h. */
31878 _ACEOF
31879 cat confdefs.h >>conftest.$ac_ext
31880 cat >>conftest.$ac_ext <<_ACEOF
31881 /* end confdefs.h. */
31882
31883 #include <X11/Xlib.h>
31884 #include <X11/extensions/shape.h>
31885
31886 int
31887 main ()
31888 {
31889
31890 int dummy1, dummy2;
31891 XShapeQueryExtension((Display*)NULL,
31892 (int*)NULL, (int*)NULL);
31893
31894 ;
31895 return 0;
31896 }
31897 _ACEOF
31898 rm -f conftest.$ac_objext
31899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31900 (eval $ac_compile) 2>conftest.er1
31901 ac_status=$?
31902 grep -v '^ *+' conftest.er1 >conftest.err
31903 rm -f conftest.er1
31904 cat conftest.err >&5
31905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31906 (exit $ac_status); } &&
31907 { ac_try='test -z "$ac_cxx_werror_flag"
31908 || test ! -s conftest.err'
31909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31910 (eval $ac_try) 2>&5
31911 ac_status=$?
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); }; } &&
31914 { ac_try='test -s conftest.$ac_objext'
31915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31916 (eval $ac_try) 2>&5
31917 ac_status=$?
31918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919 (exit $ac_status); }; }; then
31920
31921 cat >>confdefs.h <<\_ACEOF
31922 #define HAVE_XSHAPE 1
31923 _ACEOF
31924
31925 echo "$as_me:$LINENO: result: found" >&5
31926 echo "${ECHO_T}found" >&6
31927
31928 else
31929 echo "$as_me: failed program was:" >&5
31930 sed 's/^/| /' conftest.$ac_ext >&5
31931
31932
31933 echo "$as_me:$LINENO: result: not found" >&5
31934 echo "${ECHO_T}not found" >&6
31935
31936 fi
31937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31938 CXXFLAGS="$save_CXXFLAGS"
31939
31940 fi
31941 fi
31942
31943 if test "$wxUSE_MAC" = 1; then
31944 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31945 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31946 if test "$GCC" = yes; then
31947 echo "$as_me:$LINENO: result: gcc" >&5
31948 echo "${ECHO_T}gcc" >&6
31949 CPPFLAGS_PASCAL="-fpascal-strings"
31950 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31951 echo "$as_me:$LINENO: result: xlc" >&5
31952 echo "${ECHO_T}xlc" >&6
31953 CPPFLAGS_PASCAL="-qmacpstr"
31954 else
31955 echo "$as_me:$LINENO: result: none" >&5
31956 echo "${ECHO_T}none" >&6
31957 fi
31958
31959 if test "x$wxUSE_UNIX" = "xyes"; then
31960 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31961 else
31962 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31963 fi
31964
31965 TOOLKIT=MAC
31966 GUIDIST=MACX_DIST
31967 WXBASEPORT="_carbon"
31968 fi
31969
31970 if test "$wxUSE_COCOA" = 1; then
31971 TOOLKIT=COCOA
31972 GUIDIST=COCOA_DIST
31973 fi
31974
31975 if test "$wxUSE_PM" = 1; then
31976 TOOLKIT=PM
31977 GUIDIST=PM_DIST
31978 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31979 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31980 if test "${wx_cv_spbcdata+set}" = set; then
31981 echo $ECHO_N "(cached) $ECHO_C" >&6
31982 else
31983
31984 cat >conftest.$ac_ext <<_ACEOF
31985 /* confdefs.h. */
31986 _ACEOF
31987 cat confdefs.h >>conftest.$ac_ext
31988 cat >>conftest.$ac_ext <<_ACEOF
31989 /* end confdefs.h. */
31990
31991 #define INCL_PM
31992 #include <os2.h>
31993
31994 int
31995 main ()
31996 {
31997
31998 SPBCDATA test;
31999
32000 ;
32001 return 0;
32002 }
32003 _ACEOF
32004 rm -f conftest.$ac_objext
32005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32006 (eval $ac_compile) 2>conftest.er1
32007 ac_status=$?
32008 grep -v '^ *+' conftest.er1 >conftest.err
32009 rm -f conftest.er1
32010 cat conftest.err >&5
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); } &&
32013 { ac_try='test -z "$ac_cxx_werror_flag"
32014 || test ! -s conftest.err'
32015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32016 (eval $ac_try) 2>&5
32017 ac_status=$?
32018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32019 (exit $ac_status); }; } &&
32020 { ac_try='test -s conftest.$ac_objext'
32021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32022 (eval $ac_try) 2>&5
32023 ac_status=$?
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); }; }; then
32026 wx_cv_spbcdata=yes
32027 else
32028 echo "$as_me: failed program was:" >&5
32029 sed 's/^/| /' conftest.$ac_ext >&5
32030
32031 wx_cv_spbcdata=no
32032
32033 fi
32034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32035
32036
32037 fi
32038 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32039 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32040
32041 if test $wx_cv_spbcdata = "yes"; then
32042 cat >>confdefs.h <<\_ACEOF
32043 #define HAVE_SPBCDATA 1
32044 _ACEOF
32045
32046 fi
32047 fi
32048
32049 if test "$TOOLKIT" = "PM" ; then
32050 TOOLKIT_DIR="os2"
32051 else
32052 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32053 fi
32054
32055 if test "$wxUSE_UNIVERSAL" = "yes"; then
32056 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32057 WIDGET_SET=univ
32058 fi
32059
32060 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32061 DISTDIR="wx\$(TOOLKIT)"
32062 else
32063 USE_GUI=0
32064
32065 TOOLKIT_DIR="base"
32066
32067 if test "$USE_WIN32" = 1 ; then
32068 TOOLKIT="MSW"
32069 fi
32070
32071 GUIDIST="BASE_DIST"
32072 DISTDIR="wxBase"
32073 fi
32074
32075
32076 if test "$wxUSE_GUI" = "yes"; then
32077 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32078
32079 for ac_header in X11/Xlib.h
32080 do
32081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32083 echo "$as_me:$LINENO: checking for $ac_header" >&5
32084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32086 echo $ECHO_N "(cached) $ECHO_C" >&6
32087 fi
32088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32090 else
32091 # Is the header compilable?
32092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32094 cat >conftest.$ac_ext <<_ACEOF
32095 /* confdefs.h. */
32096 _ACEOF
32097 cat confdefs.h >>conftest.$ac_ext
32098 cat >>conftest.$ac_ext <<_ACEOF
32099 /* end confdefs.h. */
32100 $ac_includes_default
32101 #include <$ac_header>
32102 _ACEOF
32103 rm -f conftest.$ac_objext
32104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32105 (eval $ac_compile) 2>conftest.er1
32106 ac_status=$?
32107 grep -v '^ *+' conftest.er1 >conftest.err
32108 rm -f conftest.er1
32109 cat conftest.err >&5
32110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32111 (exit $ac_status); } &&
32112 { ac_try='test -z "$ac_cxx_werror_flag"
32113 || test ! -s conftest.err'
32114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32115 (eval $ac_try) 2>&5
32116 ac_status=$?
32117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32118 (exit $ac_status); }; } &&
32119 { ac_try='test -s conftest.$ac_objext'
32120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32121 (eval $ac_try) 2>&5
32122 ac_status=$?
32123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124 (exit $ac_status); }; }; then
32125 ac_header_compiler=yes
32126 else
32127 echo "$as_me: failed program was:" >&5
32128 sed 's/^/| /' conftest.$ac_ext >&5
32129
32130 ac_header_compiler=no
32131 fi
32132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32134 echo "${ECHO_T}$ac_header_compiler" >&6
32135
32136 # Is the header present?
32137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32139 cat >conftest.$ac_ext <<_ACEOF
32140 /* confdefs.h. */
32141 _ACEOF
32142 cat confdefs.h >>conftest.$ac_ext
32143 cat >>conftest.$ac_ext <<_ACEOF
32144 /* end confdefs.h. */
32145 #include <$ac_header>
32146 _ACEOF
32147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32149 ac_status=$?
32150 grep -v '^ *+' conftest.er1 >conftest.err
32151 rm -f conftest.er1
32152 cat conftest.err >&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); } >/dev/null; then
32155 if test -s conftest.err; then
32156 ac_cpp_err=$ac_cxx_preproc_warn_flag
32157 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32158 else
32159 ac_cpp_err=
32160 fi
32161 else
32162 ac_cpp_err=yes
32163 fi
32164 if test -z "$ac_cpp_err"; then
32165 ac_header_preproc=yes
32166 else
32167 echo "$as_me: failed program was:" >&5
32168 sed 's/^/| /' conftest.$ac_ext >&5
32169
32170 ac_header_preproc=no
32171 fi
32172 rm -f conftest.err conftest.$ac_ext
32173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32174 echo "${ECHO_T}$ac_header_preproc" >&6
32175
32176 # So? What about this header?
32177 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32178 yes:no: )
32179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32183 ac_header_preproc=yes
32184 ;;
32185 no:yes:* )
32186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32198 (
32199 cat <<\_ASBOX
32200 ## ----------------------------------------- ##
32201 ## Report this to wx-dev@lists.wxwidgets.org ##
32202 ## ----------------------------------------- ##
32203 _ASBOX
32204 ) |
32205 sed "s/^/$as_me: WARNING: /" >&2
32206 ;;
32207 esac
32208 echo "$as_me:$LINENO: checking for $ac_header" >&5
32209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32211 echo $ECHO_N "(cached) $ECHO_C" >&6
32212 else
32213 eval "$as_ac_Header=\$ac_header_preproc"
32214 fi
32215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32217
32218 fi
32219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32220 cat >>confdefs.h <<_ACEOF
32221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32222 _ACEOF
32223
32224 fi
32225
32226 done
32227
32228
32229 for ac_header in X11/XKBlib.h
32230 do
32231 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32232 echo "$as_me:$LINENO: checking for $ac_header" >&5
32233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32235 echo $ECHO_N "(cached) $ECHO_C" >&6
32236 else
32237 cat >conftest.$ac_ext <<_ACEOF
32238 /* confdefs.h. */
32239 _ACEOF
32240 cat confdefs.h >>conftest.$ac_ext
32241 cat >>conftest.$ac_ext <<_ACEOF
32242 /* end confdefs.h. */
32243
32244 #if HAVE_X11_XLIB_H
32245 #include <X11/Xlib.h>
32246 #endif
32247
32248
32249 #include <$ac_header>
32250 _ACEOF
32251 rm -f conftest.$ac_objext
32252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32253 (eval $ac_compile) 2>conftest.er1
32254 ac_status=$?
32255 grep -v '^ *+' conftest.er1 >conftest.err
32256 rm -f conftest.er1
32257 cat conftest.err >&5
32258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259 (exit $ac_status); } &&
32260 { ac_try='test -z "$ac_cxx_werror_flag"
32261 || test ! -s conftest.err'
32262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32263 (eval $ac_try) 2>&5
32264 ac_status=$?
32265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32266 (exit $ac_status); }; } &&
32267 { ac_try='test -s conftest.$ac_objext'
32268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32269 (eval $ac_try) 2>&5
32270 ac_status=$?
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); }; }; then
32273 eval "$as_ac_Header=yes"
32274 else
32275 echo "$as_me: failed program was:" >&5
32276 sed 's/^/| /' conftest.$ac_ext >&5
32277
32278 eval "$as_ac_Header=no"
32279 fi
32280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32281 fi
32282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32284 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32285 cat >>confdefs.h <<_ACEOF
32286 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32287 _ACEOF
32288
32289 fi
32290
32291 done
32292
32293 fi
32294 fi
32295
32296
32297
32298 IODBC_C_SRC=""
32299
32300
32301 if test "$TOOLKIT" != "MSW" ; then
32302
32303 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32304
32305 if test "${ac_cv_header_sql_h+set}" = set; then
32306 echo "$as_me:$LINENO: checking for sql.h" >&5
32307 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32308 if test "${ac_cv_header_sql_h+set}" = set; then
32309 echo $ECHO_N "(cached) $ECHO_C" >&6
32310 fi
32311 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32312 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32313 else
32314 # Is the header compilable?
32315 echo "$as_me:$LINENO: checking sql.h usability" >&5
32316 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32317 cat >conftest.$ac_ext <<_ACEOF
32318 /* confdefs.h. */
32319 _ACEOF
32320 cat confdefs.h >>conftest.$ac_ext
32321 cat >>conftest.$ac_ext <<_ACEOF
32322 /* end confdefs.h. */
32323 $ac_includes_default
32324 #include <sql.h>
32325 _ACEOF
32326 rm -f conftest.$ac_objext
32327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32328 (eval $ac_compile) 2>conftest.er1
32329 ac_status=$?
32330 grep -v '^ *+' conftest.er1 >conftest.err
32331 rm -f conftest.er1
32332 cat conftest.err >&5
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); } &&
32335 { ac_try='test -z "$ac_cxx_werror_flag"
32336 || test ! -s conftest.err'
32337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32338 (eval $ac_try) 2>&5
32339 ac_status=$?
32340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32341 (exit $ac_status); }; } &&
32342 { ac_try='test -s conftest.$ac_objext'
32343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32344 (eval $ac_try) 2>&5
32345 ac_status=$?
32346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32347 (exit $ac_status); }; }; then
32348 ac_header_compiler=yes
32349 else
32350 echo "$as_me: failed program was:" >&5
32351 sed 's/^/| /' conftest.$ac_ext >&5
32352
32353 ac_header_compiler=no
32354 fi
32355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32356 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32357 echo "${ECHO_T}$ac_header_compiler" >&6
32358
32359 # Is the header present?
32360 echo "$as_me:$LINENO: checking sql.h presence" >&5
32361 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32362 cat >conftest.$ac_ext <<_ACEOF
32363 /* confdefs.h. */
32364 _ACEOF
32365 cat confdefs.h >>conftest.$ac_ext
32366 cat >>conftest.$ac_ext <<_ACEOF
32367 /* end confdefs.h. */
32368 #include <sql.h>
32369 _ACEOF
32370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32372 ac_status=$?
32373 grep -v '^ *+' conftest.er1 >conftest.err
32374 rm -f conftest.er1
32375 cat conftest.err >&5
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); } >/dev/null; then
32378 if test -s conftest.err; then
32379 ac_cpp_err=$ac_cxx_preproc_warn_flag
32380 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32381 else
32382 ac_cpp_err=
32383 fi
32384 else
32385 ac_cpp_err=yes
32386 fi
32387 if test -z "$ac_cpp_err"; then
32388 ac_header_preproc=yes
32389 else
32390 echo "$as_me: failed program was:" >&5
32391 sed 's/^/| /' conftest.$ac_ext >&5
32392
32393 ac_header_preproc=no
32394 fi
32395 rm -f conftest.err conftest.$ac_ext
32396 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32397 echo "${ECHO_T}$ac_header_preproc" >&6
32398
32399 # So? What about this header?
32400 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32401 yes:no: )
32402 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32403 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32404 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32405 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32406 ac_header_preproc=yes
32407 ;;
32408 no:yes:* )
32409 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32410 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32411 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32412 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32413 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32414 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32415 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32416 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32417 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32418 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32419 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32420 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32421 (
32422 cat <<\_ASBOX
32423 ## ----------------------------------------- ##
32424 ## Report this to wx-dev@lists.wxwidgets.org ##
32425 ## ----------------------------------------- ##
32426 _ASBOX
32427 ) |
32428 sed "s/^/$as_me: WARNING: /" >&2
32429 ;;
32430 esac
32431 echo "$as_me:$LINENO: checking for sql.h" >&5
32432 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32433 if test "${ac_cv_header_sql_h+set}" = set; then
32434 echo $ECHO_N "(cached) $ECHO_C" >&6
32435 else
32436 ac_cv_header_sql_h=$ac_header_preproc
32437 fi
32438 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32439 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32440
32441 fi
32442 if test $ac_cv_header_sql_h = yes; then
32443 found_sql_h=1
32444 fi
32445
32446
32447 if test "x$found_sql_h" = "x1" ; then
32448 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32449 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32450 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32451 echo $ECHO_N "(cached) $ECHO_C" >&6
32452 else
32453 ac_check_lib_save_LIBS=$LIBS
32454 LIBS="-liodbc $LIBS"
32455 cat >conftest.$ac_ext <<_ACEOF
32456 /* confdefs.h. */
32457 _ACEOF
32458 cat confdefs.h >>conftest.$ac_ext
32459 cat >>conftest.$ac_ext <<_ACEOF
32460 /* end confdefs.h. */
32461
32462 /* Override any gcc2 internal prototype to avoid an error. */
32463 #ifdef __cplusplus
32464 extern "C"
32465 #endif
32466 /* We use char because int might match the return type of a gcc2
32467 builtin and then its argument prototype would still apply. */
32468 char SQLAllocEnv ();
32469 int
32470 main ()
32471 {
32472 SQLAllocEnv ();
32473 ;
32474 return 0;
32475 }
32476 _ACEOF
32477 rm -f conftest.$ac_objext conftest$ac_exeext
32478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32479 (eval $ac_link) 2>conftest.er1
32480 ac_status=$?
32481 grep -v '^ *+' conftest.er1 >conftest.err
32482 rm -f conftest.er1
32483 cat conftest.err >&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); } &&
32486 { ac_try='test -z "$ac_cxx_werror_flag"
32487 || test ! -s conftest.err'
32488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32489 (eval $ac_try) 2>&5
32490 ac_status=$?
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); }; } &&
32493 { ac_try='test -s conftest$ac_exeext'
32494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495 (eval $ac_try) 2>&5
32496 ac_status=$?
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); }; }; then
32499 ac_cv_lib_iodbc_SQLAllocEnv=yes
32500 else
32501 echo "$as_me: failed program was:" >&5
32502 sed 's/^/| /' conftest.$ac_ext >&5
32503
32504 ac_cv_lib_iodbc_SQLAllocEnv=no
32505 fi
32506 rm -f conftest.err conftest.$ac_objext \
32507 conftest$ac_exeext conftest.$ac_ext
32508 LIBS=$ac_check_lib_save_LIBS
32509 fi
32510 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32511 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32512 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32513 ODBC_LINK=" -liodbc"
32514 else
32515
32516 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32517 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32518 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32519 echo $ECHO_N "(cached) $ECHO_C" >&6
32520 else
32521 ac_check_lib_save_LIBS=$LIBS
32522 LIBS="-lunixodbc $LIBS"
32523 cat >conftest.$ac_ext <<_ACEOF
32524 /* confdefs.h. */
32525 _ACEOF
32526 cat confdefs.h >>conftest.$ac_ext
32527 cat >>conftest.$ac_ext <<_ACEOF
32528 /* end confdefs.h. */
32529
32530 /* Override any gcc2 internal prototype to avoid an error. */
32531 #ifdef __cplusplus
32532 extern "C"
32533 #endif
32534 /* We use char because int might match the return type of a gcc2
32535 builtin and then its argument prototype would still apply. */
32536 char SQLAllocEnv ();
32537 int
32538 main ()
32539 {
32540 SQLAllocEnv ();
32541 ;
32542 return 0;
32543 }
32544 _ACEOF
32545 rm -f conftest.$ac_objext conftest$ac_exeext
32546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32547 (eval $ac_link) 2>conftest.er1
32548 ac_status=$?
32549 grep -v '^ *+' conftest.er1 >conftest.err
32550 rm -f conftest.er1
32551 cat conftest.err >&5
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); } &&
32554 { ac_try='test -z "$ac_cxx_werror_flag"
32555 || test ! -s conftest.err'
32556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32557 (eval $ac_try) 2>&5
32558 ac_status=$?
32559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32560 (exit $ac_status); }; } &&
32561 { ac_try='test -s conftest$ac_exeext'
32562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563 (eval $ac_try) 2>&5
32564 ac_status=$?
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); }; }; then
32567 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32568 else
32569 echo "$as_me: failed program was:" >&5
32570 sed 's/^/| /' conftest.$ac_ext >&5
32571
32572 ac_cv_lib_unixodbc_SQLAllocEnv=no
32573 fi
32574 rm -f conftest.err conftest.$ac_objext \
32575 conftest$ac_exeext conftest.$ac_ext
32576 LIBS=$ac_check_lib_save_LIBS
32577 fi
32578 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32579 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32580 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32581 ODBC_LINK=" -lunixodbc"
32582 else
32583
32584 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32585 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32586 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32587 echo $ECHO_N "(cached) $ECHO_C" >&6
32588 else
32589 ac_check_lib_save_LIBS=$LIBS
32590 LIBS="-lodbc $LIBS"
32591 cat >conftest.$ac_ext <<_ACEOF
32592 /* confdefs.h. */
32593 _ACEOF
32594 cat confdefs.h >>conftest.$ac_ext
32595 cat >>conftest.$ac_ext <<_ACEOF
32596 /* end confdefs.h. */
32597
32598 /* Override any gcc2 internal prototype to avoid an error. */
32599 #ifdef __cplusplus
32600 extern "C"
32601 #endif
32602 /* We use char because int might match the return type of a gcc2
32603 builtin and then its argument prototype would still apply. */
32604 char SQLAllocEnv ();
32605 int
32606 main ()
32607 {
32608 SQLAllocEnv ();
32609 ;
32610 return 0;
32611 }
32612 _ACEOF
32613 rm -f conftest.$ac_objext conftest$ac_exeext
32614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32615 (eval $ac_link) 2>conftest.er1
32616 ac_status=$?
32617 grep -v '^ *+' conftest.er1 >conftest.err
32618 rm -f conftest.er1
32619 cat conftest.err >&5
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); } &&
32622 { ac_try='test -z "$ac_cxx_werror_flag"
32623 || test ! -s conftest.err'
32624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32625 (eval $ac_try) 2>&5
32626 ac_status=$?
32627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32628 (exit $ac_status); }; } &&
32629 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
32635 ac_cv_lib_odbc_SQLAllocEnv=yes
32636 else
32637 echo "$as_me: failed program was:" >&5
32638 sed 's/^/| /' conftest.$ac_ext >&5
32639
32640 ac_cv_lib_odbc_SQLAllocEnv=no
32641 fi
32642 rm -f conftest.err conftest.$ac_objext \
32643 conftest$ac_exeext conftest.$ac_ext
32644 LIBS=$ac_check_lib_save_LIBS
32645 fi
32646 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32647 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32648 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32649 ODBC_LINK=" -lodbc"
32650 fi
32651
32652
32653 fi
32654
32655
32656 fi
32657
32658 fi
32659 if test "x$ODBC_LINK" = "x" ; then
32660 if test "$wxUSE_ODBC" = "sys" ; then
32661 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32662 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32663 { (exit 1); exit 1; }; }
32664 else
32665 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32666 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32667 wxUSE_ODBC=builtin
32668 fi
32669 else
32670 wxUSE_ODBC=sys
32671 fi
32672 fi
32673
32674 if test "$wxUSE_ODBC" = "builtin" ; then
32675 cat >>confdefs.h <<\_ACEOF
32676 #define wxUSE_BUILTIN_IODBC 1
32677 _ACEOF
32678
32679 fi
32680 fi
32681
32682 if test "$wxUSE_ODBC" != "no" ; then
32683 cat >>confdefs.h <<\_ACEOF
32684 #define wxUSE_ODBC 1
32685 _ACEOF
32686
32687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32688
32689 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32690 fi
32691
32692
32693 if test "$wxUSE_DISPLAY" = "yes"; then
32694 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32695 echo "$as_me:$LINENO: checking for Xinerama" >&5
32696 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32697
32698 ac_find_libraries=
32699 for ac_dir in $SEARCH_LIB;
32700 do
32701 for ac_extension in a so sl dylib dll.a; do
32702 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32703 ac_find_libraries=$ac_dir
32704 break 2
32705 fi
32706 done
32707 done
32708
32709 if test "$ac_find_libraries" != "" ; then
32710
32711 if test "$ac_find_libraries" = "default location"; then
32712 ac_path_to_link=""
32713 else
32714 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32715 result=$?
32716 if test $result = 0; then
32717 ac_path_to_link=""
32718 else
32719 ac_path_to_link=" -L$ac_find_libraries"
32720 fi
32721 fi
32722
32723 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32724 LDFLAGS="$LDFLAGS $ac_path_to_link"
32725 fi
32726 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32727 echo "$as_me:$LINENO: result: yes" >&5
32728 echo "${ECHO_T}yes" >&6
32729
32730 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32731 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32732
32733 ac_find_libraries=
32734 for ac_dir in $SEARCH_LIB;
32735 do
32736 for ac_extension in a so sl dylib dll.a; do
32737 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32738 ac_find_libraries=$ac_dir
32739 break 2
32740 fi
32741 done
32742 done
32743
32744 if test "$ac_find_libraries" != "" ; then
32745 echo "$as_me:$LINENO: result: yes" >&5
32746 echo "${ECHO_T}yes" >&6
32747
32748 for ac_header in X11/extensions/xf86vmode.h
32749 do
32750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32751 echo "$as_me:$LINENO: checking for $ac_header" >&5
32752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32754 echo $ECHO_N "(cached) $ECHO_C" >&6
32755 else
32756 cat >conftest.$ac_ext <<_ACEOF
32757 /* confdefs.h. */
32758 _ACEOF
32759 cat confdefs.h >>conftest.$ac_ext
32760 cat >>conftest.$ac_ext <<_ACEOF
32761 /* end confdefs.h. */
32762
32763 #if HAVE_X11_XLIB_H
32764 #include <X11/Xlib.h>
32765 #endif
32766
32767
32768 #include <$ac_header>
32769 _ACEOF
32770 rm -f conftest.$ac_objext
32771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32772 (eval $ac_compile) 2>conftest.er1
32773 ac_status=$?
32774 grep -v '^ *+' conftest.er1 >conftest.err
32775 rm -f conftest.er1
32776 cat conftest.err >&5
32777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32778 (exit $ac_status); } &&
32779 { ac_try='test -z "$ac_cxx_werror_flag"
32780 || test ! -s conftest.err'
32781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32782 (eval $ac_try) 2>&5
32783 ac_status=$?
32784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32785 (exit $ac_status); }; } &&
32786 { ac_try='test -s conftest.$ac_objext'
32787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32788 (eval $ac_try) 2>&5
32789 ac_status=$?
32790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32791 (exit $ac_status); }; }; then
32792 eval "$as_ac_Header=yes"
32793 else
32794 echo "$as_me: failed program was:" >&5
32795 sed 's/^/| /' conftest.$ac_ext >&5
32796
32797 eval "$as_ac_Header=no"
32798 fi
32799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32800 fi
32801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32804 cat >>confdefs.h <<_ACEOF
32805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32806 _ACEOF
32807
32808 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32809
32810 fi
32811
32812 done
32813
32814 else
32815 echo "$as_me:$LINENO: result: no" >&5
32816 echo "${ECHO_T}no" >&6
32817 fi
32818
32819 else
32820 echo "$as_me:$LINENO: result: no" >&5
32821 echo "${ECHO_T}no" >&6
32822 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32823 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32824 wxUSE_DISPLAY="no"
32825 fi
32826 elif test "$wxUSE_MSW" = 1; then
32827
32828 for ac_header in ddraw.h
32829 do
32830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32831 echo "$as_me:$LINENO: checking for $ac_header" >&5
32832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32834 echo $ECHO_N "(cached) $ECHO_C" >&6
32835 else
32836 cat >conftest.$ac_ext <<_ACEOF
32837 /* confdefs.h. */
32838 _ACEOF
32839 cat confdefs.h >>conftest.$ac_ext
32840 cat >>conftest.$ac_ext <<_ACEOF
32841 /* end confdefs.h. */
32842 #include <windows.h>
32843
32844 #include <$ac_header>
32845 _ACEOF
32846 rm -f conftest.$ac_objext
32847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32848 (eval $ac_compile) 2>conftest.er1
32849 ac_status=$?
32850 grep -v '^ *+' conftest.er1 >conftest.err
32851 rm -f conftest.er1
32852 cat conftest.err >&5
32853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32854 (exit $ac_status); } &&
32855 { ac_try='test -z "$ac_cxx_werror_flag"
32856 || test ! -s conftest.err'
32857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32858 (eval $ac_try) 2>&5
32859 ac_status=$?
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); }; } &&
32862 { ac_try='test -s conftest.$ac_objext'
32863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864 (eval $ac_try) 2>&5
32865 ac_status=$?
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); }; }; then
32868 eval "$as_ac_Header=yes"
32869 else
32870 echo "$as_me: failed program was:" >&5
32871 sed 's/^/| /' conftest.$ac_ext >&5
32872
32873 eval "$as_ac_Header=no"
32874 fi
32875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32876 fi
32877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32880 cat >>confdefs.h <<_ACEOF
32881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32882 _ACEOF
32883
32884 fi
32885
32886 done
32887
32888 fi
32889 fi
32890
32891
32892 USE_OPENGL=0
32893 if test "$wxUSE_OPENGL" = "yes"; then
32894 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32895 OPENGL_LIBS="-framework OpenGL -framework AGL"
32896 elif test "$wxUSE_MSW" = 1; then
32897 OPENGL_LIBS="-lopengl32 -lglu32"
32898 else
32899
32900
32901 ac_find_includes=
32902 for ac_dir in $SEARCH_INCLUDE /usr/include;
32903 do
32904 if test -f "$ac_dir/GL/gl.h"; then
32905 ac_find_includes=$ac_dir
32906 break
32907 fi
32908 done
32909
32910 if test "$ac_find_includes" != "" ; then
32911 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32912 echo "${ECHO_T}found in $ac_find_includes" >&6
32913
32914 if test "x$ac_find_includes" = "x/usr/include"; then
32915 ac_path_to_include=""
32916 else
32917 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32918 result=$?
32919 if test $result = 0; then
32920 ac_path_to_include=""
32921 else
32922 ac_path_to_include=" -I$ac_find_includes"
32923 fi
32924 fi
32925
32926 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32927 fi
32928
32929 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32930 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32931 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32932 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32933 echo $ECHO_N "(cached) $ECHO_C" >&6
32934 fi
32935 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32936 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32937 else
32938 # Is the header compilable?
32939 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32940 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32941 cat >conftest.$ac_ext <<_ACEOF
32942 /* confdefs.h. */
32943 _ACEOF
32944 cat confdefs.h >>conftest.$ac_ext
32945 cat >>conftest.$ac_ext <<_ACEOF
32946 /* end confdefs.h. */
32947 $ac_includes_default
32948 #include <GL/gl.h>
32949 _ACEOF
32950 rm -f conftest.$ac_objext
32951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32952 (eval $ac_compile) 2>conftest.er1
32953 ac_status=$?
32954 grep -v '^ *+' conftest.er1 >conftest.err
32955 rm -f conftest.er1
32956 cat conftest.err >&5
32957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32958 (exit $ac_status); } &&
32959 { ac_try='test -z "$ac_cxx_werror_flag"
32960 || test ! -s conftest.err'
32961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32962 (eval $ac_try) 2>&5
32963 ac_status=$?
32964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32965 (exit $ac_status); }; } &&
32966 { ac_try='test -s conftest.$ac_objext'
32967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32968 (eval $ac_try) 2>&5
32969 ac_status=$?
32970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32971 (exit $ac_status); }; }; then
32972 ac_header_compiler=yes
32973 else
32974 echo "$as_me: failed program was:" >&5
32975 sed 's/^/| /' conftest.$ac_ext >&5
32976
32977 ac_header_compiler=no
32978 fi
32979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32981 echo "${ECHO_T}$ac_header_compiler" >&6
32982
32983 # Is the header present?
32984 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32985 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32986 cat >conftest.$ac_ext <<_ACEOF
32987 /* confdefs.h. */
32988 _ACEOF
32989 cat confdefs.h >>conftest.$ac_ext
32990 cat >>conftest.$ac_ext <<_ACEOF
32991 /* end confdefs.h. */
32992 #include <GL/gl.h>
32993 _ACEOF
32994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32996 ac_status=$?
32997 grep -v '^ *+' conftest.er1 >conftest.err
32998 rm -f conftest.er1
32999 cat conftest.err >&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); } >/dev/null; then
33002 if test -s conftest.err; then
33003 ac_cpp_err=$ac_cxx_preproc_warn_flag
33004 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33005 else
33006 ac_cpp_err=
33007 fi
33008 else
33009 ac_cpp_err=yes
33010 fi
33011 if test -z "$ac_cpp_err"; then
33012 ac_header_preproc=yes
33013 else
33014 echo "$as_me: failed program was:" >&5
33015 sed 's/^/| /' conftest.$ac_ext >&5
33016
33017 ac_header_preproc=no
33018 fi
33019 rm -f conftest.err conftest.$ac_ext
33020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33021 echo "${ECHO_T}$ac_header_preproc" >&6
33022
33023 # So? What about this header?
33024 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33025 yes:no: )
33026 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33027 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33028 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33029 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33030 ac_header_preproc=yes
33031 ;;
33032 no:yes:* )
33033 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33034 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33035 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33036 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33037 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33038 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33039 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33040 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33041 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33042 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33043 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33044 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33045 (
33046 cat <<\_ASBOX
33047 ## ----------------------------------------- ##
33048 ## Report this to wx-dev@lists.wxwidgets.org ##
33049 ## ----------------------------------------- ##
33050 _ASBOX
33051 ) |
33052 sed "s/^/$as_me: WARNING: /" >&2
33053 ;;
33054 esac
33055 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33056 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33057 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33058 echo $ECHO_N "(cached) $ECHO_C" >&6
33059 else
33060 ac_cv_header_GL_gl_h=$ac_header_preproc
33061 fi
33062 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33063 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33064
33065 fi
33066 if test $ac_cv_header_GL_gl_h = yes; then
33067
33068 found_gl=0
33069
33070 echo "$as_me:$LINENO: checking for -lGL" >&5
33071 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33072
33073 ac_find_libraries=
33074 for ac_dir in $SEARCH_LIB;
33075 do
33076 for ac_extension in a so sl dylib dll.a; do
33077 if test -f "$ac_dir/libGL.$ac_extension"; then
33078 ac_find_libraries=$ac_dir
33079 break 2
33080 fi
33081 done
33082 done
33083
33084 if test "$ac_find_libraries" != "" ; then
33085 echo "$as_me:$LINENO: result: yes" >&5
33086 echo "${ECHO_T}yes" >&6
33087
33088
33089 if test "$ac_find_libraries" = "default location"; then
33090 ac_path_to_link=""
33091 else
33092 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33093 result=$?
33094 if test $result = 0; then
33095 ac_path_to_link=""
33096 else
33097 ac_path_to_link=" -L$ac_find_libraries"
33098 fi
33099 fi
33100
33101 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33102 LDFLAGS_GL="$ac_path_to_link"
33103 fi
33104
33105 echo "$as_me:$LINENO: checking for -lGLU" >&5
33106 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33107
33108 ac_find_libraries=
33109 for ac_dir in $SEARCH_LIB;
33110 do
33111 for ac_extension in a so sl dylib dll.a; do
33112 if test -f "$ac_dir/libGLU.$ac_extension"; then
33113 ac_find_libraries=$ac_dir
33114 break 2
33115 fi
33116 done
33117 done
33118
33119 if test "$ac_find_libraries" != "" ; then
33120
33121 if test "$ac_find_libraries" = "default location"; then
33122 ac_path_to_link=""
33123 else
33124 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33125 result=$?
33126 if test $result = 0; then
33127 ac_path_to_link=""
33128 else
33129 ac_path_to_link=" -L$ac_find_libraries"
33130 fi
33131 fi
33132
33133 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33134 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33135 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33136 fi
33137
33138 found_gl=1
33139 OPENGL_LIBS="-lGL -lGLU"
33140 echo "$as_me:$LINENO: result: yes" >&5
33141 echo "${ECHO_T}yes" >&6
33142 else
33143 echo "$as_me:$LINENO: result: no" >&5
33144 echo "${ECHO_T}no" >&6
33145 fi
33146 else
33147 echo "$as_me:$LINENO: result: no" >&5
33148 echo "${ECHO_T}no" >&6
33149 fi
33150
33151 if test "$found_gl" != 1; then
33152 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33153 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33154
33155 ac_find_libraries=
33156 for ac_dir in $SEARCH_LIB;
33157 do
33158 for ac_extension in a so sl dylib dll.a; do
33159 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33160 ac_find_libraries=$ac_dir
33161 break 2
33162 fi
33163 done
33164 done
33165
33166 if test "$ac_find_libraries" != "" ; then
33167
33168 if test "$ac_find_libraries" = "default location"; then
33169 ac_path_to_link=""
33170 else
33171 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33172 result=$?
33173 if test $result = 0; then
33174 ac_path_to_link=""
33175 else
33176 ac_path_to_link=" -L$ac_find_libraries"
33177 fi
33178 fi
33179
33180 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33181 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33182 echo "$as_me:$LINENO: result: yes" >&5
33183 echo "${ECHO_T}yes" >&6
33184 else
33185 echo "$as_me:$LINENO: result: no" >&5
33186 echo "${ECHO_T}no" >&6
33187 fi
33188 fi
33189
33190 fi
33191
33192
33193
33194 if test "x$OPENGL_LIBS" = "x"; then
33195 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33196 echo "$as_me: error: OpenGL libraries not available" >&2;}
33197 { (exit 1); exit 1; }; }
33198 fi
33199 fi
33200
33201 if test "$wxUSE_OPENGL" = "yes"; then
33202 USE_OPENGL=1
33203 cat >>confdefs.h <<\_ACEOF
33204 #define wxUSE_OPENGL 1
33205 _ACEOF
33206
33207 cat >>confdefs.h <<\_ACEOF
33208 #define wxUSE_GLCANVAS 1
33209 _ACEOF
33210
33211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33212 fi
33213 fi
33214
33215
33216 if test -n "$TOOLKIT" ; then
33217 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33218 fi
33219
33220
33221
33222 if test "$wxUSE_SHARED" = "yes"; then
33223 case "${host}" in
33224 *-pc-msdosdjgpp )
33225 wxUSE_SHARED=no
33226 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33227 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33228 ;;
33229 esac
33230 fi
33231
33232 if test "$wxUSE_SHARED" = "yes"; then
33233
33234
33235 found_versioning=no
33236
33237
33238 if test $found_versioning = no ; then
33239 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33240 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33241 if test "${wx_cv_version_script+set}" = set; then
33242 echo $ECHO_N "(cached) $ECHO_C" >&6
33243 else
33244
33245 echo "VER_1 { *; };" >conftest.sym
33246 echo "int main() { return 0; }" >conftest.cpp
33247
33248 if { ac_try='
33249 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33250 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33252 (eval $ac_try) 2>&5
33253 ac_status=$?
33254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33255 (exit $ac_status); }; } ; then
33256 if test -s conftest.stderr ; then
33257 wx_cv_version_script=no
33258 else
33259 wx_cv_version_script=yes
33260 fi
33261 else
33262 wx_cv_version_script=no
33263 fi
33264
33265 if test $wx_cv_version_script = yes
33266 then
33267 echo "struct B { virtual ~B() { } }; \
33268 struct D : public B { }; \
33269 void F() { D d; }" > conftest.cpp
33270
33271 if { ac_try='
33272 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33273 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33275 (eval $ac_try) 2>&5
33276 ac_status=$?
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); }; } &&
33279 { ac_try='
33280 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33281 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33283 (eval $ac_try) 2>&5
33284 ac_status=$?
33285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33286 (exit $ac_status); }; }
33287 then
33288 if { ac_try='
33289 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33290 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33292 (eval $ac_try) 2>&5
33293 ac_status=$?
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); }; }
33296 then
33297 wx_cv_version_script=yes
33298 else
33299 wx_cv_version_script=no
33300 fi
33301 fi
33302 fi
33303
33304 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33305 rm -f conftest1.output conftest2.output conftest3.output
33306
33307 fi
33308 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33309 echo "${ECHO_T}$wx_cv_version_script" >&6
33310 if test $wx_cv_version_script = yes ; then
33311 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33312 fi
33313 fi
33314
33315
33316 case "${host}" in
33317 *-*-linux* | *-*-gnu* )
33318 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33319 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33320 ;;
33321
33322 *-*-solaris2* )
33323 if test "$GCC" = yes ; then
33324 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33325
33326 saveLdflags="$LDFLAGS"
33327 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33328 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33329 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33330 cat >conftest.$ac_ext <<_ACEOF
33331 /* confdefs.h. */
33332 _ACEOF
33333 cat confdefs.h >>conftest.$ac_ext
33334 cat >>conftest.$ac_ext <<_ACEOF
33335 /* end confdefs.h. */
33336
33337 int
33338 main ()
33339 {
33340
33341 ;
33342 return 0;
33343 }
33344 _ACEOF
33345 rm -f conftest.$ac_objext conftest$ac_exeext
33346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33347 (eval $ac_link) 2>conftest.er1
33348 ac_status=$?
33349 grep -v '^ *+' conftest.er1 >conftest.err
33350 rm -f conftest.er1
33351 cat conftest.err >&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); } &&
33354 { ac_try='test -z "$ac_cxx_werror_flag"
33355 || test ! -s conftest.err'
33356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33357 (eval $ac_try) 2>&5
33358 ac_status=$?
33359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33360 (exit $ac_status); }; } &&
33361 { ac_try='test -s conftest$ac_exeext'
33362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33363 (eval $ac_try) 2>&5
33364 ac_status=$?
33365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33366 (exit $ac_status); }; }; then
33367
33368 echo "$as_me:$LINENO: result: yes" >&5
33369 echo "${ECHO_T}yes" >&6
33370 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33371 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33372
33373 else
33374 echo "$as_me: failed program was:" >&5
33375 sed 's/^/| /' conftest.$ac_ext >&5
33376
33377
33378 echo "$as_me:$LINENO: result: no" >&5
33379 echo "${ECHO_T}no" >&6
33380 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33381 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33382 LDFLAGS="$saveLdflags -Wl,-R,/"
33383 cat >conftest.$ac_ext <<_ACEOF
33384 /* confdefs.h. */
33385 _ACEOF
33386 cat confdefs.h >>conftest.$ac_ext
33387 cat >>conftest.$ac_ext <<_ACEOF
33388 /* end confdefs.h. */
33389
33390 int
33391 main ()
33392 {
33393
33394 ;
33395 return 0;
33396 }
33397 _ACEOF
33398 rm -f conftest.$ac_objext conftest$ac_exeext
33399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33400 (eval $ac_link) 2>conftest.er1
33401 ac_status=$?
33402 grep -v '^ *+' conftest.er1 >conftest.err
33403 rm -f conftest.er1
33404 cat conftest.err >&5
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); } &&
33407 { ac_try='test -z "$ac_cxx_werror_flag"
33408 || test ! -s conftest.err'
33409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33410 (eval $ac_try) 2>&5
33411 ac_status=$?
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; } &&
33414 { ac_try='test -s conftest$ac_exeext'
33415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33416 (eval $ac_try) 2>&5
33417 ac_status=$?
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); }; }; then
33420
33421 echo "$as_me:$LINENO: result: yes" >&5
33422 echo "${ECHO_T}yes" >&6
33423 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33424 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33425
33426 else
33427 echo "$as_me: failed program was:" >&5
33428 sed 's/^/| /' conftest.$ac_ext >&5
33429
33430
33431 echo "$as_me:$LINENO: result: no" >&5
33432 echo "${ECHO_T}no" >&6
33433
33434 fi
33435 rm -f conftest.err conftest.$ac_objext \
33436 conftest$ac_exeext conftest.$ac_ext
33437
33438 fi
33439 rm -f conftest.err conftest.$ac_objext \
33440 conftest$ac_exeext conftest.$ac_ext
33441 LDFLAGS="$saveLdflags"
33442 else
33443 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33444 WXCONFIG_RPATH="-R\$libdir"
33445 fi
33446 ;;
33447
33448 *-*-darwin* )
33449 install_name_tool=`which install_name_tool`
33450 if test "$install_name_tool" -a -x "$install_name_tool"; then
33451 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33452 cat <<EOF >change-install-names
33453 #!/bin/sh
33454 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33455 inst_cmd="install_name_tool "
33456 for i in \${libnames} ; do
33457 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33458 done
33459 \${inst_cmd} \${3}
33460 EOF
33461 chmod +x change-install-names
33462 fi
33463 ;;
33464
33465 *-*-cygwin* | *-*-mingw32* )
33466 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33467 ;;
33468
33469 *-*-hpux* )
33470 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33471 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33472 ;;
33473
33474 esac
33475
33476 if test $wxUSE_RPATH = "no"; then
33477 SAMPLES_RPATH_FLAG=''
33478 SAMPLES_RPATH_POSTLINK=''
33479 WXCONFIG_RPATH=''
33480 fi
33481
33482 SHARED=1
33483
33484 else
33485
33486 config_linkage_component="-static"
33487 SHARED=0
33488
33489 fi
33490
33491
33492 UNICODE=0
33493 lib_unicode_suffix=
33494 WX_CHARTYPE="ansi"
33495 if test "$wxUSE_UNICODE" = "yes"; then
33496 lib_unicode_suffix=u
33497 WX_CHARTYPE="unicode"
33498 UNICODE=1
33499 fi
33500
33501 lib_debug_suffix=
33502 WX_DEBUGTYPE="release"
33503 DEBUG_FLAG=0
33504 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33505 lib_debug_suffix=d
33506 WX_DEBUGTYPE="debug"
33507 DEBUG_FLAG=1
33508 fi
33509
33510 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33511 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33512
33513 DEBUG_INFO=0
33514 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33515 DEBUG_INFO=1
33516 fi
33517
33518 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33519
33520 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33521
33522 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33523
33524 if test "$cross_compiling" = "yes"; then
33525 HOST_SUFFIX="-$host_alias"
33526 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33527 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33528 fi
33529
33530 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33531 if test "${TOOLKIT_DIR}" = "os2"; then
33532 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33533 else
33534 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33535 fi
33536
33537
33538
33539 if test "$wxUSE_COCOA" = 1; then
33540
33541
33542 ac_ext=c
33543 ac_cpp='$CPP $CPPFLAGS'
33544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33547
33548 ac_ext=m
33549
33550 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33551 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33552 cat >conftest.$ac_ext <<_ACEOF
33553 /* confdefs.h. */
33554 _ACEOF
33555 cat confdefs.h >>conftest.$ac_ext
33556 cat >>conftest.$ac_ext <<_ACEOF
33557 /* end confdefs.h. */
33558 #include <AppKit/NSEvent.h>
33559 #include <CoreFoundation/CoreFoundation.h>
33560
33561 int
33562 main ()
33563 {
33564
33565 ;
33566 return 0;
33567 }
33568 _ACEOF
33569 rm -f conftest.$ac_objext
33570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33571 (eval $ac_compile) 2>conftest.er1
33572 ac_status=$?
33573 grep -v '^ *+' conftest.er1 >conftest.err
33574 rm -f conftest.er1
33575 cat conftest.err >&5
33576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33577 (exit $ac_status); } &&
33578 { ac_try='test -z "$ac_c_werror_flag"
33579 || test ! -s conftest.err'
33580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33581 (eval $ac_try) 2>&5
33582 ac_status=$?
33583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584 (exit $ac_status); }; } &&
33585 { ac_try='test -s conftest.$ac_objext'
33586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33587 (eval $ac_try) 2>&5
33588 ac_status=$?
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); }; }; then
33591 echo "$as_me:$LINENO: result: no" >&5
33592 echo "${ECHO_T}no" >&6
33593 else
33594 echo "$as_me: failed program was:" >&5
33595 sed 's/^/| /' conftest.$ac_ext >&5
33596
33597 echo "$as_me:$LINENO: result: yes" >&5
33598 echo "${ECHO_T}yes" >&6
33599 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33600 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33601 cat >conftest.$ac_ext <<_ACEOF
33602 /* confdefs.h. */
33603 _ACEOF
33604 cat confdefs.h >>conftest.$ac_ext
33605 cat >>conftest.$ac_ext <<_ACEOF
33606 /* end confdefs.h. */
33607 #define __Point__ 1
33608 #include <AppKit/NSEvent.h>
33609 #include <CoreFoundation/CoreFoundation.h>
33610
33611 int
33612 main ()
33613 {
33614
33615 ;
33616 return 0;
33617 }
33618 _ACEOF
33619 rm -f conftest.$ac_objext
33620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33621 (eval $ac_compile) 2>conftest.er1
33622 ac_status=$?
33623 grep -v '^ *+' conftest.er1 >conftest.err
33624 rm -f conftest.er1
33625 cat conftest.err >&5
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); } &&
33628 { ac_try='test -z "$ac_c_werror_flag"
33629 || test ! -s conftest.err'
33630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33631 (eval $ac_try) 2>&5
33632 ac_status=$?
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); }; } &&
33635 { ac_try='test -s conftest.$ac_objext'
33636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33637 (eval $ac_try) 2>&5
33638 ac_status=$?
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); }; }; then
33641 echo "$as_me:$LINENO: result: yes" >&5
33642 echo "${ECHO_T}yes" >&6
33643 cat >>confdefs.h <<\_ACEOF
33644 #define __Point__ 1
33645 _ACEOF
33646
33647
33648 else
33649 echo "$as_me: failed program was:" >&5
33650 sed 's/^/| /' conftest.$ac_ext >&5
33651
33652 { { echo "$as_me:$LINENO: error: no
33653 See \`config.log' for more details." >&5
33654 echo "$as_me: error: no
33655 See \`config.log' for more details." >&2;}
33656 { (exit 1); exit 1; }; }
33657
33658 fi
33659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33660
33661 fi
33662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33663 ac_ext=cc
33664 ac_cpp='$CXXCPP $CPPFLAGS'
33665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33668
33669 fi
33670
33671 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33672 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33673 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33674
33675 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33676
33677 # Extract the first word of "Rez", so it can be a program name with args.
33678 set dummy Rez; ac_word=$2
33679 echo "$as_me:$LINENO: checking for $ac_word" >&5
33680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33681 if test "${ac_cv_prog_REZ+set}" = set; then
33682 echo $ECHO_N "(cached) $ECHO_C" >&6
33683 else
33684 if test -n "$REZ"; then
33685 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33686 else
33687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33688 for as_dir in $PATH
33689 do
33690 IFS=$as_save_IFS
33691 test -z "$as_dir" && as_dir=.
33692 for ac_exec_ext in '' $ac_executable_extensions; do
33693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33694 ac_cv_prog_REZ="Rez"
33695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33696 break 2
33697 fi
33698 done
33699 done
33700
33701 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33702 fi
33703 fi
33704 REZ=$ac_cv_prog_REZ
33705 if test -n "$REZ"; then
33706 echo "$as_me:$LINENO: result: $REZ" >&5
33707 echo "${ECHO_T}$REZ" >&6
33708 else
33709 echo "$as_me:$LINENO: result: no" >&5
33710 echo "${ECHO_T}no" >&6
33711 fi
33712
33713 # Extract the first word of "DeRez", so it can be a program name with args.
33714 set dummy DeRez; ac_word=$2
33715 echo "$as_me:$LINENO: checking for $ac_word" >&5
33716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33717 if test "${ac_cv_prog_DEREZ+set}" = set; then
33718 echo $ECHO_N "(cached) $ECHO_C" >&6
33719 else
33720 if test -n "$DEREZ"; then
33721 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33722 else
33723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33724 for as_dir in $PATH
33725 do
33726 IFS=$as_save_IFS
33727 test -z "$as_dir" && as_dir=.
33728 for ac_exec_ext in '' $ac_executable_extensions; do
33729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33730 ac_cv_prog_DEREZ="DeRez"
33731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33732 break 2
33733 fi
33734 done
33735 done
33736
33737 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33738 fi
33739 fi
33740 DEREZ=$ac_cv_prog_DEREZ
33741 if test -n "$DEREZ"; then
33742 echo "$as_me:$LINENO: result: $DEREZ" >&5
33743 echo "${ECHO_T}$DEREZ" >&6
33744 else
33745 echo "$as_me:$LINENO: result: no" >&5
33746 echo "${ECHO_T}no" >&6
33747 fi
33748
33749 # Extract the first word of "SetFile", so it can be a program name with args.
33750 set dummy SetFile; ac_word=$2
33751 echo "$as_me:$LINENO: checking for $ac_word" >&5
33752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33753 if test "${ac_cv_prog_SETFILE+set}" = set; then
33754 echo $ECHO_N "(cached) $ECHO_C" >&6
33755 else
33756 if test -n "$SETFILE"; then
33757 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33758 else
33759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33760 for as_dir in $PATH
33761 do
33762 IFS=$as_save_IFS
33763 test -z "$as_dir" && as_dir=.
33764 for ac_exec_ext in '' $ac_executable_extensions; do
33765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33766 ac_cv_prog_SETFILE="SetFile"
33767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33768 break 2
33769 fi
33770 done
33771 done
33772
33773 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33774 fi
33775 fi
33776 SETFILE=$ac_cv_prog_SETFILE
33777 if test -n "$SETFILE"; then
33778 echo "$as_me:$LINENO: result: $SETFILE" >&5
33779 echo "${ECHO_T}$SETFILE" >&6
33780 else
33781 echo "$as_me:$LINENO: result: no" >&5
33782 echo "${ECHO_T}no" >&6
33783 fi
33784
33785
33786 MACSETFILE="\$(SETFILE)"
33787
33788 if test "$wxUSE_MAC" = 1; then
33789 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33790 RESCOMP="$REZ"
33791 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33792 else
33793 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33794 RESCOMP="echo -n \| $REZ"
33795 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33796 fi
33797
33798 else
33799 MACSETFILE="@true"
33800
33801 if test "$wxUSE_PM" = 1; then
33802 RESCOMP="emxbind"
33803 WXCONFIG_RESFLAGS="-ep"
33804
33805 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33806 else
33807 POSTLINK_COMMAND="@true"
33808 fi
33809
33810 fi
33811
33812
33813
33814 echo "$as_me:$LINENO: checking for mode_t" >&5
33815 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33816 if test "${ac_cv_type_mode_t+set}" = set; then
33817 echo $ECHO_N "(cached) $ECHO_C" >&6
33818 else
33819 cat >conftest.$ac_ext <<_ACEOF
33820 /* confdefs.h. */
33821 _ACEOF
33822 cat confdefs.h >>conftest.$ac_ext
33823 cat >>conftest.$ac_ext <<_ACEOF
33824 /* end confdefs.h. */
33825 $ac_includes_default
33826 int
33827 main ()
33828 {
33829 if ((mode_t *) 0)
33830 return 0;
33831 if (sizeof (mode_t))
33832 return 0;
33833 ;
33834 return 0;
33835 }
33836 _ACEOF
33837 rm -f conftest.$ac_objext
33838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33839 (eval $ac_compile) 2>conftest.er1
33840 ac_status=$?
33841 grep -v '^ *+' conftest.er1 >conftest.err
33842 rm -f conftest.er1
33843 cat conftest.err >&5
33844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33845 (exit $ac_status); } &&
33846 { ac_try='test -z "$ac_cxx_werror_flag"
33847 || test ! -s conftest.err'
33848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33849 (eval $ac_try) 2>&5
33850 ac_status=$?
33851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 (exit $ac_status); }; } &&
33853 { ac_try='test -s conftest.$ac_objext'
33854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33855 (eval $ac_try) 2>&5
33856 ac_status=$?
33857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33858 (exit $ac_status); }; }; then
33859 ac_cv_type_mode_t=yes
33860 else
33861 echo "$as_me: failed program was:" >&5
33862 sed 's/^/| /' conftest.$ac_ext >&5
33863
33864 ac_cv_type_mode_t=no
33865 fi
33866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33867 fi
33868 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33869 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33870 if test $ac_cv_type_mode_t = yes; then
33871 :
33872 else
33873
33874 cat >>confdefs.h <<_ACEOF
33875 #define mode_t int
33876 _ACEOF
33877
33878 fi
33879
33880 echo "$as_me:$LINENO: checking for off_t" >&5
33881 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33882 if test "${ac_cv_type_off_t+set}" = set; then
33883 echo $ECHO_N "(cached) $ECHO_C" >&6
33884 else
33885 cat >conftest.$ac_ext <<_ACEOF
33886 /* confdefs.h. */
33887 _ACEOF
33888 cat confdefs.h >>conftest.$ac_ext
33889 cat >>conftest.$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33891 $ac_includes_default
33892 int
33893 main ()
33894 {
33895 if ((off_t *) 0)
33896 return 0;
33897 if (sizeof (off_t))
33898 return 0;
33899 ;
33900 return 0;
33901 }
33902 _ACEOF
33903 rm -f conftest.$ac_objext
33904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33905 (eval $ac_compile) 2>conftest.er1
33906 ac_status=$?
33907 grep -v '^ *+' conftest.er1 >conftest.err
33908 rm -f conftest.er1
33909 cat conftest.err >&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); } &&
33912 { ac_try='test -z "$ac_cxx_werror_flag"
33913 || test ! -s conftest.err'
33914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33915 (eval $ac_try) 2>&5
33916 ac_status=$?
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); }; } &&
33919 { ac_try='test -s conftest.$ac_objext'
33920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33921 (eval $ac_try) 2>&5
33922 ac_status=$?
33923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33924 (exit $ac_status); }; }; then
33925 ac_cv_type_off_t=yes
33926 else
33927 echo "$as_me: failed program was:" >&5
33928 sed 's/^/| /' conftest.$ac_ext >&5
33929
33930 ac_cv_type_off_t=no
33931 fi
33932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33933 fi
33934 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33935 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33936 if test $ac_cv_type_off_t = yes; then
33937 :
33938 else
33939
33940 cat >>confdefs.h <<_ACEOF
33941 #define off_t long
33942 _ACEOF
33943
33944 fi
33945
33946 echo "$as_me:$LINENO: checking for pid_t" >&5
33947 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33948 if test "${ac_cv_type_pid_t+set}" = set; then
33949 echo $ECHO_N "(cached) $ECHO_C" >&6
33950 else
33951 cat >conftest.$ac_ext <<_ACEOF
33952 /* confdefs.h. */
33953 _ACEOF
33954 cat confdefs.h >>conftest.$ac_ext
33955 cat >>conftest.$ac_ext <<_ACEOF
33956 /* end confdefs.h. */
33957 $ac_includes_default
33958 int
33959 main ()
33960 {
33961 if ((pid_t *) 0)
33962 return 0;
33963 if (sizeof (pid_t))
33964 return 0;
33965 ;
33966 return 0;
33967 }
33968 _ACEOF
33969 rm -f conftest.$ac_objext
33970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33971 (eval $ac_compile) 2>conftest.er1
33972 ac_status=$?
33973 grep -v '^ *+' conftest.er1 >conftest.err
33974 rm -f conftest.er1
33975 cat conftest.err >&5
33976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33977 (exit $ac_status); } &&
33978 { ac_try='test -z "$ac_cxx_werror_flag"
33979 || test ! -s conftest.err'
33980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33981 (eval $ac_try) 2>&5
33982 ac_status=$?
33983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33984 (exit $ac_status); }; } &&
33985 { ac_try='test -s conftest.$ac_objext'
33986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33987 (eval $ac_try) 2>&5
33988 ac_status=$?
33989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33990 (exit $ac_status); }; }; then
33991 ac_cv_type_pid_t=yes
33992 else
33993 echo "$as_me: failed program was:" >&5
33994 sed 's/^/| /' conftest.$ac_ext >&5
33995
33996 ac_cv_type_pid_t=no
33997 fi
33998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33999 fi
34000 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34001 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34002 if test $ac_cv_type_pid_t = yes; then
34003 :
34004 else
34005
34006 cat >>confdefs.h <<_ACEOF
34007 #define pid_t int
34008 _ACEOF
34009
34010 fi
34011
34012 echo "$as_me:$LINENO: checking for size_t" >&5
34013 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34014 if test "${ac_cv_type_size_t+set}" = set; then
34015 echo $ECHO_N "(cached) $ECHO_C" >&6
34016 else
34017 cat >conftest.$ac_ext <<_ACEOF
34018 /* confdefs.h. */
34019 _ACEOF
34020 cat confdefs.h >>conftest.$ac_ext
34021 cat >>conftest.$ac_ext <<_ACEOF
34022 /* end confdefs.h. */
34023 $ac_includes_default
34024 int
34025 main ()
34026 {
34027 if ((size_t *) 0)
34028 return 0;
34029 if (sizeof (size_t))
34030 return 0;
34031 ;
34032 return 0;
34033 }
34034 _ACEOF
34035 rm -f conftest.$ac_objext
34036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34037 (eval $ac_compile) 2>conftest.er1
34038 ac_status=$?
34039 grep -v '^ *+' conftest.er1 >conftest.err
34040 rm -f conftest.er1
34041 cat conftest.err >&5
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); } &&
34044 { ac_try='test -z "$ac_cxx_werror_flag"
34045 || test ! -s conftest.err'
34046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34047 (eval $ac_try) 2>&5
34048 ac_status=$?
34049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34050 (exit $ac_status); }; } &&
34051 { ac_try='test -s conftest.$ac_objext'
34052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34053 (eval $ac_try) 2>&5
34054 ac_status=$?
34055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056 (exit $ac_status); }; }; then
34057 ac_cv_type_size_t=yes
34058 else
34059 echo "$as_me: failed program was:" >&5
34060 sed 's/^/| /' conftest.$ac_ext >&5
34061
34062 ac_cv_type_size_t=no
34063 fi
34064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34065 fi
34066 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34067 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34068 if test $ac_cv_type_size_t = yes; then
34069 :
34070 else
34071
34072 cat >>confdefs.h <<_ACEOF
34073 #define size_t unsigned
34074 _ACEOF
34075
34076 fi
34077
34078 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34079 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34080 if test "${ac_cv_type_uid_t+set}" = set; then
34081 echo $ECHO_N "(cached) $ECHO_C" >&6
34082 else
34083 cat >conftest.$ac_ext <<_ACEOF
34084 /* confdefs.h. */
34085 _ACEOF
34086 cat confdefs.h >>conftest.$ac_ext
34087 cat >>conftest.$ac_ext <<_ACEOF
34088 /* end confdefs.h. */
34089 #include <sys/types.h>
34090
34091 _ACEOF
34092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34093 $EGREP "uid_t" >/dev/null 2>&1; then
34094 ac_cv_type_uid_t=yes
34095 else
34096 ac_cv_type_uid_t=no
34097 fi
34098 rm -f conftest*
34099
34100 fi
34101 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34102 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34103 if test $ac_cv_type_uid_t = no; then
34104
34105 cat >>confdefs.h <<\_ACEOF
34106 #define uid_t int
34107 _ACEOF
34108
34109
34110 cat >>confdefs.h <<\_ACEOF
34111 #define gid_t int
34112 _ACEOF
34113
34114 fi
34115
34116
34117 echo "$as_me:$LINENO: checking for ssize_t" >&5
34118 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34119 if test "${ac_cv_type_ssize_t+set}" = set; then
34120 echo $ECHO_N "(cached) $ECHO_C" >&6
34121 else
34122 cat >conftest.$ac_ext <<_ACEOF
34123 /* confdefs.h. */
34124 _ACEOF
34125 cat confdefs.h >>conftest.$ac_ext
34126 cat >>conftest.$ac_ext <<_ACEOF
34127 /* end confdefs.h. */
34128 $ac_includes_default
34129 int
34130 main ()
34131 {
34132 if ((ssize_t *) 0)
34133 return 0;
34134 if (sizeof (ssize_t))
34135 return 0;
34136 ;
34137 return 0;
34138 }
34139 _ACEOF
34140 rm -f conftest.$ac_objext
34141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34142 (eval $ac_compile) 2>conftest.er1
34143 ac_status=$?
34144 grep -v '^ *+' conftest.er1 >conftest.err
34145 rm -f conftest.er1
34146 cat conftest.err >&5
34147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34148 (exit $ac_status); } &&
34149 { ac_try='test -z "$ac_cxx_werror_flag"
34150 || test ! -s conftest.err'
34151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34152 (eval $ac_try) 2>&5
34153 ac_status=$?
34154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34155 (exit $ac_status); }; } &&
34156 { ac_try='test -s conftest.$ac_objext'
34157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34158 (eval $ac_try) 2>&5
34159 ac_status=$?
34160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161 (exit $ac_status); }; }; then
34162 ac_cv_type_ssize_t=yes
34163 else
34164 echo "$as_me: failed program was:" >&5
34165 sed 's/^/| /' conftest.$ac_ext >&5
34166
34167 ac_cv_type_ssize_t=no
34168 fi
34169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34170 fi
34171 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34172 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34173 if test $ac_cv_type_ssize_t = yes; then
34174
34175 cat >>confdefs.h <<_ACEOF
34176 #define HAVE_SSIZE_T 1
34177 _ACEOF
34178
34179
34180 fi
34181
34182
34183 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34184 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34185 if test "${wx_cv_size_t_is_uint+set}" = set; then
34186 echo $ECHO_N "(cached) $ECHO_C" >&6
34187 else
34188
34189 cat >conftest.$ac_ext <<_ACEOF
34190 /* confdefs.h. */
34191 _ACEOF
34192 cat confdefs.h >>conftest.$ac_ext
34193 cat >>conftest.$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34195 #include <stddef.h>
34196 int
34197 main ()
34198 {
34199
34200 return 0; }
34201
34202 struct Foo { void foo(size_t); void foo(unsigned int); };
34203
34204 int bar() {
34205
34206 ;
34207 return 0;
34208 }
34209 _ACEOF
34210 rm -f conftest.$ac_objext
34211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34212 (eval $ac_compile) 2>conftest.er1
34213 ac_status=$?
34214 grep -v '^ *+' conftest.er1 >conftest.err
34215 rm -f conftest.er1
34216 cat conftest.err >&5
34217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218 (exit $ac_status); } &&
34219 { ac_try='test -z "$ac_cxx_werror_flag"
34220 || test ! -s conftest.err'
34221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34222 (eval $ac_try) 2>&5
34223 ac_status=$?
34224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 (exit $ac_status); }; } &&
34226 { ac_try='test -s conftest.$ac_objext'
34227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34228 (eval $ac_try) 2>&5
34229 ac_status=$?
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); }; }; then
34232 wx_cv_size_t_is_uint=no
34233 else
34234 echo "$as_me: failed program was:" >&5
34235 sed 's/^/| /' conftest.$ac_ext >&5
34236
34237 wx_cv_size_t_is_uint=yes
34238
34239 fi
34240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34241
34242
34243 fi
34244 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34245 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34246
34247 if test "$wx_cv_size_t_is_uint" = "yes"; then
34248 cat >>confdefs.h <<\_ACEOF
34249 #define wxSIZE_T_IS_UINT 1
34250 _ACEOF
34251
34252 else
34253 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34254 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34255 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34256 echo $ECHO_N "(cached) $ECHO_C" >&6
34257 else
34258 cat >conftest.$ac_ext <<_ACEOF
34259 /* confdefs.h. */
34260 _ACEOF
34261 cat confdefs.h >>conftest.$ac_ext
34262 cat >>conftest.$ac_ext <<_ACEOF
34263 /* end confdefs.h. */
34264 #include <stddef.h>
34265 int
34266 main ()
34267 {
34268
34269 return 0; }
34270
34271 struct Foo { void foo(size_t); void foo(unsigned long); };
34272
34273 int bar() {
34274
34275 ;
34276 return 0;
34277 }
34278 _ACEOF
34279 rm -f conftest.$ac_objext
34280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34281 (eval $ac_compile) 2>conftest.er1
34282 ac_status=$?
34283 grep -v '^ *+' conftest.er1 >conftest.err
34284 rm -f conftest.er1
34285 cat conftest.err >&5
34286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34287 (exit $ac_status); } &&
34288 { ac_try='test -z "$ac_cxx_werror_flag"
34289 || test ! -s conftest.err'
34290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34291 (eval $ac_try) 2>&5
34292 ac_status=$?
34293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34294 (exit $ac_status); }; } &&
34295 { ac_try='test -s conftest.$ac_objext'
34296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34297 (eval $ac_try) 2>&5
34298 ac_status=$?
34299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34300 (exit $ac_status); }; }; then
34301 wx_cv_size_t_is_ulong=no
34302 else
34303 echo "$as_me: failed program was:" >&5
34304 sed 's/^/| /' conftest.$ac_ext >&5
34305
34306 wx_cv_size_t_is_ulong=yes
34307
34308 fi
34309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34310
34311 fi
34312 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34313 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34314
34315 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34316 cat >>confdefs.h <<\_ACEOF
34317 #define wxSIZE_T_IS_ULONG 1
34318 _ACEOF
34319
34320 fi
34321 fi
34322
34323
34324 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34325 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34326 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34327 echo $ECHO_N "(cached) $ECHO_C" >&6
34328 else
34329
34330 cat >conftest.$ac_ext <<_ACEOF
34331 /* confdefs.h. */
34332 _ACEOF
34333 cat confdefs.h >>conftest.$ac_ext
34334 cat >>conftest.$ac_ext <<_ACEOF
34335 /* end confdefs.h. */
34336 #include <pwd.h>
34337 int
34338 main ()
34339 {
34340
34341 char *p;
34342 struct passwd *pw;
34343 p = pw->pw_gecos;
34344
34345 ;
34346 return 0;
34347 }
34348 _ACEOF
34349 rm -f conftest.$ac_objext
34350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34351 (eval $ac_compile) 2>conftest.er1
34352 ac_status=$?
34353 grep -v '^ *+' conftest.er1 >conftest.err
34354 rm -f conftest.er1
34355 cat conftest.err >&5
34356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34357 (exit $ac_status); } &&
34358 { ac_try='test -z "$ac_cxx_werror_flag"
34359 || test ! -s conftest.err'
34360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34361 (eval $ac_try) 2>&5
34362 ac_status=$?
34363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34364 (exit $ac_status); }; } &&
34365 { ac_try='test -s conftest.$ac_objext'
34366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34367 (eval $ac_try) 2>&5
34368 ac_status=$?
34369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34370 (exit $ac_status); }; }; then
34371
34372 wx_cv_struct_pw_gecos=yes
34373
34374 else
34375 echo "$as_me: failed program was:" >&5
34376 sed 's/^/| /' conftest.$ac_ext >&5
34377
34378
34379 wx_cv_struct_pw_gecos=no
34380
34381
34382 fi
34383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34384
34385
34386 fi
34387 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34388 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34389
34390 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34391 cat >>confdefs.h <<\_ACEOF
34392 #define HAVE_PW_GECOS 1
34393 _ACEOF
34394
34395 fi
34396
34397
34398 if test "$wxUSE_WCHAR_T" = "yes"; then
34399 cat >>confdefs.h <<\_ACEOF
34400 #define wxUSE_WCHAR_T 1
34401 _ACEOF
34402
34403
34404 WCSLEN_FOUND=0
34405 WCHAR_LINK=
34406
34407 for ac_func in wcslen
34408 do
34409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34410 echo "$as_me:$LINENO: checking for $ac_func" >&5
34411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34412 if eval "test \"\${$as_ac_var+set}\" = set"; then
34413 echo $ECHO_N "(cached) $ECHO_C" >&6
34414 else
34415 cat >conftest.$ac_ext <<_ACEOF
34416 /* confdefs.h. */
34417 _ACEOF
34418 cat confdefs.h >>conftest.$ac_ext
34419 cat >>conftest.$ac_ext <<_ACEOF
34420 /* end confdefs.h. */
34421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34423 #define $ac_func innocuous_$ac_func
34424
34425 /* System header to define __stub macros and hopefully few prototypes,
34426 which can conflict with char $ac_func (); below.
34427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34428 <limits.h> exists even on freestanding compilers. */
34429
34430 #ifdef __STDC__
34431 # include <limits.h>
34432 #else
34433 # include <assert.h>
34434 #endif
34435
34436 #undef $ac_func
34437
34438 /* Override any gcc2 internal prototype to avoid an error. */
34439 #ifdef __cplusplus
34440 extern "C"
34441 {
34442 #endif
34443 /* We use char because int might match the return type of a gcc2
34444 builtin and then its argument prototype would still apply. */
34445 char $ac_func ();
34446 /* The GNU C library defines this for functions which it implements
34447 to always fail with ENOSYS. Some functions are actually named
34448 something starting with __ and the normal name is an alias. */
34449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34450 choke me
34451 #else
34452 char (*f) () = $ac_func;
34453 #endif
34454 #ifdef __cplusplus
34455 }
34456 #endif
34457
34458 int
34459 main ()
34460 {
34461 return f != $ac_func;
34462 ;
34463 return 0;
34464 }
34465 _ACEOF
34466 rm -f conftest.$ac_objext conftest$ac_exeext
34467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34468 (eval $ac_link) 2>conftest.er1
34469 ac_status=$?
34470 grep -v '^ *+' conftest.er1 >conftest.err
34471 rm -f conftest.er1
34472 cat conftest.err >&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } &&
34475 { ac_try='test -z "$ac_cxx_werror_flag"
34476 || test ! -s conftest.err'
34477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34478 (eval $ac_try) 2>&5
34479 ac_status=$?
34480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34481 (exit $ac_status); }; } &&
34482 { ac_try='test -s conftest$ac_exeext'
34483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34484 (eval $ac_try) 2>&5
34485 ac_status=$?
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); }; }; then
34488 eval "$as_ac_var=yes"
34489 else
34490 echo "$as_me: failed program was:" >&5
34491 sed 's/^/| /' conftest.$ac_ext >&5
34492
34493 eval "$as_ac_var=no"
34494 fi
34495 rm -f conftest.err conftest.$ac_objext \
34496 conftest$ac_exeext conftest.$ac_ext
34497 fi
34498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34500 if test `eval echo '${'$as_ac_var'}'` = yes; then
34501 cat >>confdefs.h <<_ACEOF
34502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34503 _ACEOF
34504 WCSLEN_FOUND=1
34505 fi
34506 done
34507
34508
34509 if test "$WCSLEN_FOUND" = 0; then
34510 if test "$TOOLKIT" = "MSW"; then
34511 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34512 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34513 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34514 echo $ECHO_N "(cached) $ECHO_C" >&6
34515 else
34516 ac_check_lib_save_LIBS=$LIBS
34517 LIBS="-lmsvcrt $LIBS"
34518 cat >conftest.$ac_ext <<_ACEOF
34519 /* confdefs.h. */
34520 _ACEOF
34521 cat confdefs.h >>conftest.$ac_ext
34522 cat >>conftest.$ac_ext <<_ACEOF
34523 /* end confdefs.h. */
34524
34525 /* Override any gcc2 internal prototype to avoid an error. */
34526 #ifdef __cplusplus
34527 extern "C"
34528 #endif
34529 /* We use char because int might match the return type of a gcc2
34530 builtin and then its argument prototype would still apply. */
34531 char wcslen ();
34532 int
34533 main ()
34534 {
34535 wcslen ();
34536 ;
34537 return 0;
34538 }
34539 _ACEOF
34540 rm -f conftest.$ac_objext conftest$ac_exeext
34541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34542 (eval $ac_link) 2>conftest.er1
34543 ac_status=$?
34544 grep -v '^ *+' conftest.er1 >conftest.err
34545 rm -f conftest.er1
34546 cat conftest.err >&5
34547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); } &&
34549 { ac_try='test -z "$ac_cxx_werror_flag"
34550 || test ! -s conftest.err'
34551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34552 (eval $ac_try) 2>&5
34553 ac_status=$?
34554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34555 (exit $ac_status); }; } &&
34556 { ac_try='test -s conftest$ac_exeext'
34557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34558 (eval $ac_try) 2>&5
34559 ac_status=$?
34560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34561 (exit $ac_status); }; }; then
34562 ac_cv_lib_msvcrt_wcslen=yes
34563 else
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.$ac_ext >&5
34566
34567 ac_cv_lib_msvcrt_wcslen=no
34568 fi
34569 rm -f conftest.err conftest.$ac_objext \
34570 conftest$ac_exeext conftest.$ac_ext
34571 LIBS=$ac_check_lib_save_LIBS
34572 fi
34573 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34574 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34575 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34576 WCHAR_OK=1
34577 fi
34578
34579 else
34580 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34581 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34582 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34583 echo $ECHO_N "(cached) $ECHO_C" >&6
34584 else
34585 ac_check_lib_save_LIBS=$LIBS
34586 LIBS="-lw $LIBS"
34587 cat >conftest.$ac_ext <<_ACEOF
34588 /* confdefs.h. */
34589 _ACEOF
34590 cat confdefs.h >>conftest.$ac_ext
34591 cat >>conftest.$ac_ext <<_ACEOF
34592 /* end confdefs.h. */
34593
34594 /* Override any gcc2 internal prototype to avoid an error. */
34595 #ifdef __cplusplus
34596 extern "C"
34597 #endif
34598 /* We use char because int might match the return type of a gcc2
34599 builtin and then its argument prototype would still apply. */
34600 char wcslen ();
34601 int
34602 main ()
34603 {
34604 wcslen ();
34605 ;
34606 return 0;
34607 }
34608 _ACEOF
34609 rm -f conftest.$ac_objext conftest$ac_exeext
34610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34611 (eval $ac_link) 2>conftest.er1
34612 ac_status=$?
34613 grep -v '^ *+' conftest.er1 >conftest.err
34614 rm -f conftest.er1
34615 cat conftest.err >&5
34616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34617 (exit $ac_status); } &&
34618 { ac_try='test -z "$ac_cxx_werror_flag"
34619 || test ! -s conftest.err'
34620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34621 (eval $ac_try) 2>&5
34622 ac_status=$?
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); }; } &&
34625 { ac_try='test -s conftest$ac_exeext'
34626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34627 (eval $ac_try) 2>&5
34628 ac_status=$?
34629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34630 (exit $ac_status); }; }; then
34631 ac_cv_lib_w_wcslen=yes
34632 else
34633 echo "$as_me: failed program was:" >&5
34634 sed 's/^/| /' conftest.$ac_ext >&5
34635
34636 ac_cv_lib_w_wcslen=no
34637 fi
34638 rm -f conftest.err conftest.$ac_objext \
34639 conftest$ac_exeext conftest.$ac_ext
34640 LIBS=$ac_check_lib_save_LIBS
34641 fi
34642 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34643 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34644 if test $ac_cv_lib_w_wcslen = yes; then
34645
34646 WCHAR_LINK=" -lw"
34647 WCSLEN_FOUND=1
34648
34649 fi
34650
34651 fi
34652 fi
34653
34654 if test "$WCSLEN_FOUND" = 1; then
34655 cat >>confdefs.h <<\_ACEOF
34656 #define HAVE_WCSLEN 1
34657 _ACEOF
34658
34659 fi
34660
34661 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34662 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34663 fi
34664
34665 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34666 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34667 if test "${ac_cv_type_mbstate_t+set}" = set; then
34668 echo $ECHO_N "(cached) $ECHO_C" >&6
34669 else
34670 cat >conftest.$ac_ext <<_ACEOF
34671 /* confdefs.h. */
34672 _ACEOF
34673 cat confdefs.h >>conftest.$ac_ext
34674 cat >>conftest.$ac_ext <<_ACEOF
34675 /* end confdefs.h. */
34676 #include <wchar.h>
34677
34678 int
34679 main ()
34680 {
34681 if ((mbstate_t *) 0)
34682 return 0;
34683 if (sizeof (mbstate_t))
34684 return 0;
34685 ;
34686 return 0;
34687 }
34688 _ACEOF
34689 rm -f conftest.$ac_objext
34690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34691 (eval $ac_compile) 2>conftest.er1
34692 ac_status=$?
34693 grep -v '^ *+' conftest.er1 >conftest.err
34694 rm -f conftest.er1
34695 cat conftest.err >&5
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); } &&
34698 { ac_try='test -z "$ac_cxx_werror_flag"
34699 || test ! -s conftest.err'
34700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34701 (eval $ac_try) 2>&5
34702 ac_status=$?
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); }; } &&
34705 { ac_try='test -s conftest.$ac_objext'
34706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34707 (eval $ac_try) 2>&5
34708 ac_status=$?
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); }; }; then
34711 ac_cv_type_mbstate_t=yes
34712 else
34713 echo "$as_me: failed program was:" >&5
34714 sed 's/^/| /' conftest.$ac_ext >&5
34715
34716 ac_cv_type_mbstate_t=no
34717 fi
34718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34719 fi
34720 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34721 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34722 if test $ac_cv_type_mbstate_t = yes; then
34723
34724 cat >>confdefs.h <<_ACEOF
34725 #define HAVE_MBSTATE_T 1
34726 _ACEOF
34727
34728
34729 for ac_func in wcsrtombs
34730 do
34731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34732 echo "$as_me:$LINENO: checking for $ac_func" >&5
34733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34734 if eval "test \"\${$as_ac_var+set}\" = set"; then
34735 echo $ECHO_N "(cached) $ECHO_C" >&6
34736 else
34737 cat >conftest.$ac_ext <<_ACEOF
34738 /* confdefs.h. */
34739 _ACEOF
34740 cat confdefs.h >>conftest.$ac_ext
34741 cat >>conftest.$ac_ext <<_ACEOF
34742 /* end confdefs.h. */
34743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34745 #define $ac_func innocuous_$ac_func
34746
34747 /* System header to define __stub macros and hopefully few prototypes,
34748 which can conflict with char $ac_func (); below.
34749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34750 <limits.h> exists even on freestanding compilers. */
34751
34752 #ifdef __STDC__
34753 # include <limits.h>
34754 #else
34755 # include <assert.h>
34756 #endif
34757
34758 #undef $ac_func
34759
34760 /* Override any gcc2 internal prototype to avoid an error. */
34761 #ifdef __cplusplus
34762 extern "C"
34763 {
34764 #endif
34765 /* We use char because int might match the return type of a gcc2
34766 builtin and then its argument prototype would still apply. */
34767 char $ac_func ();
34768 /* The GNU C library defines this for functions which it implements
34769 to always fail with ENOSYS. Some functions are actually named
34770 something starting with __ and the normal name is an alias. */
34771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34772 choke me
34773 #else
34774 char (*f) () = $ac_func;
34775 #endif
34776 #ifdef __cplusplus
34777 }
34778 #endif
34779
34780 int
34781 main ()
34782 {
34783 return f != $ac_func;
34784 ;
34785 return 0;
34786 }
34787 _ACEOF
34788 rm -f conftest.$ac_objext conftest$ac_exeext
34789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34790 (eval $ac_link) 2>conftest.er1
34791 ac_status=$?
34792 grep -v '^ *+' conftest.er1 >conftest.err
34793 rm -f conftest.er1
34794 cat conftest.err >&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); } &&
34797 { ac_try='test -z "$ac_cxx_werror_flag"
34798 || test ! -s conftest.err'
34799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34800 (eval $ac_try) 2>&5
34801 ac_status=$?
34802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34803 (exit $ac_status); }; } &&
34804 { ac_try='test -s conftest$ac_exeext'
34805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34806 (eval $ac_try) 2>&5
34807 ac_status=$?
34808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34809 (exit $ac_status); }; }; then
34810 eval "$as_ac_var=yes"
34811 else
34812 echo "$as_me: failed program was:" >&5
34813 sed 's/^/| /' conftest.$ac_ext >&5
34814
34815 eval "$as_ac_var=no"
34816 fi
34817 rm -f conftest.err conftest.$ac_objext \
34818 conftest$ac_exeext conftest.$ac_ext
34819 fi
34820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34822 if test `eval echo '${'$as_ac_var'}'` = yes; then
34823 cat >>confdefs.h <<_ACEOF
34824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34825 _ACEOF
34826
34827 fi
34828 done
34829
34830 fi
34831
34832 else
34833 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34834 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34835 fi
34836
34837
34838
34839 for ac_func in snprintf vsnprintf
34840 do
34841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34842 echo "$as_me:$LINENO: checking for $ac_func" >&5
34843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34844 if eval "test \"\${$as_ac_var+set}\" = set"; then
34845 echo $ECHO_N "(cached) $ECHO_C" >&6
34846 else
34847 cat >conftest.$ac_ext <<_ACEOF
34848 /* confdefs.h. */
34849 _ACEOF
34850 cat confdefs.h >>conftest.$ac_ext
34851 cat >>conftest.$ac_ext <<_ACEOF
34852 /* end confdefs.h. */
34853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34855 #define $ac_func innocuous_$ac_func
34856
34857 /* System header to define __stub macros and hopefully few prototypes,
34858 which can conflict with char $ac_func (); below.
34859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34860 <limits.h> exists even on freestanding compilers. */
34861
34862 #ifdef __STDC__
34863 # include <limits.h>
34864 #else
34865 # include <assert.h>
34866 #endif
34867
34868 #undef $ac_func
34869
34870 /* Override any gcc2 internal prototype to avoid an error. */
34871 #ifdef __cplusplus
34872 extern "C"
34873 {
34874 #endif
34875 /* We use char because int might match the return type of a gcc2
34876 builtin and then its argument prototype would still apply. */
34877 char $ac_func ();
34878 /* The GNU C library defines this for functions which it implements
34879 to always fail with ENOSYS. Some functions are actually named
34880 something starting with __ and the normal name is an alias. */
34881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34882 choke me
34883 #else
34884 char (*f) () = $ac_func;
34885 #endif
34886 #ifdef __cplusplus
34887 }
34888 #endif
34889
34890 int
34891 main ()
34892 {
34893 return f != $ac_func;
34894 ;
34895 return 0;
34896 }
34897 _ACEOF
34898 rm -f conftest.$ac_objext conftest$ac_exeext
34899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34900 (eval $ac_link) 2>conftest.er1
34901 ac_status=$?
34902 grep -v '^ *+' conftest.er1 >conftest.err
34903 rm -f conftest.er1
34904 cat conftest.err >&5
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); } &&
34907 { ac_try='test -z "$ac_cxx_werror_flag"
34908 || test ! -s conftest.err'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34911 ac_status=$?
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; } &&
34914 { ac_try='test -s conftest$ac_exeext'
34915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916 (eval $ac_try) 2>&5
34917 ac_status=$?
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); }; }; then
34920 eval "$as_ac_var=yes"
34921 else
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.$ac_ext >&5
34924
34925 eval "$as_ac_var=no"
34926 fi
34927 rm -f conftest.err conftest.$ac_objext \
34928 conftest$ac_exeext conftest.$ac_ext
34929 fi
34930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34932 if test `eval echo '${'$as_ac_var'}'` = yes; then
34933 cat >>confdefs.h <<_ACEOF
34934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34935 _ACEOF
34936
34937 fi
34938 done
34939
34940
34941 if test "$ac_cv_func_vsnprintf" = "yes"; then
34942 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34943 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34944 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34945 echo $ECHO_N "(cached) $ECHO_C" >&6
34946 else
34947
34948 cat >conftest.$ac_ext <<_ACEOF
34949 /* confdefs.h. */
34950 _ACEOF
34951 cat confdefs.h >>conftest.$ac_ext
34952 cat >>conftest.$ac_ext <<_ACEOF
34953 /* end confdefs.h. */
34954
34955 #include <stdio.h>
34956 #include <stdarg.h>
34957 #ifdef __MSL__
34958 #if __MSL__ >= 0x6000
34959 namespace std {}
34960 using namespace std;
34961 #endif
34962 #endif
34963
34964 int
34965 main ()
34966 {
34967
34968 char *buf;
34969 va_list ap;
34970 vsnprintf(buf, 10u, "%s", ap);
34971
34972 ;
34973 return 0;
34974 }
34975 _ACEOF
34976 rm -f conftest.$ac_objext
34977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34978 (eval $ac_compile) 2>conftest.er1
34979 ac_status=$?
34980 grep -v '^ *+' conftest.er1 >conftest.err
34981 rm -f conftest.er1
34982 cat conftest.err >&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); } &&
34985 { ac_try='test -z "$ac_cxx_werror_flag"
34986 || test ! -s conftest.err'
34987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988 (eval $ac_try) 2>&5
34989 ac_status=$?
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; } &&
34992 { ac_try='test -s conftest.$ac_objext'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34995 ac_status=$?
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; }; then
34998 wx_cv_func_vsnprintf_decl=yes
34999 else
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.$ac_ext >&5
35002
35003 wx_cv_func_vsnprintf_decl=no
35004
35005 fi
35006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35007
35008
35009 fi
35010 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35011 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35012
35013 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35014 cat >>confdefs.h <<\_ACEOF
35015 #define HAVE_VSNPRINTF_DECL 1
35016 _ACEOF
35017
35018
35019 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35020 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35021 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35022 echo $ECHO_N "(cached) $ECHO_C" >&6
35023 else
35024
35025 cat >conftest.$ac_ext <<_ACEOF
35026 /* confdefs.h. */
35027 _ACEOF
35028 cat confdefs.h >>conftest.$ac_ext
35029 cat >>conftest.$ac_ext <<_ACEOF
35030 /* end confdefs.h. */
35031
35032 #include <stdio.h>
35033 #include <stdarg.h>
35034 #ifdef __MSL__
35035 #if __MSL__ >= 0x6000
35036 namespace std {}
35037 using namespace std;
35038 #endif
35039 #endif
35040
35041 int
35042 main ()
35043 {
35044
35045 char *buf;
35046 va_list ap;
35047 const char *fmt = "%s";
35048 vsnprintf(buf, 10u, fmt, ap);
35049
35050 ;
35051 return 0;
35052 }
35053 _ACEOF
35054 rm -f conftest.$ac_objext
35055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35056 (eval $ac_compile) 2>conftest.er1
35057 ac_status=$?
35058 grep -v '^ *+' conftest.er1 >conftest.err
35059 rm -f conftest.er1
35060 cat conftest.err >&5
35061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35062 (exit $ac_status); } &&
35063 { ac_try='test -z "$ac_cxx_werror_flag"
35064 || test ! -s conftest.err'
35065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35066 (eval $ac_try) 2>&5
35067 ac_status=$?
35068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35069 (exit $ac_status); }; } &&
35070 { ac_try='test -s conftest.$ac_objext'
35071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35072 (eval $ac_try) 2>&5
35073 ac_status=$?
35074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35075 (exit $ac_status); }; }; then
35076 wx_cv_func_broken_vsnprintf_decl=no
35077 else
35078 echo "$as_me: failed program was:" >&5
35079 sed 's/^/| /' conftest.$ac_ext >&5
35080
35081 wx_cv_func_broken_vsnprintf_decl=yes
35082
35083 fi
35084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35085
35086
35087 fi
35088 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35089 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35090
35091 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35092 cat >>confdefs.h <<\_ACEOF
35093 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35094 _ACEOF
35095
35096 fi
35097 fi
35098 fi
35099
35100 if test "$ac_cv_func_snprintf" = "yes"; then
35101 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35102 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35103 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35104 echo $ECHO_N "(cached) $ECHO_C" >&6
35105 else
35106
35107 cat >conftest.$ac_ext <<_ACEOF
35108 /* confdefs.h. */
35109 _ACEOF
35110 cat confdefs.h >>conftest.$ac_ext
35111 cat >>conftest.$ac_ext <<_ACEOF
35112 /* end confdefs.h. */
35113
35114 #include <stdio.h>
35115 #include <stdarg.h>
35116 #ifdef __MSL__
35117 #if __MSL__ >= 0x6000
35118 namespace std {}
35119 using namespace std;
35120 #endif
35121 #endif
35122
35123 int
35124 main ()
35125 {
35126
35127 char *buf;
35128 snprintf(buf, 10u, "%s", "wx");
35129
35130 ;
35131 return 0;
35132 }
35133 _ACEOF
35134 rm -f conftest.$ac_objext
35135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35136 (eval $ac_compile) 2>conftest.er1
35137 ac_status=$?
35138 grep -v '^ *+' conftest.er1 >conftest.err
35139 rm -f conftest.er1
35140 cat conftest.err >&5
35141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35142 (exit $ac_status); } &&
35143 { ac_try='test -z "$ac_cxx_werror_flag"
35144 || test ! -s conftest.err'
35145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35146 (eval $ac_try) 2>&5
35147 ac_status=$?
35148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35149 (exit $ac_status); }; } &&
35150 { ac_try='test -s conftest.$ac_objext'
35151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35152 (eval $ac_try) 2>&5
35153 ac_status=$?
35154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35155 (exit $ac_status); }; }; then
35156 wx_cv_func_snprintf_decl=yes
35157 else
35158 echo "$as_me: failed program was:" >&5
35159 sed 's/^/| /' conftest.$ac_ext >&5
35160
35161 wx_cv_func_snprintf_decl=no
35162
35163 fi
35164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35165
35166
35167 fi
35168 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35169 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35170
35171 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35172 cat >>confdefs.h <<\_ACEOF
35173 #define HAVE_SNPRINTF_DECL 1
35174 _ACEOF
35175
35176
35177 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35178 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35179 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35180 echo $ECHO_N "(cached) $ECHO_C" >&6
35181 else
35182
35183 cat >conftest.$ac_ext <<_ACEOF
35184 /* confdefs.h. */
35185 _ACEOF
35186 cat confdefs.h >>conftest.$ac_ext
35187 cat >>conftest.$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35189
35190 #include <stdio.h>
35191 #include <stdarg.h>
35192 #ifdef __MSL__
35193 #if __MSL__ >= 0x6000
35194 namespace std {}
35195 using namespace std;
35196 #endif
35197 #endif
35198
35199 int
35200 main ()
35201 {
35202
35203 char *buf;
35204 const char *fmt = "%s";
35205 snprintf(buf, 10u, fmt, "wx");
35206
35207 ;
35208 return 0;
35209 }
35210 _ACEOF
35211 rm -f conftest.$ac_objext
35212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35213 (eval $ac_compile) 2>conftest.er1
35214 ac_status=$?
35215 grep -v '^ *+' conftest.er1 >conftest.err
35216 rm -f conftest.er1
35217 cat conftest.err >&5
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); } &&
35220 { ac_try='test -z "$ac_cxx_werror_flag"
35221 || test ! -s conftest.err'
35222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35223 (eval $ac_try) 2>&5
35224 ac_status=$?
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); }; } &&
35227 { ac_try='test -s conftest.$ac_objext'
35228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35229 (eval $ac_try) 2>&5
35230 ac_status=$?
35231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232 (exit $ac_status); }; }; then
35233 wx_cv_func_broken_snprintf_decl=no
35234 else
35235 echo "$as_me: failed program was:" >&5
35236 sed 's/^/| /' conftest.$ac_ext >&5
35237
35238 wx_cv_func_broken_snprintf_decl=yes
35239
35240 fi
35241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35242
35243
35244 fi
35245 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35246 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35247
35248 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35249 cat >>confdefs.h <<\_ACEOF
35250 #define HAVE_BROKEN_SNPRINTF_DECL 1
35251 _ACEOF
35252
35253 fi
35254 fi
35255
35256 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35257
35258 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35259 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35260 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35261 echo $ECHO_N "(cached) $ECHO_C" >&6
35262 else
35263
35264 if test "$cross_compiling" = yes; then
35265
35266 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35267 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35268 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35269 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35270 wx_cv_func_snprintf_pos_params=no
35271
35272
35273 else
35274 cat >conftest.$ac_ext <<_ACEOF
35275 /* confdefs.h. */
35276 _ACEOF
35277 cat confdefs.h >>conftest.$ac_ext
35278 cat >>conftest.$ac_ext <<_ACEOF
35279 /* end confdefs.h. */
35280
35281 #include <stdio.h>
35282
35283 int main (void)
35284 {
35285 char buffer[128];
35286 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35287 if (strcmp ("2 3 1", buffer) == 0)
35288 exit (0);
35289 exit (1);
35290 }
35291
35292 _ACEOF
35293 rm -f conftest$ac_exeext
35294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35295 (eval $ac_link) 2>&5
35296 ac_status=$?
35297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35300 (eval $ac_try) 2>&5
35301 ac_status=$?
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); }; }; then
35304 wx_cv_func_snprintf_pos_params=no
35305 else
35306 echo "$as_me: program exited with status $ac_status" >&5
35307 echo "$as_me: failed program was:" >&5
35308 sed 's/^/| /' conftest.$ac_ext >&5
35309
35310 ( exit $ac_status )
35311 wx_cv_func_snprintf_pos_params=yes
35312 fi
35313 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35314 fi
35315
35316
35317 fi
35318 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35319 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35320
35321 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35322 cat >>confdefs.h <<\_ACEOF
35323 #define HAVE_UNIX98_PRINTF 1
35324 _ACEOF
35325
35326 fi
35327 fi
35328 fi
35329
35330 if test "$wxUSE_UNICODE" = yes; then
35331
35332
35333 for ac_func in swprintf
35334 do
35335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35336 echo "$as_me:$LINENO: checking for $ac_func" >&5
35337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35338 if eval "test \"\${$as_ac_var+set}\" = set"; then
35339 echo $ECHO_N "(cached) $ECHO_C" >&6
35340 else
35341 cat >conftest.$ac_ext <<_ACEOF
35342 /* confdefs.h. */
35343 _ACEOF
35344 cat confdefs.h >>conftest.$ac_ext
35345 cat >>conftest.$ac_ext <<_ACEOF
35346 /* end confdefs.h. */
35347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35349 #define $ac_func innocuous_$ac_func
35350
35351 /* System header to define __stub macros and hopefully few prototypes,
35352 which can conflict with char $ac_func (); below.
35353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35354 <limits.h> exists even on freestanding compilers. */
35355
35356 #ifdef __STDC__
35357 # include <limits.h>
35358 #else
35359 # include <assert.h>
35360 #endif
35361
35362 #undef $ac_func
35363
35364 /* Override any gcc2 internal prototype to avoid an error. */
35365 #ifdef __cplusplus
35366 extern "C"
35367 {
35368 #endif
35369 /* We use char because int might match the return type of a gcc2
35370 builtin and then its argument prototype would still apply. */
35371 char $ac_func ();
35372 /* The GNU C library defines this for functions which it implements
35373 to always fail with ENOSYS. Some functions are actually named
35374 something starting with __ and the normal name is an alias. */
35375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35376 choke me
35377 #else
35378 char (*f) () = $ac_func;
35379 #endif
35380 #ifdef __cplusplus
35381 }
35382 #endif
35383
35384 int
35385 main ()
35386 {
35387 return f != $ac_func;
35388 ;
35389 return 0;
35390 }
35391 _ACEOF
35392 rm -f conftest.$ac_objext conftest$ac_exeext
35393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35394 (eval $ac_link) 2>conftest.er1
35395 ac_status=$?
35396 grep -v '^ *+' conftest.er1 >conftest.err
35397 rm -f conftest.er1
35398 cat conftest.err >&5
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); } &&
35401 { ac_try='test -z "$ac_cxx_werror_flag"
35402 || test ! -s conftest.err'
35403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35404 (eval $ac_try) 2>&5
35405 ac_status=$?
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); }; } &&
35408 { ac_try='test -s conftest$ac_exeext'
35409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35410 (eval $ac_try) 2>&5
35411 ac_status=$?
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); }; }; then
35414 eval "$as_ac_var=yes"
35415 else
35416 echo "$as_me: failed program was:" >&5
35417 sed 's/^/| /' conftest.$ac_ext >&5
35418
35419 eval "$as_ac_var=no"
35420 fi
35421 rm -f conftest.err conftest.$ac_objext \
35422 conftest$ac_exeext conftest.$ac_ext
35423 fi
35424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35426 if test `eval echo '${'$as_ac_var'}'` = yes; then
35427 cat >>confdefs.h <<_ACEOF
35428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35429 _ACEOF
35430
35431 fi
35432 done
35433
35434
35435 if test "$ac_cv_func_swprintf" = "yes"; then
35436 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35437 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35438 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35439 echo $ECHO_N "(cached) $ECHO_C" >&6
35440 else
35441
35442 cat >conftest.$ac_ext <<_ACEOF
35443 /* confdefs.h. */
35444 _ACEOF
35445 cat confdefs.h >>conftest.$ac_ext
35446 cat >>conftest.$ac_ext <<_ACEOF
35447 /* end confdefs.h. */
35448
35449 #include <stdio.h>
35450 #include <stdarg.h>
35451 #include <wchar.h>
35452
35453 int
35454 main ()
35455 {
35456
35457 wchar_t *buf;
35458 const wchar_t *fmt = L"test";
35459 swprintf(buf, 10u, fmt);
35460
35461 ;
35462 return 0;
35463 }
35464 _ACEOF
35465 rm -f conftest.$ac_objext
35466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35467 (eval $ac_compile) 2>conftest.er1
35468 ac_status=$?
35469 grep -v '^ *+' conftest.er1 >conftest.err
35470 rm -f conftest.er1
35471 cat conftest.err >&5
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); } &&
35474 { ac_try='test -z "$ac_cxx_werror_flag"
35475 || test ! -s conftest.err'
35476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35477 (eval $ac_try) 2>&5
35478 ac_status=$?
35479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35480 (exit $ac_status); }; } &&
35481 { ac_try='test -s conftest.$ac_objext'
35482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35483 (eval $ac_try) 2>&5
35484 ac_status=$?
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); }; }; then
35487 wx_cv_func_broken_swprintf_decl=no
35488 else
35489 echo "$as_me: failed program was:" >&5
35490 sed 's/^/| /' conftest.$ac_ext >&5
35491
35492 wx_cv_func_broken_swprintf_decl=yes
35493
35494 fi
35495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35496
35497
35498 fi
35499 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35500 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35501
35502 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35503 cat >>confdefs.h <<\_ACEOF
35504 #define HAVE_BROKEN_SWPRINTF_DECL 1
35505 _ACEOF
35506
35507 fi
35508 fi
35509
35510
35511
35512
35513
35514
35515
35516 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35517 do
35518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35519 echo "$as_me:$LINENO: checking for $ac_func" >&5
35520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35521 if eval "test \"\${$as_ac_var+set}\" = set"; then
35522 echo $ECHO_N "(cached) $ECHO_C" >&6
35523 else
35524 cat >conftest.$ac_ext <<_ACEOF
35525 /* confdefs.h. */
35526 _ACEOF
35527 cat confdefs.h >>conftest.$ac_ext
35528 cat >>conftest.$ac_ext <<_ACEOF
35529 /* end confdefs.h. */
35530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35532 #define $ac_func innocuous_$ac_func
35533
35534 /* System header to define __stub macros and hopefully few prototypes,
35535 which can conflict with char $ac_func (); below.
35536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35537 <limits.h> exists even on freestanding compilers. */
35538
35539 #ifdef __STDC__
35540 # include <limits.h>
35541 #else
35542 # include <assert.h>
35543 #endif
35544
35545 #undef $ac_func
35546
35547 /* Override any gcc2 internal prototype to avoid an error. */
35548 #ifdef __cplusplus
35549 extern "C"
35550 {
35551 #endif
35552 /* We use char because int might match the return type of a gcc2
35553 builtin and then its argument prototype would still apply. */
35554 char $ac_func ();
35555 /* The GNU C library defines this for functions which it implements
35556 to always fail with ENOSYS. Some functions are actually named
35557 something starting with __ and the normal name is an alias. */
35558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35559 choke me
35560 #else
35561 char (*f) () = $ac_func;
35562 #endif
35563 #ifdef __cplusplus
35564 }
35565 #endif
35566
35567 int
35568 main ()
35569 {
35570 return f != $ac_func;
35571 ;
35572 return 0;
35573 }
35574 _ACEOF
35575 rm -f conftest.$ac_objext conftest$ac_exeext
35576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35577 (eval $ac_link) 2>conftest.er1
35578 ac_status=$?
35579 grep -v '^ *+' conftest.er1 >conftest.err
35580 rm -f conftest.er1
35581 cat conftest.err >&5
35582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35583 (exit $ac_status); } &&
35584 { ac_try='test -z "$ac_cxx_werror_flag"
35585 || test ! -s conftest.err'
35586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35587 (eval $ac_try) 2>&5
35588 ac_status=$?
35589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35590 (exit $ac_status); }; } &&
35591 { ac_try='test -s conftest$ac_exeext'
35592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35593 (eval $ac_try) 2>&5
35594 ac_status=$?
35595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35596 (exit $ac_status); }; }; then
35597 eval "$as_ac_var=yes"
35598 else
35599 echo "$as_me: failed program was:" >&5
35600 sed 's/^/| /' conftest.$ac_ext >&5
35601
35602 eval "$as_ac_var=no"
35603 fi
35604 rm -f conftest.err conftest.$ac_objext \
35605 conftest$ac_exeext conftest.$ac_ext
35606 fi
35607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35609 if test `eval echo '${'$as_ac_var'}'` = yes; then
35610 cat >>confdefs.h <<_ACEOF
35611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35612 _ACEOF
35613
35614 fi
35615 done
35616
35617
35618 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35619 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35620 cat >conftest.$ac_ext <<_ACEOF
35621 /* confdefs.h. */
35622 _ACEOF
35623 cat confdefs.h >>conftest.$ac_ext
35624 cat >>conftest.$ac_ext <<_ACEOF
35625 /* end confdefs.h. */
35626 #include <wchar.h>
35627 int
35628 main ()
35629 {
35630 &_vsnwprintf;
35631 ;
35632 return 0;
35633 }
35634 _ACEOF
35635 rm -f conftest.$ac_objext
35636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35637 (eval $ac_compile) 2>conftest.er1
35638 ac_status=$?
35639 grep -v '^ *+' conftest.er1 >conftest.err
35640 rm -f conftest.er1
35641 cat conftest.err >&5
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); } &&
35644 { ac_try='test -z "$ac_cxx_werror_flag"
35645 || test ! -s conftest.err'
35646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35647 (eval $ac_try) 2>&5
35648 ac_status=$?
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; } &&
35651 { ac_try='test -s conftest.$ac_objext'
35652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35653 (eval $ac_try) 2>&5
35654 ac_status=$?
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); }; }; then
35657 echo "$as_me:$LINENO: result: yes" >&5
35658 echo "${ECHO_T}yes" >&6
35659 cat >>confdefs.h <<\_ACEOF
35660 #define HAVE__VSNWPRINTF 1
35661 _ACEOF
35662
35663 else
35664 echo "$as_me: failed program was:" >&5
35665 sed 's/^/| /' conftest.$ac_ext >&5
35666
35667 echo "$as_me:$LINENO: result: no" >&5
35668 echo "${ECHO_T}no" >&6
35669 fi
35670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35671 fi
35672
35673 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35674
35675 for ac_func in fnmatch
35676 do
35677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35678 echo "$as_me:$LINENO: checking for $ac_func" >&5
35679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35680 if eval "test \"\${$as_ac_var+set}\" = set"; then
35681 echo $ECHO_N "(cached) $ECHO_C" >&6
35682 else
35683 cat >conftest.$ac_ext <<_ACEOF
35684 /* confdefs.h. */
35685 _ACEOF
35686 cat confdefs.h >>conftest.$ac_ext
35687 cat >>conftest.$ac_ext <<_ACEOF
35688 /* end confdefs.h. */
35689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35691 #define $ac_func innocuous_$ac_func
35692
35693 /* System header to define __stub macros and hopefully few prototypes,
35694 which can conflict with char $ac_func (); below.
35695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35696 <limits.h> exists even on freestanding compilers. */
35697
35698 #ifdef __STDC__
35699 # include <limits.h>
35700 #else
35701 # include <assert.h>
35702 #endif
35703
35704 #undef $ac_func
35705
35706 /* Override any gcc2 internal prototype to avoid an error. */
35707 #ifdef __cplusplus
35708 extern "C"
35709 {
35710 #endif
35711 /* We use char because int might match the return type of a gcc2
35712 builtin and then its argument prototype would still apply. */
35713 char $ac_func ();
35714 /* The GNU C library defines this for functions which it implements
35715 to always fail with ENOSYS. Some functions are actually named
35716 something starting with __ and the normal name is an alias. */
35717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35718 choke me
35719 #else
35720 char (*f) () = $ac_func;
35721 #endif
35722 #ifdef __cplusplus
35723 }
35724 #endif
35725
35726 int
35727 main ()
35728 {
35729 return f != $ac_func;
35730 ;
35731 return 0;
35732 }
35733 _ACEOF
35734 rm -f conftest.$ac_objext conftest$ac_exeext
35735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35736 (eval $ac_link) 2>conftest.er1
35737 ac_status=$?
35738 grep -v '^ *+' conftest.er1 >conftest.err
35739 rm -f conftest.er1
35740 cat conftest.err >&5
35741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35742 (exit $ac_status); } &&
35743 { ac_try='test -z "$ac_cxx_werror_flag"
35744 || test ! -s conftest.err'
35745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35746 (eval $ac_try) 2>&5
35747 ac_status=$?
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); }; } &&
35750 { ac_try='test -s conftest$ac_exeext'
35751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35752 (eval $ac_try) 2>&5
35753 ac_status=$?
35754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35755 (exit $ac_status); }; }; then
35756 eval "$as_ac_var=yes"
35757 else
35758 echo "$as_me: failed program was:" >&5
35759 sed 's/^/| /' conftest.$ac_ext >&5
35760
35761 eval "$as_ac_var=no"
35762 fi
35763 rm -f conftest.err conftest.$ac_objext \
35764 conftest$ac_exeext conftest.$ac_ext
35765 fi
35766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35768 if test `eval echo '${'$as_ac_var'}'` = yes; then
35769 cat >>confdefs.h <<_ACEOF
35770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35771 _ACEOF
35772
35773 fi
35774 done
35775
35776 fi
35777
35778 if test "$wxUSE_FILE" = "yes"; then
35779
35780 for ac_func in fsync
35781 do
35782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35783 echo "$as_me:$LINENO: checking for $ac_func" >&5
35784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35785 if eval "test \"\${$as_ac_var+set}\" = set"; then
35786 echo $ECHO_N "(cached) $ECHO_C" >&6
35787 else
35788 cat >conftest.$ac_ext <<_ACEOF
35789 /* confdefs.h. */
35790 _ACEOF
35791 cat confdefs.h >>conftest.$ac_ext
35792 cat >>conftest.$ac_ext <<_ACEOF
35793 /* end confdefs.h. */
35794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35796 #define $ac_func innocuous_$ac_func
35797
35798 /* System header to define __stub macros and hopefully few prototypes,
35799 which can conflict with char $ac_func (); below.
35800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35801 <limits.h> exists even on freestanding compilers. */
35802
35803 #ifdef __STDC__
35804 # include <limits.h>
35805 #else
35806 # include <assert.h>
35807 #endif
35808
35809 #undef $ac_func
35810
35811 /* Override any gcc2 internal prototype to avoid an error. */
35812 #ifdef __cplusplus
35813 extern "C"
35814 {
35815 #endif
35816 /* We use char because int might match the return type of a gcc2
35817 builtin and then its argument prototype would still apply. */
35818 char $ac_func ();
35819 /* The GNU C library defines this for functions which it implements
35820 to always fail with ENOSYS. Some functions are actually named
35821 something starting with __ and the normal name is an alias. */
35822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35823 choke me
35824 #else
35825 char (*f) () = $ac_func;
35826 #endif
35827 #ifdef __cplusplus
35828 }
35829 #endif
35830
35831 int
35832 main ()
35833 {
35834 return f != $ac_func;
35835 ;
35836 return 0;
35837 }
35838 _ACEOF
35839 rm -f conftest.$ac_objext conftest$ac_exeext
35840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35841 (eval $ac_link) 2>conftest.er1
35842 ac_status=$?
35843 grep -v '^ *+' conftest.er1 >conftest.err
35844 rm -f conftest.er1
35845 cat conftest.err >&5
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); } &&
35848 { ac_try='test -z "$ac_cxx_werror_flag"
35849 || test ! -s conftest.err'
35850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35851 (eval $ac_try) 2>&5
35852 ac_status=$?
35853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35854 (exit $ac_status); }; } &&
35855 { ac_try='test -s conftest$ac_exeext'
35856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35857 (eval $ac_try) 2>&5
35858 ac_status=$?
35859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35860 (exit $ac_status); }; }; then
35861 eval "$as_ac_var=yes"
35862 else
35863 echo "$as_me: failed program was:" >&5
35864 sed 's/^/| /' conftest.$ac_ext >&5
35865
35866 eval "$as_ac_var=no"
35867 fi
35868 rm -f conftest.err conftest.$ac_objext \
35869 conftest$ac_exeext conftest.$ac_ext
35870 fi
35871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35873 if test `eval echo '${'$as_ac_var'}'` = yes; then
35874 cat >>confdefs.h <<_ACEOF
35875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35876 _ACEOF
35877
35878 fi
35879 done
35880
35881 fi
35882
35883
35884 for ac_func in round
35885 do
35886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35887 echo "$as_me:$LINENO: checking for $ac_func" >&5
35888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35889 if eval "test \"\${$as_ac_var+set}\" = set"; then
35890 echo $ECHO_N "(cached) $ECHO_C" >&6
35891 else
35892 cat >conftest.$ac_ext <<_ACEOF
35893 /* confdefs.h. */
35894 _ACEOF
35895 cat confdefs.h >>conftest.$ac_ext
35896 cat >>conftest.$ac_ext <<_ACEOF
35897 /* end confdefs.h. */
35898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35900 #define $ac_func innocuous_$ac_func
35901
35902 /* System header to define __stub macros and hopefully few prototypes,
35903 which can conflict with char $ac_func (); below.
35904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35905 <limits.h> exists even on freestanding compilers. */
35906
35907 #ifdef __STDC__
35908 # include <limits.h>
35909 #else
35910 # include <assert.h>
35911 #endif
35912
35913 #undef $ac_func
35914
35915 /* Override any gcc2 internal prototype to avoid an error. */
35916 #ifdef __cplusplus
35917 extern "C"
35918 {
35919 #endif
35920 /* We use char because int might match the return type of a gcc2
35921 builtin and then its argument prototype would still apply. */
35922 char $ac_func ();
35923 /* The GNU C library defines this for functions which it implements
35924 to always fail with ENOSYS. Some functions are actually named
35925 something starting with __ and the normal name is an alias. */
35926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35927 choke me
35928 #else
35929 char (*f) () = $ac_func;
35930 #endif
35931 #ifdef __cplusplus
35932 }
35933 #endif
35934
35935 int
35936 main ()
35937 {
35938 return f != $ac_func;
35939 ;
35940 return 0;
35941 }
35942 _ACEOF
35943 rm -f conftest.$ac_objext conftest$ac_exeext
35944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35945 (eval $ac_link) 2>conftest.er1
35946 ac_status=$?
35947 grep -v '^ *+' conftest.er1 >conftest.err
35948 rm -f conftest.er1
35949 cat conftest.err >&5
35950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35951 (exit $ac_status); } &&
35952 { ac_try='test -z "$ac_cxx_werror_flag"
35953 || test ! -s conftest.err'
35954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35955 (eval $ac_try) 2>&5
35956 ac_status=$?
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); }; } &&
35959 { ac_try='test -s conftest$ac_exeext'
35960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35961 (eval $ac_try) 2>&5
35962 ac_status=$?
35963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35964 (exit $ac_status); }; }; then
35965 eval "$as_ac_var=yes"
35966 else
35967 echo "$as_me: failed program was:" >&5
35968 sed 's/^/| /' conftest.$ac_ext >&5
35969
35970 eval "$as_ac_var=no"
35971 fi
35972 rm -f conftest.err conftest.$ac_objext \
35973 conftest$ac_exeext conftest.$ac_ext
35974 fi
35975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35977 if test `eval echo '${'$as_ac_var'}'` = yes; then
35978 cat >>confdefs.h <<_ACEOF
35979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35980 _ACEOF
35981
35982 fi
35983 done
35984
35985 if test "$ac_cv_func_round" = yes; then
35986 echo "$as_me:$LINENO: checking whether round is declared" >&5
35987 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35988 if test "${ac_cv_have_decl_round+set}" = set; then
35989 echo $ECHO_N "(cached) $ECHO_C" >&6
35990 else
35991 cat >conftest.$ac_ext <<_ACEOF
35992 /* confdefs.h. */
35993 _ACEOF
35994 cat confdefs.h >>conftest.$ac_ext
35995 cat >>conftest.$ac_ext <<_ACEOF
35996 /* end confdefs.h. */
35997 #include <math.h>
35998
35999 int
36000 main ()
36001 {
36002 #ifndef round
36003 char *p = (char *) round;
36004 #endif
36005
36006 ;
36007 return 0;
36008 }
36009 _ACEOF
36010 rm -f conftest.$ac_objext
36011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36012 (eval $ac_compile) 2>conftest.er1
36013 ac_status=$?
36014 grep -v '^ *+' conftest.er1 >conftest.err
36015 rm -f conftest.er1
36016 cat conftest.err >&5
36017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018 (exit $ac_status); } &&
36019 { ac_try='test -z "$ac_cxx_werror_flag"
36020 || test ! -s conftest.err'
36021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36022 (eval $ac_try) 2>&5
36023 ac_status=$?
36024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025 (exit $ac_status); }; } &&
36026 { ac_try='test -s conftest.$ac_objext'
36027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36028 (eval $ac_try) 2>&5
36029 ac_status=$?
36030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031 (exit $ac_status); }; }; then
36032 ac_cv_have_decl_round=yes
36033 else
36034 echo "$as_me: failed program was:" >&5
36035 sed 's/^/| /' conftest.$ac_ext >&5
36036
36037 ac_cv_have_decl_round=no
36038 fi
36039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36040 fi
36041 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36042 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36043 if test $ac_cv_have_decl_round = yes; then
36044
36045 cat >>confdefs.h <<_ACEOF
36046 #define HAVE_DECL_ROUND 1
36047 _ACEOF
36048
36049
36050 else
36051 cat >>confdefs.h <<_ACEOF
36052 #define HAVE_DECL_ROUND 0
36053 _ACEOF
36054
36055
36056 fi
36057
36058
36059 fi
36060
36061
36062 if test "$TOOLKIT" != "MSW"; then
36063
36064
36065
36066
36067
36068 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36069 if test "${with_libiconv_prefix+set}" = set; then
36070 withval="$with_libiconv_prefix"
36071
36072 for dir in `echo "$withval" | tr : ' '`; do
36073 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36074 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36075 done
36076
36077 fi;
36078
36079 echo "$as_me:$LINENO: checking for iconv" >&5
36080 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36081 if test "${am_cv_func_iconv+set}" = set; then
36082 echo $ECHO_N "(cached) $ECHO_C" >&6
36083 else
36084
36085 am_cv_func_iconv="no, consider installing GNU libiconv"
36086 am_cv_lib_iconv=no
36087 cat >conftest.$ac_ext <<_ACEOF
36088 /* confdefs.h. */
36089 _ACEOF
36090 cat confdefs.h >>conftest.$ac_ext
36091 cat >>conftest.$ac_ext <<_ACEOF
36092 /* end confdefs.h. */
36093 #include <stdlib.h>
36094 #include <iconv.h>
36095 int
36096 main ()
36097 {
36098 iconv_t cd = iconv_open("","");
36099 iconv(cd,NULL,NULL,NULL,NULL);
36100 iconv_close(cd);
36101 ;
36102 return 0;
36103 }
36104 _ACEOF
36105 rm -f conftest.$ac_objext conftest$ac_exeext
36106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36107 (eval $ac_link) 2>conftest.er1
36108 ac_status=$?
36109 grep -v '^ *+' conftest.er1 >conftest.err
36110 rm -f conftest.er1
36111 cat conftest.err >&5
36112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36113 (exit $ac_status); } &&
36114 { ac_try='test -z "$ac_cxx_werror_flag"
36115 || test ! -s conftest.err'
36116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36117 (eval $ac_try) 2>&5
36118 ac_status=$?
36119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120 (exit $ac_status); }; } &&
36121 { ac_try='test -s conftest$ac_exeext'
36122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36123 (eval $ac_try) 2>&5
36124 ac_status=$?
36125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126 (exit $ac_status); }; }; then
36127 am_cv_func_iconv=yes
36128 else
36129 echo "$as_me: failed program was:" >&5
36130 sed 's/^/| /' conftest.$ac_ext >&5
36131
36132 fi
36133 rm -f conftest.err conftest.$ac_objext \
36134 conftest$ac_exeext conftest.$ac_ext
36135 if test "$am_cv_func_iconv" != yes; then
36136 am_save_LIBS="$LIBS"
36137 LIBS="$LIBS -liconv"
36138 cat >conftest.$ac_ext <<_ACEOF
36139 /* confdefs.h. */
36140 _ACEOF
36141 cat confdefs.h >>conftest.$ac_ext
36142 cat >>conftest.$ac_ext <<_ACEOF
36143 /* end confdefs.h. */
36144 #include <stdlib.h>
36145 #include <iconv.h>
36146 int
36147 main ()
36148 {
36149 iconv_t cd = iconv_open("","");
36150 iconv(cd,NULL,NULL,NULL,NULL);
36151 iconv_close(cd);
36152 ;
36153 return 0;
36154 }
36155 _ACEOF
36156 rm -f conftest.$ac_objext conftest$ac_exeext
36157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36158 (eval $ac_link) 2>conftest.er1
36159 ac_status=$?
36160 grep -v '^ *+' conftest.er1 >conftest.err
36161 rm -f conftest.er1
36162 cat conftest.err >&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); } &&
36165 { ac_try='test -z "$ac_cxx_werror_flag"
36166 || test ! -s conftest.err'
36167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36168 (eval $ac_try) 2>&5
36169 ac_status=$?
36170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171 (exit $ac_status); }; } &&
36172 { ac_try='test -s conftest$ac_exeext'
36173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36174 (eval $ac_try) 2>&5
36175 ac_status=$?
36176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36177 (exit $ac_status); }; }; then
36178 am_cv_lib_iconv=yes
36179 am_cv_func_iconv=yes
36180 else
36181 echo "$as_me: failed program was:" >&5
36182 sed 's/^/| /' conftest.$ac_ext >&5
36183
36184 fi
36185 rm -f conftest.err conftest.$ac_objext \
36186 conftest$ac_exeext conftest.$ac_ext
36187 LIBS="$am_save_LIBS"
36188 fi
36189
36190 fi
36191 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36192 echo "${ECHO_T}$am_cv_func_iconv" >&6
36193 if test "$am_cv_func_iconv" = yes; then
36194
36195 cat >>confdefs.h <<\_ACEOF
36196 #define HAVE_ICONV 1
36197 _ACEOF
36198
36199 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36200 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36201 if test "${wx_cv_func_iconv_const+set}" = set; then
36202 echo $ECHO_N "(cached) $ECHO_C" >&6
36203 else
36204 cat >conftest.$ac_ext <<_ACEOF
36205 /* confdefs.h. */
36206 _ACEOF
36207 cat confdefs.h >>conftest.$ac_ext
36208 cat >>conftest.$ac_ext <<_ACEOF
36209 /* end confdefs.h. */
36210
36211 #include <stdlib.h>
36212 #include <iconv.h>
36213 extern
36214 #ifdef __cplusplus
36215 "C"
36216 #endif
36217 #if defined(__STDC__) || defined(__cplusplus)
36218 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36219 #else
36220 size_t iconv();
36221 #endif
36222
36223 int
36224 main ()
36225 {
36226
36227 ;
36228 return 0;
36229 }
36230 _ACEOF
36231 rm -f conftest.$ac_objext
36232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36233 (eval $ac_compile) 2>conftest.er1
36234 ac_status=$?
36235 grep -v '^ *+' conftest.er1 >conftest.err
36236 rm -f conftest.er1
36237 cat conftest.err >&5
36238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239 (exit $ac_status); } &&
36240 { ac_try='test -z "$ac_cxx_werror_flag"
36241 || test ! -s conftest.err'
36242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36243 (eval $ac_try) 2>&5
36244 ac_status=$?
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); }; } &&
36247 { ac_try='test -s conftest.$ac_objext'
36248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36249 (eval $ac_try) 2>&5
36250 ac_status=$?
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); }; }; then
36253 wx_cv_func_iconv_const="no"
36254 else
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.$ac_ext >&5
36257
36258 wx_cv_func_iconv_const="yes"
36259
36260 fi
36261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36262
36263 fi
36264 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36265 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36266
36267 iconv_const=
36268 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36269 iconv_const="const"
36270 fi
36271
36272
36273 cat >>confdefs.h <<_ACEOF
36274 #define ICONV_CONST $iconv_const
36275 _ACEOF
36276
36277 fi
36278 LIBICONV=
36279 if test "$am_cv_lib_iconv" = yes; then
36280 LIBICONV="-liconv"
36281 fi
36282
36283
36284 LIBS="$LIBICONV $LIBS"
36285
36286 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36287
36288 for ac_func in sigaction
36289 do
36290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36291 echo "$as_me:$LINENO: checking for $ac_func" >&5
36292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36293 if eval "test \"\${$as_ac_var+set}\" = set"; then
36294 echo $ECHO_N "(cached) $ECHO_C" >&6
36295 else
36296 cat >conftest.$ac_ext <<_ACEOF
36297 /* confdefs.h. */
36298 _ACEOF
36299 cat confdefs.h >>conftest.$ac_ext
36300 cat >>conftest.$ac_ext <<_ACEOF
36301 /* end confdefs.h. */
36302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36304 #define $ac_func innocuous_$ac_func
36305
36306 /* System header to define __stub macros and hopefully few prototypes,
36307 which can conflict with char $ac_func (); below.
36308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36309 <limits.h> exists even on freestanding compilers. */
36310
36311 #ifdef __STDC__
36312 # include <limits.h>
36313 #else
36314 # include <assert.h>
36315 #endif
36316
36317 #undef $ac_func
36318
36319 /* Override any gcc2 internal prototype to avoid an error. */
36320 #ifdef __cplusplus
36321 extern "C"
36322 {
36323 #endif
36324 /* We use char because int might match the return type of a gcc2
36325 builtin and then its argument prototype would still apply. */
36326 char $ac_func ();
36327 /* The GNU C library defines this for functions which it implements
36328 to always fail with ENOSYS. Some functions are actually named
36329 something starting with __ and the normal name is an alias. */
36330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36331 choke me
36332 #else
36333 char (*f) () = $ac_func;
36334 #endif
36335 #ifdef __cplusplus
36336 }
36337 #endif
36338
36339 int
36340 main ()
36341 {
36342 return f != $ac_func;
36343 ;
36344 return 0;
36345 }
36346 _ACEOF
36347 rm -f conftest.$ac_objext conftest$ac_exeext
36348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36349 (eval $ac_link) 2>conftest.er1
36350 ac_status=$?
36351 grep -v '^ *+' conftest.er1 >conftest.err
36352 rm -f conftest.er1
36353 cat conftest.err >&5
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); } &&
36356 { ac_try='test -z "$ac_cxx_werror_flag"
36357 || test ! -s conftest.err'
36358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36359 (eval $ac_try) 2>&5
36360 ac_status=$?
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); }; } &&
36363 { ac_try='test -s conftest$ac_exeext'
36364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36365 (eval $ac_try) 2>&5
36366 ac_status=$?
36367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36368 (exit $ac_status); }; }; then
36369 eval "$as_ac_var=yes"
36370 else
36371 echo "$as_me: failed program was:" >&5
36372 sed 's/^/| /' conftest.$ac_ext >&5
36373
36374 eval "$as_ac_var=no"
36375 fi
36376 rm -f conftest.err conftest.$ac_objext \
36377 conftest$ac_exeext conftest.$ac_ext
36378 fi
36379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36381 if test `eval echo '${'$as_ac_var'}'` = yes; then
36382 cat >>confdefs.h <<_ACEOF
36383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36384 _ACEOF
36385
36386 fi
36387 done
36388
36389
36390 if test "$ac_cv_func_sigaction" = "no"; then
36391 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36392 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36393 wxUSE_ON_FATAL_EXCEPTION=no
36394 fi
36395
36396 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36397 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36398 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36399 if test "${wx_cv_type_sa_handler+set}" = set; then
36400 echo $ECHO_N "(cached) $ECHO_C" >&6
36401 else
36402
36403 cat >conftest.$ac_ext <<_ACEOF
36404 /* confdefs.h. */
36405 _ACEOF
36406 cat confdefs.h >>conftest.$ac_ext
36407 cat >>conftest.$ac_ext <<_ACEOF
36408 /* end confdefs.h. */
36409 #include <signal.h>
36410 int
36411 main ()
36412 {
36413
36414 extern void testSigHandler(int);
36415
36416 struct sigaction sa;
36417 sa.sa_handler = testSigHandler;
36418
36419 ;
36420 return 0;
36421 }
36422 _ACEOF
36423 rm -f conftest.$ac_objext
36424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36425 (eval $ac_compile) 2>conftest.er1
36426 ac_status=$?
36427 grep -v '^ *+' conftest.er1 >conftest.err
36428 rm -f conftest.er1
36429 cat conftest.err >&5
36430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36431 (exit $ac_status); } &&
36432 { ac_try='test -z "$ac_cxx_werror_flag"
36433 || test ! -s conftest.err'
36434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36435 (eval $ac_try) 2>&5
36436 ac_status=$?
36437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36438 (exit $ac_status); }; } &&
36439 { ac_try='test -s conftest.$ac_objext'
36440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36441 (eval $ac_try) 2>&5
36442 ac_status=$?
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); }; }; then
36445
36446 wx_cv_type_sa_handler=int
36447
36448 else
36449 echo "$as_me: failed program was:" >&5
36450 sed 's/^/| /' conftest.$ac_ext >&5
36451
36452
36453 wx_cv_type_sa_handler=void
36454
36455 fi
36456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36457
36458 fi
36459 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36460 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36461
36462 cat >>confdefs.h <<_ACEOF
36463 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36464 _ACEOF
36465
36466 fi
36467 fi
36468
36469 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36470 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36471 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36472 if test "${wx_cv_func_backtrace+set}" = set; then
36473 echo $ECHO_N "(cached) $ECHO_C" >&6
36474 else
36475
36476 cat >conftest.$ac_ext <<_ACEOF
36477 /* confdefs.h. */
36478 _ACEOF
36479 cat confdefs.h >>conftest.$ac_ext
36480 cat >>conftest.$ac_ext <<_ACEOF
36481 /* end confdefs.h. */
36482 #include <execinfo.h>
36483 int
36484 main ()
36485 {
36486
36487 void *trace[1];
36488 char **messages;
36489
36490 backtrace(trace, 1);
36491 messages = backtrace_symbols(trace, 1);
36492
36493 ;
36494 return 0;
36495 }
36496 _ACEOF
36497 rm -f conftest.$ac_objext
36498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36499 (eval $ac_compile) 2>conftest.er1
36500 ac_status=$?
36501 grep -v '^ *+' conftest.er1 >conftest.err
36502 rm -f conftest.er1
36503 cat conftest.err >&5
36504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 (exit $ac_status); } &&
36506 { ac_try='test -z "$ac_cxx_werror_flag"
36507 || test ! -s conftest.err'
36508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36509 (eval $ac_try) 2>&5
36510 ac_status=$?
36511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36512 (exit $ac_status); }; } &&
36513 { ac_try='test -s conftest.$ac_objext'
36514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36515 (eval $ac_try) 2>&5
36516 ac_status=$?
36517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36518 (exit $ac_status); }; }; then
36519 wx_cv_func_backtrace=yes
36520 else
36521 echo "$as_me: failed program was:" >&5
36522 sed 's/^/| /' conftest.$ac_ext >&5
36523
36524 wx_cv_func_backtrace=no
36525
36526 fi
36527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36528
36529
36530 fi
36531 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36532 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36533
36534
36535 if test "$wx_cv_func_backtrace" = "no"; then
36536 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36537 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36538 wxUSE_STACKWALKER=no
36539 else
36540 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36541 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36542 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36543 echo $ECHO_N "(cached) $ECHO_C" >&6
36544 else
36545
36546 cat >conftest.$ac_ext <<_ACEOF
36547 /* confdefs.h. */
36548 _ACEOF
36549 cat confdefs.h >>conftest.$ac_ext
36550 cat >>conftest.$ac_ext <<_ACEOF
36551 /* end confdefs.h. */
36552 #include <cxxabi.h>
36553 int
36554 main ()
36555 {
36556
36557 int rc;
36558 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36559
36560 ;
36561 return 0;
36562 }
36563 _ACEOF
36564 rm -f conftest.$ac_objext conftest$ac_exeext
36565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36566 (eval $ac_link) 2>conftest.er1
36567 ac_status=$?
36568 grep -v '^ *+' conftest.er1 >conftest.err
36569 rm -f conftest.er1
36570 cat conftest.err >&5
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); } &&
36573 { ac_try='test -z "$ac_cxx_werror_flag"
36574 || test ! -s conftest.err'
36575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36576 (eval $ac_try) 2>&5
36577 ac_status=$?
36578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36579 (exit $ac_status); }; } &&
36580 { ac_try='test -s conftest$ac_exeext'
36581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36582 (eval $ac_try) 2>&5
36583 ac_status=$?
36584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36585 (exit $ac_status); }; }; then
36586 wx_cv_func_cxa_demangle=yes
36587 else
36588 echo "$as_me: failed program was:" >&5
36589 sed 's/^/| /' conftest.$ac_ext >&5
36590
36591 wx_cv_func_cxa_demangle=no
36592
36593 fi
36594 rm -f conftest.err conftest.$ac_objext \
36595 conftest$ac_exeext conftest.$ac_ext
36596
36597
36598 fi
36599 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36600 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36601
36602 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36603 cat >>confdefs.h <<\_ACEOF
36604 #define HAVE_CXA_DEMANGLE 1
36605 _ACEOF
36606
36607 fi
36608 fi
36609 fi
36610
36611 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36612 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36613 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36614 wxUSE_STACKWALKER=no
36615 fi
36616
36617
36618
36619
36620 for ac_func in mkstemp mktemp
36621 do
36622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36623 echo "$as_me:$LINENO: checking for $ac_func" >&5
36624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36625 if eval "test \"\${$as_ac_var+set}\" = set"; then
36626 echo $ECHO_N "(cached) $ECHO_C" >&6
36627 else
36628 cat >conftest.$ac_ext <<_ACEOF
36629 /* confdefs.h. */
36630 _ACEOF
36631 cat confdefs.h >>conftest.$ac_ext
36632 cat >>conftest.$ac_ext <<_ACEOF
36633 /* end confdefs.h. */
36634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36636 #define $ac_func innocuous_$ac_func
36637
36638 /* System header to define __stub macros and hopefully few prototypes,
36639 which can conflict with char $ac_func (); below.
36640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36641 <limits.h> exists even on freestanding compilers. */
36642
36643 #ifdef __STDC__
36644 # include <limits.h>
36645 #else
36646 # include <assert.h>
36647 #endif
36648
36649 #undef $ac_func
36650
36651 /* Override any gcc2 internal prototype to avoid an error. */
36652 #ifdef __cplusplus
36653 extern "C"
36654 {
36655 #endif
36656 /* We use char because int might match the return type of a gcc2
36657 builtin and then its argument prototype would still apply. */
36658 char $ac_func ();
36659 /* The GNU C library defines this for functions which it implements
36660 to always fail with ENOSYS. Some functions are actually named
36661 something starting with __ and the normal name is an alias. */
36662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36663 choke me
36664 #else
36665 char (*f) () = $ac_func;
36666 #endif
36667 #ifdef __cplusplus
36668 }
36669 #endif
36670
36671 int
36672 main ()
36673 {
36674 return f != $ac_func;
36675 ;
36676 return 0;
36677 }
36678 _ACEOF
36679 rm -f conftest.$ac_objext conftest$ac_exeext
36680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36681 (eval $ac_link) 2>conftest.er1
36682 ac_status=$?
36683 grep -v '^ *+' conftest.er1 >conftest.err
36684 rm -f conftest.er1
36685 cat conftest.err >&5
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); } &&
36688 { ac_try='test -z "$ac_cxx_werror_flag"
36689 || test ! -s conftest.err'
36690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36691 (eval $ac_try) 2>&5
36692 ac_status=$?
36693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36694 (exit $ac_status); }; } &&
36695 { ac_try='test -s conftest$ac_exeext'
36696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36697 (eval $ac_try) 2>&5
36698 ac_status=$?
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); }; }; then
36701 eval "$as_ac_var=yes"
36702 else
36703 echo "$as_me: failed program was:" >&5
36704 sed 's/^/| /' conftest.$ac_ext >&5
36705
36706 eval "$as_ac_var=no"
36707 fi
36708 rm -f conftest.err conftest.$ac_objext \
36709 conftest$ac_exeext conftest.$ac_ext
36710 fi
36711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36713 if test `eval echo '${'$as_ac_var'}'` = yes; then
36714 cat >>confdefs.h <<_ACEOF
36715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36716 _ACEOF
36717 break
36718 fi
36719 done
36720
36721
36722 echo "$as_me:$LINENO: checking for statfs" >&5
36723 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36724 if test "${wx_cv_func_statfs+set}" = set; then
36725 echo $ECHO_N "(cached) $ECHO_C" >&6
36726 else
36727 cat >conftest.$ac_ext <<_ACEOF
36728 /* confdefs.h. */
36729 _ACEOF
36730 cat confdefs.h >>conftest.$ac_ext
36731 cat >>conftest.$ac_ext <<_ACEOF
36732 /* end confdefs.h. */
36733
36734 #if defined(__BSD__)
36735 #include <sys/param.h>
36736 #include <sys/mount.h>
36737 #else
36738 #include <sys/vfs.h>
36739 #endif
36740
36741 int
36742 main ()
36743 {
36744
36745 long l;
36746 struct statfs fs;
36747 statfs("/", &fs);
36748 l = fs.f_bsize;
36749 l += fs.f_blocks;
36750 l += fs.f_bavail;
36751
36752 ;
36753 return 0;
36754 }
36755 _ACEOF
36756 rm -f conftest.$ac_objext
36757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36758 (eval $ac_compile) 2>conftest.er1
36759 ac_status=$?
36760 grep -v '^ *+' conftest.er1 >conftest.err
36761 rm -f conftest.er1
36762 cat conftest.err >&5
36763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36764 (exit $ac_status); } &&
36765 { ac_try='test -z "$ac_cxx_werror_flag"
36766 || test ! -s conftest.err'
36767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36768 (eval $ac_try) 2>&5
36769 ac_status=$?
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); }; } &&
36772 { ac_try='test -s conftest.$ac_objext'
36773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36774 (eval $ac_try) 2>&5
36775 ac_status=$?
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); }; }; then
36778 wx_cv_func_statfs=yes
36779 else
36780 echo "$as_me: failed program was:" >&5
36781 sed 's/^/| /' conftest.$ac_ext >&5
36782
36783 wx_cv_func_statfs=no
36784
36785 fi
36786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36787
36788 fi
36789 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36790 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36791
36792 if test "$wx_cv_func_statfs" = "yes"; then
36793 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36794 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36795 if test "${wx_cv_func_statfs_decl+set}" = set; then
36796 echo $ECHO_N "(cached) $ECHO_C" >&6
36797 else
36798 cat >conftest.$ac_ext <<_ACEOF
36799 /* confdefs.h. */
36800 _ACEOF
36801 cat confdefs.h >>conftest.$ac_ext
36802 cat >>conftest.$ac_ext <<_ACEOF
36803 /* end confdefs.h. */
36804
36805 #if defined(__BSD__)
36806 #include <sys/param.h>
36807 #include <sys/mount.h>
36808 #else
36809 #include <sys/vfs.h>
36810 #endif
36811
36812 int
36813 main ()
36814 {
36815
36816 struct statfs fs;
36817 statfs("", &fs);
36818
36819 ;
36820 return 0;
36821 }
36822 _ACEOF
36823 rm -f conftest.$ac_objext
36824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36825 (eval $ac_compile) 2>conftest.er1
36826 ac_status=$?
36827 grep -v '^ *+' conftest.er1 >conftest.err
36828 rm -f conftest.er1
36829 cat conftest.err >&5
36830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36831 (exit $ac_status); } &&
36832 { ac_try='test -z "$ac_cxx_werror_flag"
36833 || test ! -s conftest.err'
36834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36835 (eval $ac_try) 2>&5
36836 ac_status=$?
36837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36838 (exit $ac_status); }; } &&
36839 { ac_try='test -s conftest.$ac_objext'
36840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36841 (eval $ac_try) 2>&5
36842 ac_status=$?
36843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844 (exit $ac_status); }; }; then
36845 wx_cv_func_statfs_decl=yes
36846 else
36847 echo "$as_me: failed program was:" >&5
36848 sed 's/^/| /' conftest.$ac_ext >&5
36849
36850 wx_cv_func_statfs_decl=no
36851
36852 fi
36853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36854
36855 fi
36856 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36857 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36858
36859 if test "$wx_cv_func_statfs_decl" = "yes"; then
36860 cat >>confdefs.h <<\_ACEOF
36861 #define HAVE_STATFS_DECL 1
36862 _ACEOF
36863
36864 fi
36865
36866 wx_cv_type_statvfs_t="struct statfs"
36867 cat >>confdefs.h <<\_ACEOF
36868 #define HAVE_STATFS 1
36869 _ACEOF
36870
36871 else
36872 echo "$as_me:$LINENO: checking for statvfs" >&5
36873 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36874 if test "${wx_cv_func_statvfs+set}" = set; then
36875 echo $ECHO_N "(cached) $ECHO_C" >&6
36876 else
36877 cat >conftest.$ac_ext <<_ACEOF
36878 /* confdefs.h. */
36879 _ACEOF
36880 cat confdefs.h >>conftest.$ac_ext
36881 cat >>conftest.$ac_ext <<_ACEOF
36882 /* end confdefs.h. */
36883
36884 #include <stddef.h>
36885 #include <sys/statvfs.h>
36886
36887 int
36888 main ()
36889 {
36890
36891 statvfs("/", NULL);
36892
36893 ;
36894 return 0;
36895 }
36896 _ACEOF
36897 rm -f conftest.$ac_objext
36898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36899 (eval $ac_compile) 2>conftest.er1
36900 ac_status=$?
36901 grep -v '^ *+' conftest.er1 >conftest.err
36902 rm -f conftest.er1
36903 cat conftest.err >&5
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); } &&
36906 { ac_try='test -z "$ac_cxx_werror_flag"
36907 || test ! -s conftest.err'
36908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36909 (eval $ac_try) 2>&5
36910 ac_status=$?
36911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912 (exit $ac_status); }; } &&
36913 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
36919 wx_cv_func_statvfs=yes
36920 else
36921 echo "$as_me: failed program was:" >&5
36922 sed 's/^/| /' conftest.$ac_ext >&5
36923
36924 wx_cv_func_statvfs=no
36925
36926 fi
36927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36928
36929 fi
36930 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36931 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36932
36933 if test "$wx_cv_func_statvfs" = "yes"; then
36934 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36935 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36936 if test "${wx_cv_type_statvfs_t+set}" = set; then
36937 echo $ECHO_N "(cached) $ECHO_C" >&6
36938 else
36939 cat >conftest.$ac_ext <<_ACEOF
36940 /* confdefs.h. */
36941 _ACEOF
36942 cat confdefs.h >>conftest.$ac_ext
36943 cat >>conftest.$ac_ext <<_ACEOF
36944 /* end confdefs.h. */
36945
36946 #include <sys/statvfs.h>
36947
36948 int
36949 main ()
36950 {
36951
36952 long l;
36953 statvfs_t fs;
36954 statvfs("/", &fs);
36955 l = fs.f_bsize;
36956 l += fs.f_blocks;
36957 l += fs.f_bavail;
36958
36959 ;
36960 return 0;
36961 }
36962 _ACEOF
36963 rm -f conftest.$ac_objext
36964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36965 (eval $ac_compile) 2>conftest.er1
36966 ac_status=$?
36967 grep -v '^ *+' conftest.er1 >conftest.err
36968 rm -f conftest.er1
36969 cat conftest.err >&5
36970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36971 (exit $ac_status); } &&
36972 { ac_try='test -z "$ac_cxx_werror_flag"
36973 || test ! -s conftest.err'
36974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36975 (eval $ac_try) 2>&5
36976 ac_status=$?
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); }; } &&
36979 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
36985 wx_cv_type_statvfs_t=statvfs_t
36986 else
36987 echo "$as_me: failed program was:" >&5
36988 sed 's/^/| /' conftest.$ac_ext >&5
36989
36990
36991 cat >conftest.$ac_ext <<_ACEOF
36992 /* confdefs.h. */
36993 _ACEOF
36994 cat confdefs.h >>conftest.$ac_ext
36995 cat >>conftest.$ac_ext <<_ACEOF
36996 /* end confdefs.h. */
36997
36998 #include <sys/statvfs.h>
36999
37000 int
37001 main ()
37002 {
37003
37004 long l;
37005 struct statvfs fs;
37006 statvfs("/", &fs);
37007 l = fs.f_bsize;
37008 l += fs.f_blocks;
37009 l += fs.f_bavail;
37010
37011 ;
37012 return 0;
37013 }
37014 _ACEOF
37015 rm -f conftest.$ac_objext
37016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37017 (eval $ac_compile) 2>conftest.er1
37018 ac_status=$?
37019 grep -v '^ *+' conftest.er1 >conftest.err
37020 rm -f conftest.er1
37021 cat conftest.err >&5
37022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37023 (exit $ac_status); } &&
37024 { ac_try='test -z "$ac_cxx_werror_flag"
37025 || test ! -s conftest.err'
37026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37027 (eval $ac_try) 2>&5
37028 ac_status=$?
37029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37030 (exit $ac_status); }; } &&
37031 { ac_try='test -s conftest.$ac_objext'
37032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37033 (eval $ac_try) 2>&5
37034 ac_status=$?
37035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37036 (exit $ac_status); }; }; then
37037 wx_cv_type_statvfs_t="struct statvfs"
37038 else
37039 echo "$as_me: failed program was:" >&5
37040 sed 's/^/| /' conftest.$ac_ext >&5
37041
37042 wx_cv_type_statvfs_t="unknown"
37043
37044 fi
37045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37046
37047
37048 fi
37049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37050
37051 fi
37052 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37053 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37054
37055 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37056 cat >>confdefs.h <<\_ACEOF
37057 #define HAVE_STATVFS 1
37058 _ACEOF
37059
37060 fi
37061 else
37062 wx_cv_type_statvfs_t="unknown"
37063 fi
37064 fi
37065
37066 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37067 cat >>confdefs.h <<_ACEOF
37068 #define WX_STATFS_T $wx_cv_type_statvfs_t
37069 _ACEOF
37070
37071 else
37072 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37073 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37074 fi
37075
37076 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37077
37078
37079 for ac_func in fcntl flock
37080 do
37081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37082 echo "$as_me:$LINENO: checking for $ac_func" >&5
37083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37084 if eval "test \"\${$as_ac_var+set}\" = set"; then
37085 echo $ECHO_N "(cached) $ECHO_C" >&6
37086 else
37087 cat >conftest.$ac_ext <<_ACEOF
37088 /* confdefs.h. */
37089 _ACEOF
37090 cat confdefs.h >>conftest.$ac_ext
37091 cat >>conftest.$ac_ext <<_ACEOF
37092 /* end confdefs.h. */
37093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37095 #define $ac_func innocuous_$ac_func
37096
37097 /* System header to define __stub macros and hopefully few prototypes,
37098 which can conflict with char $ac_func (); below.
37099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37100 <limits.h> exists even on freestanding compilers. */
37101
37102 #ifdef __STDC__
37103 # include <limits.h>
37104 #else
37105 # include <assert.h>
37106 #endif
37107
37108 #undef $ac_func
37109
37110 /* Override any gcc2 internal prototype to avoid an error. */
37111 #ifdef __cplusplus
37112 extern "C"
37113 {
37114 #endif
37115 /* We use char because int might match the return type of a gcc2
37116 builtin and then its argument prototype would still apply. */
37117 char $ac_func ();
37118 /* The GNU C library defines this for functions which it implements
37119 to always fail with ENOSYS. Some functions are actually named
37120 something starting with __ and the normal name is an alias. */
37121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37122 choke me
37123 #else
37124 char (*f) () = $ac_func;
37125 #endif
37126 #ifdef __cplusplus
37127 }
37128 #endif
37129
37130 int
37131 main ()
37132 {
37133 return f != $ac_func;
37134 ;
37135 return 0;
37136 }
37137 _ACEOF
37138 rm -f conftest.$ac_objext conftest$ac_exeext
37139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37140 (eval $ac_link) 2>conftest.er1
37141 ac_status=$?
37142 grep -v '^ *+' conftest.er1 >conftest.err
37143 rm -f conftest.er1
37144 cat conftest.err >&5
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); } &&
37147 { ac_try='test -z "$ac_cxx_werror_flag"
37148 || test ! -s conftest.err'
37149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37150 (eval $ac_try) 2>&5
37151 ac_status=$?
37152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153 (exit $ac_status); }; } &&
37154 { ac_try='test -s conftest$ac_exeext'
37155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37156 (eval $ac_try) 2>&5
37157 ac_status=$?
37158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37159 (exit $ac_status); }; }; then
37160 eval "$as_ac_var=yes"
37161 else
37162 echo "$as_me: failed program was:" >&5
37163 sed 's/^/| /' conftest.$ac_ext >&5
37164
37165 eval "$as_ac_var=no"
37166 fi
37167 rm -f conftest.err conftest.$ac_objext \
37168 conftest$ac_exeext conftest.$ac_ext
37169 fi
37170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37172 if test `eval echo '${'$as_ac_var'}'` = yes; then
37173 cat >>confdefs.h <<_ACEOF
37174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37175 _ACEOF
37176 break
37177 fi
37178 done
37179
37180
37181 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37182 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37183 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37184 wxUSE_SNGLINST_CHECKER=no
37185 fi
37186 fi
37187
37188
37189 for ac_func in timegm
37190 do
37191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37192 echo "$as_me:$LINENO: checking for $ac_func" >&5
37193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37194 if eval "test \"\${$as_ac_var+set}\" = set"; then
37195 echo $ECHO_N "(cached) $ECHO_C" >&6
37196 else
37197 cat >conftest.$ac_ext <<_ACEOF
37198 /* confdefs.h. */
37199 _ACEOF
37200 cat confdefs.h >>conftest.$ac_ext
37201 cat >>conftest.$ac_ext <<_ACEOF
37202 /* end confdefs.h. */
37203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37205 #define $ac_func innocuous_$ac_func
37206
37207 /* System header to define __stub macros and hopefully few prototypes,
37208 which can conflict with char $ac_func (); below.
37209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37210 <limits.h> exists even on freestanding compilers. */
37211
37212 #ifdef __STDC__
37213 # include <limits.h>
37214 #else
37215 # include <assert.h>
37216 #endif
37217
37218 #undef $ac_func
37219
37220 /* Override any gcc2 internal prototype to avoid an error. */
37221 #ifdef __cplusplus
37222 extern "C"
37223 {
37224 #endif
37225 /* We use char because int might match the return type of a gcc2
37226 builtin and then its argument prototype would still apply. */
37227 char $ac_func ();
37228 /* The GNU C library defines this for functions which it implements
37229 to always fail with ENOSYS. Some functions are actually named
37230 something starting with __ and the normal name is an alias. */
37231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37232 choke me
37233 #else
37234 char (*f) () = $ac_func;
37235 #endif
37236 #ifdef __cplusplus
37237 }
37238 #endif
37239
37240 int
37241 main ()
37242 {
37243 return f != $ac_func;
37244 ;
37245 return 0;
37246 }
37247 _ACEOF
37248 rm -f conftest.$ac_objext conftest$ac_exeext
37249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37250 (eval $ac_link) 2>conftest.er1
37251 ac_status=$?
37252 grep -v '^ *+' conftest.er1 >conftest.err
37253 rm -f conftest.er1
37254 cat conftest.err >&5
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); } &&
37257 { ac_try='test -z "$ac_cxx_werror_flag"
37258 || test ! -s conftest.err'
37259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37260 (eval $ac_try) 2>&5
37261 ac_status=$?
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); }; } &&
37264 { ac_try='test -s conftest$ac_exeext'
37265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37266 (eval $ac_try) 2>&5
37267 ac_status=$?
37268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269 (exit $ac_status); }; }; then
37270 eval "$as_ac_var=yes"
37271 else
37272 echo "$as_me: failed program was:" >&5
37273 sed 's/^/| /' conftest.$ac_ext >&5
37274
37275 eval "$as_ac_var=no"
37276 fi
37277 rm -f conftest.err conftest.$ac_objext \
37278 conftest$ac_exeext conftest.$ac_ext
37279 fi
37280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37282 if test `eval echo '${'$as_ac_var'}'` = yes; then
37283 cat >>confdefs.h <<_ACEOF
37284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37285 _ACEOF
37286
37287 fi
37288 done
37289
37290
37291
37292
37293 for ac_func in putenv setenv
37294 do
37295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37296 echo "$as_me:$LINENO: checking for $ac_func" >&5
37297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37298 if eval "test \"\${$as_ac_var+set}\" = set"; then
37299 echo $ECHO_N "(cached) $ECHO_C" >&6
37300 else
37301 cat >conftest.$ac_ext <<_ACEOF
37302 /* confdefs.h. */
37303 _ACEOF
37304 cat confdefs.h >>conftest.$ac_ext
37305 cat >>conftest.$ac_ext <<_ACEOF
37306 /* end confdefs.h. */
37307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37309 #define $ac_func innocuous_$ac_func
37310
37311 /* System header to define __stub macros and hopefully few prototypes,
37312 which can conflict with char $ac_func (); below.
37313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37314 <limits.h> exists even on freestanding compilers. */
37315
37316 #ifdef __STDC__
37317 # include <limits.h>
37318 #else
37319 # include <assert.h>
37320 #endif
37321
37322 #undef $ac_func
37323
37324 /* Override any gcc2 internal prototype to avoid an error. */
37325 #ifdef __cplusplus
37326 extern "C"
37327 {
37328 #endif
37329 /* We use char because int might match the return type of a gcc2
37330 builtin and then its argument prototype would still apply. */
37331 char $ac_func ();
37332 /* The GNU C library defines this for functions which it implements
37333 to always fail with ENOSYS. Some functions are actually named
37334 something starting with __ and the normal name is an alias. */
37335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37336 choke me
37337 #else
37338 char (*f) () = $ac_func;
37339 #endif
37340 #ifdef __cplusplus
37341 }
37342 #endif
37343
37344 int
37345 main ()
37346 {
37347 return f != $ac_func;
37348 ;
37349 return 0;
37350 }
37351 _ACEOF
37352 rm -f conftest.$ac_objext conftest$ac_exeext
37353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37354 (eval $ac_link) 2>conftest.er1
37355 ac_status=$?
37356 grep -v '^ *+' conftest.er1 >conftest.err
37357 rm -f conftest.er1
37358 cat conftest.err >&5
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); } &&
37361 { ac_try='test -z "$ac_cxx_werror_flag"
37362 || test ! -s conftest.err'
37363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37364 (eval $ac_try) 2>&5
37365 ac_status=$?
37366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37367 (exit $ac_status); }; } &&
37368 { ac_try='test -s conftest$ac_exeext'
37369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37370 (eval $ac_try) 2>&5
37371 ac_status=$?
37372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37373 (exit $ac_status); }; }; then
37374 eval "$as_ac_var=yes"
37375 else
37376 echo "$as_me: failed program was:" >&5
37377 sed 's/^/| /' conftest.$ac_ext >&5
37378
37379 eval "$as_ac_var=no"
37380 fi
37381 rm -f conftest.err conftest.$ac_objext \
37382 conftest$ac_exeext conftest.$ac_ext
37383 fi
37384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37386 if test `eval echo '${'$as_ac_var'}'` = yes; then
37387 cat >>confdefs.h <<_ACEOF
37388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37389 _ACEOF
37390 break
37391 fi
37392 done
37393
37394
37395 HAVE_SOME_SLEEP_FUNC=0
37396 if test "$USE_BEOS" = 1; then
37397 cat >>confdefs.h <<\_ACEOF
37398 #define HAVE_SLEEP 1
37399 _ACEOF
37400
37401 HAVE_SOME_SLEEP_FUNC=1
37402 fi
37403
37404 if test "$USE_DARWIN" = 1; then
37405 cat >>confdefs.h <<\_ACEOF
37406 #define HAVE_USLEEP 1
37407 _ACEOF
37408
37409 HAVE_SOME_SLEEP_FUNC=1
37410 fi
37411
37412 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37413 POSIX4_LINK=
37414
37415 for ac_func in nanosleep
37416 do
37417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37418 echo "$as_me:$LINENO: checking for $ac_func" >&5
37419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37420 if eval "test \"\${$as_ac_var+set}\" = set"; then
37421 echo $ECHO_N "(cached) $ECHO_C" >&6
37422 else
37423 cat >conftest.$ac_ext <<_ACEOF
37424 /* confdefs.h. */
37425 _ACEOF
37426 cat confdefs.h >>conftest.$ac_ext
37427 cat >>conftest.$ac_ext <<_ACEOF
37428 /* end confdefs.h. */
37429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37431 #define $ac_func innocuous_$ac_func
37432
37433 /* System header to define __stub macros and hopefully few prototypes,
37434 which can conflict with char $ac_func (); below.
37435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37436 <limits.h> exists even on freestanding compilers. */
37437
37438 #ifdef __STDC__
37439 # include <limits.h>
37440 #else
37441 # include <assert.h>
37442 #endif
37443
37444 #undef $ac_func
37445
37446 /* Override any gcc2 internal prototype to avoid an error. */
37447 #ifdef __cplusplus
37448 extern "C"
37449 {
37450 #endif
37451 /* We use char because int might match the return type of a gcc2
37452 builtin and then its argument prototype would still apply. */
37453 char $ac_func ();
37454 /* The GNU C library defines this for functions which it implements
37455 to always fail with ENOSYS. Some functions are actually named
37456 something starting with __ and the normal name is an alias. */
37457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37458 choke me
37459 #else
37460 char (*f) () = $ac_func;
37461 #endif
37462 #ifdef __cplusplus
37463 }
37464 #endif
37465
37466 int
37467 main ()
37468 {
37469 return f != $ac_func;
37470 ;
37471 return 0;
37472 }
37473 _ACEOF
37474 rm -f conftest.$ac_objext conftest$ac_exeext
37475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37476 (eval $ac_link) 2>conftest.er1
37477 ac_status=$?
37478 grep -v '^ *+' conftest.er1 >conftest.err
37479 rm -f conftest.er1
37480 cat conftest.err >&5
37481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37482 (exit $ac_status); } &&
37483 { ac_try='test -z "$ac_cxx_werror_flag"
37484 || test ! -s conftest.err'
37485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37486 (eval $ac_try) 2>&5
37487 ac_status=$?
37488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37489 (exit $ac_status); }; } &&
37490 { ac_try='test -s conftest$ac_exeext'
37491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37492 (eval $ac_try) 2>&5
37493 ac_status=$?
37494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37495 (exit $ac_status); }; }; then
37496 eval "$as_ac_var=yes"
37497 else
37498 echo "$as_me: failed program was:" >&5
37499 sed 's/^/| /' conftest.$ac_ext >&5
37500
37501 eval "$as_ac_var=no"
37502 fi
37503 rm -f conftest.err conftest.$ac_objext \
37504 conftest$ac_exeext conftest.$ac_ext
37505 fi
37506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37508 if test `eval echo '${'$as_ac_var'}'` = yes; then
37509 cat >>confdefs.h <<_ACEOF
37510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37511 _ACEOF
37512 cat >>confdefs.h <<\_ACEOF
37513 #define HAVE_NANOSLEEP 1
37514 _ACEOF
37515
37516 else
37517
37518 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37519 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37520 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37521 echo $ECHO_N "(cached) $ECHO_C" >&6
37522 else
37523 ac_check_lib_save_LIBS=$LIBS
37524 LIBS="-lposix4 $LIBS"
37525 cat >conftest.$ac_ext <<_ACEOF
37526 /* confdefs.h. */
37527 _ACEOF
37528 cat confdefs.h >>conftest.$ac_ext
37529 cat >>conftest.$ac_ext <<_ACEOF
37530 /* end confdefs.h. */
37531
37532 /* Override any gcc2 internal prototype to avoid an error. */
37533 #ifdef __cplusplus
37534 extern "C"
37535 #endif
37536 /* We use char because int might match the return type of a gcc2
37537 builtin and then its argument prototype would still apply. */
37538 char nanosleep ();
37539 int
37540 main ()
37541 {
37542 nanosleep ();
37543 ;
37544 return 0;
37545 }
37546 _ACEOF
37547 rm -f conftest.$ac_objext conftest$ac_exeext
37548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37549 (eval $ac_link) 2>conftest.er1
37550 ac_status=$?
37551 grep -v '^ *+' conftest.er1 >conftest.err
37552 rm -f conftest.er1
37553 cat conftest.err >&5
37554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37555 (exit $ac_status); } &&
37556 { ac_try='test -z "$ac_cxx_werror_flag"
37557 || test ! -s conftest.err'
37558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37559 (eval $ac_try) 2>&5
37560 ac_status=$?
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); }; } &&
37563 { ac_try='test -s conftest$ac_exeext'
37564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37565 (eval $ac_try) 2>&5
37566 ac_status=$?
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); }; }; then
37569 ac_cv_lib_posix4_nanosleep=yes
37570 else
37571 echo "$as_me: failed program was:" >&5
37572 sed 's/^/| /' conftest.$ac_ext >&5
37573
37574 ac_cv_lib_posix4_nanosleep=no
37575 fi
37576 rm -f conftest.err conftest.$ac_objext \
37577 conftest$ac_exeext conftest.$ac_ext
37578 LIBS=$ac_check_lib_save_LIBS
37579 fi
37580 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37581 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37582 if test $ac_cv_lib_posix4_nanosleep = yes; then
37583
37584 cat >>confdefs.h <<\_ACEOF
37585 #define HAVE_NANOSLEEP 1
37586 _ACEOF
37587
37588 POSIX4_LINK=" -lposix4"
37589
37590 else
37591
37592
37593 for ac_func in usleep
37594 do
37595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37596 echo "$as_me:$LINENO: checking for $ac_func" >&5
37597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37598 if eval "test \"\${$as_ac_var+set}\" = set"; then
37599 echo $ECHO_N "(cached) $ECHO_C" >&6
37600 else
37601 cat >conftest.$ac_ext <<_ACEOF
37602 /* confdefs.h. */
37603 _ACEOF
37604 cat confdefs.h >>conftest.$ac_ext
37605 cat >>conftest.$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37609 #define $ac_func innocuous_$ac_func
37610
37611 /* System header to define __stub macros and hopefully few prototypes,
37612 which can conflict with char $ac_func (); below.
37613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37614 <limits.h> exists even on freestanding compilers. */
37615
37616 #ifdef __STDC__
37617 # include <limits.h>
37618 #else
37619 # include <assert.h>
37620 #endif
37621
37622 #undef $ac_func
37623
37624 /* Override any gcc2 internal prototype to avoid an error. */
37625 #ifdef __cplusplus
37626 extern "C"
37627 {
37628 #endif
37629 /* We use char because int might match the return type of a gcc2
37630 builtin and then its argument prototype would still apply. */
37631 char $ac_func ();
37632 /* The GNU C library defines this for functions which it implements
37633 to always fail with ENOSYS. Some functions are actually named
37634 something starting with __ and the normal name is an alias. */
37635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37636 choke me
37637 #else
37638 char (*f) () = $ac_func;
37639 #endif
37640 #ifdef __cplusplus
37641 }
37642 #endif
37643
37644 int
37645 main ()
37646 {
37647 return f != $ac_func;
37648 ;
37649 return 0;
37650 }
37651 _ACEOF
37652 rm -f conftest.$ac_objext conftest$ac_exeext
37653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37654 (eval $ac_link) 2>conftest.er1
37655 ac_status=$?
37656 grep -v '^ *+' conftest.er1 >conftest.err
37657 rm -f conftest.er1
37658 cat conftest.err >&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); } &&
37661 { ac_try='test -z "$ac_cxx_werror_flag"
37662 || test ! -s conftest.err'
37663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37664 (eval $ac_try) 2>&5
37665 ac_status=$?
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); }; } &&
37668 { ac_try='test -s conftest$ac_exeext'
37669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37670 (eval $ac_try) 2>&5
37671 ac_status=$?
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); }; }; then
37674 eval "$as_ac_var=yes"
37675 else
37676 echo "$as_me: failed program was:" >&5
37677 sed 's/^/| /' conftest.$ac_ext >&5
37678
37679 eval "$as_ac_var=no"
37680 fi
37681 rm -f conftest.err conftest.$ac_objext \
37682 conftest$ac_exeext conftest.$ac_ext
37683 fi
37684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37686 if test `eval echo '${'$as_ac_var'}'` = yes; then
37687 cat >>confdefs.h <<_ACEOF
37688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37689 _ACEOF
37690 cat >>confdefs.h <<\_ACEOF
37691 #define HAVE_USLEEP 1
37692 _ACEOF
37693
37694 else
37695 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37696 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37697
37698 fi
37699 done
37700
37701
37702
37703 fi
37704
37705
37706
37707 fi
37708 done
37709
37710 fi
37711
37712
37713
37714 for ac_func in uname gethostname
37715 do
37716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37717 echo "$as_me:$LINENO: checking for $ac_func" >&5
37718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37719 if eval "test \"\${$as_ac_var+set}\" = set"; then
37720 echo $ECHO_N "(cached) $ECHO_C" >&6
37721 else
37722 cat >conftest.$ac_ext <<_ACEOF
37723 /* confdefs.h. */
37724 _ACEOF
37725 cat confdefs.h >>conftest.$ac_ext
37726 cat >>conftest.$ac_ext <<_ACEOF
37727 /* end confdefs.h. */
37728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37730 #define $ac_func innocuous_$ac_func
37731
37732 /* System header to define __stub macros and hopefully few prototypes,
37733 which can conflict with char $ac_func (); below.
37734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37735 <limits.h> exists even on freestanding compilers. */
37736
37737 #ifdef __STDC__
37738 # include <limits.h>
37739 #else
37740 # include <assert.h>
37741 #endif
37742
37743 #undef $ac_func
37744
37745 /* Override any gcc2 internal prototype to avoid an error. */
37746 #ifdef __cplusplus
37747 extern "C"
37748 {
37749 #endif
37750 /* We use char because int might match the return type of a gcc2
37751 builtin and then its argument prototype would still apply. */
37752 char $ac_func ();
37753 /* The GNU C library defines this for functions which it implements
37754 to always fail with ENOSYS. Some functions are actually named
37755 something starting with __ and the normal name is an alias. */
37756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37757 choke me
37758 #else
37759 char (*f) () = $ac_func;
37760 #endif
37761 #ifdef __cplusplus
37762 }
37763 #endif
37764
37765 int
37766 main ()
37767 {
37768 return f != $ac_func;
37769 ;
37770 return 0;
37771 }
37772 _ACEOF
37773 rm -f conftest.$ac_objext conftest$ac_exeext
37774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37775 (eval $ac_link) 2>conftest.er1
37776 ac_status=$?
37777 grep -v '^ *+' conftest.er1 >conftest.err
37778 rm -f conftest.er1
37779 cat conftest.err >&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); } &&
37782 { ac_try='test -z "$ac_cxx_werror_flag"
37783 || test ! -s conftest.err'
37784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37785 (eval $ac_try) 2>&5
37786 ac_status=$?
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); }; } &&
37789 { ac_try='test -s conftest$ac_exeext'
37790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37791 (eval $ac_try) 2>&5
37792 ac_status=$?
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); }; }; then
37795 eval "$as_ac_var=yes"
37796 else
37797 echo "$as_me: failed program was:" >&5
37798 sed 's/^/| /' conftest.$ac_ext >&5
37799
37800 eval "$as_ac_var=no"
37801 fi
37802 rm -f conftest.err conftest.$ac_objext \
37803 conftest$ac_exeext conftest.$ac_ext
37804 fi
37805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37807 if test `eval echo '${'$as_ac_var'}'` = yes; then
37808 cat >>confdefs.h <<_ACEOF
37809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37810 _ACEOF
37811 break
37812 fi
37813 done
37814
37815
37816
37817 for wx_func in strtok_r
37818 do
37819 echo "$as_me:$LINENO: checking for $wx_func" >&5
37820 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37821 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37822 echo $ECHO_N "(cached) $ECHO_C" >&6
37823 else
37824
37825 cat >conftest.$ac_ext <<_ACEOF
37826
37827 /* confdefs.h. */
37828 _ACEOF
37829 cat confdefs.h >>conftest.$ac_ext
37830 cat >>conftest.$ac_ext <<_ACEOF
37831 /* end confdefs.h. */
37832
37833 #define _REENTRANT
37834 $ac_includes_default
37835
37836 int
37837 main ()
37838 {
37839
37840 #ifndef $wx_func
37841 &$wx_func;
37842 #endif
37843
37844
37845 ;
37846 return 0;
37847 }
37848
37849 _ACEOF
37850 rm -f conftest.$ac_objext conftest$ac_exeext
37851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37852 (eval $ac_link) 2>conftest.er1
37853 ac_status=$?
37854 grep -v '^ *+' conftest.er1 >conftest.err
37855 rm -f conftest.er1
37856 cat conftest.err >&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } &&
37859 { ac_try='test -z "$ac_cxx_werror_flag"
37860 || test ! -s conftest.err'
37861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37862 (eval $ac_try) 2>&5
37863 ac_status=$?
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); }; } &&
37866 { ac_try='test -s conftest$ac_exeext'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37869 ac_status=$?
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; }; then
37872 eval wx_cv_func_$wx_func=yes
37873 else
37874 echo "$as_me: failed program was:" >&5
37875 sed 's/^/| /' conftest.$ac_ext >&5
37876
37877 eval wx_cv_func_$wx_func=no
37878 fi
37879 rm -f conftest.err conftest.$ac_objext \
37880 conftest$ac_exeext conftest.$ac_ext
37881
37882 fi
37883 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37884 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37885
37886 if eval test \$wx_cv_func_$wx_func = yes
37887 then
37888 cat >>confdefs.h <<_ACEOF
37889 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37890 _ACEOF
37891
37892
37893 else
37894 :
37895
37896 fi
37897 done
37898
37899
37900 INET_LINK=
37901
37902 for ac_func in inet_addr
37903 do
37904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37905 echo "$as_me:$LINENO: checking for $ac_func" >&5
37906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37907 if eval "test \"\${$as_ac_var+set}\" = set"; then
37908 echo $ECHO_N "(cached) $ECHO_C" >&6
37909 else
37910 cat >conftest.$ac_ext <<_ACEOF
37911 /* confdefs.h. */
37912 _ACEOF
37913 cat confdefs.h >>conftest.$ac_ext
37914 cat >>conftest.$ac_ext <<_ACEOF
37915 /* end confdefs.h. */
37916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37918 #define $ac_func innocuous_$ac_func
37919
37920 /* System header to define __stub macros and hopefully few prototypes,
37921 which can conflict with char $ac_func (); below.
37922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37923 <limits.h> exists even on freestanding compilers. */
37924
37925 #ifdef __STDC__
37926 # include <limits.h>
37927 #else
37928 # include <assert.h>
37929 #endif
37930
37931 #undef $ac_func
37932
37933 /* Override any gcc2 internal prototype to avoid an error. */
37934 #ifdef __cplusplus
37935 extern "C"
37936 {
37937 #endif
37938 /* We use char because int might match the return type of a gcc2
37939 builtin and then its argument prototype would still apply. */
37940 char $ac_func ();
37941 /* The GNU C library defines this for functions which it implements
37942 to always fail with ENOSYS. Some functions are actually named
37943 something starting with __ and the normal name is an alias. */
37944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37945 choke me
37946 #else
37947 char (*f) () = $ac_func;
37948 #endif
37949 #ifdef __cplusplus
37950 }
37951 #endif
37952
37953 int
37954 main ()
37955 {
37956 return f != $ac_func;
37957 ;
37958 return 0;
37959 }
37960 _ACEOF
37961 rm -f conftest.$ac_objext conftest$ac_exeext
37962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37963 (eval $ac_link) 2>conftest.er1
37964 ac_status=$?
37965 grep -v '^ *+' conftest.er1 >conftest.err
37966 rm -f conftest.er1
37967 cat conftest.err >&5
37968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37969 (exit $ac_status); } &&
37970 { ac_try='test -z "$ac_cxx_werror_flag"
37971 || test ! -s conftest.err'
37972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37973 (eval $ac_try) 2>&5
37974 ac_status=$?
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); }; } &&
37977 { ac_try='test -s conftest$ac_exeext'
37978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37979 (eval $ac_try) 2>&5
37980 ac_status=$?
37981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37982 (exit $ac_status); }; }; then
37983 eval "$as_ac_var=yes"
37984 else
37985 echo "$as_me: failed program was:" >&5
37986 sed 's/^/| /' conftest.$ac_ext >&5
37987
37988 eval "$as_ac_var=no"
37989 fi
37990 rm -f conftest.err conftest.$ac_objext \
37991 conftest$ac_exeext conftest.$ac_ext
37992 fi
37993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37995 if test `eval echo '${'$as_ac_var'}'` = yes; then
37996 cat >>confdefs.h <<_ACEOF
37997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37998 _ACEOF
37999 cat >>confdefs.h <<\_ACEOF
38000 #define HAVE_INET_ADDR 1
38001 _ACEOF
38002
38003 else
38004
38005 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38006 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38007 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38008 echo $ECHO_N "(cached) $ECHO_C" >&6
38009 else
38010 ac_check_lib_save_LIBS=$LIBS
38011 LIBS="-lnsl $LIBS"
38012 cat >conftest.$ac_ext <<_ACEOF
38013 /* confdefs.h. */
38014 _ACEOF
38015 cat confdefs.h >>conftest.$ac_ext
38016 cat >>conftest.$ac_ext <<_ACEOF
38017 /* end confdefs.h. */
38018
38019 /* Override any gcc2 internal prototype to avoid an error. */
38020 #ifdef __cplusplus
38021 extern "C"
38022 #endif
38023 /* We use char because int might match the return type of a gcc2
38024 builtin and then its argument prototype would still apply. */
38025 char inet_addr ();
38026 int
38027 main ()
38028 {
38029 inet_addr ();
38030 ;
38031 return 0;
38032 }
38033 _ACEOF
38034 rm -f conftest.$ac_objext conftest$ac_exeext
38035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38036 (eval $ac_link) 2>conftest.er1
38037 ac_status=$?
38038 grep -v '^ *+' conftest.er1 >conftest.err
38039 rm -f conftest.er1
38040 cat conftest.err >&5
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); } &&
38043 { ac_try='test -z "$ac_cxx_werror_flag"
38044 || test ! -s conftest.err'
38045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38046 (eval $ac_try) 2>&5
38047 ac_status=$?
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); }; } &&
38050 { ac_try='test -s conftest$ac_exeext'
38051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38052 (eval $ac_try) 2>&5
38053 ac_status=$?
38054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38055 (exit $ac_status); }; }; then
38056 ac_cv_lib_nsl_inet_addr=yes
38057 else
38058 echo "$as_me: failed program was:" >&5
38059 sed 's/^/| /' conftest.$ac_ext >&5
38060
38061 ac_cv_lib_nsl_inet_addr=no
38062 fi
38063 rm -f conftest.err conftest.$ac_objext \
38064 conftest$ac_exeext conftest.$ac_ext
38065 LIBS=$ac_check_lib_save_LIBS
38066 fi
38067 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38068 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38069 if test $ac_cv_lib_nsl_inet_addr = yes; then
38070 INET_LINK="nsl"
38071 else
38072
38073 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38074 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38075 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38076 echo $ECHO_N "(cached) $ECHO_C" >&6
38077 else
38078 ac_check_lib_save_LIBS=$LIBS
38079 LIBS="-lresolv $LIBS"
38080 cat >conftest.$ac_ext <<_ACEOF
38081 /* confdefs.h. */
38082 _ACEOF
38083 cat confdefs.h >>conftest.$ac_ext
38084 cat >>conftest.$ac_ext <<_ACEOF
38085 /* end confdefs.h. */
38086
38087 /* Override any gcc2 internal prototype to avoid an error. */
38088 #ifdef __cplusplus
38089 extern "C"
38090 #endif
38091 /* We use char because int might match the return type of a gcc2
38092 builtin and then its argument prototype would still apply. */
38093 char inet_addr ();
38094 int
38095 main ()
38096 {
38097 inet_addr ();
38098 ;
38099 return 0;
38100 }
38101 _ACEOF
38102 rm -f conftest.$ac_objext conftest$ac_exeext
38103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38104 (eval $ac_link) 2>conftest.er1
38105 ac_status=$?
38106 grep -v '^ *+' conftest.er1 >conftest.err
38107 rm -f conftest.er1
38108 cat conftest.err >&5
38109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38110 (exit $ac_status); } &&
38111 { ac_try='test -z "$ac_cxx_werror_flag"
38112 || test ! -s conftest.err'
38113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38114 (eval $ac_try) 2>&5
38115 ac_status=$?
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); }; } &&
38118 { ac_try='test -s conftest$ac_exeext'
38119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38120 (eval $ac_try) 2>&5
38121 ac_status=$?
38122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38123 (exit $ac_status); }; }; then
38124 ac_cv_lib_resolv_inet_addr=yes
38125 else
38126 echo "$as_me: failed program was:" >&5
38127 sed 's/^/| /' conftest.$ac_ext >&5
38128
38129 ac_cv_lib_resolv_inet_addr=no
38130 fi
38131 rm -f conftest.err conftest.$ac_objext \
38132 conftest$ac_exeext conftest.$ac_ext
38133 LIBS=$ac_check_lib_save_LIBS
38134 fi
38135 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38136 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38137 if test $ac_cv_lib_resolv_inet_addr = yes; then
38138 INET_LINK="resolv"
38139 else
38140
38141 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38142 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38143 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38144 echo $ECHO_N "(cached) $ECHO_C" >&6
38145 else
38146 ac_check_lib_save_LIBS=$LIBS
38147 LIBS="-lsocket $LIBS"
38148 cat >conftest.$ac_ext <<_ACEOF
38149 /* confdefs.h. */
38150 _ACEOF
38151 cat confdefs.h >>conftest.$ac_ext
38152 cat >>conftest.$ac_ext <<_ACEOF
38153 /* end confdefs.h. */
38154
38155 /* Override any gcc2 internal prototype to avoid an error. */
38156 #ifdef __cplusplus
38157 extern "C"
38158 #endif
38159 /* We use char because int might match the return type of a gcc2
38160 builtin and then its argument prototype would still apply. */
38161 char inet_addr ();
38162 int
38163 main ()
38164 {
38165 inet_addr ();
38166 ;
38167 return 0;
38168 }
38169 _ACEOF
38170 rm -f conftest.$ac_objext conftest$ac_exeext
38171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38172 (eval $ac_link) 2>conftest.er1
38173 ac_status=$?
38174 grep -v '^ *+' conftest.er1 >conftest.err
38175 rm -f conftest.er1
38176 cat conftest.err >&5
38177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38178 (exit $ac_status); } &&
38179 { ac_try='test -z "$ac_cxx_werror_flag"
38180 || test ! -s conftest.err'
38181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38182 (eval $ac_try) 2>&5
38183 ac_status=$?
38184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38185 (exit $ac_status); }; } &&
38186 { ac_try='test -s conftest$ac_exeext'
38187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38188 (eval $ac_try) 2>&5
38189 ac_status=$?
38190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38191 (exit $ac_status); }; }; then
38192 ac_cv_lib_socket_inet_addr=yes
38193 else
38194 echo "$as_me: failed program was:" >&5
38195 sed 's/^/| /' conftest.$ac_ext >&5
38196
38197 ac_cv_lib_socket_inet_addr=no
38198 fi
38199 rm -f conftest.err conftest.$ac_objext \
38200 conftest$ac_exeext conftest.$ac_ext
38201 LIBS=$ac_check_lib_save_LIBS
38202 fi
38203 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38204 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38205 if test $ac_cv_lib_socket_inet_addr = yes; then
38206 INET_LINK="socket"
38207
38208 fi
38209
38210
38211
38212 fi
38213
38214
38215
38216 fi
38217
38218
38219
38220 fi
38221 done
38222
38223
38224
38225 for ac_func in inet_aton
38226 do
38227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38228 echo "$as_me:$LINENO: checking for $ac_func" >&5
38229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38230 if eval "test \"\${$as_ac_var+set}\" = set"; then
38231 echo $ECHO_N "(cached) $ECHO_C" >&6
38232 else
38233 cat >conftest.$ac_ext <<_ACEOF
38234 /* confdefs.h. */
38235 _ACEOF
38236 cat confdefs.h >>conftest.$ac_ext
38237 cat >>conftest.$ac_ext <<_ACEOF
38238 /* end confdefs.h. */
38239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38241 #define $ac_func innocuous_$ac_func
38242
38243 /* System header to define __stub macros and hopefully few prototypes,
38244 which can conflict with char $ac_func (); below.
38245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38246 <limits.h> exists even on freestanding compilers. */
38247
38248 #ifdef __STDC__
38249 # include <limits.h>
38250 #else
38251 # include <assert.h>
38252 #endif
38253
38254 #undef $ac_func
38255
38256 /* Override any gcc2 internal prototype to avoid an error. */
38257 #ifdef __cplusplus
38258 extern "C"
38259 {
38260 #endif
38261 /* We use char because int might match the return type of a gcc2
38262 builtin and then its argument prototype would still apply. */
38263 char $ac_func ();
38264 /* The GNU C library defines this for functions which it implements
38265 to always fail with ENOSYS. Some functions are actually named
38266 something starting with __ and the normal name is an alias. */
38267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38268 choke me
38269 #else
38270 char (*f) () = $ac_func;
38271 #endif
38272 #ifdef __cplusplus
38273 }
38274 #endif
38275
38276 int
38277 main ()
38278 {
38279 return f != $ac_func;
38280 ;
38281 return 0;
38282 }
38283 _ACEOF
38284 rm -f conftest.$ac_objext conftest$ac_exeext
38285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38286 (eval $ac_link) 2>conftest.er1
38287 ac_status=$?
38288 grep -v '^ *+' conftest.er1 >conftest.err
38289 rm -f conftest.er1
38290 cat conftest.err >&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); } &&
38293 { ac_try='test -z "$ac_cxx_werror_flag"
38294 || test ! -s conftest.err'
38295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38296 (eval $ac_try) 2>&5
38297 ac_status=$?
38298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299 (exit $ac_status); }; } &&
38300 { ac_try='test -s conftest$ac_exeext'
38301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38302 (eval $ac_try) 2>&5
38303 ac_status=$?
38304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38305 (exit $ac_status); }; }; then
38306 eval "$as_ac_var=yes"
38307 else
38308 echo "$as_me: failed program was:" >&5
38309 sed 's/^/| /' conftest.$ac_ext >&5
38310
38311 eval "$as_ac_var=no"
38312 fi
38313 rm -f conftest.err conftest.$ac_objext \
38314 conftest$ac_exeext conftest.$ac_ext
38315 fi
38316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38318 if test `eval echo '${'$as_ac_var'}'` = yes; then
38319 cat >>confdefs.h <<_ACEOF
38320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38321 _ACEOF
38322 cat >>confdefs.h <<\_ACEOF
38323 #define HAVE_INET_ATON 1
38324 _ACEOF
38325
38326 else
38327
38328 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38329 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38330 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38331 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38332 echo $ECHO_N "(cached) $ECHO_C" >&6
38333 else
38334 ac_check_lib_save_LIBS=$LIBS
38335 LIBS="-l$INET_LINK $LIBS"
38336 cat >conftest.$ac_ext <<_ACEOF
38337 /* confdefs.h. */
38338 _ACEOF
38339 cat confdefs.h >>conftest.$ac_ext
38340 cat >>conftest.$ac_ext <<_ACEOF
38341 /* end confdefs.h. */
38342
38343 /* Override any gcc2 internal prototype to avoid an error. */
38344 #ifdef __cplusplus
38345 extern "C"
38346 #endif
38347 /* We use char because int might match the return type of a gcc2
38348 builtin and then its argument prototype would still apply. */
38349 char inet_aton ();
38350 int
38351 main ()
38352 {
38353 inet_aton ();
38354 ;
38355 return 0;
38356 }
38357 _ACEOF
38358 rm -f conftest.$ac_objext conftest$ac_exeext
38359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38360 (eval $ac_link) 2>conftest.er1
38361 ac_status=$?
38362 grep -v '^ *+' conftest.er1 >conftest.err
38363 rm -f conftest.er1
38364 cat conftest.err >&5
38365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38366 (exit $ac_status); } &&
38367 { ac_try='test -z "$ac_cxx_werror_flag"
38368 || test ! -s conftest.err'
38369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38370 (eval $ac_try) 2>&5
38371 ac_status=$?
38372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38373 (exit $ac_status); }; } &&
38374 { ac_try='test -s conftest$ac_exeext'
38375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38376 (eval $ac_try) 2>&5
38377 ac_status=$?
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); }; }; then
38380 eval "$as_ac_Lib=yes"
38381 else
38382 echo "$as_me: failed program was:" >&5
38383 sed 's/^/| /' conftest.$ac_ext >&5
38384
38385 eval "$as_ac_Lib=no"
38386 fi
38387 rm -f conftest.err conftest.$ac_objext \
38388 conftest$ac_exeext conftest.$ac_ext
38389 LIBS=$ac_check_lib_save_LIBS
38390 fi
38391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38392 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38393 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38394 cat >>confdefs.h <<\_ACEOF
38395 #define HAVE_INET_ATON 1
38396 _ACEOF
38397
38398 fi
38399
38400
38401 fi
38402 done
38403
38404
38405 if test "x$INET_LINK" != "x"; then
38406 cat >>confdefs.h <<\_ACEOF
38407 #define HAVE_INET_ADDR 1
38408 _ACEOF
38409
38410 INET_LINK=" -l$INET_LINK"
38411 fi
38412
38413 fi
38414
38415
38416
38417 EXTRALIBS_ESD=
38418 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38419 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38420 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38421 echo $ECHO_N "(cached) $ECHO_C" >&6
38422 else
38423 ac_check_lib_save_LIBS=$LIBS
38424 LIBS="-lesd $LIBS"
38425 cat >conftest.$ac_ext <<_ACEOF
38426 /* confdefs.h. */
38427 _ACEOF
38428 cat confdefs.h >>conftest.$ac_ext
38429 cat >>conftest.$ac_ext <<_ACEOF
38430 /* end confdefs.h. */
38431
38432 /* Override any gcc2 internal prototype to avoid an error. */
38433 #ifdef __cplusplus
38434 extern "C"
38435 #endif
38436 /* We use char because int might match the return type of a gcc2
38437 builtin and then its argument prototype would still apply. */
38438 char esd_close ();
38439 int
38440 main ()
38441 {
38442 esd_close ();
38443 ;
38444 return 0;
38445 }
38446 _ACEOF
38447 rm -f conftest.$ac_objext conftest$ac_exeext
38448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38449 (eval $ac_link) 2>conftest.er1
38450 ac_status=$?
38451 grep -v '^ *+' conftest.er1 >conftest.err
38452 rm -f conftest.er1
38453 cat conftest.err >&5
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); } &&
38456 { ac_try='test -z "$ac_cxx_werror_flag"
38457 || test ! -s conftest.err'
38458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38459 (eval $ac_try) 2>&5
38460 ac_status=$?
38461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38462 (exit $ac_status); }; } &&
38463 { ac_try='test -s conftest$ac_exeext'
38464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38465 (eval $ac_try) 2>&5
38466 ac_status=$?
38467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38468 (exit $ac_status); }; }; then
38469 ac_cv_lib_esd_esd_close=yes
38470 else
38471 echo "$as_me: failed program was:" >&5
38472 sed 's/^/| /' conftest.$ac_ext >&5
38473
38474 ac_cv_lib_esd_esd_close=no
38475 fi
38476 rm -f conftest.err conftest.$ac_objext \
38477 conftest$ac_exeext conftest.$ac_ext
38478 LIBS=$ac_check_lib_save_LIBS
38479 fi
38480 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38481 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38482 if test $ac_cv_lib_esd_esd_close = yes; then
38483
38484
38485 for ac_header in esd.h
38486 do
38487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38489 echo "$as_me:$LINENO: checking for $ac_header" >&5
38490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38492 echo $ECHO_N "(cached) $ECHO_C" >&6
38493 fi
38494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38496 else
38497 # Is the header compilable?
38498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38500 cat >conftest.$ac_ext <<_ACEOF
38501 /* confdefs.h. */
38502 _ACEOF
38503 cat confdefs.h >>conftest.$ac_ext
38504 cat >>conftest.$ac_ext <<_ACEOF
38505 /* end confdefs.h. */
38506 $ac_includes_default
38507 #include <$ac_header>
38508 _ACEOF
38509 rm -f conftest.$ac_objext
38510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38511 (eval $ac_compile) 2>conftest.er1
38512 ac_status=$?
38513 grep -v '^ *+' conftest.er1 >conftest.err
38514 rm -f conftest.er1
38515 cat conftest.err >&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); } &&
38518 { ac_try='test -z "$ac_cxx_werror_flag"
38519 || test ! -s conftest.err'
38520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38521 (eval $ac_try) 2>&5
38522 ac_status=$?
38523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38524 (exit $ac_status); }; } &&
38525 { ac_try='test -s conftest.$ac_objext'
38526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38527 (eval $ac_try) 2>&5
38528 ac_status=$?
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); }; }; then
38531 ac_header_compiler=yes
38532 else
38533 echo "$as_me: failed program was:" >&5
38534 sed 's/^/| /' conftest.$ac_ext >&5
38535
38536 ac_header_compiler=no
38537 fi
38538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38540 echo "${ECHO_T}$ac_header_compiler" >&6
38541
38542 # Is the header present?
38543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38545 cat >conftest.$ac_ext <<_ACEOF
38546 /* confdefs.h. */
38547 _ACEOF
38548 cat confdefs.h >>conftest.$ac_ext
38549 cat >>conftest.$ac_ext <<_ACEOF
38550 /* end confdefs.h. */
38551 #include <$ac_header>
38552 _ACEOF
38553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38555 ac_status=$?
38556 grep -v '^ *+' conftest.er1 >conftest.err
38557 rm -f conftest.er1
38558 cat conftest.err >&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); } >/dev/null; then
38561 if test -s conftest.err; then
38562 ac_cpp_err=$ac_cxx_preproc_warn_flag
38563 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38564 else
38565 ac_cpp_err=
38566 fi
38567 else
38568 ac_cpp_err=yes
38569 fi
38570 if test -z "$ac_cpp_err"; then
38571 ac_header_preproc=yes
38572 else
38573 echo "$as_me: failed program was:" >&5
38574 sed 's/^/| /' conftest.$ac_ext >&5
38575
38576 ac_header_preproc=no
38577 fi
38578 rm -f conftest.err conftest.$ac_ext
38579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38580 echo "${ECHO_T}$ac_header_preproc" >&6
38581
38582 # So? What about this header?
38583 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38584 yes:no: )
38585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38589 ac_header_preproc=yes
38590 ;;
38591 no:yes:* )
38592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38604 (
38605 cat <<\_ASBOX
38606 ## ----------------------------------------- ##
38607 ## Report this to wx-dev@lists.wxwidgets.org ##
38608 ## ----------------------------------------- ##
38609 _ASBOX
38610 ) |
38611 sed "s/^/$as_me: WARNING: /" >&2
38612 ;;
38613 esac
38614 echo "$as_me:$LINENO: checking for $ac_header" >&5
38615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38617 echo $ECHO_N "(cached) $ECHO_C" >&6
38618 else
38619 eval "$as_ac_Header=\$ac_header_preproc"
38620 fi
38621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38623
38624 fi
38625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38626 cat >>confdefs.h <<_ACEOF
38627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38628 _ACEOF
38629
38630 EXTRALIBS_ESD="-lesd"
38631
38632 fi
38633
38634 done
38635
38636
38637 fi
38638
38639
38640
38641 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38642 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38643 cat >conftest.$ac_ext <<_ACEOF
38644 /* confdefs.h. */
38645 _ACEOF
38646 cat confdefs.h >>conftest.$ac_ext
38647 cat >>conftest.$ac_ext <<_ACEOF
38648 /* end confdefs.h. */
38649 #ifdef __linux__
38650 #include <linux/cdrom.h>
38651 #else
38652 /* For Solaris */
38653 #include <sys/cdio.h>
38654 #endif
38655
38656 int
38657 main ()
38658 {
38659 struct cdrom_tocentry entry, old_entry;
38660 ;
38661 return 0;
38662 }
38663 _ACEOF
38664 rm -f conftest.$ac_objext
38665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38666 (eval $ac_compile) 2>conftest.er1
38667 ac_status=$?
38668 grep -v '^ *+' conftest.er1 >conftest.err
38669 rm -f conftest.er1
38670 cat conftest.err >&5
38671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672 (exit $ac_status); } &&
38673 { ac_try='test -z "$ac_cxx_werror_flag"
38674 || test ! -s conftest.err'
38675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38676 (eval $ac_try) 2>&5
38677 ac_status=$?
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); }; } &&
38680 { ac_try='test -s conftest.$ac_objext'
38681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38682 (eval $ac_try) 2>&5
38683 ac_status=$?
38684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38685 (exit $ac_status); }; }; then
38686 echo "$as_me:$LINENO: result: yes" >&5
38687 echo "${ECHO_T}yes" >&6
38688 cat >>confdefs.h <<\_ACEOF
38689 #define HAVE_KNOWN_CDROM_INTERFACE 1
38690 _ACEOF
38691
38692 else
38693 echo "$as_me: failed program was:" >&5
38694 sed 's/^/| /' conftest.$ac_ext >&5
38695
38696 echo "$as_me:$LINENO: result: no" >&5
38697 echo "${ECHO_T}no" >&6
38698 fi
38699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38700
38701
38702 cat >confcache <<\_ACEOF
38703 # This file is a shell script that caches the results of configure
38704 # tests run on this system so they can be shared between configure
38705 # scripts and configure runs, see configure's option --config-cache.
38706 # It is not useful on other systems. If it contains results you don't
38707 # want to keep, you may remove or edit it.
38708 #
38709 # config.status only pays attention to the cache file if you give it
38710 # the --recheck option to rerun configure.
38711 #
38712 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38713 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38714 # following values.
38715
38716 _ACEOF
38717
38718 # The following way of writing the cache mishandles newlines in values,
38719 # but we know of no workaround that is simple, portable, and efficient.
38720 # So, don't put newlines in cache variables' values.
38721 # Ultrix sh set writes to stderr and can't be redirected directly,
38722 # and sets the high bit in the cache file unless we assign to the vars.
38723 {
38724 (set) 2>&1 |
38725 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38726 *ac_space=\ *)
38727 # `set' does not quote correctly, so add quotes (double-quote
38728 # substitution turns \\\\ into \\, and sed turns \\ into \).
38729 sed -n \
38730 "s/'/'\\\\''/g;
38731 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38732 ;;
38733 *)
38734 # `set' quotes correctly as required by POSIX, so do not add quotes.
38735 sed -n \
38736 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38737 ;;
38738 esac;
38739 } |
38740 sed '
38741 t clear
38742 : clear
38743 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38744 t end
38745 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38746 : end' >>confcache
38747 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38748 if test -w $cache_file; then
38749 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38750 cat confcache >$cache_file
38751 else
38752 echo "not updating unwritable cache $cache_file"
38753 fi
38754 fi
38755 rm -f confcache
38756
38757
38758 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38759
38760
38761 THREADS_LINK=
38762 THREADS_CXXFLAGS=
38763
38764 if test "$wxUSE_THREADS" = "yes" ; then
38765 if test "$USE_BEOS" = 1; then
38766 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38767 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38768 wxUSE_THREADS="no"
38769 fi
38770 fi
38771
38772 if test "$wxUSE_THREADS" = "yes" ; then
38773
38774
38775 THREAD_OPTS="-pthread"
38776 case "${host}" in
38777 *-*-solaris2* | *-*-sunos4* )
38778 if test "x$GCC" = "xyes"; then
38779 THREAD_OPTS="-pthreads $THREAD_OPTS"
38780 else
38781 THREAD_OPTS="-mt $THREAD_OPTS"
38782 fi
38783 ;;
38784 *-*-freebsd*)
38785 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38786 ;;
38787 *-*-darwin* | *-*-cygwin* )
38788 THREAD_OPTS=""
38789 ;;
38790 *-*-aix*)
38791 THREAD_OPTS="pthreads"
38792 ;;
38793 *-hp-hpux* )
38794 if test "x$GCC" = "xyes"; then
38795 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38796 THREAD_OPTS=""
38797 else
38798 THREAD_OPTS="-mt"
38799 fi
38800 ;;
38801
38802 *-*-irix* )
38803 if test "x$GCC" = "xyes"; then
38804 THREAD_OPTS=""
38805 fi
38806 ;;
38807
38808 *-*-*UnixWare*)
38809 if test "x$GCC" != "xyes"; then
38810 THREAD_OPTS="-Ethread"
38811 fi
38812 ;;
38813 esac
38814
38815 THREAD_OPTS="$THREAD_OPTS pthread none"
38816
38817 THREADS_OK=no
38818 for flag in $THREAD_OPTS; do
38819 case $flag in
38820 none)
38821 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38822 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38823 ;;
38824
38825 -*)
38826 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38827 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38828 THREADS_CXXFLAGS="$flag"
38829 ;;
38830
38831 *)
38832 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38833 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38834 THREADS_LINK="-l$flag"
38835 ;;
38836 esac
38837
38838 save_LIBS="$LIBS"
38839 save_CXXFLAGS="$CXXFLAGS"
38840 LIBS="$THREADS_LINK $LIBS"
38841 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
38842
38843 cat >conftest.$ac_ext <<_ACEOF
38844 /* confdefs.h. */
38845 _ACEOF
38846 cat confdefs.h >>conftest.$ac_ext
38847 cat >>conftest.$ac_ext <<_ACEOF
38848 /* end confdefs.h. */
38849 #include <pthread.h>
38850 int
38851 main ()
38852 {
38853 pthread_create(0,0,0,0);
38854 ;
38855 return 0;
38856 }
38857 _ACEOF
38858 rm -f conftest.$ac_objext conftest$ac_exeext
38859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38860 (eval $ac_link) 2>conftest.er1
38861 ac_status=$?
38862 grep -v '^ *+' conftest.er1 >conftest.err
38863 rm -f conftest.er1
38864 cat conftest.err >&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); } &&
38867 { ac_try='test -z "$ac_cxx_werror_flag"
38868 || test ! -s conftest.err'
38869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38870 (eval $ac_try) 2>&5
38871 ac_status=$?
38872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38873 (exit $ac_status); }; } &&
38874 { ac_try='test -s conftest$ac_exeext'
38875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38876 (eval $ac_try) 2>&5
38877 ac_status=$?
38878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38879 (exit $ac_status); }; }; then
38880 THREADS_OK=yes
38881 else
38882 echo "$as_me: failed program was:" >&5
38883 sed 's/^/| /' conftest.$ac_ext >&5
38884
38885 fi
38886 rm -f conftest.err conftest.$ac_objext \
38887 conftest$ac_exeext conftest.$ac_ext
38888
38889 LIBS="$save_LIBS"
38890 CXXFLAGS="$save_CXXFLAGS"
38891
38892 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38893 echo "${ECHO_T}$THREADS_OK" >&6
38894 if test "x$THREADS_OK" = "xyes"; then
38895 break;
38896 fi
38897
38898 THREADS_LINK=""
38899 THREADS_CXXFLAGS=""
38900 done
38901
38902 if test "x$THREADS_OK" != "xyes"; then
38903 wxUSE_THREADS=no
38904 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38905 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38906 else
38907 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
38908 LIBS="$THREADS_LINK $LIBS"
38909
38910 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38911 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38912 flag=no
38913 case "${host}" in
38914 *-aix*)
38915 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38916 flag="-D_THREAD_SAFE"
38917 ;;
38918 *-freebsd*)
38919 flag="-D_THREAD_SAFE"
38920 ;;
38921 *-hp-hpux* )
38922 flag="-D_REENTRANT"
38923 if test "x$GCC" != "xyes"; then
38924 flag="$flag -D_RWSTD_MULTI_THREAD"
38925 fi
38926 ;;
38927 *solaris* | alpha*-osf*)
38928 flag="-D_REENTRANT"
38929 ;;
38930 esac
38931 echo "$as_me:$LINENO: result: ${flag}" >&5
38932 echo "${ECHO_T}${flag}" >&6
38933 if test "x$flag" != xno; then
38934 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
38935 fi
38936
38937 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38938 fi
38939 fi
38940
38941 if test "$wxUSE_THREADS" = "yes" ; then
38942
38943 for ac_func in thr_setconcurrency
38944 do
38945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38946 echo "$as_me:$LINENO: checking for $ac_func" >&5
38947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38948 if eval "test \"\${$as_ac_var+set}\" = set"; then
38949 echo $ECHO_N "(cached) $ECHO_C" >&6
38950 else
38951 cat >conftest.$ac_ext <<_ACEOF
38952 /* confdefs.h. */
38953 _ACEOF
38954 cat confdefs.h >>conftest.$ac_ext
38955 cat >>conftest.$ac_ext <<_ACEOF
38956 /* end confdefs.h. */
38957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38959 #define $ac_func innocuous_$ac_func
38960
38961 /* System header to define __stub macros and hopefully few prototypes,
38962 which can conflict with char $ac_func (); below.
38963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38964 <limits.h> exists even on freestanding compilers. */
38965
38966 #ifdef __STDC__
38967 # include <limits.h>
38968 #else
38969 # include <assert.h>
38970 #endif
38971
38972 #undef $ac_func
38973
38974 /* Override any gcc2 internal prototype to avoid an error. */
38975 #ifdef __cplusplus
38976 extern "C"
38977 {
38978 #endif
38979 /* We use char because int might match the return type of a gcc2
38980 builtin and then its argument prototype would still apply. */
38981 char $ac_func ();
38982 /* The GNU C library defines this for functions which it implements
38983 to always fail with ENOSYS. Some functions are actually named
38984 something starting with __ and the normal name is an alias. */
38985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38986 choke me
38987 #else
38988 char (*f) () = $ac_func;
38989 #endif
38990 #ifdef __cplusplus
38991 }
38992 #endif
38993
38994 int
38995 main ()
38996 {
38997 return f != $ac_func;
38998 ;
38999 return 0;
39000 }
39001 _ACEOF
39002 rm -f conftest.$ac_objext conftest$ac_exeext
39003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39004 (eval $ac_link) 2>conftest.er1
39005 ac_status=$?
39006 grep -v '^ *+' conftest.er1 >conftest.err
39007 rm -f conftest.er1
39008 cat conftest.err >&5
39009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010 (exit $ac_status); } &&
39011 { ac_try='test -z "$ac_cxx_werror_flag"
39012 || test ! -s conftest.err'
39013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39014 (eval $ac_try) 2>&5
39015 ac_status=$?
39016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017 (exit $ac_status); }; } &&
39018 { ac_try='test -s conftest$ac_exeext'
39019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39020 (eval $ac_try) 2>&5
39021 ac_status=$?
39022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39023 (exit $ac_status); }; }; then
39024 eval "$as_ac_var=yes"
39025 else
39026 echo "$as_me: failed program was:" >&5
39027 sed 's/^/| /' conftest.$ac_ext >&5
39028
39029 eval "$as_ac_var=no"
39030 fi
39031 rm -f conftest.err conftest.$ac_objext \
39032 conftest$ac_exeext conftest.$ac_ext
39033 fi
39034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39036 if test `eval echo '${'$as_ac_var'}'` = yes; then
39037 cat >>confdefs.h <<_ACEOF
39038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39039 _ACEOF
39040
39041 fi
39042 done
39043
39044
39045 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39046 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39047 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39048 echo $ECHO_N "(cached) $ECHO_C" >&6
39049 else
39050
39051 cat >conftest.$ac_ext <<_ACEOF
39052 /* confdefs.h. */
39053 _ACEOF
39054 cat confdefs.h >>conftest.$ac_ext
39055 cat >>conftest.$ac_ext <<_ACEOF
39056 /* end confdefs.h. */
39057 #include <pthread.h>
39058 void ThreadCleanupFunc(void *p);
39059
39060 int
39061 main ()
39062 {
39063
39064 void *p;
39065 pthread_cleanup_push(ThreadCleanupFunc, p);
39066 pthread_cleanup_pop(0);
39067
39068 ;
39069 return 0;
39070 }
39071 _ACEOF
39072 rm -f conftest.$ac_objext
39073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39074 (eval $ac_compile) 2>conftest.er1
39075 ac_status=$?
39076 grep -v '^ *+' conftest.er1 >conftest.err
39077 rm -f conftest.er1
39078 cat conftest.err >&5
39079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39080 (exit $ac_status); } &&
39081 { ac_try='test -z "$ac_cxx_werror_flag"
39082 || test ! -s conftest.err'
39083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39084 (eval $ac_try) 2>&5
39085 ac_status=$?
39086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39087 (exit $ac_status); }; } &&
39088 { ac_try='test -s conftest.$ac_objext'
39089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39090 (eval $ac_try) 2>&5
39091 ac_status=$?
39092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39093 (exit $ac_status); }; }; then
39094
39095 wx_cv_func_pthread_cleanup=yes
39096
39097 else
39098 echo "$as_me: failed program was:" >&5
39099 sed 's/^/| /' conftest.$ac_ext >&5
39100
39101
39102 wx_cv_func_pthread_cleanup=no
39103
39104
39105 fi
39106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39107
39108 fi
39109 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39110 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39111 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39112 cat >>confdefs.h <<\_ACEOF
39113 #define wxHAVE_PTHREAD_CLEANUP 1
39114 _ACEOF
39115
39116 fi
39117
39118
39119 for ac_header in sched.h
39120 do
39121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39123 echo "$as_me:$LINENO: checking for $ac_header" >&5
39124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39126 echo $ECHO_N "(cached) $ECHO_C" >&6
39127 fi
39128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39130 else
39131 # Is the header compilable?
39132 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39133 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39134 cat >conftest.$ac_ext <<_ACEOF
39135 /* confdefs.h. */
39136 _ACEOF
39137 cat confdefs.h >>conftest.$ac_ext
39138 cat >>conftest.$ac_ext <<_ACEOF
39139 /* end confdefs.h. */
39140 $ac_includes_default
39141 #include <$ac_header>
39142 _ACEOF
39143 rm -f conftest.$ac_objext
39144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39145 (eval $ac_compile) 2>conftest.er1
39146 ac_status=$?
39147 grep -v '^ *+' conftest.er1 >conftest.err
39148 rm -f conftest.er1
39149 cat conftest.err >&5
39150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39151 (exit $ac_status); } &&
39152 { ac_try='test -z "$ac_cxx_werror_flag"
39153 || test ! -s conftest.err'
39154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39155 (eval $ac_try) 2>&5
39156 ac_status=$?
39157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39158 (exit $ac_status); }; } &&
39159 { ac_try='test -s conftest.$ac_objext'
39160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39161 (eval $ac_try) 2>&5
39162 ac_status=$?
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); }; }; then
39165 ac_header_compiler=yes
39166 else
39167 echo "$as_me: failed program was:" >&5
39168 sed 's/^/| /' conftest.$ac_ext >&5
39169
39170 ac_header_compiler=no
39171 fi
39172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39174 echo "${ECHO_T}$ac_header_compiler" >&6
39175
39176 # Is the header present?
39177 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39178 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39179 cat >conftest.$ac_ext <<_ACEOF
39180 /* confdefs.h. */
39181 _ACEOF
39182 cat confdefs.h >>conftest.$ac_ext
39183 cat >>conftest.$ac_ext <<_ACEOF
39184 /* end confdefs.h. */
39185 #include <$ac_header>
39186 _ACEOF
39187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39189 ac_status=$?
39190 grep -v '^ *+' conftest.er1 >conftest.err
39191 rm -f conftest.er1
39192 cat conftest.err >&5
39193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39194 (exit $ac_status); } >/dev/null; then
39195 if test -s conftest.err; then
39196 ac_cpp_err=$ac_cxx_preproc_warn_flag
39197 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39198 else
39199 ac_cpp_err=
39200 fi
39201 else
39202 ac_cpp_err=yes
39203 fi
39204 if test -z "$ac_cpp_err"; then
39205 ac_header_preproc=yes
39206 else
39207 echo "$as_me: failed program was:" >&5
39208 sed 's/^/| /' conftest.$ac_ext >&5
39209
39210 ac_header_preproc=no
39211 fi
39212 rm -f conftest.err conftest.$ac_ext
39213 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39214 echo "${ECHO_T}$ac_header_preproc" >&6
39215
39216 # So? What about this header?
39217 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39218 yes:no: )
39219 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39220 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39222 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39223 ac_header_preproc=yes
39224 ;;
39225 no:yes:* )
39226 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39227 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39228 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39229 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39230 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39231 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39232 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39233 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39236 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39237 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39238 (
39239 cat <<\_ASBOX
39240 ## ----------------------------------------- ##
39241 ## Report this to wx-dev@lists.wxwidgets.org ##
39242 ## ----------------------------------------- ##
39243 _ASBOX
39244 ) |
39245 sed "s/^/$as_me: WARNING: /" >&2
39246 ;;
39247 esac
39248 echo "$as_me:$LINENO: checking for $ac_header" >&5
39249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39251 echo $ECHO_N "(cached) $ECHO_C" >&6
39252 else
39253 eval "$as_ac_Header=\$ac_header_preproc"
39254 fi
39255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39257
39258 fi
39259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39260 cat >>confdefs.h <<_ACEOF
39261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39262 _ACEOF
39263
39264 fi
39265
39266 done
39267
39268 if test "$ac_cv_header_sched_h" = "yes"; then
39269 echo "$as_me:$LINENO: checking for sched_yield" >&5
39270 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39271 if test "${ac_cv_func_sched_yield+set}" = set; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 else
39274 cat >conftest.$ac_ext <<_ACEOF
39275 /* confdefs.h. */
39276 _ACEOF
39277 cat confdefs.h >>conftest.$ac_ext
39278 cat >>conftest.$ac_ext <<_ACEOF
39279 /* end confdefs.h. */
39280 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39282 #define sched_yield innocuous_sched_yield
39283
39284 /* System header to define __stub macros and hopefully few prototypes,
39285 which can conflict with char sched_yield (); below.
39286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39287 <limits.h> exists even on freestanding compilers. */
39288
39289 #ifdef __STDC__
39290 # include <limits.h>
39291 #else
39292 # include <assert.h>
39293 #endif
39294
39295 #undef sched_yield
39296
39297 /* Override any gcc2 internal prototype to avoid an error. */
39298 #ifdef __cplusplus
39299 extern "C"
39300 {
39301 #endif
39302 /* We use char because int might match the return type of a gcc2
39303 builtin and then its argument prototype would still apply. */
39304 char sched_yield ();
39305 /* The GNU C library defines this for functions which it implements
39306 to always fail with ENOSYS. Some functions are actually named
39307 something starting with __ and the normal name is an alias. */
39308 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39309 choke me
39310 #else
39311 char (*f) () = sched_yield;
39312 #endif
39313 #ifdef __cplusplus
39314 }
39315 #endif
39316
39317 int
39318 main ()
39319 {
39320 return f != sched_yield;
39321 ;
39322 return 0;
39323 }
39324 _ACEOF
39325 rm -f conftest.$ac_objext conftest$ac_exeext
39326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39327 (eval $ac_link) 2>conftest.er1
39328 ac_status=$?
39329 grep -v '^ *+' conftest.er1 >conftest.err
39330 rm -f conftest.er1
39331 cat conftest.err >&5
39332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39333 (exit $ac_status); } &&
39334 { ac_try='test -z "$ac_cxx_werror_flag"
39335 || test ! -s conftest.err'
39336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39337 (eval $ac_try) 2>&5
39338 ac_status=$?
39339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39340 (exit $ac_status); }; } &&
39341 { ac_try='test -s conftest$ac_exeext'
39342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39343 (eval $ac_try) 2>&5
39344 ac_status=$?
39345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39346 (exit $ac_status); }; }; then
39347 ac_cv_func_sched_yield=yes
39348 else
39349 echo "$as_me: failed program was:" >&5
39350 sed 's/^/| /' conftest.$ac_ext >&5
39351
39352 ac_cv_func_sched_yield=no
39353 fi
39354 rm -f conftest.err conftest.$ac_objext \
39355 conftest$ac_exeext conftest.$ac_ext
39356 fi
39357 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39358 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39359 if test $ac_cv_func_sched_yield = yes; then
39360 cat >>confdefs.h <<\_ACEOF
39361 #define HAVE_SCHED_YIELD 1
39362 _ACEOF
39363
39364 else
39365
39366 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39367 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39368 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39369 echo $ECHO_N "(cached) $ECHO_C" >&6
39370 else
39371 ac_check_lib_save_LIBS=$LIBS
39372 LIBS="-lposix4 $LIBS"
39373 cat >conftest.$ac_ext <<_ACEOF
39374 /* confdefs.h. */
39375 _ACEOF
39376 cat confdefs.h >>conftest.$ac_ext
39377 cat >>conftest.$ac_ext <<_ACEOF
39378 /* end confdefs.h. */
39379
39380 /* Override any gcc2 internal prototype to avoid an error. */
39381 #ifdef __cplusplus
39382 extern "C"
39383 #endif
39384 /* We use char because int might match the return type of a gcc2
39385 builtin and then its argument prototype would still apply. */
39386 char sched_yield ();
39387 int
39388 main ()
39389 {
39390 sched_yield ();
39391 ;
39392 return 0;
39393 }
39394 _ACEOF
39395 rm -f conftest.$ac_objext conftest$ac_exeext
39396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39397 (eval $ac_link) 2>conftest.er1
39398 ac_status=$?
39399 grep -v '^ *+' conftest.er1 >conftest.err
39400 rm -f conftest.er1
39401 cat conftest.err >&5
39402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39403 (exit $ac_status); } &&
39404 { ac_try='test -z "$ac_cxx_werror_flag"
39405 || test ! -s conftest.err'
39406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39407 (eval $ac_try) 2>&5
39408 ac_status=$?
39409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39410 (exit $ac_status); }; } &&
39411 { ac_try='test -s conftest$ac_exeext'
39412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39413 (eval $ac_try) 2>&5
39414 ac_status=$?
39415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39416 (exit $ac_status); }; }; then
39417 ac_cv_lib_posix4_sched_yield=yes
39418 else
39419 echo "$as_me: failed program was:" >&5
39420 sed 's/^/| /' conftest.$ac_ext >&5
39421
39422 ac_cv_lib_posix4_sched_yield=no
39423 fi
39424 rm -f conftest.err conftest.$ac_objext \
39425 conftest$ac_exeext conftest.$ac_ext
39426 LIBS=$ac_check_lib_save_LIBS
39427 fi
39428 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39429 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39430 if test $ac_cv_lib_posix4_sched_yield = yes; then
39431 cat >>confdefs.h <<\_ACEOF
39432 #define HAVE_SCHED_YIELD 1
39433 _ACEOF
39434 POSIX4_LINK=" -lposix4"
39435 else
39436 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39437 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39438
39439 fi
39440
39441
39442
39443 fi
39444
39445 fi
39446
39447 HAVE_PRIOR_FUNCS=0
39448 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39449 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39450 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39451 echo $ECHO_N "(cached) $ECHO_C" >&6
39452 else
39453 cat >conftest.$ac_ext <<_ACEOF
39454 /* confdefs.h. */
39455 _ACEOF
39456 cat confdefs.h >>conftest.$ac_ext
39457 cat >>conftest.$ac_ext <<_ACEOF
39458 /* end confdefs.h. */
39459 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39461 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39462
39463 /* System header to define __stub macros and hopefully few prototypes,
39464 which can conflict with char pthread_attr_getschedpolicy (); below.
39465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39466 <limits.h> exists even on freestanding compilers. */
39467
39468 #ifdef __STDC__
39469 # include <limits.h>
39470 #else
39471 # include <assert.h>
39472 #endif
39473
39474 #undef pthread_attr_getschedpolicy
39475
39476 /* Override any gcc2 internal prototype to avoid an error. */
39477 #ifdef __cplusplus
39478 extern "C"
39479 {
39480 #endif
39481 /* We use char because int might match the return type of a gcc2
39482 builtin and then its argument prototype would still apply. */
39483 char pthread_attr_getschedpolicy ();
39484 /* The GNU C library defines this for functions which it implements
39485 to always fail with ENOSYS. Some functions are actually named
39486 something starting with __ and the normal name is an alias. */
39487 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39488 choke me
39489 #else
39490 char (*f) () = pthread_attr_getschedpolicy;
39491 #endif
39492 #ifdef __cplusplus
39493 }
39494 #endif
39495
39496 int
39497 main ()
39498 {
39499 return f != pthread_attr_getschedpolicy;
39500 ;
39501 return 0;
39502 }
39503 _ACEOF
39504 rm -f conftest.$ac_objext conftest$ac_exeext
39505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39506 (eval $ac_link) 2>conftest.er1
39507 ac_status=$?
39508 grep -v '^ *+' conftest.er1 >conftest.err
39509 rm -f conftest.er1
39510 cat conftest.err >&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); } &&
39513 { ac_try='test -z "$ac_cxx_werror_flag"
39514 || test ! -s conftest.err'
39515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39516 (eval $ac_try) 2>&5
39517 ac_status=$?
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); }; } &&
39520 { ac_try='test -s conftest$ac_exeext'
39521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39522 (eval $ac_try) 2>&5
39523 ac_status=$?
39524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39525 (exit $ac_status); }; }; then
39526 ac_cv_func_pthread_attr_getschedpolicy=yes
39527 else
39528 echo "$as_me: failed program was:" >&5
39529 sed 's/^/| /' conftest.$ac_ext >&5
39530
39531 ac_cv_func_pthread_attr_getschedpolicy=no
39532 fi
39533 rm -f conftest.err conftest.$ac_objext \
39534 conftest$ac_exeext conftest.$ac_ext
39535 fi
39536 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39537 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39538 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39539 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39540 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39541 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39542 echo $ECHO_N "(cached) $ECHO_C" >&6
39543 else
39544 cat >conftest.$ac_ext <<_ACEOF
39545 /* confdefs.h. */
39546 _ACEOF
39547 cat confdefs.h >>conftest.$ac_ext
39548 cat >>conftest.$ac_ext <<_ACEOF
39549 /* end confdefs.h. */
39550 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39552 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39553
39554 /* System header to define __stub macros and hopefully few prototypes,
39555 which can conflict with char pthread_attr_setschedparam (); below.
39556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39557 <limits.h> exists even on freestanding compilers. */
39558
39559 #ifdef __STDC__
39560 # include <limits.h>
39561 #else
39562 # include <assert.h>
39563 #endif
39564
39565 #undef pthread_attr_setschedparam
39566
39567 /* Override any gcc2 internal prototype to avoid an error. */
39568 #ifdef __cplusplus
39569 extern "C"
39570 {
39571 #endif
39572 /* We use char because int might match the return type of a gcc2
39573 builtin and then its argument prototype would still apply. */
39574 char pthread_attr_setschedparam ();
39575 /* The GNU C library defines this for functions which it implements
39576 to always fail with ENOSYS. Some functions are actually named
39577 something starting with __ and the normal name is an alias. */
39578 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39579 choke me
39580 #else
39581 char (*f) () = pthread_attr_setschedparam;
39582 #endif
39583 #ifdef __cplusplus
39584 }
39585 #endif
39586
39587 int
39588 main ()
39589 {
39590 return f != pthread_attr_setschedparam;
39591 ;
39592 return 0;
39593 }
39594 _ACEOF
39595 rm -f conftest.$ac_objext conftest$ac_exeext
39596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39597 (eval $ac_link) 2>conftest.er1
39598 ac_status=$?
39599 grep -v '^ *+' conftest.er1 >conftest.err
39600 rm -f conftest.er1
39601 cat conftest.err >&5
39602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603 (exit $ac_status); } &&
39604 { ac_try='test -z "$ac_cxx_werror_flag"
39605 || test ! -s conftest.err'
39606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39607 (eval $ac_try) 2>&5
39608 ac_status=$?
39609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39610 (exit $ac_status); }; } &&
39611 { ac_try='test -s conftest$ac_exeext'
39612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39613 (eval $ac_try) 2>&5
39614 ac_status=$?
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); }; }; then
39617 ac_cv_func_pthread_attr_setschedparam=yes
39618 else
39619 echo "$as_me: failed program was:" >&5
39620 sed 's/^/| /' conftest.$ac_ext >&5
39621
39622 ac_cv_func_pthread_attr_setschedparam=no
39623 fi
39624 rm -f conftest.err conftest.$ac_objext \
39625 conftest$ac_exeext conftest.$ac_ext
39626 fi
39627 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39628 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39629 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39630 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39631 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39632 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39633 echo $ECHO_N "(cached) $ECHO_C" >&6
39634 else
39635 cat >conftest.$ac_ext <<_ACEOF
39636 /* confdefs.h. */
39637 _ACEOF
39638 cat confdefs.h >>conftest.$ac_ext
39639 cat >>conftest.$ac_ext <<_ACEOF
39640 /* end confdefs.h. */
39641 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39643 #define sched_get_priority_max innocuous_sched_get_priority_max
39644
39645 /* System header to define __stub macros and hopefully few prototypes,
39646 which can conflict with char sched_get_priority_max (); below.
39647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39648 <limits.h> exists even on freestanding compilers. */
39649
39650 #ifdef __STDC__
39651 # include <limits.h>
39652 #else
39653 # include <assert.h>
39654 #endif
39655
39656 #undef sched_get_priority_max
39657
39658 /* Override any gcc2 internal prototype to avoid an error. */
39659 #ifdef __cplusplus
39660 extern "C"
39661 {
39662 #endif
39663 /* We use char because int might match the return type of a gcc2
39664 builtin and then its argument prototype would still apply. */
39665 char sched_get_priority_max ();
39666 /* The GNU C library defines this for functions which it implements
39667 to always fail with ENOSYS. Some functions are actually named
39668 something starting with __ and the normal name is an alias. */
39669 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39670 choke me
39671 #else
39672 char (*f) () = sched_get_priority_max;
39673 #endif
39674 #ifdef __cplusplus
39675 }
39676 #endif
39677
39678 int
39679 main ()
39680 {
39681 return f != sched_get_priority_max;
39682 ;
39683 return 0;
39684 }
39685 _ACEOF
39686 rm -f conftest.$ac_objext conftest$ac_exeext
39687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39688 (eval $ac_link) 2>conftest.er1
39689 ac_status=$?
39690 grep -v '^ *+' conftest.er1 >conftest.err
39691 rm -f conftest.er1
39692 cat conftest.err >&5
39693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39694 (exit $ac_status); } &&
39695 { ac_try='test -z "$ac_cxx_werror_flag"
39696 || test ! -s conftest.err'
39697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39698 (eval $ac_try) 2>&5
39699 ac_status=$?
39700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39701 (exit $ac_status); }; } &&
39702 { ac_try='test -s conftest$ac_exeext'
39703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39704 (eval $ac_try) 2>&5
39705 ac_status=$?
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); }; }; then
39708 ac_cv_func_sched_get_priority_max=yes
39709 else
39710 echo "$as_me: failed program was:" >&5
39711 sed 's/^/| /' conftest.$ac_ext >&5
39712
39713 ac_cv_func_sched_get_priority_max=no
39714 fi
39715 rm -f conftest.err conftest.$ac_objext \
39716 conftest$ac_exeext conftest.$ac_ext
39717 fi
39718 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39719 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39720 if test $ac_cv_func_sched_get_priority_max = yes; then
39721 HAVE_PRIOR_FUNCS=1
39722 else
39723 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39724 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39725 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39726 echo $ECHO_N "(cached) $ECHO_C" >&6
39727 else
39728 ac_check_lib_save_LIBS=$LIBS
39729 LIBS="-lposix4 $LIBS"
39730 cat >conftest.$ac_ext <<_ACEOF
39731 /* confdefs.h. */
39732 _ACEOF
39733 cat confdefs.h >>conftest.$ac_ext
39734 cat >>conftest.$ac_ext <<_ACEOF
39735 /* end confdefs.h. */
39736
39737 /* Override any gcc2 internal prototype to avoid an error. */
39738 #ifdef __cplusplus
39739 extern "C"
39740 #endif
39741 /* We use char because int might match the return type of a gcc2
39742 builtin and then its argument prototype would still apply. */
39743 char sched_get_priority_max ();
39744 int
39745 main ()
39746 {
39747 sched_get_priority_max ();
39748 ;
39749 return 0;
39750 }
39751 _ACEOF
39752 rm -f conftest.$ac_objext conftest$ac_exeext
39753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39754 (eval $ac_link) 2>conftest.er1
39755 ac_status=$?
39756 grep -v '^ *+' conftest.er1 >conftest.err
39757 rm -f conftest.er1
39758 cat conftest.err >&5
39759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39760 (exit $ac_status); } &&
39761 { ac_try='test -z "$ac_cxx_werror_flag"
39762 || test ! -s conftest.err'
39763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39764 (eval $ac_try) 2>&5
39765 ac_status=$?
39766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39767 (exit $ac_status); }; } &&
39768 { ac_try='test -s conftest$ac_exeext'
39769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39770 (eval $ac_try) 2>&5
39771 ac_status=$?
39772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39773 (exit $ac_status); }; }; then
39774 ac_cv_lib_posix4_sched_get_priority_max=yes
39775 else
39776 echo "$as_me: failed program was:" >&5
39777 sed 's/^/| /' conftest.$ac_ext >&5
39778
39779 ac_cv_lib_posix4_sched_get_priority_max=no
39780 fi
39781 rm -f conftest.err conftest.$ac_objext \
39782 conftest$ac_exeext conftest.$ac_ext
39783 LIBS=$ac_check_lib_save_LIBS
39784 fi
39785 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39786 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39787 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39788
39789 HAVE_PRIOR_FUNCS=1
39790 POSIX4_LINK=" -lposix4"
39791
39792 fi
39793
39794
39795 fi
39796
39797
39798 fi
39799
39800
39801 fi
39802
39803
39804 if test "$HAVE_PRIOR_FUNCS" = 1; then
39805 cat >>confdefs.h <<\_ACEOF
39806 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39807 _ACEOF
39808
39809 else
39810 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39811 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39812 fi
39813
39814 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39815 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39816 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39817 echo $ECHO_N "(cached) $ECHO_C" >&6
39818 else
39819 cat >conftest.$ac_ext <<_ACEOF
39820 /* confdefs.h. */
39821 _ACEOF
39822 cat confdefs.h >>conftest.$ac_ext
39823 cat >>conftest.$ac_ext <<_ACEOF
39824 /* end confdefs.h. */
39825 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39827 #define pthread_cancel innocuous_pthread_cancel
39828
39829 /* System header to define __stub macros and hopefully few prototypes,
39830 which can conflict with char pthread_cancel (); below.
39831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39832 <limits.h> exists even on freestanding compilers. */
39833
39834 #ifdef __STDC__
39835 # include <limits.h>
39836 #else
39837 # include <assert.h>
39838 #endif
39839
39840 #undef pthread_cancel
39841
39842 /* Override any gcc2 internal prototype to avoid an error. */
39843 #ifdef __cplusplus
39844 extern "C"
39845 {
39846 #endif
39847 /* We use char because int might match the return type of a gcc2
39848 builtin and then its argument prototype would still apply. */
39849 char pthread_cancel ();
39850 /* The GNU C library defines this for functions which it implements
39851 to always fail with ENOSYS. Some functions are actually named
39852 something starting with __ and the normal name is an alias. */
39853 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39854 choke me
39855 #else
39856 char (*f) () = pthread_cancel;
39857 #endif
39858 #ifdef __cplusplus
39859 }
39860 #endif
39861
39862 int
39863 main ()
39864 {
39865 return f != pthread_cancel;
39866 ;
39867 return 0;
39868 }
39869 _ACEOF
39870 rm -f conftest.$ac_objext conftest$ac_exeext
39871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39872 (eval $ac_link) 2>conftest.er1
39873 ac_status=$?
39874 grep -v '^ *+' conftest.er1 >conftest.err
39875 rm -f conftest.er1
39876 cat conftest.err >&5
39877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39878 (exit $ac_status); } &&
39879 { ac_try='test -z "$ac_cxx_werror_flag"
39880 || test ! -s conftest.err'
39881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39882 (eval $ac_try) 2>&5
39883 ac_status=$?
39884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39885 (exit $ac_status); }; } &&
39886 { ac_try='test -s conftest$ac_exeext'
39887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39888 (eval $ac_try) 2>&5
39889 ac_status=$?
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); }; }; then
39892 ac_cv_func_pthread_cancel=yes
39893 else
39894 echo "$as_me: failed program was:" >&5
39895 sed 's/^/| /' conftest.$ac_ext >&5
39896
39897 ac_cv_func_pthread_cancel=no
39898 fi
39899 rm -f conftest.err conftest.$ac_objext \
39900 conftest$ac_exeext conftest.$ac_ext
39901 fi
39902 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39903 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39904 if test $ac_cv_func_pthread_cancel = yes; then
39905 cat >>confdefs.h <<\_ACEOF
39906 #define HAVE_PTHREAD_CANCEL 1
39907 _ACEOF
39908
39909 else
39910 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39911 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39912 fi
39913
39914
39915 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39916 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39917 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39918 echo $ECHO_N "(cached) $ECHO_C" >&6
39919 else
39920 cat >conftest.$ac_ext <<_ACEOF
39921 /* confdefs.h. */
39922 _ACEOF
39923 cat confdefs.h >>conftest.$ac_ext
39924 cat >>conftest.$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39926 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39928 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39929
39930 /* System header to define __stub macros and hopefully few prototypes,
39931 which can conflict with char pthread_attr_setstacksize (); below.
39932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39933 <limits.h> exists even on freestanding compilers. */
39934
39935 #ifdef __STDC__
39936 # include <limits.h>
39937 #else
39938 # include <assert.h>
39939 #endif
39940
39941 #undef pthread_attr_setstacksize
39942
39943 /* Override any gcc2 internal prototype to avoid an error. */
39944 #ifdef __cplusplus
39945 extern "C"
39946 {
39947 #endif
39948 /* We use char because int might match the return type of a gcc2
39949 builtin and then its argument prototype would still apply. */
39950 char pthread_attr_setstacksize ();
39951 /* The GNU C library defines this for functions which it implements
39952 to always fail with ENOSYS. Some functions are actually named
39953 something starting with __ and the normal name is an alias. */
39954 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39955 choke me
39956 #else
39957 char (*f) () = pthread_attr_setstacksize;
39958 #endif
39959 #ifdef __cplusplus
39960 }
39961 #endif
39962
39963 int
39964 main ()
39965 {
39966 return f != pthread_attr_setstacksize;
39967 ;
39968 return 0;
39969 }
39970 _ACEOF
39971 rm -f conftest.$ac_objext conftest$ac_exeext
39972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39973 (eval $ac_link) 2>conftest.er1
39974 ac_status=$?
39975 grep -v '^ *+' conftest.er1 >conftest.err
39976 rm -f conftest.er1
39977 cat conftest.err >&5
39978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39979 (exit $ac_status); } &&
39980 { ac_try='test -z "$ac_cxx_werror_flag"
39981 || test ! -s conftest.err'
39982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39983 (eval $ac_try) 2>&5
39984 ac_status=$?
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); }; } &&
39987 { ac_try='test -s conftest$ac_exeext'
39988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39989 (eval $ac_try) 2>&5
39990 ac_status=$?
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); }; }; then
39993 ac_cv_func_pthread_attr_setstacksize=yes
39994 else
39995 echo "$as_me: failed program was:" >&5
39996 sed 's/^/| /' conftest.$ac_ext >&5
39997
39998 ac_cv_func_pthread_attr_setstacksize=no
39999 fi
40000 rm -f conftest.err conftest.$ac_objext \
40001 conftest$ac_exeext conftest.$ac_ext
40002 fi
40003 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40004 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40005 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40006 cat >>confdefs.h <<\_ACEOF
40007 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40008 _ACEOF
40009
40010 fi
40011
40012
40013
40014 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40015 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40016 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40017 echo $ECHO_N "(cached) $ECHO_C" >&6
40018 else
40019
40020 cat >conftest.$ac_ext <<_ACEOF
40021 /* confdefs.h. */
40022 _ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40026 #include <pthread.h>
40027 int
40028 main ()
40029 {
40030
40031 pthread_mutexattr_t attr;
40032 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40033
40034 ;
40035 return 0;
40036 }
40037 _ACEOF
40038 rm -f conftest.$ac_objext
40039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40040 (eval $ac_compile) 2>conftest.er1
40041 ac_status=$?
40042 grep -v '^ *+' conftest.er1 >conftest.err
40043 rm -f conftest.er1
40044 cat conftest.err >&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); } &&
40047 { ac_try='test -z "$ac_cxx_werror_flag"
40048 || test ! -s conftest.err'
40049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40050 (eval $ac_try) 2>&5
40051 ac_status=$?
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); }; } &&
40054 { ac_try='test -s conftest.$ac_objext'
40055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40056 (eval $ac_try) 2>&5
40057 ac_status=$?
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); }; }; then
40060 wx_cv_type_pthread_mutexattr_t=yes
40061 else
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.$ac_ext >&5
40064
40065 wx_cv_type_pthread_mutexattr_t=no
40066
40067 fi
40068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40069
40070 fi
40071 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40072 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40073
40074 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40075 cat >>confdefs.h <<\_ACEOF
40076 #define HAVE_PTHREAD_MUTEXATTR_T 1
40077 _ACEOF
40078
40079
40080 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40081 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40082 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40083 echo $ECHO_N "(cached) $ECHO_C" >&6
40084 else
40085
40086 cat >conftest.$ac_ext <<_ACEOF
40087 /* confdefs.h. */
40088 _ACEOF
40089 cat confdefs.h >>conftest.$ac_ext
40090 cat >>conftest.$ac_ext <<_ACEOF
40091 /* end confdefs.h. */
40092 #include <pthread.h>
40093 int
40094 main ()
40095 {
40096
40097 pthread_mutexattr_t attr;
40098 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40099
40100 ;
40101 return 0;
40102 }
40103 _ACEOF
40104 rm -f conftest.$ac_objext
40105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40106 (eval $ac_compile) 2>conftest.er1
40107 ac_status=$?
40108 grep -v '^ *+' conftest.er1 >conftest.err
40109 rm -f conftest.er1
40110 cat conftest.err >&5
40111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40112 (exit $ac_status); } &&
40113 { ac_try='test -z "$ac_cxx_werror_flag"
40114 || test ! -s conftest.err'
40115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40116 (eval $ac_try) 2>&5
40117 ac_status=$?
40118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40119 (exit $ac_status); }; } &&
40120 { ac_try='test -s conftest.$ac_objext'
40121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40122 (eval $ac_try) 2>&5
40123 ac_status=$?
40124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40125 (exit $ac_status); }; }; then
40126 wx_cv_func_pthread_mutexattr_settype_decl=yes
40127 else
40128 echo "$as_me: failed program was:" >&5
40129 sed 's/^/| /' conftest.$ac_ext >&5
40130
40131 wx_cv_func_pthread_mutexattr_settype_decl=no
40132
40133 fi
40134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40135
40136 fi
40137 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40138 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40139 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40140 cat >>confdefs.h <<\_ACEOF
40141 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40142 _ACEOF
40143
40144 fi
40145 else
40146 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40147 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40148 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40149 echo $ECHO_N "(cached) $ECHO_C" >&6
40150 else
40151
40152 cat >conftest.$ac_ext <<_ACEOF
40153 /* confdefs.h. */
40154 _ACEOF
40155 cat confdefs.h >>conftest.$ac_ext
40156 cat >>conftest.$ac_ext <<_ACEOF
40157 /* end confdefs.h. */
40158 #include <pthread.h>
40159 int
40160 main ()
40161 {
40162
40163 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40164
40165 ;
40166 return 0;
40167 }
40168 _ACEOF
40169 rm -f conftest.$ac_objext
40170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40171 (eval $ac_compile) 2>conftest.er1
40172 ac_status=$?
40173 grep -v '^ *+' conftest.er1 >conftest.err
40174 rm -f conftest.er1
40175 cat conftest.err >&5
40176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40177 (exit $ac_status); } &&
40178 { ac_try='test -z "$ac_cxx_werror_flag"
40179 || test ! -s conftest.err'
40180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40181 (eval $ac_try) 2>&5
40182 ac_status=$?
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); }; } &&
40185 { ac_try='test -s conftest.$ac_objext'
40186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40187 (eval $ac_try) 2>&5
40188 ac_status=$?
40189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40190 (exit $ac_status); }; }; then
40191
40192 wx_cv_type_pthread_rec_mutex_init=yes
40193
40194 else
40195 echo "$as_me: failed program was:" >&5
40196 sed 's/^/| /' conftest.$ac_ext >&5
40197
40198
40199 wx_cv_type_pthread_rec_mutex_init=no
40200
40201
40202 fi
40203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40204
40205 fi
40206 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40207 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40208 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40209 cat >>confdefs.h <<\_ACEOF
40210 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40211 _ACEOF
40212
40213 else
40214 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40215 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40216 fi
40217 fi
40218 fi
40219
40220 else
40221 if test "$wxUSE_THREADS" = "yes" ; then
40222 case "${host}" in
40223 *-*-mingw32* )
40224 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40225 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40226 if test "${wx_cv_cflags_mthread+set}" = set; then
40227 echo $ECHO_N "(cached) $ECHO_C" >&6
40228 else
40229
40230 CXXFLAGS_OLD="$CXXFLAGS"
40231 CXXFLAGS="-mthreads $CXXFLAGS"
40232 cat >conftest.$ac_ext <<_ACEOF
40233 /* confdefs.h. */
40234 _ACEOF
40235 cat confdefs.h >>conftest.$ac_ext
40236 cat >>conftest.$ac_ext <<_ACEOF
40237 /* end confdefs.h. */
40238
40239 int
40240 main ()
40241 {
40242
40243 ;
40244 return 0;
40245 }
40246 _ACEOF
40247 rm -f conftest.$ac_objext
40248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40249 (eval $ac_compile) 2>conftest.er1
40250 ac_status=$?
40251 grep -v '^ *+' conftest.er1 >conftest.err
40252 rm -f conftest.er1
40253 cat conftest.err >&5
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); } &&
40256 { ac_try='test -z "$ac_cxx_werror_flag"
40257 || test ! -s conftest.err'
40258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40259 (eval $ac_try) 2>&5
40260 ac_status=$?
40261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40262 (exit $ac_status); }; } &&
40263 { ac_try='test -s conftest.$ac_objext'
40264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40265 (eval $ac_try) 2>&5
40266 ac_status=$?
40267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40268 (exit $ac_status); }; }; then
40269 wx_cv_cflags_mthread=yes
40270 else
40271 echo "$as_me: failed program was:" >&5
40272 sed 's/^/| /' conftest.$ac_ext >&5
40273
40274 wx_cv_cflags_mthread=no
40275
40276 fi
40277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40278
40279
40280 fi
40281 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40282 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40283
40284 if test "$wx_cv_cflags_mthread" = "yes"; then
40285 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40286 LDFLAGS="$LDFLAGS -mthreads"
40287 else
40288 CXXFLAGS="$CXXFLAGS_OLD"
40289 fi
40290 ;;
40291 *-pc-os2*emx )
40292 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40293 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40294 LDFLAGS="$LDFLAGS -Zmt"
40295 ;;
40296 esac
40297 fi
40298 fi
40299
40300 echo "$as_me:$LINENO: checking for localtime_r" >&5
40301 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40302 if test "${ac_cv_func_localtime_r+set}" = set; then
40303 echo $ECHO_N "(cached) $ECHO_C" >&6
40304 else
40305 cat >conftest.$ac_ext <<_ACEOF
40306 /* confdefs.h. */
40307 _ACEOF
40308 cat confdefs.h >>conftest.$ac_ext
40309 cat >>conftest.$ac_ext <<_ACEOF
40310 /* end confdefs.h. */
40311 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40313 #define localtime_r innocuous_localtime_r
40314
40315 /* System header to define __stub macros and hopefully few prototypes,
40316 which can conflict with char localtime_r (); below.
40317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40318 <limits.h> exists even on freestanding compilers. */
40319
40320 #ifdef __STDC__
40321 # include <limits.h>
40322 #else
40323 # include <assert.h>
40324 #endif
40325
40326 #undef localtime_r
40327
40328 /* Override any gcc2 internal prototype to avoid an error. */
40329 #ifdef __cplusplus
40330 extern "C"
40331 {
40332 #endif
40333 /* We use char because int might match the return type of a gcc2
40334 builtin and then its argument prototype would still apply. */
40335 char localtime_r ();
40336 /* The GNU C library defines this for functions which it implements
40337 to always fail with ENOSYS. Some functions are actually named
40338 something starting with __ and the normal name is an alias. */
40339 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40340 choke me
40341 #else
40342 char (*f) () = localtime_r;
40343 #endif
40344 #ifdef __cplusplus
40345 }
40346 #endif
40347
40348 int
40349 main ()
40350 {
40351 return f != localtime_r;
40352 ;
40353 return 0;
40354 }
40355 _ACEOF
40356 rm -f conftest.$ac_objext conftest$ac_exeext
40357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40358 (eval $ac_link) 2>conftest.er1
40359 ac_status=$?
40360 grep -v '^ *+' conftest.er1 >conftest.err
40361 rm -f conftest.er1
40362 cat conftest.err >&5
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); } &&
40365 { ac_try='test -z "$ac_cxx_werror_flag"
40366 || test ! -s conftest.err'
40367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40368 (eval $ac_try) 2>&5
40369 ac_status=$?
40370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40371 (exit $ac_status); }; } &&
40372 { ac_try='test -s conftest$ac_exeext'
40373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40374 (eval $ac_try) 2>&5
40375 ac_status=$?
40376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40377 (exit $ac_status); }; }; then
40378 ac_cv_func_localtime_r=yes
40379 else
40380 echo "$as_me: failed program was:" >&5
40381 sed 's/^/| /' conftest.$ac_ext >&5
40382
40383 ac_cv_func_localtime_r=no
40384 fi
40385 rm -f conftest.err conftest.$ac_objext \
40386 conftest$ac_exeext conftest.$ac_ext
40387 fi
40388 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40389 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40390 if test $ac_cv_func_localtime_r = yes; then
40391 cat >>confdefs.h <<\_ACEOF
40392 #define HAVE_LOCALTIME_R 1
40393 _ACEOF
40394
40395 fi
40396
40397 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40398 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40399 if test "${ac_cv_func_gmtime_r+set}" = set; then
40400 echo $ECHO_N "(cached) $ECHO_C" >&6
40401 else
40402 cat >conftest.$ac_ext <<_ACEOF
40403 /* confdefs.h. */
40404 _ACEOF
40405 cat confdefs.h >>conftest.$ac_ext
40406 cat >>conftest.$ac_ext <<_ACEOF
40407 /* end confdefs.h. */
40408 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40410 #define gmtime_r innocuous_gmtime_r
40411
40412 /* System header to define __stub macros and hopefully few prototypes,
40413 which can conflict with char gmtime_r (); below.
40414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40415 <limits.h> exists even on freestanding compilers. */
40416
40417 #ifdef __STDC__
40418 # include <limits.h>
40419 #else
40420 # include <assert.h>
40421 #endif
40422
40423 #undef gmtime_r
40424
40425 /* Override any gcc2 internal prototype to avoid an error. */
40426 #ifdef __cplusplus
40427 extern "C"
40428 {
40429 #endif
40430 /* We use char because int might match the return type of a gcc2
40431 builtin and then its argument prototype would still apply. */
40432 char gmtime_r ();
40433 /* The GNU C library defines this for functions which it implements
40434 to always fail with ENOSYS. Some functions are actually named
40435 something starting with __ and the normal name is an alias. */
40436 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40437 choke me
40438 #else
40439 char (*f) () = gmtime_r;
40440 #endif
40441 #ifdef __cplusplus
40442 }
40443 #endif
40444
40445 int
40446 main ()
40447 {
40448 return f != gmtime_r;
40449 ;
40450 return 0;
40451 }
40452 _ACEOF
40453 rm -f conftest.$ac_objext conftest$ac_exeext
40454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40455 (eval $ac_link) 2>conftest.er1
40456 ac_status=$?
40457 grep -v '^ *+' conftest.er1 >conftest.err
40458 rm -f conftest.er1
40459 cat conftest.err >&5
40460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40461 (exit $ac_status); } &&
40462 { ac_try='test -z "$ac_cxx_werror_flag"
40463 || test ! -s conftest.err'
40464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40465 (eval $ac_try) 2>&5
40466 ac_status=$?
40467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40468 (exit $ac_status); }; } &&
40469 { ac_try='test -s conftest$ac_exeext'
40470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40471 (eval $ac_try) 2>&5
40472 ac_status=$?
40473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474 (exit $ac_status); }; }; then
40475 ac_cv_func_gmtime_r=yes
40476 else
40477 echo "$as_me: failed program was:" >&5
40478 sed 's/^/| /' conftest.$ac_ext >&5
40479
40480 ac_cv_func_gmtime_r=no
40481 fi
40482 rm -f conftest.err conftest.$ac_objext \
40483 conftest$ac_exeext conftest.$ac_ext
40484 fi
40485 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40486 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40487 if test $ac_cv_func_gmtime_r = yes; then
40488 cat >>confdefs.h <<\_ACEOF
40489 #define HAVE_GMTIME_R 1
40490 _ACEOF
40491
40492 fi
40493
40494 echo "$as_me:$LINENO: checking for readdir_r" >&5
40495 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40496 if test "${ac_cv_func_readdir_r+set}" = set; then
40497 echo $ECHO_N "(cached) $ECHO_C" >&6
40498 else
40499 cat >conftest.$ac_ext <<_ACEOF
40500 /* confdefs.h. */
40501 _ACEOF
40502 cat confdefs.h >>conftest.$ac_ext
40503 cat >>conftest.$ac_ext <<_ACEOF
40504 /* end confdefs.h. */
40505 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40507 #define readdir_r innocuous_readdir_r
40508
40509 /* System header to define __stub macros and hopefully few prototypes,
40510 which can conflict with char readdir_r (); below.
40511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40512 <limits.h> exists even on freestanding compilers. */
40513
40514 #ifdef __STDC__
40515 # include <limits.h>
40516 #else
40517 # include <assert.h>
40518 #endif
40519
40520 #undef readdir_r
40521
40522 /* Override any gcc2 internal prototype to avoid an error. */
40523 #ifdef __cplusplus
40524 extern "C"
40525 {
40526 #endif
40527 /* We use char because int might match the return type of a gcc2
40528 builtin and then its argument prototype would still apply. */
40529 char readdir_r ();
40530 /* The GNU C library defines this for functions which it implements
40531 to always fail with ENOSYS. Some functions are actually named
40532 something starting with __ and the normal name is an alias. */
40533 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40534 choke me
40535 #else
40536 char (*f) () = readdir_r;
40537 #endif
40538 #ifdef __cplusplus
40539 }
40540 #endif
40541
40542 int
40543 main ()
40544 {
40545 return f != readdir_r;
40546 ;
40547 return 0;
40548 }
40549 _ACEOF
40550 rm -f conftest.$ac_objext conftest$ac_exeext
40551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40552 (eval $ac_link) 2>conftest.er1
40553 ac_status=$?
40554 grep -v '^ *+' conftest.er1 >conftest.err
40555 rm -f conftest.er1
40556 cat conftest.err >&5
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); } &&
40559 { ac_try='test -z "$ac_cxx_werror_flag"
40560 || test ! -s conftest.err'
40561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40562 (eval $ac_try) 2>&5
40563 ac_status=$?
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); }; } &&
40566 { ac_try='test -s conftest$ac_exeext'
40567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40568 (eval $ac_try) 2>&5
40569 ac_status=$?
40570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40571 (exit $ac_status); }; }; then
40572 ac_cv_func_readdir_r=yes
40573 else
40574 echo "$as_me: failed program was:" >&5
40575 sed 's/^/| /' conftest.$ac_ext >&5
40576
40577 ac_cv_func_readdir_r=no
40578 fi
40579 rm -f conftest.err conftest.$ac_objext \
40580 conftest$ac_exeext conftest.$ac_ext
40581 fi
40582 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40583 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40584 if test $ac_cv_func_readdir_r = yes; then
40585 cat >>confdefs.h <<\_ACEOF
40586 #define HAVE_READDIR_R 1
40587 _ACEOF
40588
40589 fi
40590
40591
40592
40593
40594 ac_ext=c
40595 ac_cpp='$CPP $CPPFLAGS'
40596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40599
40600 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40601 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40602
40603 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40604 echo $ECHO_N "(cached) $ECHO_C" >&6
40605 else
40606
40607
40608 ################################################################
40609
40610 ac_cv_func_which_gethostbyname_r=unknown
40611
40612 #
40613 # ONE ARGUMENT (sanity check)
40614 #
40615
40616 # This should fail, as there is no variant of gethostbyname_r() that takes
40617 # a single argument. If it actually compiles, then we can assume that
40618 # netdb.h is not declaring the function, and the compiler is thereby
40619 # assuming an implicit prototype. In which case, we're out of luck.
40620 #
40621 cat >conftest.$ac_ext <<_ACEOF
40622 /* confdefs.h. */
40623 _ACEOF
40624 cat confdefs.h >>conftest.$ac_ext
40625 cat >>conftest.$ac_ext <<_ACEOF
40626 /* end confdefs.h. */
40627 #include <netdb.h>
40628 int
40629 main ()
40630 {
40631
40632 char *name = "www.gnu.org";
40633 (void)gethostbyname_r(name) /* ; */
40634
40635 ;
40636 return 0;
40637 }
40638 _ACEOF
40639 rm -f conftest.$ac_objext
40640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40641 (eval $ac_compile) 2>conftest.er1
40642 ac_status=$?
40643 grep -v '^ *+' conftest.er1 >conftest.err
40644 rm -f conftest.er1
40645 cat conftest.err >&5
40646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40647 (exit $ac_status); } &&
40648 { ac_try='test -z "$ac_c_werror_flag"
40649 || test ! -s conftest.err'
40650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40651 (eval $ac_try) 2>&5
40652 ac_status=$?
40653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40654 (exit $ac_status); }; } &&
40655 { ac_try='test -s conftest.$ac_objext'
40656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40657 (eval $ac_try) 2>&5
40658 ac_status=$?
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); }; }; then
40661 ac_cv_func_which_gethostbyname_r=no
40662 else
40663 echo "$as_me: failed program was:" >&5
40664 sed 's/^/| /' conftest.$ac_ext >&5
40665
40666 fi
40667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40668
40669 #
40670 # SIX ARGUMENTS
40671 # (e.g. Linux)
40672 #
40673
40674 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40675
40676 cat >conftest.$ac_ext <<_ACEOF
40677 /* confdefs.h. */
40678 _ACEOF
40679 cat confdefs.h >>conftest.$ac_ext
40680 cat >>conftest.$ac_ext <<_ACEOF
40681 /* end confdefs.h. */
40682 #include <netdb.h>
40683 int
40684 main ()
40685 {
40686
40687 char *name = "www.gnu.org";
40688 struct hostent ret, *retp;
40689 char buf[1024];
40690 int buflen = 1024;
40691 int my_h_errno;
40692 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40693
40694 ;
40695 return 0;
40696 }
40697 _ACEOF
40698 rm -f conftest.$ac_objext
40699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40700 (eval $ac_compile) 2>conftest.er1
40701 ac_status=$?
40702 grep -v '^ *+' conftest.er1 >conftest.err
40703 rm -f conftest.er1
40704 cat conftest.err >&5
40705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40706 (exit $ac_status); } &&
40707 { ac_try='test -z "$ac_c_werror_flag"
40708 || test ! -s conftest.err'
40709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40710 (eval $ac_try) 2>&5
40711 ac_status=$?
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); }; } &&
40714 { ac_try='test -s conftest.$ac_objext'
40715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40716 (eval $ac_try) 2>&5
40717 ac_status=$?
40718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40719 (exit $ac_status); }; }; then
40720 ac_cv_func_which_gethostbyname_r=six
40721 else
40722 echo "$as_me: failed program was:" >&5
40723 sed 's/^/| /' conftest.$ac_ext >&5
40724
40725 fi
40726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40727
40728 fi
40729
40730 #
40731 # FIVE ARGUMENTS
40732 # (e.g. Solaris)
40733 #
40734
40735 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40736
40737 cat >conftest.$ac_ext <<_ACEOF
40738 /* confdefs.h. */
40739 _ACEOF
40740 cat confdefs.h >>conftest.$ac_ext
40741 cat >>conftest.$ac_ext <<_ACEOF
40742 /* end confdefs.h. */
40743 #include <netdb.h>
40744 int
40745 main ()
40746 {
40747
40748 char *name = "www.gnu.org";
40749 struct hostent ret;
40750 char buf[1024];
40751 int buflen = 1024;
40752 int my_h_errno;
40753 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40754
40755 ;
40756 return 0;
40757 }
40758 _ACEOF
40759 rm -f conftest.$ac_objext
40760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40761 (eval $ac_compile) 2>conftest.er1
40762 ac_status=$?
40763 grep -v '^ *+' conftest.er1 >conftest.err
40764 rm -f conftest.er1
40765 cat conftest.err >&5
40766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40767 (exit $ac_status); } &&
40768 { ac_try='test -z "$ac_c_werror_flag"
40769 || test ! -s conftest.err'
40770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40771 (eval $ac_try) 2>&5
40772 ac_status=$?
40773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774 (exit $ac_status); }; } &&
40775 { ac_try='test -s conftest.$ac_objext'
40776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40777 (eval $ac_try) 2>&5
40778 ac_status=$?
40779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40780 (exit $ac_status); }; }; then
40781 ac_cv_func_which_gethostbyname_r=five
40782 else
40783 echo "$as_me: failed program was:" >&5
40784 sed 's/^/| /' conftest.$ac_ext >&5
40785
40786 fi
40787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40788
40789 fi
40790
40791 #
40792 # THREE ARGUMENTS
40793 # (e.g. AIX, HP-UX, Tru64)
40794 #
40795
40796 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40797
40798 cat >conftest.$ac_ext <<_ACEOF
40799 /* confdefs.h. */
40800 _ACEOF
40801 cat confdefs.h >>conftest.$ac_ext
40802 cat >>conftest.$ac_ext <<_ACEOF
40803 /* end confdefs.h. */
40804 #include <netdb.h>
40805 int
40806 main ()
40807 {
40808
40809 char *name = "www.gnu.org";
40810 struct hostent ret;
40811 struct hostent_data data;
40812 (void)gethostbyname_r(name, &ret, &data) /* ; */
40813
40814 ;
40815 return 0;
40816 }
40817 _ACEOF
40818 rm -f conftest.$ac_objext
40819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40820 (eval $ac_compile) 2>conftest.er1
40821 ac_status=$?
40822 grep -v '^ *+' conftest.er1 >conftest.err
40823 rm -f conftest.er1
40824 cat conftest.err >&5
40825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40826 (exit $ac_status); } &&
40827 { ac_try='test -z "$ac_c_werror_flag"
40828 || test ! -s conftest.err'
40829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40830 (eval $ac_try) 2>&5
40831 ac_status=$?
40832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40833 (exit $ac_status); }; } &&
40834 { ac_try='test -s conftest.$ac_objext'
40835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40836 (eval $ac_try) 2>&5
40837 ac_status=$?
40838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40839 (exit $ac_status); }; }; then
40840 ac_cv_func_which_gethostbyname_r=three
40841 else
40842 echo "$as_me: failed program was:" >&5
40843 sed 's/^/| /' conftest.$ac_ext >&5
40844
40845 fi
40846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40847
40848 fi
40849
40850 ################################################################
40851
40852
40853 fi
40854
40855 case "$ac_cv_func_which_gethostbyname_r" in
40856 three)
40857 echo "$as_me:$LINENO: result: three" >&5
40858 echo "${ECHO_T}three" >&6
40859 cat >>confdefs.h <<\_ACEOF
40860 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40861 _ACEOF
40862
40863 ;;
40864
40865 five)
40866 echo "$as_me:$LINENO: result: five" >&5
40867 echo "${ECHO_T}five" >&6
40868 cat >>confdefs.h <<\_ACEOF
40869 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40870 _ACEOF
40871
40872 ;;
40873
40874 six)
40875 echo "$as_me:$LINENO: result: six" >&5
40876 echo "${ECHO_T}six" >&6
40877 cat >>confdefs.h <<\_ACEOF
40878 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40879 _ACEOF
40880
40881 ;;
40882
40883 no)
40884 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40885 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40886 ;;
40887
40888 unknown)
40889 echo "$as_me:$LINENO: result: can't tell" >&5
40890 echo "${ECHO_T}can't tell" >&6
40891 ;;
40892
40893 *)
40894 { { echo "$as_me:$LINENO: error: internal error" >&5
40895 echo "$as_me: error: internal error" >&2;}
40896 { (exit 1); exit 1; }; }
40897 ;;
40898 esac
40899
40900 ac_ext=cc
40901 ac_cpp='$CXXCPP $CPPFLAGS'
40902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40905
40906
40907
40908 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40909 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40910 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40911 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40912 if test "${ac_cv_func_gethostbyname+set}" = set; then
40913 echo $ECHO_N "(cached) $ECHO_C" >&6
40914 else
40915 cat >conftest.$ac_ext <<_ACEOF
40916 /* confdefs.h. */
40917 _ACEOF
40918 cat confdefs.h >>conftest.$ac_ext
40919 cat >>conftest.$ac_ext <<_ACEOF
40920 /* end confdefs.h. */
40921 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40923 #define gethostbyname innocuous_gethostbyname
40924
40925 /* System header to define __stub macros and hopefully few prototypes,
40926 which can conflict with char gethostbyname (); below.
40927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40928 <limits.h> exists even on freestanding compilers. */
40929
40930 #ifdef __STDC__
40931 # include <limits.h>
40932 #else
40933 # include <assert.h>
40934 #endif
40935
40936 #undef gethostbyname
40937
40938 /* Override any gcc2 internal prototype to avoid an error. */
40939 #ifdef __cplusplus
40940 extern "C"
40941 {
40942 #endif
40943 /* We use char because int might match the return type of a gcc2
40944 builtin and then its argument prototype would still apply. */
40945 char gethostbyname ();
40946 /* The GNU C library defines this for functions which it implements
40947 to always fail with ENOSYS. Some functions are actually named
40948 something starting with __ and the normal name is an alias. */
40949 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40950 choke me
40951 #else
40952 char (*f) () = gethostbyname;
40953 #endif
40954 #ifdef __cplusplus
40955 }
40956 #endif
40957
40958 int
40959 main ()
40960 {
40961 return f != gethostbyname;
40962 ;
40963 return 0;
40964 }
40965 _ACEOF
40966 rm -f conftest.$ac_objext conftest$ac_exeext
40967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40968 (eval $ac_link) 2>conftest.er1
40969 ac_status=$?
40970 grep -v '^ *+' conftest.er1 >conftest.err
40971 rm -f conftest.er1
40972 cat conftest.err >&5
40973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40974 (exit $ac_status); } &&
40975 { ac_try='test -z "$ac_cxx_werror_flag"
40976 || test ! -s conftest.err'
40977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40978 (eval $ac_try) 2>&5
40979 ac_status=$?
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); }; } &&
40982 { ac_try='test -s conftest$ac_exeext'
40983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40984 (eval $ac_try) 2>&5
40985 ac_status=$?
40986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40987 (exit $ac_status); }; }; then
40988 ac_cv_func_gethostbyname=yes
40989 else
40990 echo "$as_me: failed program was:" >&5
40991 sed 's/^/| /' conftest.$ac_ext >&5
40992
40993 ac_cv_func_gethostbyname=no
40994 fi
40995 rm -f conftest.err conftest.$ac_objext \
40996 conftest$ac_exeext conftest.$ac_ext
40997 fi
40998 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40999 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41000 if test $ac_cv_func_gethostbyname = yes; then
41001 cat >>confdefs.h <<\_ACEOF
41002 #define HAVE_GETHOSTBYNAME 1
41003 _ACEOF
41004
41005 fi
41006
41007 fi
41008 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
41009 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
41010 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41011 echo $ECHO_N "(cached) $ECHO_C" >&6
41012 else
41013
41014 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
41015 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
41016 if test "${ac_cv_func_getservbyname_r+set}" = set; then
41017 echo $ECHO_N "(cached) $ECHO_C" >&6
41018 else
41019 cat >conftest.$ac_ext <<_ACEOF
41020 /* confdefs.h. */
41021 _ACEOF
41022 cat confdefs.h >>conftest.$ac_ext
41023 cat >>conftest.$ac_ext <<_ACEOF
41024 /* end confdefs.h. */
41025 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
41026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41027 #define getservbyname_r innocuous_getservbyname_r
41028
41029 /* System header to define __stub macros and hopefully few prototypes,
41030 which can conflict with char getservbyname_r (); below.
41031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41032 <limits.h> exists even on freestanding compilers. */
41033
41034 #ifdef __STDC__
41035 # include <limits.h>
41036 #else
41037 # include <assert.h>
41038 #endif
41039
41040 #undef getservbyname_r
41041
41042 /* Override any gcc2 internal prototype to avoid an error. */
41043 #ifdef __cplusplus
41044 extern "C"
41045 {
41046 #endif
41047 /* We use char because int might match the return type of a gcc2
41048 builtin and then its argument prototype would still apply. */
41049 char getservbyname_r ();
41050 /* The GNU C library defines this for functions which it implements
41051 to always fail with ENOSYS. Some functions are actually named
41052 something starting with __ and the normal name is an alias. */
41053 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
41054 choke me
41055 #else
41056 char (*f) () = getservbyname_r;
41057 #endif
41058 #ifdef __cplusplus
41059 }
41060 #endif
41061
41062 int
41063 main ()
41064 {
41065 return f != getservbyname_r;
41066 ;
41067 return 0;
41068 }
41069 _ACEOF
41070 rm -f conftest.$ac_objext conftest$ac_exeext
41071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41072 (eval $ac_link) 2>conftest.er1
41073 ac_status=$?
41074 grep -v '^ *+' conftest.er1 >conftest.err
41075 rm -f conftest.er1
41076 cat conftest.err >&5
41077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41078 (exit $ac_status); } &&
41079 { ac_try='test -z "$ac_cxx_werror_flag"
41080 || test ! -s conftest.err'
41081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41082 (eval $ac_try) 2>&5
41083 ac_status=$?
41084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41085 (exit $ac_status); }; } &&
41086 { ac_try='test -s conftest$ac_exeext'
41087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41088 (eval $ac_try) 2>&5
41089 ac_status=$?
41090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41091 (exit $ac_status); }; }; then
41092 ac_cv_func_getservbyname_r=yes
41093 else
41094 echo "$as_me: failed program was:" >&5
41095 sed 's/^/| /' conftest.$ac_ext >&5
41096
41097 ac_cv_func_getservbyname_r=no
41098 fi
41099 rm -f conftest.err conftest.$ac_objext \
41100 conftest$ac_exeext conftest.$ac_ext
41101 fi
41102 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
41103 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
41104 if test $ac_cv_func_getservbyname_r = yes; then
41105
41106 cat >conftest.$ac_ext <<_ACEOF
41107 /* confdefs.h. */
41108 _ACEOF
41109 cat confdefs.h >>conftest.$ac_ext
41110 cat >>conftest.$ac_ext <<_ACEOF
41111 /* end confdefs.h. */
41112
41113 # include <netdb.h>
41114
41115 int
41116 main ()
41117 {
41118
41119
41120 char *name;
41121 char *proto;
41122 struct servent *se;
41123 struct servent_data data;
41124 (void) getservbyname_r(name, proto, se, &data);
41125
41126
41127 ;
41128 return 0;
41129 }
41130 _ACEOF
41131 rm -f conftest.$ac_objext
41132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41133 (eval $ac_compile) 2>conftest.er1
41134 ac_status=$?
41135 grep -v '^ *+' conftest.er1 >conftest.err
41136 rm -f conftest.er1
41137 cat conftest.err >&5
41138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41139 (exit $ac_status); } &&
41140 { ac_try='test -z "$ac_cxx_werror_flag"
41141 || test ! -s conftest.err'
41142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41143 (eval $ac_try) 2>&5
41144 ac_status=$?
41145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41146 (exit $ac_status); }; } &&
41147 { ac_try='test -s conftest.$ac_objext'
41148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41149 (eval $ac_try) 2>&5
41150 ac_status=$?
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); }; }; then
41153 ac_cv_func_which_getservbyname_r=four
41154 else
41155 echo "$as_me: failed program was:" >&5
41156 sed 's/^/| /' conftest.$ac_ext >&5
41157
41158
41159 cat >conftest.$ac_ext <<_ACEOF
41160 /* confdefs.h. */
41161 _ACEOF
41162 cat confdefs.h >>conftest.$ac_ext
41163 cat >>conftest.$ac_ext <<_ACEOF
41164 /* end confdefs.h. */
41165
41166 # include <netdb.h>
41167
41168 int
41169 main ()
41170 {
41171
41172 char *name;
41173 char *proto;
41174 struct servent *se, *res;
41175 char buffer[2048];
41176 int buflen = 2048;
41177 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41178
41179 ;
41180 return 0;
41181 }
41182 _ACEOF
41183 rm -f conftest.$ac_objext
41184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41185 (eval $ac_compile) 2>conftest.er1
41186 ac_status=$?
41187 grep -v '^ *+' conftest.er1 >conftest.err
41188 rm -f conftest.er1
41189 cat conftest.err >&5
41190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41191 (exit $ac_status); } &&
41192 { ac_try='test -z "$ac_cxx_werror_flag"
41193 || test ! -s conftest.err'
41194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41195 (eval $ac_try) 2>&5
41196 ac_status=$?
41197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198 (exit $ac_status); }; } &&
41199 { ac_try='test -s conftest.$ac_objext'
41200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41201 (eval $ac_try) 2>&5
41202 ac_status=$?
41203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204 (exit $ac_status); }; }; then
41205 ac_cv_func_which_getservbyname_r=six
41206 else
41207 echo "$as_me: failed program was:" >&5
41208 sed 's/^/| /' conftest.$ac_ext >&5
41209
41210
41211 cat >conftest.$ac_ext <<_ACEOF
41212 /* confdefs.h. */
41213 _ACEOF
41214 cat confdefs.h >>conftest.$ac_ext
41215 cat >>conftest.$ac_ext <<_ACEOF
41216 /* end confdefs.h. */
41217
41218 # include <netdb.h>
41219
41220 int
41221 main ()
41222 {
41223
41224 char *name;
41225 char *proto;
41226 struct servent *se;
41227 char buffer[2048];
41228 int buflen = 2048;
41229 (void) getservbyname_r(name, proto, se, buffer, buflen)
41230
41231 ;
41232 return 0;
41233 }
41234 _ACEOF
41235 rm -f conftest.$ac_objext
41236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41237 (eval $ac_compile) 2>conftest.er1
41238 ac_status=$?
41239 grep -v '^ *+' conftest.er1 >conftest.err
41240 rm -f conftest.er1
41241 cat conftest.err >&5
41242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243 (exit $ac_status); } &&
41244 { ac_try='test -z "$ac_cxx_werror_flag"
41245 || 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=five
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 fi
41264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41265
41266
41267
41268
41269 fi
41270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41271
41272
41273 fi
41274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41275
41276 else
41277 ac_cv_func_which_getservbyname_r=no
41278 fi
41279
41280 fi
41281 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41282 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41283
41284 if test $ac_cv_func_which_getservbyname_r = six; then
41285 cat >>confdefs.h <<\_ACEOF
41286 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41287 _ACEOF
41288
41289 elif test $ac_cv_func_which_getservbyname_r = five; then
41290 cat >>confdefs.h <<\_ACEOF
41291 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41292 _ACEOF
41293
41294 elif test $ac_cv_func_which_getservbyname_r = four; then
41295 cat >>confdefs.h <<\_ACEOF
41296 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41297 _ACEOF
41298
41299
41300 fi
41301
41302
41303 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41304 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41305
41306 for ac_func in getservbyname
41307 do
41308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41309 echo "$as_me:$LINENO: checking for $ac_func" >&5
41310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41311 if eval "test \"\${$as_ac_var+set}\" = set"; then
41312 echo $ECHO_N "(cached) $ECHO_C" >&6
41313 else
41314 cat >conftest.$ac_ext <<_ACEOF
41315 /* confdefs.h. */
41316 _ACEOF
41317 cat confdefs.h >>conftest.$ac_ext
41318 cat >>conftest.$ac_ext <<_ACEOF
41319 /* end confdefs.h. */
41320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41322 #define $ac_func innocuous_$ac_func
41323
41324 /* System header to define __stub macros and hopefully few prototypes,
41325 which can conflict with char $ac_func (); below.
41326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41327 <limits.h> exists even on freestanding compilers. */
41328
41329 #ifdef __STDC__
41330 # include <limits.h>
41331 #else
41332 # include <assert.h>
41333 #endif
41334
41335 #undef $ac_func
41336
41337 /* Override any gcc2 internal prototype to avoid an error. */
41338 #ifdef __cplusplus
41339 extern "C"
41340 {
41341 #endif
41342 /* We use char because int might match the return type of a gcc2
41343 builtin and then its argument prototype would still apply. */
41344 char $ac_func ();
41345 /* The GNU C library defines this for functions which it implements
41346 to always fail with ENOSYS. Some functions are actually named
41347 something starting with __ and the normal name is an alias. */
41348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41349 choke me
41350 #else
41351 char (*f) () = $ac_func;
41352 #endif
41353 #ifdef __cplusplus
41354 }
41355 #endif
41356
41357 int
41358 main ()
41359 {
41360 return f != $ac_func;
41361 ;
41362 return 0;
41363 }
41364 _ACEOF
41365 rm -f conftest.$ac_objext conftest$ac_exeext
41366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41367 (eval $ac_link) 2>conftest.er1
41368 ac_status=$?
41369 grep -v '^ *+' conftest.er1 >conftest.err
41370 rm -f conftest.er1
41371 cat conftest.err >&5
41372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41373 (exit $ac_status); } &&
41374 { ac_try='test -z "$ac_cxx_werror_flag"
41375 || test ! -s conftest.err'
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); }; } &&
41381 { ac_try='test -s conftest$ac_exeext'
41382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41383 (eval $ac_try) 2>&5
41384 ac_status=$?
41385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41386 (exit $ac_status); }; }; then
41387 eval "$as_ac_var=yes"
41388 else
41389 echo "$as_me: failed program was:" >&5
41390 sed 's/^/| /' conftest.$ac_ext >&5
41391
41392 eval "$as_ac_var=no"
41393 fi
41394 rm -f conftest.err conftest.$ac_objext \
41395 conftest$ac_exeext conftest.$ac_ext
41396 fi
41397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41399 if test `eval echo '${'$as_ac_var'}'` = yes; then
41400 cat >>confdefs.h <<_ACEOF
41401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41402 _ACEOF
41403 cat >>confdefs.h <<\_ACEOF
41404 #define HAVE_GETSERVBYNAME 1
41405 _ACEOF
41406
41407 fi
41408 done
41409
41410 fi
41411
41412 if test "$wxUSE_THREADS" = "yes"; then
41413 cat >>confdefs.h <<\_ACEOF
41414 #define wxUSE_THREADS 1
41415 _ACEOF
41416
41417
41418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41419 else
41420 if test "$wx_cv_func_strtok_r" = "yes"; then
41421 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41422 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41423 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41424 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41425 echo "$as_me:$LINENO: result: yes" >&5
41426 echo "${ECHO_T}yes" >&6
41427 else
41428 echo "$as_me:$LINENO: result: no" >&5
41429 echo "${ECHO_T}no" >&6
41430 fi
41431 fi
41432 fi
41433
41434 if test "$WXGTK20" = 1 ; then
41435 cat >>confdefs.h <<_ACEOF
41436 #define __WXGTK20__ $WXGTK20
41437 _ACEOF
41438
41439 WXGTK12=1
41440 fi
41441
41442 if test "$WXGTK12" = 1 ; then
41443 cat >>confdefs.h <<_ACEOF
41444 #define __WXGTK12__ $WXGTK12
41445 _ACEOF
41446
41447 fi
41448
41449 if test "$WXGTK127" = 1 ; then
41450 cat >>confdefs.h <<_ACEOF
41451 #define __WXGTK127__ $WXGTK127
41452 _ACEOF
41453
41454 fi
41455
41456 if test "$WXGPE" = 1 ; then
41457 cat >>confdefs.h <<_ACEOF
41458 #define __WXGPE__ $WXGPE
41459 _ACEOF
41460
41461 fi
41462
41463 DEBUG_CFLAGS=
41464 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41465 DEBUG_CFLAGS="-g"
41466 wxUSE_OPTIMISE=no
41467 fi
41468
41469 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41470 wxUSE_DEBUG_INFO=yes
41471 if test "$GCC" = yes; then
41472 DEBUG_CFLAGS="-ggdb"
41473 fi
41474 fi
41475
41476 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41477 cat >>confdefs.h <<\_ACEOF
41478 #define WXDEBUG 1
41479 _ACEOF
41480
41481 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41482 else
41483 if test "$wxUSE_GTK" = 1 ; then
41484 if test "x$wxGTK_VERSION" = "x1" ; then
41485 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41486 fi
41487 fi
41488 fi
41489
41490 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41491 cat >>confdefs.h <<\_ACEOF
41492 #define wxUSE_MEMORY_TRACING 1
41493 _ACEOF
41494
41495 cat >>confdefs.h <<\_ACEOF
41496 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41497 _ACEOF
41498
41499 cat >>confdefs.h <<\_ACEOF
41500 #define wxUSE_DEBUG_NEW_ALWAYS 1
41501 _ACEOF
41502
41503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41504 fi
41505
41506 if test "$wxUSE_DMALLOC" = "yes" ; then
41507 DMALLOC_LIBS="-ldmallocthcxx"
41508 fi
41509
41510 PROFILE_FLAGS=
41511 if test "$wxUSE_PROFILE" = "yes" ; then
41512 PROFILE_FLAGS=" -pg"
41513 fi
41514
41515 if test "$GCC" = "yes" ; then
41516 if test "$wxUSE_NO_RTTI" = "yes" ; then
41517 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41518 fi
41519 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41520 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41521 fi
41522 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41523 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41524 fi
41525
41526 case "${host}" in
41527 powerpc*-*-aix* )
41528 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41529 ;;
41530 *-hppa* )
41531 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41532 ;;
41533 esac
41534 fi
41535
41536 OPTIMISE_CFLAGS=
41537 if test "$wxUSE_OPTIMISE" = "no" ; then
41538 if test "$GCC" = yes ; then
41539 OPTIMISE_CFLAGS="-O0"
41540 fi
41541 else
41542 if test "$GCC" = yes ; then
41543 case "${host}" in
41544 *-pc-os2_emx | *-pc-os2-emx )
41545 OPTIMISE_CFLAGS="-O2"
41546 ;;
41547 *)
41548 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41549 ;;
41550 esac
41551 else
41552 OPTIMISE_CFLAGS="-O"
41553 fi
41554 fi
41555
41556
41557 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41558 cat >>confdefs.h <<\_ACEOF
41559 #define WXWIN_COMPATIBILITY_2_4 1
41560 _ACEOF
41561
41562
41563 WXWIN_COMPATIBILITY_2_6="yes"
41564 fi
41565
41566 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41567 cat >>confdefs.h <<\_ACEOF
41568 #define WXWIN_COMPATIBILITY_2_6 1
41569 _ACEOF
41570
41571 fi
41572
41573
41574 if test "$wxUSE_GUI" = "yes"; then
41575 cat >>confdefs.h <<\_ACEOF
41576 #define wxUSE_GUI 1
41577 _ACEOF
41578
41579
41580 fi
41581
41582
41583 if test "$wxUSE_UNIX" = "yes"; then
41584 cat >>confdefs.h <<\_ACEOF
41585 #define wxUSE_UNIX 1
41586 _ACEOF
41587
41588 fi
41589
41590
41591 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41592
41593 HAVE_DL_FUNCS=0
41594 HAVE_SHL_FUNCS=0
41595 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41596 if test "$USE_DARWIN" = 1; then
41597 HAVE_DL_FUNCS=1
41598 elif test "$USE_DOS" = 1; then
41599 HAVE_DL_FUNCS=0
41600 else
41601
41602 for ac_func in dlopen
41603 do
41604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41605 echo "$as_me:$LINENO: checking for $ac_func" >&5
41606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41607 if eval "test \"\${$as_ac_var+set}\" = set"; then
41608 echo $ECHO_N "(cached) $ECHO_C" >&6
41609 else
41610 cat >conftest.$ac_ext <<_ACEOF
41611 /* confdefs.h. */
41612 _ACEOF
41613 cat confdefs.h >>conftest.$ac_ext
41614 cat >>conftest.$ac_ext <<_ACEOF
41615 /* end confdefs.h. */
41616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41618 #define $ac_func innocuous_$ac_func
41619
41620 /* System header to define __stub macros and hopefully few prototypes,
41621 which can conflict with char $ac_func (); below.
41622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41623 <limits.h> exists even on freestanding compilers. */
41624
41625 #ifdef __STDC__
41626 # include <limits.h>
41627 #else
41628 # include <assert.h>
41629 #endif
41630
41631 #undef $ac_func
41632
41633 /* Override any gcc2 internal prototype to avoid an error. */
41634 #ifdef __cplusplus
41635 extern "C"
41636 {
41637 #endif
41638 /* We use char because int might match the return type of a gcc2
41639 builtin and then its argument prototype would still apply. */
41640 char $ac_func ();
41641 /* The GNU C library defines this for functions which it implements
41642 to always fail with ENOSYS. Some functions are actually named
41643 something starting with __ and the normal name is an alias. */
41644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41645 choke me
41646 #else
41647 char (*f) () = $ac_func;
41648 #endif
41649 #ifdef __cplusplus
41650 }
41651 #endif
41652
41653 int
41654 main ()
41655 {
41656 return f != $ac_func;
41657 ;
41658 return 0;
41659 }
41660 _ACEOF
41661 rm -f conftest.$ac_objext conftest$ac_exeext
41662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41663 (eval $ac_link) 2>conftest.er1
41664 ac_status=$?
41665 grep -v '^ *+' conftest.er1 >conftest.err
41666 rm -f conftest.er1
41667 cat conftest.err >&5
41668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41669 (exit $ac_status); } &&
41670 { ac_try='test -z "$ac_cxx_werror_flag"
41671 || test ! -s conftest.err'
41672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41673 (eval $ac_try) 2>&5
41674 ac_status=$?
41675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41676 (exit $ac_status); }; } &&
41677 { ac_try='test -s conftest$ac_exeext'
41678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41679 (eval $ac_try) 2>&5
41680 ac_status=$?
41681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41682 (exit $ac_status); }; }; then
41683 eval "$as_ac_var=yes"
41684 else
41685 echo "$as_me: failed program was:" >&5
41686 sed 's/^/| /' conftest.$ac_ext >&5
41687
41688 eval "$as_ac_var=no"
41689 fi
41690 rm -f conftest.err conftest.$ac_objext \
41691 conftest$ac_exeext conftest.$ac_ext
41692 fi
41693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41695 if test `eval echo '${'$as_ac_var'}'` = yes; then
41696 cat >>confdefs.h <<_ACEOF
41697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41698 _ACEOF
41699
41700 cat >>confdefs.h <<\_ACEOF
41701 #define HAVE_DLOPEN 1
41702 _ACEOF
41703
41704 HAVE_DL_FUNCS=1
41705
41706 else
41707
41708 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41709 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41710 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41711 echo $ECHO_N "(cached) $ECHO_C" >&6
41712 else
41713 ac_check_lib_save_LIBS=$LIBS
41714 LIBS="-ldl $LIBS"
41715 cat >conftest.$ac_ext <<_ACEOF
41716 /* confdefs.h. */
41717 _ACEOF
41718 cat confdefs.h >>conftest.$ac_ext
41719 cat >>conftest.$ac_ext <<_ACEOF
41720 /* end confdefs.h. */
41721
41722 /* Override any gcc2 internal prototype to avoid an error. */
41723 #ifdef __cplusplus
41724 extern "C"
41725 #endif
41726 /* We use char because int might match the return type of a gcc2
41727 builtin and then its argument prototype would still apply. */
41728 char dlopen ();
41729 int
41730 main ()
41731 {
41732 dlopen ();
41733 ;
41734 return 0;
41735 }
41736 _ACEOF
41737 rm -f conftest.$ac_objext conftest$ac_exeext
41738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41739 (eval $ac_link) 2>conftest.er1
41740 ac_status=$?
41741 grep -v '^ *+' conftest.er1 >conftest.err
41742 rm -f conftest.er1
41743 cat conftest.err >&5
41744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41745 (exit $ac_status); } &&
41746 { ac_try='test -z "$ac_cxx_werror_flag"
41747 || test ! -s conftest.err'
41748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41749 (eval $ac_try) 2>&5
41750 ac_status=$?
41751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41752 (exit $ac_status); }; } &&
41753 { ac_try='test -s conftest$ac_exeext'
41754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41755 (eval $ac_try) 2>&5
41756 ac_status=$?
41757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41758 (exit $ac_status); }; }; then
41759 ac_cv_lib_dl_dlopen=yes
41760 else
41761 echo "$as_me: failed program was:" >&5
41762 sed 's/^/| /' conftest.$ac_ext >&5
41763
41764 ac_cv_lib_dl_dlopen=no
41765 fi
41766 rm -f conftest.err conftest.$ac_objext \
41767 conftest$ac_exeext conftest.$ac_ext
41768 LIBS=$ac_check_lib_save_LIBS
41769 fi
41770 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41771 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41772 if test $ac_cv_lib_dl_dlopen = yes; then
41773
41774 cat >>confdefs.h <<\_ACEOF
41775 #define HAVE_DLOPEN 1
41776 _ACEOF
41777
41778 HAVE_DL_FUNCS=1
41779 DL_LINK=" -ldl$DL_LINK"
41780
41781 else
41782
41783
41784 for ac_func in shl_load
41785 do
41786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41787 echo "$as_me:$LINENO: checking for $ac_func" >&5
41788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41789 if eval "test \"\${$as_ac_var+set}\" = set"; then
41790 echo $ECHO_N "(cached) $ECHO_C" >&6
41791 else
41792 cat >conftest.$ac_ext <<_ACEOF
41793 /* confdefs.h. */
41794 _ACEOF
41795 cat confdefs.h >>conftest.$ac_ext
41796 cat >>conftest.$ac_ext <<_ACEOF
41797 /* end confdefs.h. */
41798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41800 #define $ac_func innocuous_$ac_func
41801
41802 /* System header to define __stub macros and hopefully few prototypes,
41803 which can conflict with char $ac_func (); below.
41804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41805 <limits.h> exists even on freestanding compilers. */
41806
41807 #ifdef __STDC__
41808 # include <limits.h>
41809 #else
41810 # include <assert.h>
41811 #endif
41812
41813 #undef $ac_func
41814
41815 /* Override any gcc2 internal prototype to avoid an error. */
41816 #ifdef __cplusplus
41817 extern "C"
41818 {
41819 #endif
41820 /* We use char because int might match the return type of a gcc2
41821 builtin and then its argument prototype would still apply. */
41822 char $ac_func ();
41823 /* The GNU C library defines this for functions which it implements
41824 to always fail with ENOSYS. Some functions are actually named
41825 something starting with __ and the normal name is an alias. */
41826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41827 choke me
41828 #else
41829 char (*f) () = $ac_func;
41830 #endif
41831 #ifdef __cplusplus
41832 }
41833 #endif
41834
41835 int
41836 main ()
41837 {
41838 return f != $ac_func;
41839 ;
41840 return 0;
41841 }
41842 _ACEOF
41843 rm -f conftest.$ac_objext conftest$ac_exeext
41844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41845 (eval $ac_link) 2>conftest.er1
41846 ac_status=$?
41847 grep -v '^ *+' conftest.er1 >conftest.err
41848 rm -f conftest.er1
41849 cat conftest.err >&5
41850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41851 (exit $ac_status); } &&
41852 { ac_try='test -z "$ac_cxx_werror_flag"
41853 || test ! -s conftest.err'
41854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41855 (eval $ac_try) 2>&5
41856 ac_status=$?
41857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41858 (exit $ac_status); }; } &&
41859 { ac_try='test -s conftest$ac_exeext'
41860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41861 (eval $ac_try) 2>&5
41862 ac_status=$?
41863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41864 (exit $ac_status); }; }; then
41865 eval "$as_ac_var=yes"
41866 else
41867 echo "$as_me: failed program was:" >&5
41868 sed 's/^/| /' conftest.$ac_ext >&5
41869
41870 eval "$as_ac_var=no"
41871 fi
41872 rm -f conftest.err conftest.$ac_objext \
41873 conftest$ac_exeext conftest.$ac_ext
41874 fi
41875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41877 if test `eval echo '${'$as_ac_var'}'` = yes; then
41878 cat >>confdefs.h <<_ACEOF
41879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41880 _ACEOF
41881
41882 cat >>confdefs.h <<\_ACEOF
41883 #define HAVE_SHL_LOAD 1
41884 _ACEOF
41885
41886 HAVE_SHL_FUNCS=1
41887
41888 else
41889
41890 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41891 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41892 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41893 echo $ECHO_N "(cached) $ECHO_C" >&6
41894 else
41895 ac_check_lib_save_LIBS=$LIBS
41896 LIBS="-lshl_load $LIBS"
41897 cat >conftest.$ac_ext <<_ACEOF
41898 /* confdefs.h. */
41899 _ACEOF
41900 cat confdefs.h >>conftest.$ac_ext
41901 cat >>conftest.$ac_ext <<_ACEOF
41902 /* end confdefs.h. */
41903
41904 /* Override any gcc2 internal prototype to avoid an error. */
41905 #ifdef __cplusplus
41906 extern "C"
41907 #endif
41908 /* We use char because int might match the return type of a gcc2
41909 builtin and then its argument prototype would still apply. */
41910 char dld ();
41911 int
41912 main ()
41913 {
41914 dld ();
41915 ;
41916 return 0;
41917 }
41918 _ACEOF
41919 rm -f conftest.$ac_objext conftest$ac_exeext
41920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41921 (eval $ac_link) 2>conftest.er1
41922 ac_status=$?
41923 grep -v '^ *+' conftest.er1 >conftest.err
41924 rm -f conftest.er1
41925 cat conftest.err >&5
41926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41927 (exit $ac_status); } &&
41928 { ac_try='test -z "$ac_cxx_werror_flag"
41929 || test ! -s conftest.err'
41930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41931 (eval $ac_try) 2>&5
41932 ac_status=$?
41933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41934 (exit $ac_status); }; } &&
41935 { ac_try='test -s conftest$ac_exeext'
41936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41937 (eval $ac_try) 2>&5
41938 ac_status=$?
41939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41940 (exit $ac_status); }; }; then
41941 ac_cv_lib_shl_load_dld=yes
41942 else
41943 echo "$as_me: failed program was:" >&5
41944 sed 's/^/| /' conftest.$ac_ext >&5
41945
41946 ac_cv_lib_shl_load_dld=no
41947 fi
41948 rm -f conftest.err conftest.$ac_objext \
41949 conftest$ac_exeext conftest.$ac_ext
41950 LIBS=$ac_check_lib_save_LIBS
41951 fi
41952 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41953 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41954 if test $ac_cv_lib_shl_load_dld = yes; then
41955
41956 HAVE_SHL_FUNCS=1
41957 DL_LINK=" -ldld$DL_LINK"
41958
41959 fi
41960
41961
41962 fi
41963 done
41964
41965
41966 fi
41967
41968
41969 fi
41970 done
41971
41972
41973 if test "$HAVE_DL_FUNCS" = 1; then
41974
41975 for ac_func in dlerror
41976 do
41977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41978 echo "$as_me:$LINENO: checking for $ac_func" >&5
41979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41980 if eval "test \"\${$as_ac_var+set}\" = set"; then
41981 echo $ECHO_N "(cached) $ECHO_C" >&6
41982 else
41983 cat >conftest.$ac_ext <<_ACEOF
41984 /* confdefs.h. */
41985 _ACEOF
41986 cat confdefs.h >>conftest.$ac_ext
41987 cat >>conftest.$ac_ext <<_ACEOF
41988 /* end confdefs.h. */
41989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41991 #define $ac_func innocuous_$ac_func
41992
41993 /* System header to define __stub macros and hopefully few prototypes,
41994 which can conflict with char $ac_func (); below.
41995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41996 <limits.h> exists even on freestanding compilers. */
41997
41998 #ifdef __STDC__
41999 # include <limits.h>
42000 #else
42001 # include <assert.h>
42002 #endif
42003
42004 #undef $ac_func
42005
42006 /* Override any gcc2 internal prototype to avoid an error. */
42007 #ifdef __cplusplus
42008 extern "C"
42009 {
42010 #endif
42011 /* We use char because int might match the return type of a gcc2
42012 builtin and then its argument prototype would still apply. */
42013 char $ac_func ();
42014 /* The GNU C library defines this for functions which it implements
42015 to always fail with ENOSYS. Some functions are actually named
42016 something starting with __ and the normal name is an alias. */
42017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42018 choke me
42019 #else
42020 char (*f) () = $ac_func;
42021 #endif
42022 #ifdef __cplusplus
42023 }
42024 #endif
42025
42026 int
42027 main ()
42028 {
42029 return f != $ac_func;
42030 ;
42031 return 0;
42032 }
42033 _ACEOF
42034 rm -f conftest.$ac_objext conftest$ac_exeext
42035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42036 (eval $ac_link) 2>conftest.er1
42037 ac_status=$?
42038 grep -v '^ *+' conftest.er1 >conftest.err
42039 rm -f conftest.er1
42040 cat conftest.err >&5
42041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42042 (exit $ac_status); } &&
42043 { ac_try='test -z "$ac_cxx_werror_flag"
42044 || test ! -s conftest.err'
42045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42046 (eval $ac_try) 2>&5
42047 ac_status=$?
42048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42049 (exit $ac_status); }; } &&
42050 { ac_try='test -s conftest$ac_exeext'
42051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42052 (eval $ac_try) 2>&5
42053 ac_status=$?
42054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42055 (exit $ac_status); }; }; then
42056 eval "$as_ac_var=yes"
42057 else
42058 echo "$as_me: failed program was:" >&5
42059 sed 's/^/| /' conftest.$ac_ext >&5
42060
42061 eval "$as_ac_var=no"
42062 fi
42063 rm -f conftest.err conftest.$ac_objext \
42064 conftest$ac_exeext conftest.$ac_ext
42065 fi
42066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42068 if test `eval echo '${'$as_ac_var'}'` = yes; then
42069 cat >>confdefs.h <<_ACEOF
42070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42071 _ACEOF
42072 cat >>confdefs.h <<\_ACEOF
42073 #define HAVE_DLERROR 1
42074 _ACEOF
42075
42076 else
42077
42078 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42079 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42080 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42081 echo $ECHO_N "(cached) $ECHO_C" >&6
42082 else
42083 ac_check_lib_save_LIBS=$LIBS
42084 LIBS="-ldl $LIBS"
42085 cat >conftest.$ac_ext <<_ACEOF
42086 /* confdefs.h. */
42087 _ACEOF
42088 cat confdefs.h >>conftest.$ac_ext
42089 cat >>conftest.$ac_ext <<_ACEOF
42090 /* end confdefs.h. */
42091
42092 /* Override any gcc2 internal prototype to avoid an error. */
42093 #ifdef __cplusplus
42094 extern "C"
42095 #endif
42096 /* We use char because int might match the return type of a gcc2
42097 builtin and then its argument prototype would still apply. */
42098 char dlerror ();
42099 int
42100 main ()
42101 {
42102 dlerror ();
42103 ;
42104 return 0;
42105 }
42106 _ACEOF
42107 rm -f conftest.$ac_objext conftest$ac_exeext
42108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42109 (eval $ac_link) 2>conftest.er1
42110 ac_status=$?
42111 grep -v '^ *+' conftest.er1 >conftest.err
42112 rm -f conftest.er1
42113 cat conftest.err >&5
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); } &&
42116 { ac_try='test -z "$ac_cxx_werror_flag"
42117 || test ! -s conftest.err'
42118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42119 (eval $ac_try) 2>&5
42120 ac_status=$?
42121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42122 (exit $ac_status); }; } &&
42123 { ac_try='test -s conftest$ac_exeext'
42124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42125 (eval $ac_try) 2>&5
42126 ac_status=$?
42127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42128 (exit $ac_status); }; }; then
42129 ac_cv_lib_dl_dlerror=yes
42130 else
42131 echo "$as_me: failed program was:" >&5
42132 sed 's/^/| /' conftest.$ac_ext >&5
42133
42134 ac_cv_lib_dl_dlerror=no
42135 fi
42136 rm -f conftest.err conftest.$ac_objext \
42137 conftest$ac_exeext conftest.$ac_ext
42138 LIBS=$ac_check_lib_save_LIBS
42139 fi
42140 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42141 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42142 if test $ac_cv_lib_dl_dlerror = yes; then
42143 cat >>confdefs.h <<\_ACEOF
42144 #define HAVE_DLERROR 1
42145 _ACEOF
42146
42147 fi
42148
42149
42150
42151 fi
42152 done
42153
42154 fi
42155 fi
42156
42157 if test "$HAVE_DL_FUNCS" = 0; then
42158 if test "$HAVE_SHL_FUNCS" = 0; then
42159 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42160 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42161 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42162 wxUSE_DYNAMIC_LOADER=no
42163 wxUSE_DYNLIB_CLASS=no
42164 else
42165 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42166 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42167 fi
42168 fi
42169 fi
42170 fi
42171 fi
42172
42173 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42174 cat >>confdefs.h <<\_ACEOF
42175 #define wxUSE_DYNAMIC_LOADER 1
42176 _ACEOF
42177
42178 fi
42179 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42180 cat >>confdefs.h <<\_ACEOF
42181 #define wxUSE_DYNLIB_CLASS 1
42182 _ACEOF
42183
42184 fi
42185
42186
42187
42188 if test "$wxUSE_PLUGINS" = "yes" ; then
42189 if test "$wxUSE_SHARED" = "no" ; then
42190 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42191 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42192 wxUSE_PLUGINS=no
42193 fi
42194 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42195 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42196 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42197 wxUSE_PLUGINS=no
42198 fi
42199 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42200 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42201 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42202 wxUSE_PLUGINS=no
42203 fi
42204 if test "$wxUSE_PLUGINS" = "yes" ; then
42205 cat >>confdefs.h <<\_ACEOF
42206 #define wxUSE_PLUGINS 1
42207 _ACEOF
42208
42209 fi
42210 fi
42211
42212
42213 if test "$wxUSE_STL" = "yes"; then
42214 cat >>confdefs.h <<\_ACEOF
42215 #define wxUSE_STL 1
42216 _ACEOF
42217
42218 fi
42219
42220 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42221 cat >>confdefs.h <<\_ACEOF
42222 #define wxUSE_APPLE_IEEE 1
42223 _ACEOF
42224
42225 fi
42226
42227 if test "$wxUSE_TIMER" = "yes"; then
42228 cat >>confdefs.h <<\_ACEOF
42229 #define wxUSE_TIMER 1
42230 _ACEOF
42231
42232 fi
42233
42234 if test "$USE_UNIX" = "1" ; then
42235 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42236 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42237 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42238 echo $ECHO_N "(cached) $ECHO_C" >&6
42239 else
42240
42241 cat >conftest.$ac_ext <<_ACEOF
42242 /* confdefs.h. */
42243 _ACEOF
42244 cat confdefs.h >>conftest.$ac_ext
42245 cat >>conftest.$ac_ext <<_ACEOF
42246 /* end confdefs.h. */
42247
42248 #include <sys/ioctl.h>
42249 #include <sys/soundcard.h>
42250
42251 int
42252 main ()
42253 {
42254
42255 ioctl(0, SNDCTL_DSP_SPEED, 0);
42256
42257 ;
42258 return 0;
42259 }
42260 _ACEOF
42261 rm -f conftest.$ac_objext conftest$ac_exeext
42262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42263 (eval $ac_link) 2>conftest.er1
42264 ac_status=$?
42265 grep -v '^ *+' conftest.er1 >conftest.err
42266 rm -f conftest.er1
42267 cat conftest.err >&5
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); } &&
42270 { ac_try='test -z "$ac_cxx_werror_flag"
42271 || test ! -s conftest.err'
42272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42273 (eval $ac_try) 2>&5
42274 ac_status=$?
42275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42276 (exit $ac_status); }; } &&
42277 { ac_try='test -s conftest$ac_exeext'
42278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42279 (eval $ac_try) 2>&5
42280 ac_status=$?
42281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42282 (exit $ac_status); }; }; then
42283 ac_cv_header_sys_soundcard=yes
42284 else
42285 echo "$as_me: failed program was:" >&5
42286 sed 's/^/| /' conftest.$ac_ext >&5
42287
42288
42289 saveLibs="$LIBS"
42290 LIBS="$saveLibs -lossaudio"
42291 cat >conftest.$ac_ext <<_ACEOF
42292 /* confdefs.h. */
42293 _ACEOF
42294 cat confdefs.h >>conftest.$ac_ext
42295 cat >>conftest.$ac_ext <<_ACEOF
42296 /* end confdefs.h. */
42297
42298 #include <sys/ioctl.h>
42299 #include <sys/soundcard.h>
42300
42301 int
42302 main ()
42303 {
42304
42305 ioctl(0, SNDCTL_DSP_SPEED, 0);
42306
42307 ;
42308 return 0;
42309 }
42310 _ACEOF
42311 rm -f conftest.$ac_objext conftest$ac_exeext
42312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42313 (eval $ac_link) 2>conftest.er1
42314 ac_status=$?
42315 grep -v '^ *+' conftest.er1 >conftest.err
42316 rm -f conftest.er1
42317 cat conftest.err >&5
42318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42319 (exit $ac_status); } &&
42320 { ac_try='test -z "$ac_cxx_werror_flag"
42321 || test ! -s conftest.err'
42322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42323 (eval $ac_try) 2>&5
42324 ac_status=$?
42325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42326 (exit $ac_status); }; } &&
42327 { ac_try='test -s conftest$ac_exeext'
42328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42329 (eval $ac_try) 2>&5
42330 ac_status=$?
42331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42332 (exit $ac_status); }; }; then
42333 ac_cv_header_sys_soundcard=yes
42334 else
42335 echo "$as_me: failed program was:" >&5
42336 sed 's/^/| /' conftest.$ac_ext >&5
42337
42338
42339 LIBS="$saveLibs"
42340 ac_cv_header_sys_soundcard=no
42341
42342
42343 fi
42344 rm -f conftest.err conftest.$ac_objext \
42345 conftest$ac_exeext conftest.$ac_ext
42346
42347
42348 fi
42349 rm -f conftest.err conftest.$ac_objext \
42350 conftest$ac_exeext conftest.$ac_ext
42351
42352 fi
42353 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42354 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42355
42356 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42357 cat >>confdefs.h <<\_ACEOF
42358 #define HAVE_SYS_SOUNDCARD_H 1
42359 _ACEOF
42360
42361 else
42362 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42363 fi
42364 fi
42365 WITH_PLUGIN_SDL=0
42366 if test "$wxUSE_SOUND" = "yes"; then
42367 if test "$USE_UNIX" = "1" ; then
42368 if test "$wxUSE_LIBSDL" != "no"; then
42369
42370 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42371 if test "${with_sdl_prefix+set}" = set; then
42372 withval="$with_sdl_prefix"
42373 sdl_prefix="$withval"
42374 else
42375 sdl_prefix=""
42376 fi;
42377
42378 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42379 if test "${with_sdl_exec_prefix+set}" = set; then
42380 withval="$with_sdl_exec_prefix"
42381 sdl_exec_prefix="$withval"
42382 else
42383 sdl_exec_prefix=""
42384 fi;
42385 # Check whether --enable-sdltest or --disable-sdltest was given.
42386 if test "${enable_sdltest+set}" = set; then
42387 enableval="$enable_sdltest"
42388
42389 else
42390 enable_sdltest=yes
42391 fi;
42392
42393 if test x$sdl_exec_prefix != x ; then
42394 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42395 if test x${SDL_CONFIG+set} != xset ; then
42396 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42397 fi
42398 fi
42399 if test x$sdl_prefix != x ; then
42400 sdl_args="$sdl_args --prefix=$sdl_prefix"
42401 if test x${SDL_CONFIG+set} != xset ; then
42402 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42403 fi
42404 fi
42405
42406 if test "x$prefix" != xNONE; then
42407 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42408 fi
42409 # Extract the first word of "sdl-config", so it can be a program name with args.
42410 set dummy sdl-config; ac_word=$2
42411 echo "$as_me:$LINENO: checking for $ac_word" >&5
42412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42413 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42414 echo $ECHO_N "(cached) $ECHO_C" >&6
42415 else
42416 case $SDL_CONFIG in
42417 [\\/]* | ?:[\\/]*)
42418 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42419 ;;
42420 *)
42421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42422 for as_dir in $PATH
42423 do
42424 IFS=$as_save_IFS
42425 test -z "$as_dir" && as_dir=.
42426 for ac_exec_ext in '' $ac_executable_extensions; do
42427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42428 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42430 break 2
42431 fi
42432 done
42433 done
42434
42435 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42436 ;;
42437 esac
42438 fi
42439 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42440
42441 if test -n "$SDL_CONFIG"; then
42442 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42443 echo "${ECHO_T}$SDL_CONFIG" >&6
42444 else
42445 echo "$as_me:$LINENO: result: no" >&5
42446 echo "${ECHO_T}no" >&6
42447 fi
42448
42449 min_sdl_version=1.2.0
42450 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42451 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42452 no_sdl=""
42453 if test "$SDL_CONFIG" = "no" ; then
42454 no_sdl=yes
42455 else
42456 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42457 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42458
42459 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42460 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42461 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42462 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42463 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42464 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42465 if test "x$enable_sdltest" = "xyes" ; then
42466 ac_save_CFLAGS="$CFLAGS"
42467 ac_save_CXXFLAGS="$CXXFLAGS"
42468 ac_save_LIBS="$LIBS"
42469 CFLAGS="$CFLAGS $SDL_CFLAGS"
42470 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42471 LIBS="$LIBS $SDL_LIBS"
42472 rm -f conf.sdltest
42473 if test "$cross_compiling" = yes; then
42474 echo $ac_n "cross compiling; assumed OK... $ac_c"
42475 else
42476 cat >conftest.$ac_ext <<_ACEOF
42477 /* confdefs.h. */
42478 _ACEOF
42479 cat confdefs.h >>conftest.$ac_ext
42480 cat >>conftest.$ac_ext <<_ACEOF
42481 /* end confdefs.h. */
42482
42483 #include <stdio.h>
42484 #include <stdlib.h>
42485 #include <string.h>
42486 #include "SDL.h"
42487
42488 char*
42489 my_strdup (char *str)
42490 {
42491 char *new_str;
42492
42493 if (str)
42494 {
42495 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42496 strcpy (new_str, str);
42497 }
42498 else
42499 new_str = NULL;
42500
42501 return new_str;
42502 }
42503
42504 int main (int argc, char *argv[])
42505 {
42506 int major, minor, micro;
42507 char *tmp_version;
42508
42509 /* This hangs on some systems (?)
42510 system ("touch conf.sdltest");
42511 */
42512 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42513
42514 /* HP/UX 9 (%@#!) writes to sscanf strings */
42515 tmp_version = my_strdup("$min_sdl_version");
42516 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42517 printf("%s, bad version string\n", "$min_sdl_version");
42518 exit(1);
42519 }
42520
42521 if (($sdl_major_version > major) ||
42522 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42523 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42524 {
42525 return 0;
42526 }
42527 else
42528 {
42529 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42530 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42531 printf("*** best to upgrade to the required version.\n");
42532 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42533 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42534 printf("*** config.cache before re-running configure\n");
42535 return 1;
42536 }
42537 }
42538
42539
42540 _ACEOF
42541 rm -f conftest$ac_exeext
42542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42543 (eval $ac_link) 2>&5
42544 ac_status=$?
42545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42546 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42548 (eval $ac_try) 2>&5
42549 ac_status=$?
42550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42551 (exit $ac_status); }; }; then
42552 :
42553 else
42554 echo "$as_me: program exited with status $ac_status" >&5
42555 echo "$as_me: failed program was:" >&5
42556 sed 's/^/| /' conftest.$ac_ext >&5
42557
42558 ( exit $ac_status )
42559 no_sdl=yes
42560 fi
42561 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42562 fi
42563 CFLAGS="$ac_save_CFLAGS"
42564 CXXFLAGS="$ac_save_CXXFLAGS"
42565 LIBS="$ac_save_LIBS"
42566 fi
42567 fi
42568 if test "x$no_sdl" = x ; then
42569 echo "$as_me:$LINENO: result: yes" >&5
42570 echo "${ECHO_T}yes" >&6
42571
42572 EXTRALIBS_SDL="$SDL_LIBS"
42573 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42574 cat >>confdefs.h <<\_ACEOF
42575 #define wxUSE_LIBSDL 1
42576 _ACEOF
42577
42578
42579 else
42580 echo "$as_me:$LINENO: result: no" >&5
42581 echo "${ECHO_T}no" >&6
42582 if test "$SDL_CONFIG" = "no" ; then
42583 echo "*** The sdl-config script installed by SDL could not be found"
42584 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42585 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42586 echo "*** full path to sdl-config."
42587 else
42588 if test -f conf.sdltest ; then
42589 :
42590 else
42591 echo "*** Could not run SDL test program, checking why..."
42592 CFLAGS="$CFLAGS $SDL_CFLAGS"
42593 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42594 LIBS="$LIBS $SDL_LIBS"
42595 cat >conftest.$ac_ext <<_ACEOF
42596 /* confdefs.h. */
42597 _ACEOF
42598 cat confdefs.h >>conftest.$ac_ext
42599 cat >>conftest.$ac_ext <<_ACEOF
42600 /* end confdefs.h. */
42601
42602 #include <stdio.h>
42603 #include "SDL.h"
42604
42605 int main(int argc, char *argv[])
42606 { return 0; }
42607 #undef main
42608 #define main K_and_R_C_main
42609
42610 int
42611 main ()
42612 {
42613 return 0;
42614 ;
42615 return 0;
42616 }
42617 _ACEOF
42618 rm -f conftest.$ac_objext conftest$ac_exeext
42619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42620 (eval $ac_link) 2>conftest.er1
42621 ac_status=$?
42622 grep -v '^ *+' conftest.er1 >conftest.err
42623 rm -f conftest.er1
42624 cat conftest.err >&5
42625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626 (exit $ac_status); } &&
42627 { ac_try='test -z "$ac_cxx_werror_flag"
42628 || test ! -s conftest.err'
42629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42630 (eval $ac_try) 2>&5
42631 ac_status=$?
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); }; } &&
42634 { ac_try='test -s conftest$ac_exeext'
42635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42636 (eval $ac_try) 2>&5
42637 ac_status=$?
42638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42639 (exit $ac_status); }; }; then
42640 echo "*** The test program compiled, but did not run. This usually means"
42641 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42642 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42643 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42644 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42645 echo "*** is required on your system"
42646 echo "***"
42647 echo "*** If you have an old version installed, it is best to remove it, although"
42648 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42649 else
42650 echo "$as_me: failed program was:" >&5
42651 sed 's/^/| /' conftest.$ac_ext >&5
42652
42653 echo "*** The test program failed to compile or link. See the file config.log for the"
42654 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42655 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42656 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42657 fi
42658 rm -f conftest.err conftest.$ac_objext \
42659 conftest$ac_exeext conftest.$ac_ext
42660 CFLAGS="$ac_save_CFLAGS"
42661 CXXFLAGS="$ac_save_CXXFLAGS"
42662 LIBS="$ac_save_LIBS"
42663 fi
42664 fi
42665 SDL_CFLAGS=""
42666 SDL_LIBS=""
42667 wxUSE_LIBSDL="no"
42668 fi
42669
42670
42671 rm -f conf.sdltest
42672
42673 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42674 WITH_PLUGIN_SDL=1
42675 fi
42676 fi
42677 fi
42678
42679 cat >>confdefs.h <<\_ACEOF
42680 #define wxUSE_SOUND 1
42681 _ACEOF
42682
42683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42684 fi
42685
42686 if test "$WXGTK20" = 1; then
42687 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42688 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42689
42690
42691 pkg_failed=no
42692 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42693 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42694
42695 if test -n "$PKG_CONFIG"; then
42696 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42697 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42698 else
42699 if test -n "$PKG_CONFIG" && \
42700 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42701 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42702 ac_status=$?
42703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42704 (exit $ac_status); }; then
42705 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42706 else
42707 pkg_failed=yes
42708 fi
42709 fi
42710 else
42711 pkg_failed=untried
42712 fi
42713 if test -n "$PKG_CONFIG"; then
42714 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42715 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42716 else
42717 if test -n "$PKG_CONFIG" && \
42718 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42719 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42720 ac_status=$?
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); }; then
42723 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42724 else
42725 pkg_failed=yes
42726 fi
42727 fi
42728 else
42729 pkg_failed=untried
42730 fi
42731
42732
42733
42734 if test $pkg_failed = yes; then
42735
42736 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42737 _pkg_short_errors_supported=yes
42738 else
42739 _pkg_short_errors_supported=no
42740 fi
42741 if test $_pkg_short_errors_supported = yes; then
42742 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42743 else
42744 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42745 fi
42746 # Put the nasty error message in config.log where it belongs
42747 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42748
42749
42750 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42751 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42752 wxUSE_LIBGNOMEPRINT="no"
42753
42754
42755 elif test $pkg_failed = untried; then
42756
42757 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42758 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42759 wxUSE_LIBGNOMEPRINT="no"
42760
42761
42762 else
42763 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42764 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42765 echo "$as_me:$LINENO: result: yes" >&5
42766 echo "${ECHO_T}yes" >&6
42767
42768 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42769 cat >>confdefs.h <<\_ACEOF
42770 #define wxUSE_LIBGNOMEPRINT 1
42771 _ACEOF
42772
42773
42774 fi
42775 fi
42776 fi
42777 fi
42778
42779 if test "$WXGTK20" = 1; then
42780 if test "$wxUSE_MIMETYPE" = "yes" ; then
42781 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42782
42783
42784 pkg_failed=no
42785 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42786 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42787
42788 if test -n "$PKG_CONFIG"; then
42789 if test -n "$GNOMEVFS_CFLAGS"; then
42790 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42791 else
42792 if test -n "$PKG_CONFIG" && \
42793 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42794 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42795 ac_status=$?
42796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42797 (exit $ac_status); }; then
42798 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42799 else
42800 pkg_failed=yes
42801 fi
42802 fi
42803 else
42804 pkg_failed=untried
42805 fi
42806 if test -n "$PKG_CONFIG"; then
42807 if test -n "$GNOMEVFS_LIBS"; then
42808 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42809 else
42810 if test -n "$PKG_CONFIG" && \
42811 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42812 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42813 ac_status=$?
42814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42815 (exit $ac_status); }; then
42816 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42817 else
42818 pkg_failed=yes
42819 fi
42820 fi
42821 else
42822 pkg_failed=untried
42823 fi
42824
42825
42826
42827 if test $pkg_failed = yes; then
42828
42829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42830 _pkg_short_errors_supported=yes
42831 else
42832 _pkg_short_errors_supported=no
42833 fi
42834 if test $_pkg_short_errors_supported = yes; then
42835 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42836 else
42837 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42838 fi
42839 # Put the nasty error message in config.log where it belongs
42840 echo "$GNOMEVFS_PKG_ERRORS" >&5
42841
42842
42843 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42844 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42845 wxUSE_LIBGNOMEVFS="no"
42846
42847
42848 elif test $pkg_failed = untried; then
42849
42850 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42851 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42852 wxUSE_LIBGNOMEVFS="no"
42853
42854
42855 else
42856 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42857 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42858 echo "$as_me:$LINENO: result: yes" >&5
42859 echo "${ECHO_T}yes" >&6
42860
42861 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42862 cat >>confdefs.h <<\_ACEOF
42863 #define wxUSE_LIBGNOMEVFS 1
42864 _ACEOF
42865
42866
42867 fi
42868 fi
42869 fi
42870 fi
42871
42872 if test "$WXGTK20" = 1; then
42873 if test "$wxUSE_LIBHILDON" = "yes" ; then
42874
42875 pkg_failed=no
42876 echo "$as_me:$LINENO: checking for HILDON" >&5
42877 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42878
42879 if test -n "$PKG_CONFIG"; then
42880 if test -n "$HILDON_CFLAGS"; then
42881 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42882 else
42883 if test -n "$PKG_CONFIG" && \
42884 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42885 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42886 ac_status=$?
42887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42888 (exit $ac_status); }; then
42889 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42890 else
42891 pkg_failed=yes
42892 fi
42893 fi
42894 else
42895 pkg_failed=untried
42896 fi
42897 if test -n "$PKG_CONFIG"; then
42898 if test -n "$HILDON_LIBS"; then
42899 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42900 else
42901 if test -n "$PKG_CONFIG" && \
42902 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42903 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42904 ac_status=$?
42905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42906 (exit $ac_status); }; then
42907 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42908 else
42909 pkg_failed=yes
42910 fi
42911 fi
42912 else
42913 pkg_failed=untried
42914 fi
42915
42916
42917
42918 if test $pkg_failed = yes; then
42919
42920 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42921 _pkg_short_errors_supported=yes
42922 else
42923 _pkg_short_errors_supported=no
42924 fi
42925 if test $_pkg_short_errors_supported = yes; then
42926 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42927 else
42928 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42929 fi
42930 # Put the nasty error message in config.log where it belongs
42931 echo "$HILDON_PKG_ERRORS" >&5
42932
42933
42934 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42935 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42936 wxUSE_LIBHILDON="no"
42937
42938
42939 elif test $pkg_failed = untried; then
42940
42941 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42942 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42943 wxUSE_LIBHILDON="no"
42944
42945
42946 else
42947 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42948 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42949 echo "$as_me:$LINENO: result: yes" >&5
42950 echo "${ECHO_T}yes" >&6
42951
42952 EXTRALIBS_HILDON="$HILDON_LIBS"
42953 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42954 cat >>confdefs.h <<\_ACEOF
42955 #define wxUSE_LIBHILDON 1
42956 _ACEOF
42957
42958
42959 fi
42960 fi
42961 fi
42962
42963 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42964 cat >>confdefs.h <<\_ACEOF
42965 #define wxUSE_CMDLINE_PARSER 1
42966 _ACEOF
42967
42968 fi
42969
42970 if test "$wxUSE_STOPWATCH" = "yes"; then
42971 cat >>confdefs.h <<\_ACEOF
42972 #define wxUSE_STOPWATCH 1
42973 _ACEOF
42974
42975 fi
42976
42977 if test "$wxUSE_DATETIME" = "yes"; then
42978 cat >>confdefs.h <<\_ACEOF
42979 #define wxUSE_DATETIME 1
42980 _ACEOF
42981
42982 fi
42983
42984 if test "$wxUSE_FILE" = "yes"; then
42985 cat >>confdefs.h <<\_ACEOF
42986 #define wxUSE_FILE 1
42987 _ACEOF
42988
42989 fi
42990
42991 if test "$wxUSE_FFILE" = "yes"; then
42992 cat >>confdefs.h <<\_ACEOF
42993 #define wxUSE_FFILE 1
42994 _ACEOF
42995
42996 fi
42997
42998 if test "$wxUSE_FILESYSTEM" = "yes"; then
42999 cat >>confdefs.h <<\_ACEOF
43000 #define wxUSE_FILESYSTEM 1
43001 _ACEOF
43002
43003 fi
43004
43005 if test "$wxUSE_FS_ZIP" = "yes"; then
43006 cat >>confdefs.h <<\_ACEOF
43007 #define wxUSE_FS_ZIP 1
43008 _ACEOF
43009
43010 fi
43011
43012 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43013 cat >>confdefs.h <<\_ACEOF
43014 #define wxUSE_ARCHIVE_STREAMS 1
43015 _ACEOF
43016
43017 fi
43018
43019 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43020 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43021 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43022 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43023 elif test "$wxUSE_ZLIB" = "no"; then
43024 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43025 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43026 else
43027 cat >>confdefs.h <<\_ACEOF
43028 #define wxUSE_ZIPSTREAM 1
43029 _ACEOF
43030
43031 fi
43032 fi
43033
43034 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43035 if test "$USE_UNIX" != 1; then
43036 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43037 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43038 wxUSE_ON_FATAL_EXCEPTION=no
43039 else
43040 cat >>confdefs.h <<\_ACEOF
43041 #define wxUSE_ON_FATAL_EXCEPTION 1
43042 _ACEOF
43043
43044 fi
43045 fi
43046
43047 if test "$wxUSE_STACKWALKER" = "yes"; then
43048 cat >>confdefs.h <<\_ACEOF
43049 #define wxUSE_STACKWALKER 1
43050 _ACEOF
43051
43052 fi
43053
43054 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43055 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43056 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43057 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43058 wxUSE_DEBUGREPORT=no
43059 else
43060 cat >>confdefs.h <<\_ACEOF
43061 #define wxUSE_DEBUGREPORT 1
43062 _ACEOF
43063
43064 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43066 fi
43067 fi
43068 fi
43069
43070 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43071 cat >>confdefs.h <<\_ACEOF
43072 #define wxUSE_SNGLINST_CHECKER 1
43073 _ACEOF
43074
43075 fi
43076
43077 if test "$wxUSE_BUSYINFO" = "yes"; then
43078 cat >>confdefs.h <<\_ACEOF
43079 #define wxUSE_BUSYINFO 1
43080 _ACEOF
43081
43082 fi
43083
43084 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43085 cat >>confdefs.h <<\_ACEOF
43086 #define wxUSE_STD_IOSTREAM 1
43087 _ACEOF
43088
43089 fi
43090
43091 if test "$wxUSE_STD_STRING" = "yes"; then
43092 cat >>confdefs.h <<\_ACEOF
43093 #define wxUSE_STD_STRING 1
43094 _ACEOF
43095
43096 fi
43097
43098 if test "$wxUSE_STDPATHS" = "yes"; then
43099 cat >>confdefs.h <<\_ACEOF
43100 #define wxUSE_STDPATHS 1
43101 _ACEOF
43102
43103 fi
43104
43105 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43106 cat >>confdefs.h <<\_ACEOF
43107 #define wxUSE_TEXTBUFFER 1
43108 _ACEOF
43109
43110 fi
43111
43112 if test "$wxUSE_TEXTFILE" = "yes"; then
43113 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43114 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43115 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43116 else
43117 cat >>confdefs.h <<\_ACEOF
43118 #define wxUSE_TEXTFILE 1
43119 _ACEOF
43120
43121 fi
43122 fi
43123
43124 if test "$wxUSE_CONFIG" = "yes" ; then
43125 if test "$wxUSE_TEXTFILE" != "yes"; then
43126 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43127 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43128 else
43129 cat >>confdefs.h <<\_ACEOF
43130 #define wxUSE_CONFIG 1
43131 _ACEOF
43132
43133 cat >>confdefs.h <<\_ACEOF
43134 #define wxUSE_CONFIG_NATIVE 1
43135 _ACEOF
43136
43137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43138 fi
43139 fi
43140
43141 if test "$wxUSE_INTL" = "yes" ; then
43142 if test "$wxUSE_FILE" != "yes"; then
43143 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43144 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43145 else
43146 cat >>confdefs.h <<\_ACEOF
43147 #define wxUSE_INTL 1
43148 _ACEOF
43149
43150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43151 GUIDIST="$GUIDIST INTL_DIST"
43152 fi
43153 fi
43154
43155 if test "$wxUSE_LOG" = "yes"; then
43156 cat >>confdefs.h <<\_ACEOF
43157 #define wxUSE_LOG 1
43158 _ACEOF
43159
43160
43161 if test "$wxUSE_LOGGUI" = "yes"; then
43162 cat >>confdefs.h <<\_ACEOF
43163 #define wxUSE_LOGGUI 1
43164 _ACEOF
43165
43166 fi
43167
43168 if test "$wxUSE_LOGWINDOW" = "yes"; then
43169 cat >>confdefs.h <<\_ACEOF
43170 #define wxUSE_LOGWINDOW 1
43171 _ACEOF
43172
43173 fi
43174
43175 if test "$wxUSE_LOGDIALOG" = "yes"; then
43176 cat >>confdefs.h <<\_ACEOF
43177 #define wxUSE_LOG_DIALOG 1
43178 _ACEOF
43179
43180 fi
43181
43182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43183 fi
43184
43185 if test "$wxUSE_LONGLONG" = "yes"; then
43186 cat >>confdefs.h <<\_ACEOF
43187 #define wxUSE_LONGLONG 1
43188 _ACEOF
43189
43190 fi
43191
43192 if test "$wxUSE_GEOMETRY" = "yes"; then
43193 cat >>confdefs.h <<\_ACEOF
43194 #define wxUSE_GEOMETRY 1
43195 _ACEOF
43196
43197 fi
43198
43199 if test "$wxUSE_STREAMS" = "yes" ; then
43200 cat >>confdefs.h <<\_ACEOF
43201 #define wxUSE_STREAMS 1
43202 _ACEOF
43203
43204 fi
43205
43206 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43207 cat >>confdefs.h <<\_ACEOF
43208 #define wxUSE_PRINTF_POS_PARAMS 1
43209 _ACEOF
43210
43211 fi
43212
43213
43214
43215 if test "$wxUSE_DATETIME" = "yes"; then
43216
43217 for ac_func in strptime
43218 do
43219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43220 echo "$as_me:$LINENO: checking for $ac_func" >&5
43221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43222 if eval "test \"\${$as_ac_var+set}\" = set"; then
43223 echo $ECHO_N "(cached) $ECHO_C" >&6
43224 else
43225 cat >conftest.$ac_ext <<_ACEOF
43226 /* confdefs.h. */
43227 _ACEOF
43228 cat confdefs.h >>conftest.$ac_ext
43229 cat >>conftest.$ac_ext <<_ACEOF
43230 /* end confdefs.h. */
43231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43233 #define $ac_func innocuous_$ac_func
43234
43235 /* System header to define __stub macros and hopefully few prototypes,
43236 which can conflict with char $ac_func (); below.
43237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43238 <limits.h> exists even on freestanding compilers. */
43239
43240 #ifdef __STDC__
43241 # include <limits.h>
43242 #else
43243 # include <assert.h>
43244 #endif
43245
43246 #undef $ac_func
43247
43248 /* Override any gcc2 internal prototype to avoid an error. */
43249 #ifdef __cplusplus
43250 extern "C"
43251 {
43252 #endif
43253 /* We use char because int might match the return type of a gcc2
43254 builtin and then its argument prototype would still apply. */
43255 char $ac_func ();
43256 /* The GNU C library defines this for functions which it implements
43257 to always fail with ENOSYS. Some functions are actually named
43258 something starting with __ and the normal name is an alias. */
43259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43260 choke me
43261 #else
43262 char (*f) () = $ac_func;
43263 #endif
43264 #ifdef __cplusplus
43265 }
43266 #endif
43267
43268 int
43269 main ()
43270 {
43271 return f != $ac_func;
43272 ;
43273 return 0;
43274 }
43275 _ACEOF
43276 rm -f conftest.$ac_objext conftest$ac_exeext
43277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43278 (eval $ac_link) 2>conftest.er1
43279 ac_status=$?
43280 grep -v '^ *+' conftest.er1 >conftest.err
43281 rm -f conftest.er1
43282 cat conftest.err >&5
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); } &&
43285 { ac_try='test -z "$ac_cxx_werror_flag"
43286 || test ! -s conftest.err'
43287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43288 (eval $ac_try) 2>&5
43289 ac_status=$?
43290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43291 (exit $ac_status); }; } &&
43292 { ac_try='test -s conftest$ac_exeext'
43293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43294 (eval $ac_try) 2>&5
43295 ac_status=$?
43296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297 (exit $ac_status); }; }; then
43298 eval "$as_ac_var=yes"
43299 else
43300 echo "$as_me: failed program was:" >&5
43301 sed 's/^/| /' conftest.$ac_ext >&5
43302
43303 eval "$as_ac_var=no"
43304 fi
43305 rm -f conftest.err conftest.$ac_objext \
43306 conftest$ac_exeext conftest.$ac_ext
43307 fi
43308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43310 if test `eval echo '${'$as_ac_var'}'` = yes; then
43311 cat >>confdefs.h <<_ACEOF
43312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43313 _ACEOF
43314
43315 fi
43316 done
43317
43318 if test "$ac_cv_func_strptime" = "yes"; then
43319 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43320 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43321 if test "${wx_cv_func_strptime_decl+set}" = set; then
43322 echo $ECHO_N "(cached) $ECHO_C" >&6
43323 else
43324
43325 cat >conftest.$ac_ext <<_ACEOF
43326 /* confdefs.h. */
43327 _ACEOF
43328 cat confdefs.h >>conftest.$ac_ext
43329 cat >>conftest.$ac_ext <<_ACEOF
43330 /* end confdefs.h. */
43331
43332 #include <time.h>
43333
43334 int
43335 main ()
43336 {
43337
43338 struct tm t;
43339 strptime("foo", "bar", &t);
43340
43341 ;
43342 return 0;
43343 }
43344 _ACEOF
43345 rm -f conftest.$ac_objext
43346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43347 (eval $ac_compile) 2>conftest.er1
43348 ac_status=$?
43349 grep -v '^ *+' conftest.er1 >conftest.err
43350 rm -f conftest.er1
43351 cat conftest.err >&5
43352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43353 (exit $ac_status); } &&
43354 { ac_try='test -z "$ac_cxx_werror_flag"
43355 || test ! -s conftest.err'
43356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43357 (eval $ac_try) 2>&5
43358 ac_status=$?
43359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43360 (exit $ac_status); }; } &&
43361 { ac_try='test -s conftest.$ac_objext'
43362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43363 (eval $ac_try) 2>&5
43364 ac_status=$?
43365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43366 (exit $ac_status); }; }; then
43367 wx_cv_func_strptime_decl=yes
43368 else
43369 echo "$as_me: failed program was:" >&5
43370 sed 's/^/| /' conftest.$ac_ext >&5
43371
43372 wx_cv_func_strptime_decl=no
43373
43374 fi
43375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43376
43377
43378 fi
43379 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43380 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43381 fi
43382 if test "$wx_cv_func_strptime_decl" = "yes"; then
43383 cat >>confdefs.h <<\_ACEOF
43384 #define HAVE_STRPTIME_DECL 1
43385 _ACEOF
43386
43387 fi
43388
43389 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43390 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43391 if test "${wx_cv_var_timezone+set}" = set; then
43392 echo $ECHO_N "(cached) $ECHO_C" >&6
43393 else
43394
43395 cat >conftest.$ac_ext <<_ACEOF
43396 /* confdefs.h. */
43397 _ACEOF
43398 cat confdefs.h >>conftest.$ac_ext
43399 cat >>conftest.$ac_ext <<_ACEOF
43400 /* end confdefs.h. */
43401
43402 #include <time.h>
43403
43404 int
43405 main ()
43406 {
43407
43408 int tz;
43409 tz = timezone;
43410
43411 ;
43412 return 0;
43413 }
43414 _ACEOF
43415 rm -f conftest.$ac_objext
43416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43417 (eval $ac_compile) 2>conftest.er1
43418 ac_status=$?
43419 grep -v '^ *+' conftest.er1 >conftest.err
43420 rm -f conftest.er1
43421 cat conftest.err >&5
43422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43423 (exit $ac_status); } &&
43424 { ac_try='test -z "$ac_cxx_werror_flag"
43425 || test ! -s conftest.err'
43426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43427 (eval $ac_try) 2>&5
43428 ac_status=$?
43429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43430 (exit $ac_status); }; } &&
43431 { ac_try='test -s conftest.$ac_objext'
43432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43433 (eval $ac_try) 2>&5
43434 ac_status=$?
43435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43436 (exit $ac_status); }; }; then
43437
43438 wx_cv_var_timezone=timezone
43439
43440 else
43441 echo "$as_me: failed program was:" >&5
43442 sed 's/^/| /' conftest.$ac_ext >&5
43443
43444
43445 cat >conftest.$ac_ext <<_ACEOF
43446 /* confdefs.h. */
43447 _ACEOF
43448 cat confdefs.h >>conftest.$ac_ext
43449 cat >>conftest.$ac_ext <<_ACEOF
43450 /* end confdefs.h. */
43451
43452 #include <time.h>
43453
43454 int
43455 main ()
43456 {
43457
43458 int tz;
43459 tz = _timezone;
43460
43461 ;
43462 return 0;
43463 }
43464 _ACEOF
43465 rm -f conftest.$ac_objext
43466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43467 (eval $ac_compile) 2>conftest.er1
43468 ac_status=$?
43469 grep -v '^ *+' conftest.er1 >conftest.err
43470 rm -f conftest.er1
43471 cat conftest.err >&5
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); } &&
43474 { ac_try='test -z "$ac_cxx_werror_flag"
43475 || test ! -s conftest.err'
43476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43477 (eval $ac_try) 2>&5
43478 ac_status=$?
43479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43480 (exit $ac_status); }; } &&
43481 { ac_try='test -s conftest.$ac_objext'
43482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43483 (eval $ac_try) 2>&5
43484 ac_status=$?
43485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43486 (exit $ac_status); }; }; then
43487
43488 wx_cv_var_timezone=_timezone
43489
43490 else
43491 echo "$as_me: failed program was:" >&5
43492 sed 's/^/| /' conftest.$ac_ext >&5
43493
43494
43495 cat >conftest.$ac_ext <<_ACEOF
43496 /* confdefs.h. */
43497 _ACEOF
43498 cat confdefs.h >>conftest.$ac_ext
43499 cat >>conftest.$ac_ext <<_ACEOF
43500 /* end confdefs.h. */
43501
43502 #include <time.h>
43503
43504 int
43505 main ()
43506 {
43507
43508 int tz;
43509 tz = __timezone;
43510
43511 ;
43512 return 0;
43513 }
43514 _ACEOF
43515 rm -f conftest.$ac_objext
43516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43517 (eval $ac_compile) 2>conftest.er1
43518 ac_status=$?
43519 grep -v '^ *+' conftest.er1 >conftest.err
43520 rm -f conftest.er1
43521 cat conftest.err >&5
43522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43523 (exit $ac_status); } &&
43524 { ac_try='test -z "$ac_cxx_werror_flag"
43525 || test ! -s conftest.err'
43526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43527 (eval $ac_try) 2>&5
43528 ac_status=$?
43529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43530 (exit $ac_status); }; } &&
43531 { ac_try='test -s conftest.$ac_objext'
43532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43533 (eval $ac_try) 2>&5
43534 ac_status=$?
43535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43536 (exit $ac_status); }; }; then
43537
43538 wx_cv_var_timezone=__timezone
43539
43540 else
43541 echo "$as_me: failed program was:" >&5
43542 sed 's/^/| /' conftest.$ac_ext >&5
43543
43544
43545 if test "$USE_DOS" = 0 ; then
43546 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43547 echo "$as_me: WARNING: no timezone variable" >&2;}
43548 fi
43549
43550
43551 fi
43552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43553
43554
43555 fi
43556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43557
43558
43559 fi
43560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43561
43562
43563 fi
43564 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43565 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43566
43567 if test "x$wx_cv_var_timezone" != x ; then
43568 cat >>confdefs.h <<_ACEOF
43569 #define WX_TIMEZONE $wx_cv_var_timezone
43570 _ACEOF
43571
43572 fi
43573
43574
43575 for ac_func in localtime
43576 do
43577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43578 echo "$as_me:$LINENO: checking for $ac_func" >&5
43579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43580 if eval "test \"\${$as_ac_var+set}\" = set"; then
43581 echo $ECHO_N "(cached) $ECHO_C" >&6
43582 else
43583 cat >conftest.$ac_ext <<_ACEOF
43584 /* confdefs.h. */
43585 _ACEOF
43586 cat confdefs.h >>conftest.$ac_ext
43587 cat >>conftest.$ac_ext <<_ACEOF
43588 /* end confdefs.h. */
43589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43591 #define $ac_func innocuous_$ac_func
43592
43593 /* System header to define __stub macros and hopefully few prototypes,
43594 which can conflict with char $ac_func (); below.
43595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43596 <limits.h> exists even on freestanding compilers. */
43597
43598 #ifdef __STDC__
43599 # include <limits.h>
43600 #else
43601 # include <assert.h>
43602 #endif
43603
43604 #undef $ac_func
43605
43606 /* Override any gcc2 internal prototype to avoid an error. */
43607 #ifdef __cplusplus
43608 extern "C"
43609 {
43610 #endif
43611 /* We use char because int might match the return type of a gcc2
43612 builtin and then its argument prototype would still apply. */
43613 char $ac_func ();
43614 /* The GNU C library defines this for functions which it implements
43615 to always fail with ENOSYS. Some functions are actually named
43616 something starting with __ and the normal name is an alias. */
43617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43618 choke me
43619 #else
43620 char (*f) () = $ac_func;
43621 #endif
43622 #ifdef __cplusplus
43623 }
43624 #endif
43625
43626 int
43627 main ()
43628 {
43629 return f != $ac_func;
43630 ;
43631 return 0;
43632 }
43633 _ACEOF
43634 rm -f conftest.$ac_objext conftest$ac_exeext
43635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43636 (eval $ac_link) 2>conftest.er1
43637 ac_status=$?
43638 grep -v '^ *+' conftest.er1 >conftest.err
43639 rm -f conftest.er1
43640 cat conftest.err >&5
43641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43642 (exit $ac_status); } &&
43643 { ac_try='test -z "$ac_cxx_werror_flag"
43644 || test ! -s conftest.err'
43645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43646 (eval $ac_try) 2>&5
43647 ac_status=$?
43648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43649 (exit $ac_status); }; } &&
43650 { ac_try='test -s conftest$ac_exeext'
43651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43652 (eval $ac_try) 2>&5
43653 ac_status=$?
43654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43655 (exit $ac_status); }; }; then
43656 eval "$as_ac_var=yes"
43657 else
43658 echo "$as_me: failed program was:" >&5
43659 sed 's/^/| /' conftest.$ac_ext >&5
43660
43661 eval "$as_ac_var=no"
43662 fi
43663 rm -f conftest.err conftest.$ac_objext \
43664 conftest$ac_exeext conftest.$ac_ext
43665 fi
43666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43668 if test `eval echo '${'$as_ac_var'}'` = yes; then
43669 cat >>confdefs.h <<_ACEOF
43670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43671 _ACEOF
43672
43673 fi
43674 done
43675
43676
43677 if test "$ac_cv_func_localtime" = "yes"; then
43678 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43679 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43680 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43681 echo $ECHO_N "(cached) $ECHO_C" >&6
43682 else
43683
43684 cat >conftest.$ac_ext <<_ACEOF
43685 /* confdefs.h. */
43686 _ACEOF
43687 cat confdefs.h >>conftest.$ac_ext
43688 cat >>conftest.$ac_ext <<_ACEOF
43689 /* end confdefs.h. */
43690
43691 #include <time.h>
43692
43693 int
43694 main ()
43695 {
43696
43697 struct tm tm;
43698 tm.tm_gmtoff++;
43699
43700 ;
43701 return 0;
43702 }
43703 _ACEOF
43704 rm -f conftest.$ac_objext
43705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43706 (eval $ac_compile) 2>conftest.er1
43707 ac_status=$?
43708 grep -v '^ *+' conftest.er1 >conftest.err
43709 rm -f conftest.er1
43710 cat conftest.err >&5
43711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43712 (exit $ac_status); } &&
43713 { ac_try='test -z "$ac_cxx_werror_flag"
43714 || test ! -s conftest.err'
43715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43716 (eval $ac_try) 2>&5
43717 ac_status=$?
43718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43719 (exit $ac_status); }; } &&
43720 { ac_try='test -s conftest.$ac_objext'
43721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43722 (eval $ac_try) 2>&5
43723 ac_status=$?
43724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43725 (exit $ac_status); }; }; then
43726
43727 wx_cv_struct_tm_has_gmtoff=yes
43728
43729 else
43730 echo "$as_me: failed program was:" >&5
43731 sed 's/^/| /' conftest.$ac_ext >&5
43732
43733 wx_cv_struct_tm_has_gmtoff=no
43734
43735 fi
43736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43737
43738 fi
43739 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43740 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43741 fi
43742
43743 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43744 cat >>confdefs.h <<\_ACEOF
43745 #define WX_GMTOFF_IN_TM 1
43746 _ACEOF
43747
43748 fi
43749
43750
43751
43752 for ac_func in gettimeofday ftime
43753 do
43754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43755 echo "$as_me:$LINENO: checking for $ac_func" >&5
43756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43757 if eval "test \"\${$as_ac_var+set}\" = set"; then
43758 echo $ECHO_N "(cached) $ECHO_C" >&6
43759 else
43760 cat >conftest.$ac_ext <<_ACEOF
43761 /* confdefs.h. */
43762 _ACEOF
43763 cat confdefs.h >>conftest.$ac_ext
43764 cat >>conftest.$ac_ext <<_ACEOF
43765 /* end confdefs.h. */
43766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43768 #define $ac_func innocuous_$ac_func
43769
43770 /* System header to define __stub macros and hopefully few prototypes,
43771 which can conflict with char $ac_func (); below.
43772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43773 <limits.h> exists even on freestanding compilers. */
43774
43775 #ifdef __STDC__
43776 # include <limits.h>
43777 #else
43778 # include <assert.h>
43779 #endif
43780
43781 #undef $ac_func
43782
43783 /* Override any gcc2 internal prototype to avoid an error. */
43784 #ifdef __cplusplus
43785 extern "C"
43786 {
43787 #endif
43788 /* We use char because int might match the return type of a gcc2
43789 builtin and then its argument prototype would still apply. */
43790 char $ac_func ();
43791 /* The GNU C library defines this for functions which it implements
43792 to always fail with ENOSYS. Some functions are actually named
43793 something starting with __ and the normal name is an alias. */
43794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43795 choke me
43796 #else
43797 char (*f) () = $ac_func;
43798 #endif
43799 #ifdef __cplusplus
43800 }
43801 #endif
43802
43803 int
43804 main ()
43805 {
43806 return f != $ac_func;
43807 ;
43808 return 0;
43809 }
43810 _ACEOF
43811 rm -f conftest.$ac_objext conftest$ac_exeext
43812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43813 (eval $ac_link) 2>conftest.er1
43814 ac_status=$?
43815 grep -v '^ *+' conftest.er1 >conftest.err
43816 rm -f conftest.er1
43817 cat conftest.err >&5
43818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43819 (exit $ac_status); } &&
43820 { ac_try='test -z "$ac_cxx_werror_flag"
43821 || test ! -s conftest.err'
43822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43823 (eval $ac_try) 2>&5
43824 ac_status=$?
43825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43826 (exit $ac_status); }; } &&
43827 { ac_try='test -s conftest$ac_exeext'
43828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43829 (eval $ac_try) 2>&5
43830 ac_status=$?
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); }; }; then
43833 eval "$as_ac_var=yes"
43834 else
43835 echo "$as_me: failed program was:" >&5
43836 sed 's/^/| /' conftest.$ac_ext >&5
43837
43838 eval "$as_ac_var=no"
43839 fi
43840 rm -f conftest.err conftest.$ac_objext \
43841 conftest$ac_exeext conftest.$ac_ext
43842 fi
43843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43845 if test `eval echo '${'$as_ac_var'}'` = yes; then
43846 cat >>confdefs.h <<_ACEOF
43847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43848 _ACEOF
43849 break
43850 fi
43851 done
43852
43853
43854 if test "$ac_cv_func_gettimeofday" = "yes"; then
43855 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43856 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43857 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43858 echo $ECHO_N "(cached) $ECHO_C" >&6
43859 else
43860
43861 cat >conftest.$ac_ext <<_ACEOF
43862 /* confdefs.h. */
43863 _ACEOF
43864 cat confdefs.h >>conftest.$ac_ext
43865 cat >>conftest.$ac_ext <<_ACEOF
43866 /* end confdefs.h. */
43867
43868 #include <sys/time.h>
43869 #include <unistd.h>
43870
43871 int
43872 main ()
43873 {
43874
43875 struct timeval tv;
43876 gettimeofday(&tv, NULL);
43877
43878 ;
43879 return 0;
43880 }
43881 _ACEOF
43882 rm -f conftest.$ac_objext
43883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43884 (eval $ac_compile) 2>conftest.er1
43885 ac_status=$?
43886 grep -v '^ *+' conftest.er1 >conftest.err
43887 rm -f conftest.er1
43888 cat conftest.err >&5
43889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43890 (exit $ac_status); } &&
43891 { ac_try='test -z "$ac_cxx_werror_flag"
43892 || test ! -s conftest.err'
43893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43894 (eval $ac_try) 2>&5
43895 ac_status=$?
43896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43897 (exit $ac_status); }; } &&
43898 { ac_try='test -s conftest.$ac_objext'
43899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43900 (eval $ac_try) 2>&5
43901 ac_status=$?
43902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43903 (exit $ac_status); }; }; then
43904 wx_cv_func_gettimeofday_has_2_args=yes
43905 else
43906 echo "$as_me: failed program was:" >&5
43907 sed 's/^/| /' conftest.$ac_ext >&5
43908
43909 cat >conftest.$ac_ext <<_ACEOF
43910 /* confdefs.h. */
43911 _ACEOF
43912 cat confdefs.h >>conftest.$ac_ext
43913 cat >>conftest.$ac_ext <<_ACEOF
43914 /* end confdefs.h. */
43915
43916 #include <sys/time.h>
43917 #include <unistd.h>
43918
43919 int
43920 main ()
43921 {
43922
43923 struct timeval tv;
43924 gettimeofday(&tv);
43925
43926 ;
43927 return 0;
43928 }
43929 _ACEOF
43930 rm -f conftest.$ac_objext
43931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43932 (eval $ac_compile) 2>conftest.er1
43933 ac_status=$?
43934 grep -v '^ *+' conftest.er1 >conftest.err
43935 rm -f conftest.er1
43936 cat conftest.err >&5
43937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43938 (exit $ac_status); } &&
43939 { ac_try='test -z "$ac_cxx_werror_flag"
43940 || test ! -s conftest.err'
43941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43942 (eval $ac_try) 2>&5
43943 ac_status=$?
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); }; } &&
43946 { ac_try='test -s conftest.$ac_objext'
43947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43948 (eval $ac_try) 2>&5
43949 ac_status=$?
43950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43951 (exit $ac_status); }; }; then
43952 wx_cv_func_gettimeofday_has_2_args=no
43953 else
43954 echo "$as_me: failed program was:" >&5
43955 sed 's/^/| /' conftest.$ac_ext >&5
43956
43957
43958 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43959 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43960 wx_cv_func_gettimeofday_has_2_args=unknown
43961
43962
43963 fi
43964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43965
43966 fi
43967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43968
43969 fi
43970 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43971 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43972
43973 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43974 cat >>confdefs.h <<\_ACEOF
43975 #define WX_GETTIMEOFDAY_NO_TZ 1
43976 _ACEOF
43977
43978 fi
43979 fi
43980
43981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43982 fi
43983
43984
43985 if test "$wxUSE_SOCKETS" = "yes"; then
43986 if test "$wxUSE_MGL" = "1"; then
43987 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43988 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43989 wxUSE_SOCKETS="no"
43990 fi
43991 fi
43992
43993 if test "$wxUSE_SOCKETS" = "yes"; then
43994 if test "$TOOLKIT" != "MSW"; then
43995 echo "$as_me:$LINENO: checking for socket" >&5
43996 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43997 if test "${ac_cv_func_socket+set}" = set; then
43998 echo $ECHO_N "(cached) $ECHO_C" >&6
43999 else
44000 cat >conftest.$ac_ext <<_ACEOF
44001 /* confdefs.h. */
44002 _ACEOF
44003 cat confdefs.h >>conftest.$ac_ext
44004 cat >>conftest.$ac_ext <<_ACEOF
44005 /* end confdefs.h. */
44006 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44008 #define socket innocuous_socket
44009
44010 /* System header to define __stub macros and hopefully few prototypes,
44011 which can conflict with char socket (); below.
44012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44013 <limits.h> exists even on freestanding compilers. */
44014
44015 #ifdef __STDC__
44016 # include <limits.h>
44017 #else
44018 # include <assert.h>
44019 #endif
44020
44021 #undef socket
44022
44023 /* Override any gcc2 internal prototype to avoid an error. */
44024 #ifdef __cplusplus
44025 extern "C"
44026 {
44027 #endif
44028 /* We use char because int might match the return type of a gcc2
44029 builtin and then its argument prototype would still apply. */
44030 char socket ();
44031 /* The GNU C library defines this for functions which it implements
44032 to always fail with ENOSYS. Some functions are actually named
44033 something starting with __ and the normal name is an alias. */
44034 #if defined (__stub_socket) || defined (__stub___socket)
44035 choke me
44036 #else
44037 char (*f) () = socket;
44038 #endif
44039 #ifdef __cplusplus
44040 }
44041 #endif
44042
44043 int
44044 main ()
44045 {
44046 return f != socket;
44047 ;
44048 return 0;
44049 }
44050 _ACEOF
44051 rm -f conftest.$ac_objext conftest$ac_exeext
44052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44053 (eval $ac_link) 2>conftest.er1
44054 ac_status=$?
44055 grep -v '^ *+' conftest.er1 >conftest.err
44056 rm -f conftest.er1
44057 cat conftest.err >&5
44058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44059 (exit $ac_status); } &&
44060 { ac_try='test -z "$ac_cxx_werror_flag"
44061 || test ! -s conftest.err'
44062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44063 (eval $ac_try) 2>&5
44064 ac_status=$?
44065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44066 (exit $ac_status); }; } &&
44067 { ac_try='test -s conftest$ac_exeext'
44068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44069 (eval $ac_try) 2>&5
44070 ac_status=$?
44071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44072 (exit $ac_status); }; }; then
44073 ac_cv_func_socket=yes
44074 else
44075 echo "$as_me: failed program was:" >&5
44076 sed 's/^/| /' conftest.$ac_ext >&5
44077
44078 ac_cv_func_socket=no
44079 fi
44080 rm -f conftest.err conftest.$ac_objext \
44081 conftest$ac_exeext conftest.$ac_ext
44082 fi
44083 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44084 echo "${ECHO_T}$ac_cv_func_socket" >&6
44085 if test $ac_cv_func_socket = yes; then
44086 :
44087 else
44088
44089 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44090 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44091 if test "${ac_cv_lib_socket_socket+set}" = set; then
44092 echo $ECHO_N "(cached) $ECHO_C" >&6
44093 else
44094 ac_check_lib_save_LIBS=$LIBS
44095 LIBS="-lsocket $LIBS"
44096 cat >conftest.$ac_ext <<_ACEOF
44097 /* confdefs.h. */
44098 _ACEOF
44099 cat confdefs.h >>conftest.$ac_ext
44100 cat >>conftest.$ac_ext <<_ACEOF
44101 /* end confdefs.h. */
44102
44103 /* Override any gcc2 internal prototype to avoid an error. */
44104 #ifdef __cplusplus
44105 extern "C"
44106 #endif
44107 /* We use char because int might match the return type of a gcc2
44108 builtin and then its argument prototype would still apply. */
44109 char socket ();
44110 int
44111 main ()
44112 {
44113 socket ();
44114 ;
44115 return 0;
44116 }
44117 _ACEOF
44118 rm -f conftest.$ac_objext conftest$ac_exeext
44119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44120 (eval $ac_link) 2>conftest.er1
44121 ac_status=$?
44122 grep -v '^ *+' conftest.er1 >conftest.err
44123 rm -f conftest.er1
44124 cat conftest.err >&5
44125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44126 (exit $ac_status); } &&
44127 { ac_try='test -z "$ac_cxx_werror_flag"
44128 || test ! -s conftest.err'
44129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44130 (eval $ac_try) 2>&5
44131 ac_status=$?
44132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44133 (exit $ac_status); }; } &&
44134 { ac_try='test -s conftest$ac_exeext'
44135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44136 (eval $ac_try) 2>&5
44137 ac_status=$?
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); }; }; then
44140 ac_cv_lib_socket_socket=yes
44141 else
44142 echo "$as_me: failed program was:" >&5
44143 sed 's/^/| /' conftest.$ac_ext >&5
44144
44145 ac_cv_lib_socket_socket=no
44146 fi
44147 rm -f conftest.err conftest.$ac_objext \
44148 conftest$ac_exeext conftest.$ac_ext
44149 LIBS=$ac_check_lib_save_LIBS
44150 fi
44151 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44152 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44153 if test $ac_cv_lib_socket_socket = yes; then
44154 if test "$INET_LINK" != " -lsocket"; then
44155 INET_LINK="$INET_LINK -lsocket"
44156 fi
44157 else
44158
44159 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44160 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44161 wxUSE_SOCKETS=no
44162
44163
44164 fi
44165
44166
44167
44168 fi
44169
44170 fi
44171 fi
44172
44173 if test "$wxUSE_SOCKETS" = "yes" ; then
44174 if test "$TOOLKIT" != "MSW"; then
44175 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44176 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44177 if test "${wx_cv_type_getsockname3+set}" = set; then
44178 echo $ECHO_N "(cached) $ECHO_C" >&6
44179 else
44180
44181 cat >conftest.$ac_ext <<_ACEOF
44182 /* confdefs.h. */
44183 _ACEOF
44184 cat confdefs.h >>conftest.$ac_ext
44185 cat >>conftest.$ac_ext <<_ACEOF
44186 /* end confdefs.h. */
44187
44188 #include <sys/types.h>
44189 #include <sys/socket.h>
44190
44191 int
44192 main ()
44193 {
44194
44195 socklen_t len;
44196 getsockname(0, 0, &len);
44197
44198 ;
44199 return 0;
44200 }
44201 _ACEOF
44202 rm -f conftest.$ac_objext
44203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44204 (eval $ac_compile) 2>conftest.er1
44205 ac_status=$?
44206 grep -v '^ *+' conftest.er1 >conftest.err
44207 rm -f conftest.er1
44208 cat conftest.err >&5
44209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44210 (exit $ac_status); } &&
44211 { ac_try='test -z "$ac_cxx_werror_flag"
44212 || test ! -s conftest.err'
44213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44214 (eval $ac_try) 2>&5
44215 ac_status=$?
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); }; } &&
44218 { ac_try='test -s conftest.$ac_objext'
44219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44220 (eval $ac_try) 2>&5
44221 ac_status=$?
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); }; }; then
44224 wx_cv_type_getsockname3=socklen_t
44225 else
44226 echo "$as_me: failed program was:" >&5
44227 sed 's/^/| /' conftest.$ac_ext >&5
44228
44229
44230 CXXFLAGS_OLD="$CXXFLAGS"
44231 if test "$GCC" = yes ; then
44232 CXXFLAGS="-Werror $CXXFLAGS"
44233 fi
44234
44235 cat >conftest.$ac_ext <<_ACEOF
44236 /* confdefs.h. */
44237 _ACEOF
44238 cat confdefs.h >>conftest.$ac_ext
44239 cat >>conftest.$ac_ext <<_ACEOF
44240 /* end confdefs.h. */
44241
44242 #include <sys/types.h>
44243 #include <sys/socket.h>
44244
44245 int
44246 main ()
44247 {
44248
44249 size_t len;
44250 getsockname(0, 0, &len);
44251
44252 ;
44253 return 0;
44254 }
44255 _ACEOF
44256 rm -f conftest.$ac_objext
44257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44258 (eval $ac_compile) 2>conftest.er1
44259 ac_status=$?
44260 grep -v '^ *+' conftest.er1 >conftest.err
44261 rm -f conftest.er1
44262 cat conftest.err >&5
44263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44264 (exit $ac_status); } &&
44265 { ac_try='test -z "$ac_cxx_werror_flag"
44266 || test ! -s conftest.err'
44267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44268 (eval $ac_try) 2>&5
44269 ac_status=$?
44270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44271 (exit $ac_status); }; } &&
44272 { ac_try='test -s conftest.$ac_objext'
44273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44274 (eval $ac_try) 2>&5
44275 ac_status=$?
44276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44277 (exit $ac_status); }; }; then
44278 wx_cv_type_getsockname3=size_t
44279 else
44280 echo "$as_me: failed program was:" >&5
44281 sed 's/^/| /' conftest.$ac_ext >&5
44282
44283 cat >conftest.$ac_ext <<_ACEOF
44284 /* confdefs.h. */
44285 _ACEOF
44286 cat confdefs.h >>conftest.$ac_ext
44287 cat >>conftest.$ac_ext <<_ACEOF
44288 /* end confdefs.h. */
44289
44290 #include <sys/types.h>
44291 #include <sys/socket.h>
44292
44293 int
44294 main ()
44295 {
44296
44297 int len;
44298 getsockname(0, 0, &len);
44299
44300 ;
44301 return 0;
44302 }
44303 _ACEOF
44304 rm -f conftest.$ac_objext
44305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44306 (eval $ac_compile) 2>conftest.er1
44307 ac_status=$?
44308 grep -v '^ *+' conftest.er1 >conftest.err
44309 rm -f conftest.er1
44310 cat conftest.err >&5
44311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44312 (exit $ac_status); } &&
44313 { ac_try='test -z "$ac_cxx_werror_flag"
44314 || test ! -s conftest.err'
44315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44316 (eval $ac_try) 2>&5
44317 ac_status=$?
44318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44319 (exit $ac_status); }; } &&
44320 { ac_try='test -s conftest.$ac_objext'
44321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44322 (eval $ac_try) 2>&5
44323 ac_status=$?
44324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44325 (exit $ac_status); }; }; then
44326 wx_cv_type_getsockname3=int
44327 else
44328 echo "$as_me: failed program was:" >&5
44329 sed 's/^/| /' conftest.$ac_ext >&5
44330
44331 wx_cv_type_getsockname3=unknown
44332
44333 fi
44334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44335
44336 fi
44337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44338
44339 CXXFLAGS="$CXXFLAGS_OLD"
44340
44341
44342 fi
44343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44344
44345 fi
44346 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44347 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44348
44349 if test "$wx_cv_type_getsockname3" = "unknown"; then
44350 wxUSE_SOCKETS=no
44351 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44352 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44353 else
44354 cat >>confdefs.h <<_ACEOF
44355 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44356 _ACEOF
44357
44358 fi
44359 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44360 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44361 if test "${wx_cv_type_getsockopt5+set}" = set; then
44362 echo $ECHO_N "(cached) $ECHO_C" >&6
44363 else
44364
44365 cat >conftest.$ac_ext <<_ACEOF
44366 /* confdefs.h. */
44367 _ACEOF
44368 cat confdefs.h >>conftest.$ac_ext
44369 cat >>conftest.$ac_ext <<_ACEOF
44370 /* end confdefs.h. */
44371
44372 #include <sys/types.h>
44373 #include <sys/socket.h>
44374
44375 int
44376 main ()
44377 {
44378
44379 socklen_t len;
44380 getsockopt(0, 0, 0, 0, &len);
44381
44382 ;
44383 return 0;
44384 }
44385 _ACEOF
44386 rm -f conftest.$ac_objext
44387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44388 (eval $ac_compile) 2>conftest.er1
44389 ac_status=$?
44390 grep -v '^ *+' conftest.er1 >conftest.err
44391 rm -f conftest.er1
44392 cat conftest.err >&5
44393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44394 (exit $ac_status); } &&
44395 { ac_try='test -z "$ac_cxx_werror_flag"
44396 || test ! -s conftest.err'
44397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44398 (eval $ac_try) 2>&5
44399 ac_status=$?
44400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44401 (exit $ac_status); }; } &&
44402 { ac_try='test -s conftest.$ac_objext'
44403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44404 (eval $ac_try) 2>&5
44405 ac_status=$?
44406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44407 (exit $ac_status); }; }; then
44408 wx_cv_type_getsockopt5=socklen_t
44409 else
44410 echo "$as_me: failed program was:" >&5
44411 sed 's/^/| /' conftest.$ac_ext >&5
44412
44413
44414 CXXFLAGS_OLD="$CXXFLAGS"
44415 if test "$GCC" = yes ; then
44416 CXXFLAGS="-Werror $CXXFLAGS"
44417 fi
44418
44419 cat >conftest.$ac_ext <<_ACEOF
44420 /* confdefs.h. */
44421 _ACEOF
44422 cat confdefs.h >>conftest.$ac_ext
44423 cat >>conftest.$ac_ext <<_ACEOF
44424 /* end confdefs.h. */
44425
44426 #include <sys/types.h>
44427 #include <sys/socket.h>
44428
44429 int
44430 main ()
44431 {
44432
44433 size_t len;
44434 getsockopt(0, 0, 0, 0, &len);
44435
44436 ;
44437 return 0;
44438 }
44439 _ACEOF
44440 rm -f conftest.$ac_objext
44441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44442 (eval $ac_compile) 2>conftest.er1
44443 ac_status=$?
44444 grep -v '^ *+' conftest.er1 >conftest.err
44445 rm -f conftest.er1
44446 cat conftest.err >&5
44447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44448 (exit $ac_status); } &&
44449 { ac_try='test -z "$ac_cxx_werror_flag"
44450 || test ! -s conftest.err'
44451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44452 (eval $ac_try) 2>&5
44453 ac_status=$?
44454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44455 (exit $ac_status); }; } &&
44456 { ac_try='test -s conftest.$ac_objext'
44457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44458 (eval $ac_try) 2>&5
44459 ac_status=$?
44460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44461 (exit $ac_status); }; }; then
44462 wx_cv_type_getsockopt5=size_t
44463 else
44464 echo "$as_me: failed program was:" >&5
44465 sed 's/^/| /' conftest.$ac_ext >&5
44466
44467 cat >conftest.$ac_ext <<_ACEOF
44468 /* confdefs.h. */
44469 _ACEOF
44470 cat confdefs.h >>conftest.$ac_ext
44471 cat >>conftest.$ac_ext <<_ACEOF
44472 /* end confdefs.h. */
44473
44474 #include <sys/types.h>
44475 #include <sys/socket.h>
44476
44477 int
44478 main ()
44479 {
44480
44481 int len;
44482 getsockopt(0, 0, 0, 0, &len);
44483
44484 ;
44485 return 0;
44486 }
44487 _ACEOF
44488 rm -f conftest.$ac_objext
44489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44490 (eval $ac_compile) 2>conftest.er1
44491 ac_status=$?
44492 grep -v '^ *+' conftest.er1 >conftest.err
44493 rm -f conftest.er1
44494 cat conftest.err >&5
44495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44496 (exit $ac_status); } &&
44497 { ac_try='test -z "$ac_cxx_werror_flag"
44498 || test ! -s conftest.err'
44499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44500 (eval $ac_try) 2>&5
44501 ac_status=$?
44502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44503 (exit $ac_status); }; } &&
44504 { ac_try='test -s conftest.$ac_objext'
44505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44506 (eval $ac_try) 2>&5
44507 ac_status=$?
44508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44509 (exit $ac_status); }; }; then
44510 wx_cv_type_getsockopt5=int
44511 else
44512 echo "$as_me: failed program was:" >&5
44513 sed 's/^/| /' conftest.$ac_ext >&5
44514
44515 wx_cv_type_getsockopt5=unknown
44516
44517 fi
44518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44519
44520 fi
44521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44522
44523 CXXFLAGS="$CXXFLAGS_OLD"
44524
44525
44526 fi
44527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44528
44529 fi
44530 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44531 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44532
44533 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44534 wxUSE_SOCKETS=no
44535 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44536 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44537 else
44538 cat >>confdefs.h <<_ACEOF
44539 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44540 _ACEOF
44541
44542 fi
44543 fi
44544 fi
44545
44546 if test "$wxUSE_SOCKETS" = "yes" ; then
44547 cat >>confdefs.h <<\_ACEOF
44548 #define wxUSE_SOCKETS 1
44549 _ACEOF
44550
44551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44552 fi
44553
44554 if test "$wxUSE_PROTOCOL" = "yes"; then
44555 if test "$wxUSE_SOCKETS" != "yes"; then
44556 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44557 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44558 wxUSE_PROTOCOL=no
44559 fi
44560 fi
44561
44562 if test "$wxUSE_PROTOCOL" = "yes"; then
44563 cat >>confdefs.h <<\_ACEOF
44564 #define wxUSE_PROTOCOL 1
44565 _ACEOF
44566
44567
44568 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44569 cat >>confdefs.h <<\_ACEOF
44570 #define wxUSE_PROTOCOL_HTTP 1
44571 _ACEOF
44572
44573 fi
44574 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44575 cat >>confdefs.h <<\_ACEOF
44576 #define wxUSE_PROTOCOL_FTP 1
44577 _ACEOF
44578
44579 fi
44580 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44581 cat >>confdefs.h <<\_ACEOF
44582 #define wxUSE_PROTOCOL_FILE 1
44583 _ACEOF
44584
44585 fi
44586 else
44587 if test "$wxUSE_FS_INET" = "yes"; then
44588 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44589 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44590 wxUSE_FS_INET="no"
44591 fi
44592 fi
44593
44594 if test "$wxUSE_URL" = "yes"; then
44595 if test "$wxUSE_PROTOCOL" != "yes"; then
44596 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44597 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44598 wxUSE_URL=no
44599 fi
44600 if test "$wxUSE_URL" = "yes"; then
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_URL 1
44603 _ACEOF
44604
44605 fi
44606 fi
44607
44608 if test "$wxUSE_FS_INET" = "yes"; then
44609 cat >>confdefs.h <<\_ACEOF
44610 #define wxUSE_FS_INET 1
44611 _ACEOF
44612
44613 fi
44614
44615
44616 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44617 wxUSE_JOYSTICK=no
44618
44619 if test "$TOOLKIT" = "MSW"; then
44620 wxUSE_JOYSTICK=yes
44621
44622 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44623 if test "$USE_DARWIN" = 1; then
44624 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44625 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44626 cat >conftest.$ac_ext <<_ACEOF
44627 /* confdefs.h. */
44628 _ACEOF
44629 cat confdefs.h >>conftest.$ac_ext
44630 cat >>conftest.$ac_ext <<_ACEOF
44631 /* end confdefs.h. */
44632 #include <IOKit/hid/IOHIDLib.h>
44633 int
44634 main ()
44635 {
44636 IOHIDQueueInterface *qi = NULL;
44637 IOHIDCallbackFunction cb = NULL;
44638 qi->setEventCallout(NULL, cb, NULL, NULL);
44639 ;
44640 return 0;
44641 }
44642 _ACEOF
44643 rm -f conftest.$ac_objext
44644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44645 (eval $ac_compile) 2>conftest.er1
44646 ac_status=$?
44647 grep -v '^ *+' conftest.er1 >conftest.err
44648 rm -f conftest.er1
44649 cat conftest.err >&5
44650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44651 (exit $ac_status); } &&
44652 { ac_try='test -z "$ac_cxx_werror_flag"
44653 || test ! -s conftest.err'
44654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44655 (eval $ac_try) 2>&5
44656 ac_status=$?
44657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44658 (exit $ac_status); }; } &&
44659 { ac_try='test -s conftest.$ac_objext'
44660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44661 (eval $ac_try) 2>&5
44662 ac_status=$?
44663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44664 (exit $ac_status); }; }; then
44665 wxUSE_JOYSTICK=yes
44666
44667 else
44668 echo "$as_me: failed program was:" >&5
44669 sed 's/^/| /' conftest.$ac_ext >&5
44670
44671 fi
44672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44673 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44674 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44675 fi
44676
44677 else
44678
44679 for ac_header in linux/joystick.h
44680 do
44681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44683 echo "$as_me:$LINENO: checking for $ac_header" >&5
44684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44686 echo $ECHO_N "(cached) $ECHO_C" >&6
44687 fi
44688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44690 else
44691 # Is the header compilable?
44692 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44694 cat >conftest.$ac_ext <<_ACEOF
44695 /* confdefs.h. */
44696 _ACEOF
44697 cat confdefs.h >>conftest.$ac_ext
44698 cat >>conftest.$ac_ext <<_ACEOF
44699 /* end confdefs.h. */
44700 $ac_includes_default
44701 #include <$ac_header>
44702 _ACEOF
44703 rm -f conftest.$ac_objext
44704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44705 (eval $ac_compile) 2>conftest.er1
44706 ac_status=$?
44707 grep -v '^ *+' conftest.er1 >conftest.err
44708 rm -f conftest.er1
44709 cat conftest.err >&5
44710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44711 (exit $ac_status); } &&
44712 { ac_try='test -z "$ac_cxx_werror_flag"
44713 || test ! -s conftest.err'
44714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44715 (eval $ac_try) 2>&5
44716 ac_status=$?
44717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44718 (exit $ac_status); }; } &&
44719 { ac_try='test -s conftest.$ac_objext'
44720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44721 (eval $ac_try) 2>&5
44722 ac_status=$?
44723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44724 (exit $ac_status); }; }; then
44725 ac_header_compiler=yes
44726 else
44727 echo "$as_me: failed program was:" >&5
44728 sed 's/^/| /' conftest.$ac_ext >&5
44729
44730 ac_header_compiler=no
44731 fi
44732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44733 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44734 echo "${ECHO_T}$ac_header_compiler" >&6
44735
44736 # Is the header present?
44737 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44738 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44739 cat >conftest.$ac_ext <<_ACEOF
44740 /* confdefs.h. */
44741 _ACEOF
44742 cat confdefs.h >>conftest.$ac_ext
44743 cat >>conftest.$ac_ext <<_ACEOF
44744 /* end confdefs.h. */
44745 #include <$ac_header>
44746 _ACEOF
44747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44748 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44749 ac_status=$?
44750 grep -v '^ *+' conftest.er1 >conftest.err
44751 rm -f conftest.er1
44752 cat conftest.err >&5
44753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44754 (exit $ac_status); } >/dev/null; then
44755 if test -s conftest.err; then
44756 ac_cpp_err=$ac_cxx_preproc_warn_flag
44757 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44758 else
44759 ac_cpp_err=
44760 fi
44761 else
44762 ac_cpp_err=yes
44763 fi
44764 if test -z "$ac_cpp_err"; then
44765 ac_header_preproc=yes
44766 else
44767 echo "$as_me: failed program was:" >&5
44768 sed 's/^/| /' conftest.$ac_ext >&5
44769
44770 ac_header_preproc=no
44771 fi
44772 rm -f conftest.err conftest.$ac_ext
44773 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44774 echo "${ECHO_T}$ac_header_preproc" >&6
44775
44776 # So? What about this header?
44777 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44778 yes:no: )
44779 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44780 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44782 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44783 ac_header_preproc=yes
44784 ;;
44785 no:yes:* )
44786 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44787 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44788 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44789 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44790 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44791 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44792 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44793 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44795 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44796 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44797 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44798 (
44799 cat <<\_ASBOX
44800 ## ----------------------------------------- ##
44801 ## Report this to wx-dev@lists.wxwidgets.org ##
44802 ## ----------------------------------------- ##
44803 _ASBOX
44804 ) |
44805 sed "s/^/$as_me: WARNING: /" >&2
44806 ;;
44807 esac
44808 echo "$as_me:$LINENO: checking for $ac_header" >&5
44809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44811 echo $ECHO_N "(cached) $ECHO_C" >&6
44812 else
44813 eval "$as_ac_Header=\$ac_header_preproc"
44814 fi
44815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44817
44818 fi
44819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44820 cat >>confdefs.h <<_ACEOF
44821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44822 _ACEOF
44823 wxUSE_JOYSTICK=yes
44824 fi
44825
44826 done
44827
44828 fi
44829
44830 if test "$wxUSE_JOYSTICK" = "yes"; then
44831 cat >>confdefs.h <<\_ACEOF
44832 #define wxUSE_JOYSTICK 1
44833 _ACEOF
44834
44835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44836 else
44837 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44838 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44839 fi
44840 fi
44841
44842
44843
44844 if test "$wxUSE_FONTMAP" = "yes" ; then
44845 cat >>confdefs.h <<\_ACEOF
44846 #define wxUSE_FONTMAP 1
44847 _ACEOF
44848
44849 fi
44850
44851 if test "$wxUSE_UNICODE" = "yes" ; then
44852 cat >>confdefs.h <<\_ACEOF
44853 #define wxUSE_UNICODE 1
44854 _ACEOF
44855
44856
44857 if test "$USE_WIN32" != 1; then
44858 wxUSE_UNICODE_MSLU=no
44859 fi
44860
44861 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44862 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44863 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44864 if test "${ac_cv_lib_unicows_main+set}" = set; then
44865 echo $ECHO_N "(cached) $ECHO_C" >&6
44866 else
44867 ac_check_lib_save_LIBS=$LIBS
44868 LIBS="-lunicows $LIBS"
44869 cat >conftest.$ac_ext <<_ACEOF
44870 /* confdefs.h. */
44871 _ACEOF
44872 cat confdefs.h >>conftest.$ac_ext
44873 cat >>conftest.$ac_ext <<_ACEOF
44874 /* end confdefs.h. */
44875
44876
44877 int
44878 main ()
44879 {
44880 main ();
44881 ;
44882 return 0;
44883 }
44884 _ACEOF
44885 rm -f conftest.$ac_objext conftest$ac_exeext
44886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44887 (eval $ac_link) 2>conftest.er1
44888 ac_status=$?
44889 grep -v '^ *+' conftest.er1 >conftest.err
44890 rm -f conftest.er1
44891 cat conftest.err >&5
44892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893 (exit $ac_status); } &&
44894 { ac_try='test -z "$ac_cxx_werror_flag"
44895 || test ! -s conftest.err'
44896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44897 (eval $ac_try) 2>&5
44898 ac_status=$?
44899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44900 (exit $ac_status); }; } &&
44901 { ac_try='test -s conftest$ac_exeext'
44902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44903 (eval $ac_try) 2>&5
44904 ac_status=$?
44905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44906 (exit $ac_status); }; }; then
44907 ac_cv_lib_unicows_main=yes
44908 else
44909 echo "$as_me: failed program was:" >&5
44910 sed 's/^/| /' conftest.$ac_ext >&5
44911
44912 ac_cv_lib_unicows_main=no
44913 fi
44914 rm -f conftest.err conftest.$ac_objext \
44915 conftest$ac_exeext conftest.$ac_ext
44916 LIBS=$ac_check_lib_save_LIBS
44917 fi
44918 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44919 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44920 if test $ac_cv_lib_unicows_main = yes; then
44921
44922 cat >>confdefs.h <<\_ACEOF
44923 #define wxUSE_UNICODE_MSLU 1
44924 _ACEOF
44925
44926
44927 else
44928
44929 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44930 Applications will only run on Windows NT/2000/XP!" >&5
44931 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44932 Applications will only run on Windows NT/2000/XP!" >&2;}
44933 wxUSE_UNICODE_MSLU=no
44934
44935 fi
44936
44937 fi
44938 fi
44939
44940 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44941 cat >>confdefs.h <<\_ACEOF
44942 #define wxUSE_EXPERIMENTAL_PRINTF 1
44943 _ACEOF
44944
44945 fi
44946
44947
44948 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44949 cat >>confdefs.h <<\_ACEOF
44950 #define wxUSE_POSTSCRIPT 1
44951 _ACEOF
44952
44953 fi
44954
44955 cat >>confdefs.h <<\_ACEOF
44956 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44957 _ACEOF
44958
44959
44960 cat >>confdefs.h <<\_ACEOF
44961 #define wxUSE_NORMALIZED_PS_FONTS 1
44962 _ACEOF
44963
44964
44965
44966 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44967 cat >>confdefs.h <<\_ACEOF
44968 #define wxUSE_CONSTRAINTS 1
44969 _ACEOF
44970
44971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44972 fi
44973
44974 if test "$wxUSE_MDI" = "yes"; then
44975 cat >>confdefs.h <<\_ACEOF
44976 #define wxUSE_MDI 1
44977 _ACEOF
44978
44979
44980 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44981 cat >>confdefs.h <<\_ACEOF
44982 #define wxUSE_MDI_ARCHITECTURE 1
44983 _ACEOF
44984
44985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44986 fi
44987 fi
44988
44989 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44990 cat >>confdefs.h <<\_ACEOF
44991 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44992 _ACEOF
44993
44994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44995 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44997 fi
44998 fi
44999
45000 if test "$wxUSE_HELP" = "yes"; then
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_HELP 1
45003 _ACEOF
45004
45005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45006
45007 if test "$wxUSE_MSW" = 1; then
45008 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_MS_HTML_HELP 1
45011 _ACEOF
45012
45013 fi
45014 fi
45015
45016 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45017 if test "$wxUSE_HTML" = "yes"; then
45018 cat >>confdefs.h <<\_ACEOF
45019 #define wxUSE_WXHTML_HELP 1
45020 _ACEOF
45021
45022 else
45023 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45024 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45025 wxUSE_WXHTML_HELP=no
45026 fi
45027 fi
45028 fi
45029
45030 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45031 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45032 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45033 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45034 else
45035 cat >>confdefs.h <<\_ACEOF
45036 #define wxUSE_PRINTING_ARCHITECTURE 1
45037 _ACEOF
45038
45039 fi
45040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45041 fi
45042
45043 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45044 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45045 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45046 { (exit 1); exit 1; }; }
45047 fi
45048
45049
45050 if test "$wxUSE_METAFILE" = "yes"; then
45051 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45052 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45053 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45054 wxUSE_METAFILE=no
45055 fi
45056 fi
45057
45058
45059 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45060 -o "$wxUSE_CLIPBOARD" = "yes" \
45061 -o "$wxUSE_OLE" = "yes" \
45062 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45063
45064 for ac_header in ole2.h
45065 do
45066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45068 echo "$as_me:$LINENO: checking for $ac_header" >&5
45069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45071 echo $ECHO_N "(cached) $ECHO_C" >&6
45072 fi
45073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45075 else
45076 # Is the header compilable?
45077 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45078 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45079 cat >conftest.$ac_ext <<_ACEOF
45080 /* confdefs.h. */
45081 _ACEOF
45082 cat confdefs.h >>conftest.$ac_ext
45083 cat >>conftest.$ac_ext <<_ACEOF
45084 /* end confdefs.h. */
45085 $ac_includes_default
45086 #include <$ac_header>
45087 _ACEOF
45088 rm -f conftest.$ac_objext
45089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45090 (eval $ac_compile) 2>conftest.er1
45091 ac_status=$?
45092 grep -v '^ *+' conftest.er1 >conftest.err
45093 rm -f conftest.er1
45094 cat conftest.err >&5
45095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45096 (exit $ac_status); } &&
45097 { ac_try='test -z "$ac_cxx_werror_flag"
45098 || test ! -s conftest.err'
45099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45100 (eval $ac_try) 2>&5
45101 ac_status=$?
45102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45103 (exit $ac_status); }; } &&
45104 { ac_try='test -s conftest.$ac_objext'
45105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45106 (eval $ac_try) 2>&5
45107 ac_status=$?
45108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45109 (exit $ac_status); }; }; then
45110 ac_header_compiler=yes
45111 else
45112 echo "$as_me: failed program was:" >&5
45113 sed 's/^/| /' conftest.$ac_ext >&5
45114
45115 ac_header_compiler=no
45116 fi
45117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45119 echo "${ECHO_T}$ac_header_compiler" >&6
45120
45121 # Is the header present?
45122 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45123 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45124 cat >conftest.$ac_ext <<_ACEOF
45125 /* confdefs.h. */
45126 _ACEOF
45127 cat confdefs.h >>conftest.$ac_ext
45128 cat >>conftest.$ac_ext <<_ACEOF
45129 /* end confdefs.h. */
45130 #include <$ac_header>
45131 _ACEOF
45132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45133 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45134 ac_status=$?
45135 grep -v '^ *+' conftest.er1 >conftest.err
45136 rm -f conftest.er1
45137 cat conftest.err >&5
45138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45139 (exit $ac_status); } >/dev/null; then
45140 if test -s conftest.err; then
45141 ac_cpp_err=$ac_cxx_preproc_warn_flag
45142 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45143 else
45144 ac_cpp_err=
45145 fi
45146 else
45147 ac_cpp_err=yes
45148 fi
45149 if test -z "$ac_cpp_err"; then
45150 ac_header_preproc=yes
45151 else
45152 echo "$as_me: failed program was:" >&5
45153 sed 's/^/| /' conftest.$ac_ext >&5
45154
45155 ac_header_preproc=no
45156 fi
45157 rm -f conftest.err conftest.$ac_ext
45158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45159 echo "${ECHO_T}$ac_header_preproc" >&6
45160
45161 # So? What about this header?
45162 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45163 yes:no: )
45164 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45165 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45167 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45168 ac_header_preproc=yes
45169 ;;
45170 no:yes:* )
45171 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45172 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45173 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45174 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45175 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45176 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45177 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45178 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45180 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45181 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45182 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45183 (
45184 cat <<\_ASBOX
45185 ## ----------------------------------------- ##
45186 ## Report this to wx-dev@lists.wxwidgets.org ##
45187 ## ----------------------------------------- ##
45188 _ASBOX
45189 ) |
45190 sed "s/^/$as_me: WARNING: /" >&2
45191 ;;
45192 esac
45193 echo "$as_me:$LINENO: checking for $ac_header" >&5
45194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45196 echo $ECHO_N "(cached) $ECHO_C" >&6
45197 else
45198 eval "$as_ac_Header=\$ac_header_preproc"
45199 fi
45200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45202
45203 fi
45204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45205 cat >>confdefs.h <<_ACEOF
45206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45207 _ACEOF
45208
45209 fi
45210
45211 done
45212
45213
45214 if test "$ac_cv_header_ole2_h" = "yes" ; then
45215 if test "$GCC" = yes ; then
45216 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45217 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45218 cat >conftest.$ac_ext <<_ACEOF
45219 /* confdefs.h. */
45220 _ACEOF
45221 cat confdefs.h >>conftest.$ac_ext
45222 cat >>conftest.$ac_ext <<_ACEOF
45223 /* end confdefs.h. */
45224 #include <windows.h>
45225 #include <ole2.h>
45226 int
45227 main ()
45228 {
45229
45230 ;
45231 return 0;
45232 }
45233 _ACEOF
45234 rm -f conftest.$ac_objext
45235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45236 (eval $ac_compile) 2>conftest.er1
45237 ac_status=$?
45238 grep -v '^ *+' conftest.er1 >conftest.err
45239 rm -f conftest.er1
45240 cat conftest.err >&5
45241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45242 (exit $ac_status); } &&
45243 { ac_try='test -z "$ac_cxx_werror_flag"
45244 || test ! -s conftest.err'
45245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45246 (eval $ac_try) 2>&5
45247 ac_status=$?
45248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45249 (exit $ac_status); }; } &&
45250 { ac_try='test -s conftest.$ac_objext'
45251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45252 (eval $ac_try) 2>&5
45253 ac_status=$?
45254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45255 (exit $ac_status); }; }; then
45256 echo "$as_me:$LINENO: result: no" >&5
45257 echo "${ECHO_T}no" >&6
45258 else
45259 echo "$as_me: failed program was:" >&5
45260 sed 's/^/| /' conftest.$ac_ext >&5
45261
45262 echo "$as_me:$LINENO: result: yes" >&5
45263 echo "${ECHO_T}yes" >&6
45264 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45265 fi
45266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45267 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45268 if test "$wxUSE_OLE" = "yes" ; then
45269 cat >>confdefs.h <<\_ACEOF
45270 #define wxUSE_OLE 1
45271 _ACEOF
45272
45273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45274 fi
45275 fi
45276
45277 if test "$wxUSE_DATAOBJ" = "yes" ; then
45278 cat >>confdefs.h <<\_ACEOF
45279 #define wxUSE_DATAOBJ 1
45280 _ACEOF
45281
45282 fi
45283 else
45284 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45285 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45286
45287 wxUSE_CLIPBOARD=no
45288 wxUSE_DRAG_AND_DROP=no
45289 wxUSE_DATAOBJ=no
45290 wxUSE_OLE=no
45291 fi
45292
45293 if test "$wxUSE_METAFILE" = "yes"; then
45294 cat >>confdefs.h <<\_ACEOF
45295 #define wxUSE_METAFILE 1
45296 _ACEOF
45297
45298
45299 cat >>confdefs.h <<\_ACEOF
45300 #define wxUSE_ENH_METAFILE 1
45301 _ACEOF
45302
45303 fi
45304 fi
45305
45306 if test "$wxUSE_IPC" = "yes"; then
45307 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45308 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45309 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45310 wxUSE_IPC=no
45311 fi
45312
45313 if test "$wxUSE_IPC" = "yes"; then
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_IPC 1
45316 _ACEOF
45317
45318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45319 fi
45320 fi
45321
45322 if test "$wxUSE_DATAOBJ" = "yes"; then
45323 if test "$wxUSE_MGL" = 1; then
45324 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45325 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45326 wxUSE_DATAOBJ=no
45327 else
45328 cat >>confdefs.h <<\_ACEOF
45329 #define wxUSE_DATAOBJ 1
45330 _ACEOF
45331
45332 fi
45333 else
45334 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45335 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45336 wxUSE_CLIPBOARD=no
45337 wxUSE_DRAG_AND_DROP=no
45338 fi
45339
45340 if test "$wxUSE_CLIPBOARD" = "yes"; then
45341 if test "$wxUSE_MGL" = 1; then
45342 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45343 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45344 wxUSE_CLIPBOARD=no
45345 fi
45346
45347 if test "$wxUSE_CLIPBOARD" = "yes"; then
45348 cat >>confdefs.h <<\_ACEOF
45349 #define wxUSE_CLIPBOARD 1
45350 _ACEOF
45351
45352 fi
45353 fi
45354
45355 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45356 if test "$wxUSE_GTK" = 1; then
45357 if test "$WXGTK12" != 1; then
45358 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45359 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45360 wxUSE_DRAG_AND_DROP=no
45361 fi
45362 fi
45363
45364 if test "$wxUSE_MOTIF" = 1; then
45365 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45366 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45367 wxUSE_DRAG_AND_DROP=no
45368 fi
45369
45370 if test "$wxUSE_X11" = 1; then
45371 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45372 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45373 wxUSE_DRAG_AND_DROP=no
45374 fi
45375
45376 if test "$wxUSE_MGL" = 1; then
45377 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45378 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45379 wxUSE_DRAG_AND_DROP=no
45380 fi
45381
45382 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_DRAG_AND_DROP 1
45385 _ACEOF
45386
45387 fi
45388
45389 fi
45390
45391 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45393 fi
45394
45395 if test "$wxUSE_SPLINES" = "yes" ; then
45396 cat >>confdefs.h <<\_ACEOF
45397 #define wxUSE_SPLINES 1
45398 _ACEOF
45399
45400 fi
45401
45402 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45403 cat >>confdefs.h <<\_ACEOF
45404 #define wxUSE_MOUSEWHEEL 1
45405 _ACEOF
45406
45407 fi
45408
45409
45410 USES_CONTROLS=0
45411 if test "$wxUSE_CONTROLS" = "yes"; then
45412 USES_CONTROLS=1
45413 fi
45414
45415 if test "$wxUSE_ACCEL" = "yes"; then
45416 cat >>confdefs.h <<\_ACEOF
45417 #define wxUSE_ACCEL 1
45418 _ACEOF
45419
45420 USES_CONTROLS=1
45421 fi
45422
45423 if test "$wxUSE_BUTTON" = "yes"; then
45424 cat >>confdefs.h <<\_ACEOF
45425 #define wxUSE_BUTTON 1
45426 _ACEOF
45427
45428 USES_CONTROLS=1
45429 fi
45430
45431 if test "$wxUSE_BMPBUTTON" = "yes"; then
45432 cat >>confdefs.h <<\_ACEOF
45433 #define wxUSE_BMPBUTTON 1
45434 _ACEOF
45435
45436 USES_CONTROLS=1
45437 fi
45438
45439 if test "$wxUSE_CALCTRL" = "yes"; then
45440 cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_CALENDARCTRL 1
45442 _ACEOF
45443
45444 USES_CONTROLS=1
45445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45446 fi
45447
45448 if test "$wxUSE_CARET" = "yes"; then
45449 cat >>confdefs.h <<\_ACEOF
45450 #define wxUSE_CARET 1
45451 _ACEOF
45452
45453 USES_CONTROLS=1
45454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45455 fi
45456
45457 if test "$wxUSE_COMBOBOX" = "yes"; then
45458 cat >>confdefs.h <<\_ACEOF
45459 #define wxUSE_COMBOBOX 1
45460 _ACEOF
45461
45462 USES_CONTROLS=1
45463 fi
45464
45465 if test "$wxUSE_COMBOCTRL" = "yes"; then
45466 cat >>confdefs.h <<\_ACEOF
45467 #define wxUSE_COMBOCTRL 1
45468 _ACEOF
45469
45470 USES_CONTROLS=1
45471 fi
45472
45473 if test "$wxUSE_CHOICE" = "yes"; then
45474 cat >>confdefs.h <<\_ACEOF
45475 #define wxUSE_CHOICE 1
45476 _ACEOF
45477
45478 USES_CONTROLS=1
45479 fi
45480
45481 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45482 cat >>confdefs.h <<\_ACEOF
45483 #define wxUSE_CHOICEBOOK 1
45484 _ACEOF
45485
45486 USES_CONTROLS=1
45487 fi
45488
45489 if test "$wxUSE_CHECKBOX" = "yes"; then
45490 cat >>confdefs.h <<\_ACEOF
45491 #define wxUSE_CHECKBOX 1
45492 _ACEOF
45493
45494 USES_CONTROLS=1
45495 fi
45496
45497 if test "$wxUSE_CHECKLST" = "yes"; then
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_CHECKLISTBOX 1
45500 _ACEOF
45501
45502 USES_CONTROLS=1
45503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45504 fi
45505
45506 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45507 cat >>confdefs.h <<\_ACEOF
45508 #define wxUSE_COLOURPICKERCTRL 1
45509 _ACEOF
45510
45511 USES_CONTROLS=1
45512 fi
45513
45514 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45515 cat >>confdefs.h <<\_ACEOF
45516 #define wxUSE_DATEPICKCTRL 1
45517 _ACEOF
45518
45519 USES_CONTROLS=1
45520 fi
45521
45522 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_DIRPICKERCTRL 1
45525 _ACEOF
45526
45527 USES_CONTROLS=1
45528 fi
45529
45530 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45531 cat >>confdefs.h <<\_ACEOF
45532 #define wxUSE_FILEPICKERCTRL 1
45533 _ACEOF
45534
45535 USES_CONTROLS=1
45536 fi
45537
45538 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_FONTPICKERCTRL 1
45541 _ACEOF
45542
45543 USES_CONTROLS=1
45544 fi
45545
45546 if test "$wxUSE_DISPLAY" = "yes"; then
45547 cat >>confdefs.h <<\_ACEOF
45548 #define wxUSE_DISPLAY 1
45549 _ACEOF
45550
45551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45552 fi
45553
45554 if test "$wxUSE_GAUGE" = "yes"; then
45555 cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_GAUGE 1
45557 _ACEOF
45558
45559 USES_CONTROLS=1
45560 fi
45561
45562 if test "$wxUSE_GRID" = "yes"; then
45563 cat >>confdefs.h <<\_ACEOF
45564 #define wxUSE_GRID 1
45565 _ACEOF
45566
45567 USES_CONTROLS=1
45568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45569 fi
45570
45571 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_HYPERLINKCTRL 1
45574 _ACEOF
45575
45576 USES_CONTROLS=1
45577 fi
45578
45579 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45580 cat >>confdefs.h <<\_ACEOF
45581 #define wxUSE_BITMAPCOMBOBOX 1
45582 _ACEOF
45583
45584 USES_CONTROLS=1
45585 fi
45586
45587 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45588 cat >>confdefs.h <<\_ACEOF
45589 #define wxUSE_DATAVIEWCTRL 1
45590 _ACEOF
45591
45592 USES_CONTROLS=1
45593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45594 fi
45595
45596 if test "$wxUSE_IMAGLIST" = "yes"; then
45597 cat >>confdefs.h <<\_ACEOF
45598 #define wxUSE_IMAGLIST 1
45599 _ACEOF
45600
45601 fi
45602
45603 if test "$wxUSE_LISTBOOK" = "yes"; then
45604 cat >>confdefs.h <<\_ACEOF
45605 #define wxUSE_LISTBOOK 1
45606 _ACEOF
45607
45608 USES_CONTROLS=1
45609 fi
45610
45611 if test "$wxUSE_LISTBOX" = "yes"; then
45612 cat >>confdefs.h <<\_ACEOF
45613 #define wxUSE_LISTBOX 1
45614 _ACEOF
45615
45616 USES_CONTROLS=1
45617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45618 fi
45619
45620 if test "$wxUSE_LISTCTRL" = "yes"; then
45621 if test "$wxUSE_IMAGLIST" = "yes"; then
45622 cat >>confdefs.h <<\_ACEOF
45623 #define wxUSE_LISTCTRL 1
45624 _ACEOF
45625
45626 USES_CONTROLS=1
45627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45628 else
45629 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45630 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45631 fi
45632 fi
45633
45634 if test "$wxUSE_NOTEBOOK" = "yes"; then
45635 cat >>confdefs.h <<\_ACEOF
45636 #define wxUSE_NOTEBOOK 1
45637 _ACEOF
45638
45639 USES_CONTROLS=1
45640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45641 fi
45642
45643 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_ODCOMBOBOX 1
45646 _ACEOF
45647
45648 USES_CONTROLS=1
45649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45650 fi
45651
45652
45653 if test "$wxUSE_RADIOBOX" = "yes"; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define wxUSE_RADIOBOX 1
45656 _ACEOF
45657
45658 USES_CONTROLS=1
45659 fi
45660
45661 if test "$wxUSE_RADIOBTN" = "yes"; then
45662 cat >>confdefs.h <<\_ACEOF
45663 #define wxUSE_RADIOBTN 1
45664 _ACEOF
45665
45666 USES_CONTROLS=1
45667 fi
45668
45669 if test "$wxUSE_SASH" = "yes"; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_SASH 1
45672 _ACEOF
45673
45674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45675 fi
45676
45677 if test "$wxUSE_SCROLLBAR" = "yes"; then
45678 cat >>confdefs.h <<\_ACEOF
45679 #define wxUSE_SCROLLBAR 1
45680 _ACEOF
45681
45682 USES_CONTROLS=1
45683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45684 fi
45685
45686 if test "$wxUSE_SLIDER" = "yes"; then
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_SLIDER 1
45689 _ACEOF
45690
45691 USES_CONTROLS=1
45692 fi
45693
45694 if test "$wxUSE_SPINBTN" = "yes"; then
45695 cat >>confdefs.h <<\_ACEOF
45696 #define wxUSE_SPINBTN 1
45697 _ACEOF
45698
45699 USES_CONTROLS=1
45700 fi
45701
45702 if test "$wxUSE_SPINCTRL" = "yes"; then
45703 cat >>confdefs.h <<\_ACEOF
45704 #define wxUSE_SPINCTRL 1
45705 _ACEOF
45706
45707 USES_CONTROLS=1
45708 fi
45709
45710 if test "$wxUSE_SPLITTER" = "yes"; then
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_SPLITTER 1
45713 _ACEOF
45714
45715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45716 fi
45717
45718 if test "$wxUSE_STATBMP" = "yes"; then
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_STATBMP 1
45721 _ACEOF
45722
45723 USES_CONTROLS=1
45724 fi
45725
45726 if test "$wxUSE_STATBOX" = "yes"; then
45727 cat >>confdefs.h <<\_ACEOF
45728 #define wxUSE_STATBOX 1
45729 _ACEOF
45730
45731 USES_CONTROLS=1
45732 fi
45733
45734 if test "$wxUSE_STATTEXT" = "yes"; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_STATTEXT 1
45737 _ACEOF
45738
45739 USES_CONTROLS=1
45740 fi
45741
45742 if test "$wxUSE_STATLINE" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_STATLINE 1
45745 _ACEOF
45746
45747 USES_CONTROLS=1
45748 fi
45749
45750 if test "$wxUSE_STATUSBAR" = "yes"; then
45751 cat >>confdefs.h <<\_ACEOF
45752 #define wxUSE_NATIVE_STATUSBAR 1
45753 _ACEOF
45754
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_STATUSBAR 1
45757 _ACEOF
45758
45759 USES_CONTROLS=1
45760
45761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45762 fi
45763
45764 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45765 cat >>confdefs.h <<\_ACEOF
45766 #define wxUSE_TAB_DIALOG 1
45767 _ACEOF
45768
45769 fi
45770
45771 if test "$wxUSE_TEXTCTRL" = "yes"; then
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_TEXTCTRL 1
45774 _ACEOF
45775
45776 USES_CONTROLS=1
45777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45778 fi
45779
45780 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45781 if test "$wxUSE_COCOA" = 1 ; then
45782 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45783 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45784 wxUSE_TOGGLEBTN=no
45785 fi
45786
45787 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45788 cat >>confdefs.h <<\_ACEOF
45789 #define wxUSE_TOGGLEBTN 1
45790 _ACEOF
45791
45792 USES_CONTROLS=1
45793 fi
45794 fi
45795
45796 if test "$wxUSE_TOOLBAR" = "yes"; then
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_TOOLBAR 1
45799 _ACEOF
45800
45801 USES_CONTROLS=1
45802
45803 if test "$wxUSE_UNIVERSAL" = "yes"; then
45804 wxUSE_TOOLBAR_NATIVE="no"
45805 else
45806 wxUSE_TOOLBAR_NATIVE="yes"
45807 cat >>confdefs.h <<\_ACEOF
45808 #define wxUSE_TOOLBAR_NATIVE 1
45809 _ACEOF
45810
45811 fi
45812
45813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45814 fi
45815
45816 if test "$wxUSE_TOOLTIPS" = "yes"; then
45817 if test "$wxUSE_MOTIF" = 1; then
45818 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45819 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45820 else
45821 if test "$wxUSE_UNIVERSAL" = "yes"; then
45822 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45823 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45824 else
45825 cat >>confdefs.h <<\_ACEOF
45826 #define wxUSE_TOOLTIPS 1
45827 _ACEOF
45828
45829 fi
45830 fi
45831 fi
45832
45833 if test "$wxUSE_TREEBOOK" = "yes"; then
45834 cat >>confdefs.h <<\_ACEOF
45835 #define wxUSE_TREEBOOK 1
45836 _ACEOF
45837
45838 USES_CONTROLS=1
45839 fi
45840
45841 if test "$wxUSE_TOOLBOOK" = "yes"; then
45842 cat >>confdefs.h <<\_ACEOF
45843 #define wxUSE_TOOLBOOK 1
45844 _ACEOF
45845
45846 USES_CONTROLS=1
45847 fi
45848
45849 if test "$wxUSE_TREECTRL" = "yes"; then
45850 if test "$wxUSE_IMAGLIST" = "yes"; then
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_TREECTRL 1
45853 _ACEOF
45854
45855 USES_CONTROLS=1
45856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45857 else
45858 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45859 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45860 fi
45861 fi
45862
45863 if test "$wxUSE_POPUPWIN" = "yes"; then
45864 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45865 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45866 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45867 else
45868 if test "$wxUSE_PM" = 1; then
45869 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45870 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45871 else
45872 cat >>confdefs.h <<\_ACEOF
45873 #define wxUSE_POPUPWIN 1
45874 _ACEOF
45875
45876 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45877
45878 USES_CONTROLS=1
45879 fi
45880 fi
45881 fi
45882
45883 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45884 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45885 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45886 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45887 else
45888 cat >>confdefs.h <<\_ACEOF
45889 #define wxUSE_DIALUP_MANAGER 1
45890 _ACEOF
45891
45892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45893 fi
45894 fi
45895
45896 if test "$wxUSE_TIPWINDOW" = "yes"; then
45897 if test "$wxUSE_PM" = 1; then
45898 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45899 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45900 else
45901 cat >>confdefs.h <<\_ACEOF
45902 #define wxUSE_TIPWINDOW 1
45903 _ACEOF
45904
45905 fi
45906 fi
45907
45908 if test "$USES_CONTROLS" = 1; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define wxUSE_CONTROLS 1
45911 _ACEOF
45912
45913 fi
45914
45915
45916 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_ACCESSIBILITY 1
45919 _ACEOF
45920
45921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45922 fi
45923
45924 if test "$wxUSE_DC_CACHEING" = "yes"; then
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_DC_CACHEING 1
45927 _ACEOF
45928
45929 fi
45930
45931 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45932 cat >>confdefs.h <<\_ACEOF
45933 #define wxUSE_DRAGIMAGE 1
45934 _ACEOF
45935
45936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45937 fi
45938
45939 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45940 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45941 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45942 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45943 else
45944 cat >>confdefs.h <<\_ACEOF
45945 #define wxUSE_EXCEPTIONS 1
45946 _ACEOF
45947
45948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45949 fi
45950 fi
45951
45952 USE_HTML=0
45953 if test "$wxUSE_HTML" = "yes"; then
45954 cat >>confdefs.h <<\_ACEOF
45955 #define wxUSE_HTML 1
45956 _ACEOF
45957
45958 USE_HTML=1
45959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45960 if test "$wxUSE_MAC" = 1; then
45961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45962 fi
45963 fi
45964 if test "$wxUSE_WEBKIT" = "yes"; then
45965 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45966 old_CPPFLAGS="$CPPFLAGS"
45967 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45968 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45969 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45970 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45971 echo $ECHO_N "(cached) $ECHO_C" >&6
45972 else
45973 cat >conftest.$ac_ext <<_ACEOF
45974 /* confdefs.h. */
45975 _ACEOF
45976 cat confdefs.h >>conftest.$ac_ext
45977 cat >>conftest.$ac_ext <<_ACEOF
45978 /* end confdefs.h. */
45979 #include <Carbon/Carbon.h>
45980
45981 #include <WebKit/HIWebView.h>
45982 _ACEOF
45983 rm -f conftest.$ac_objext
45984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45985 (eval $ac_compile) 2>conftest.er1
45986 ac_status=$?
45987 grep -v '^ *+' conftest.er1 >conftest.err
45988 rm -f conftest.er1
45989 cat conftest.err >&5
45990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45991 (exit $ac_status); } &&
45992 { ac_try='test -z "$ac_cxx_werror_flag"
45993 || test ! -s conftest.err'
45994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45995 (eval $ac_try) 2>&5
45996 ac_status=$?
45997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45998 (exit $ac_status); }; } &&
45999 { ac_try='test -s conftest.$ac_objext'
46000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46001 (eval $ac_try) 2>&5
46002 ac_status=$?
46003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46004 (exit $ac_status); }; }; then
46005 ac_cv_header_WebKit_HIWebView_h=yes
46006 else
46007 echo "$as_me: failed program was:" >&5
46008 sed 's/^/| /' conftest.$ac_ext >&5
46009
46010 ac_cv_header_WebKit_HIWebView_h=no
46011 fi
46012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46013 fi
46014 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46015 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46016 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46017
46018 cat >>confdefs.h <<\_ACEOF
46019 #define wxUSE_WEBKIT 1
46020 _ACEOF
46021
46022 WEBKIT_LINK="-framework WebKit"
46023
46024 else
46025
46026 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46027 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46028 wxUSE_WEBKIT=no
46029
46030 fi
46031
46032
46033 CPPFLAGS="$old_CPPFLAGS"
46034 elif test "$wxUSE_COCOA" = 1; then
46035 cat >>confdefs.h <<\_ACEOF
46036 #define wxUSE_WEBKIT 1
46037 _ACEOF
46038
46039 else
46040 wxUSE_WEBKIT=no
46041 fi
46042 fi
46043
46044 USE_XRC=0
46045 if test "$wxUSE_XRC" = "yes"; then
46046 if test "$wxUSE_XML" != "yes"; then
46047 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46048 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46049 wxUSE_XRC=no
46050 else
46051 cat >>confdefs.h <<\_ACEOF
46052 #define wxUSE_XRC 1
46053 _ACEOF
46054
46055 USE_XRC=1
46056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46057 fi
46058 fi
46059
46060 USE_AUI=0
46061 if test "$wxUSE_AUI" = "yes"; then
46062 cat >>confdefs.h <<\_ACEOF
46063 #define wxUSE_AUI 1
46064 _ACEOF
46065
46066 USE_AUI=1
46067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46068 fi
46069
46070 if test "$wxUSE_MENUS" = "yes"; then
46071 cat >>confdefs.h <<\_ACEOF
46072 #define wxUSE_MENUS 1
46073 _ACEOF
46074
46075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46076 fi
46077
46078 if test "$wxUSE_METAFILE" = "yes"; then
46079 cat >>confdefs.h <<\_ACEOF
46080 #define wxUSE_METAFILE 1
46081 _ACEOF
46082
46083 fi
46084
46085 if test "$wxUSE_MIMETYPE" = "yes"; then
46086 cat >>confdefs.h <<\_ACEOF
46087 #define wxUSE_MIMETYPE 1
46088 _ACEOF
46089
46090 fi
46091
46092 if test "$wxUSE_MINIFRAME" = "yes"; then
46093 cat >>confdefs.h <<\_ACEOF
46094 #define wxUSE_MINIFRAME 1
46095 _ACEOF
46096
46097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46098 fi
46099
46100 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46101 cat >>confdefs.h <<\_ACEOF
46102 #define wxUSE_SYSTEM_OPTIONS 1
46103 _ACEOF
46104
46105 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46106 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46108 fi
46109 fi
46110
46111
46112 if test "$wxUSE_VALIDATORS" = "yes"; then
46113 cat >>confdefs.h <<\_ACEOF
46114 #define wxUSE_VALIDATORS 1
46115 _ACEOF
46116
46117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46118 fi
46119
46120 if test "$wxUSE_PALETTE" = "yes" ; then
46121 cat >>confdefs.h <<\_ACEOF
46122 #define wxUSE_PALETTE 1
46123 _ACEOF
46124
46125 fi
46126
46127 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46128 LIBS=" -lunicows $LIBS"
46129 fi
46130
46131 USE_RICHTEXT=0
46132 if test "$wxUSE_RICHTEXT" = "yes"; then
46133 cat >>confdefs.h <<\_ACEOF
46134 #define wxUSE_RICHTEXT 1
46135 _ACEOF
46136
46137 USE_RICHTEXT=1
46138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46139 fi
46140
46141
46142 if test "$wxUSE_IMAGE" = "yes" ; then
46143 cat >>confdefs.h <<\_ACEOF
46144 #define wxUSE_IMAGE 1
46145 _ACEOF
46146
46147
46148 if test "$wxUSE_GIF" = "yes" ; then
46149 cat >>confdefs.h <<\_ACEOF
46150 #define wxUSE_GIF 1
46151 _ACEOF
46152
46153 fi
46154
46155 if test "$wxUSE_PCX" = "yes" ; then
46156 cat >>confdefs.h <<\_ACEOF
46157 #define wxUSE_PCX 1
46158 _ACEOF
46159
46160 fi
46161
46162 if test "$wxUSE_IFF" = "yes" ; then
46163 cat >>confdefs.h <<\_ACEOF
46164 #define wxUSE_IFF 1
46165 _ACEOF
46166
46167 fi
46168
46169 if test "$wxUSE_PNM" = "yes" ; then
46170 cat >>confdefs.h <<\_ACEOF
46171 #define wxUSE_PNM 1
46172 _ACEOF
46173
46174 fi
46175
46176 if test "$wxUSE_XPM" = "yes" ; then
46177 cat >>confdefs.h <<\_ACEOF
46178 #define wxUSE_XPM 1
46179 _ACEOF
46180
46181 fi
46182
46183 if test "$wxUSE_ICO_CUR" = "yes" ; then
46184 cat >>confdefs.h <<\_ACEOF
46185 #define wxUSE_ICO_CUR 1
46186 _ACEOF
46187
46188 fi
46189 fi
46190
46191
46192 if test "$wxUSE_CHOICEDLG" = "yes"; then
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_CHOICEDLG 1
46195 _ACEOF
46196
46197 fi
46198
46199 if test "$wxUSE_COLOURDLG" = "yes"; then
46200 cat >>confdefs.h <<\_ACEOF
46201 #define wxUSE_COLOURDLG 1
46202 _ACEOF
46203
46204 fi
46205
46206 if test "$wxUSE_FILEDLG" = "yes"; then
46207 cat >>confdefs.h <<\_ACEOF
46208 #define wxUSE_FILEDLG 1
46209 _ACEOF
46210
46211 fi
46212
46213 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46214 cat >>confdefs.h <<\_ACEOF
46215 #define wxUSE_FINDREPLDLG 1
46216 _ACEOF
46217
46218 fi
46219
46220 if test "$wxUSE_FONTDLG" = "yes"; then
46221 cat >>confdefs.h <<\_ACEOF
46222 #define wxUSE_FONTDLG 1
46223 _ACEOF
46224
46225 fi
46226
46227 if test "$wxUSE_DIRDLG" = "yes"; then
46228 if test "$wxUSE_TREECTRL" != "yes"; then
46229 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46230 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46231 else
46232 cat >>confdefs.h <<\_ACEOF
46233 #define wxUSE_DIRDLG 1
46234 _ACEOF
46235
46236 fi
46237 fi
46238
46239 if test "$wxUSE_MSGDLG" = "yes"; then
46240 cat >>confdefs.h <<\_ACEOF
46241 #define wxUSE_MSGDLG 1
46242 _ACEOF
46243
46244 fi
46245
46246 if test "$wxUSE_NUMBERDLG" = "yes"; then
46247 cat >>confdefs.h <<\_ACEOF
46248 #define wxUSE_NUMBERDLG 1
46249 _ACEOF
46250
46251 fi
46252
46253 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46254 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46255 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46256 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46257 else
46258 cat >>confdefs.h <<\_ACEOF
46259 #define wxUSE_PROGRESSDLG 1
46260 _ACEOF
46261
46262 fi
46263 fi
46264
46265 if test "$wxUSE_SPLASH" = "yes"; then
46266 cat >>confdefs.h <<\_ACEOF
46267 #define wxUSE_SPLASH 1
46268 _ACEOF
46269
46270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46271 fi
46272
46273 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46274 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46275 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46276 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46277 else
46278 cat >>confdefs.h <<\_ACEOF
46279 #define wxUSE_STARTUP_TIPS 1
46280 _ACEOF
46281
46282 fi
46283 fi
46284
46285 if test "$wxUSE_TEXTDLG" = "yes"; then
46286 cat >>confdefs.h <<\_ACEOF
46287 #define wxUSE_TEXTDLG 1
46288 _ACEOF
46289
46290 fi
46291
46292 if test "$wxUSE_WIZARDDLG" = "yes"; then
46293 cat >>confdefs.h <<\_ACEOF
46294 #define wxUSE_WIZARDDLG 1
46295 _ACEOF
46296
46297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46298 fi
46299
46300
46301 USE_MEDIA=0
46302
46303 if test "$wxUSE_MEDIACTRL" = "yes"; then
46304 USE_MEDIA=1
46305
46306 if test "$wxUSE_GTK" = 1; then
46307 wxUSE_GSTREAMER="no"
46308
46309 GST_VERSION_MAJOR=0
46310 GST_VERSION_MINOR=10
46311 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46312
46313 if test "$wxUSE_GSTREAMER8" = "no"; then
46314
46315 pkg_failed=no
46316 echo "$as_me:$LINENO: checking for GST" >&5
46317 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46318
46319 if test -n "$PKG_CONFIG"; then
46320 if test -n "$GST_CFLAGS"; then
46321 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46322 else
46323 if test -n "$PKG_CONFIG" && \
46324 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46325 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46326 ac_status=$?
46327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46328 (exit $ac_status); }; then
46329 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46330 else
46331 pkg_failed=yes
46332 fi
46333 fi
46334 else
46335 pkg_failed=untried
46336 fi
46337 if test -n "$PKG_CONFIG"; then
46338 if test -n "$GST_LIBS"; then
46339 pkg_cv_GST_LIBS="$GST_LIBS"
46340 else
46341 if test -n "$PKG_CONFIG" && \
46342 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46343 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46344 ac_status=$?
46345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46346 (exit $ac_status); }; then
46347 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46348 else
46349 pkg_failed=yes
46350 fi
46351 fi
46352 else
46353 pkg_failed=untried
46354 fi
46355
46356
46357
46358 if test $pkg_failed = yes; then
46359
46360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46361 _pkg_short_errors_supported=yes
46362 else
46363 _pkg_short_errors_supported=no
46364 fi
46365 if test $_pkg_short_errors_supported = yes; then
46366 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46367 else
46368 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46369 fi
46370 # Put the nasty error message in config.log where it belongs
46371 echo "$GST_PKG_ERRORS" >&5
46372
46373
46374 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46375 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46376 GST_VERSION_MINOR=8
46377
46378
46379 elif test $pkg_failed = untried; then
46380
46381 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46382 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46383 GST_VERSION_MINOR=8
46384
46385
46386 else
46387 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46388 GST_LIBS=$pkg_cv_GST_LIBS
46389 echo "$as_me:$LINENO: result: yes" >&5
46390 echo "${ECHO_T}yes" >&6
46391
46392 wxUSE_GSTREAMER="yes"
46393 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46394
46395 fi
46396 else
46397 GST_VERSION_MINOR=8
46398 fi
46399
46400 if test $GST_VERSION_MINOR = "8"; then
46401 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46402
46403 pkg_failed=no
46404 echo "$as_me:$LINENO: checking for GST" >&5
46405 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46406
46407 if test -n "$PKG_CONFIG"; then
46408 if test -n "$GST_CFLAGS"; then
46409 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46410 else
46411 if test -n "$PKG_CONFIG" && \
46412 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46413 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46414 ac_status=$?
46415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46416 (exit $ac_status); }; then
46417 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46418 else
46419 pkg_failed=yes
46420 fi
46421 fi
46422 else
46423 pkg_failed=untried
46424 fi
46425 if test -n "$PKG_CONFIG"; then
46426 if test -n "$GST_LIBS"; then
46427 pkg_cv_GST_LIBS="$GST_LIBS"
46428 else
46429 if test -n "$PKG_CONFIG" && \
46430 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46431 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46432 ac_status=$?
46433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46434 (exit $ac_status); }; then
46435 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46436 else
46437 pkg_failed=yes
46438 fi
46439 fi
46440 else
46441 pkg_failed=untried
46442 fi
46443
46444
46445
46446 if test $pkg_failed = yes; then
46447
46448 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46449 _pkg_short_errors_supported=yes
46450 else
46451 _pkg_short_errors_supported=no
46452 fi
46453 if test $_pkg_short_errors_supported = yes; then
46454 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46455 else
46456 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46457 fi
46458 # Put the nasty error message in config.log where it belongs
46459 echo "$GST_PKG_ERRORS" >&5
46460
46461
46462 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46463 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46464
46465 elif test $pkg_failed = untried; then
46466
46467 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46468 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46469
46470 else
46471 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46472 GST_LIBS=$pkg_cv_GST_LIBS
46473 echo "$as_me:$LINENO: result: yes" >&5
46474 echo "${ECHO_T}yes" >&6
46475 wxUSE_GSTREAMER="yes"
46476 fi
46477 fi
46478
46479
46480 if test "$wxUSE_GSTREAMER" = "yes"; then
46481 case "${host}" in
46482 *-*-solaris2* )
46483 if "$GCC" = yes; then
46484 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46485 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46486 fi
46487 esac
46488
46489 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46490 LIBS="$GST_LIBS $LIBS"
46491
46492 cat >>confdefs.h <<\_ACEOF
46493 #define wxUSE_GSTREAMER 1
46494 _ACEOF
46495
46496 else
46497 USE_MEDIA=0
46498 fi
46499 fi
46500
46501 if test $USE_MEDIA = 1; then
46502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46503 cat >>confdefs.h <<\_ACEOF
46504 #define wxUSE_MEDIACTRL 1
46505 _ACEOF
46506
46507 fi
46508 fi
46509
46510
46511 if test "$cross_compiling" = "yes"; then
46512 OSINFO="\"$host\""
46513 else
46514 OSINFO=`uname -s -r -m`
46515 OSINFO="\"$OSINFO\""
46516 fi
46517
46518 cat >>confdefs.h <<_ACEOF
46519 #define WXWIN_OS_DESCRIPTION $OSINFO
46520 _ACEOF
46521
46522
46523
46524 if test "x$prefix" != "xNONE"; then
46525 wxPREFIX=$prefix
46526 else
46527 wxPREFIX=$ac_default_prefix
46528 fi
46529
46530 cat >>confdefs.h <<_ACEOF
46531 #define wxINSTALL_PREFIX "$wxPREFIX"
46532 _ACEOF
46533
46534
46535
46536
46537 CORE_BASE_LIBS="net base"
46538 CORE_GUI_LIBS="adv core"
46539
46540 if test "$wxUSE_XML" = "yes" ; then
46541 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46542 fi
46543 if test "$wxUSE_ODBC" != "no" ; then
46544 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46545 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46546 fi
46547 if test "$wxUSE_HTML" = "yes" ; then
46548 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46549 fi
46550 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46551 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46552 fi
46553 if test "$wxUSE_XRC" = "yes" ; then
46554 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46555 fi
46556 if test "$wxUSE_AUI" = "yes" ; then
46557 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46558 fi
46559
46560 if test "$wxUSE_GUI" != "yes"; then
46561 CORE_GUI_LIBS=""
46562 fi
46563
46564
46565
46566
46567
46568 ac_ext=c
46569 ac_cpp='$CPP $CPPFLAGS'
46570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46573
46574
46575
46576 if test "$wxUSE_MAC" = 1 ; then
46577 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46578 if test "$USE_DARWIN" = 1; then
46579 LDFLAGS="$LDFLAGS -framework QuickTime"
46580 else
46581 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46582 fi
46583 fi
46584 if test "$USE_DARWIN" = 1; then
46585 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46586 else
46587 LDFLAGS="$LDFLAGS -lCarbonLib"
46588 fi
46589 fi
46590 if test "$wxUSE_COCOA" = 1 ; then
46591 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46592 if test "$wxUSE_MEDIACTRL" = "yes"; then
46593 LDFLAGS="$LDFLAGS -framework QuickTime"
46594 fi
46595 fi
46596 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46597 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46598 fi
46599
46600 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46601
46602 if test "$wxUSE_GUI" = "yes"; then
46603
46604
46605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46606 dynamic erase event exec font image minimal mobile \
46607 mobile/wxedit mobile/styles propsize render \
46608 rotate shaped vscroll widgets"
46609
46610 if test "$wxUSE_MONOLITHIC" != "yes"; then
46611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46612 fi
46613 if test "$TOOLKIT" = "MSW"; then
46614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46615 if test "$wxUSE_UNIVERSAL" != "yes"; then
46616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46617 fi
46618 fi
46619 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46621 fi
46622 else
46623 SAMPLES_SUBDIRS="console"
46624 fi
46625
46626
46627 if test "x$INTELCC" = "xyes" ; then
46628 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46629 elif test "$GCC" = yes ; then
46630 CWARNINGS="-Wall -Wundef"
46631 fi
46632
46633 if test "x$INTELCXX" = "xyes" ; then
46634 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46635 elif test "$GXX" = yes ; then
46636 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46637 fi
46638
46639
46640 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46641 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46642
46643
46644 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46645 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46646 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46647 $CPPFLAGS `
46648
46649 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46650 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46651 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46652
46653 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46654
46655
46656 if test "x$MWCC" = "xyes"; then
46657
46658 CC="$CC -cwd source -I-"
46659 CXX="$CXX -cwd source -I-"
46660 fi
46661
46662
46663 LIBS=`echo $LIBS`
46664 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46665 EXTRALIBS_XML="$EXPAT_LINK"
46666 EXTRALIBS_HTML="$MSPACK_LINK"
46667 EXTRALIBS_ODBC="$ODBC_LINK"
46668 if test "$wxUSE_GUI" = "yes"; then
46669 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46670 fi
46671 if test "$wxUSE_OPENGL" = "yes"; then
46672 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46673 fi
46674
46675 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46676
46677 WXCONFIG_LIBS="$LIBS"
46678
46679 if test "$wxUSE_REGEX" = "builtin" ; then
46680 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46681 fi
46682 if test "$wxUSE_EXPAT" = "builtin" ; then
46683 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46684 fi
46685 if test "$wxUSE_ODBC" = "builtin" ; then
46686 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46687 fi
46688 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46689 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46690 fi
46691 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46692 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46693 fi
46694 if test "$wxUSE_LIBPNG" = "builtin" ; then
46695 wxconfig_3rdparty="png $wxconfig_3rdparty"
46696 fi
46697 if test "$wxUSE_ZLIB" = "builtin" ; then
46698 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46699 fi
46700
46701 for i in $wxconfig_3rdparty ; do
46702 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46703 done
46704
46705
46706 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46707 WXUNIV=1
46708 else
46709 WXUNIV=0
46710 fi
46711
46712
46713
46714
46715
46716
46717
46718
46719
46720 if test $wxUSE_MONOLITHIC = "yes" ; then
46721 MONOLITHIC=1
46722 else
46723 MONOLITHIC=0
46724 fi
46725
46726 if test $wxUSE_PLUGINS = "yes" ; then
46727 USE_PLUGINS=1
46728 else
46729 USE_PLUGINS=0
46730 fi
46731
46732 if test $wxUSE_ODBC != "no" ; then
46733 USE_ODBC=1
46734 else
46735 USE_ODBC=0
46736 fi
46737
46738 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46739 USE_QA=1
46740 else
46741 USE_QA=0
46742 fi
46743
46744 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46745 OFFICIAL_BUILD=1
46746 else
46747 OFFICIAL_BUILD=0
46748 fi
46749
46750
46751
46752
46753
46754
46755
46756
46757
46758
46759
46760
46761
46762
46763
46764
46765
46766
46767
46768
46769
46770
46771
46772
46773
46774 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46775
46776
46777
46778
46779
46780
46781
46782
46783 case "$TOOLKIT" in
46784 GTK)
46785 TOOLKIT_DESC="GTK+"
46786 if test "$WXGTK20" = 1; then
46787 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46788 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46789 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46790 fi
46791 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46792 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46793 fi
46794 if test "$wxUSE_LIBHILDON" = "yes"; then
46795 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46796 fi
46797
46798 if test "$TOOLKIT_EXTRA" != ""; then
46799 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46800 fi
46801 fi
46802 ;;
46803
46804 ?*)
46805 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46806 ;;
46807
46808 *)
46809 TOOLKIT_DESC="base only"
46810 ;;
46811 esac
46812
46813 if test "$wxUSE_WINE" = "yes"; then
46814 BAKEFILE_FORCE_PLATFORM=win32
46815 fi
46816
46817 if test "$wxUSE_MAC" = 1 ; then
46818 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46819 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46820 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46821 else
46822 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46823 fi
46824 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46825 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46826 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46827 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46828 bk_use_pch=no
46829 fi
46830 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46831 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46832 fi
46833
46834
46835
46836
46837 if test "x$BAKEFILE_HOST" = "x"; then
46838 if test "x${host}" = "x" ; then
46839 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46840 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46841 { (exit 1); exit 1; }; }
46842 fi
46843
46844 BAKEFILE_HOST="${host}"
46845 fi
46846
46847 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46848
46849 if test -n "$ac_tool_prefix"; then
46850 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46851 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46852 echo "$as_me:$LINENO: checking for $ac_word" >&5
46853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46854 if test "${ac_cv_prog_RANLIB+set}" = set; then
46855 echo $ECHO_N "(cached) $ECHO_C" >&6
46856 else
46857 if test -n "$RANLIB"; then
46858 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46859 else
46860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46861 for as_dir in $PATH
46862 do
46863 IFS=$as_save_IFS
46864 test -z "$as_dir" && as_dir=.
46865 for ac_exec_ext in '' $ac_executable_extensions; do
46866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46867 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46869 break 2
46870 fi
46871 done
46872 done
46873
46874 fi
46875 fi
46876 RANLIB=$ac_cv_prog_RANLIB
46877 if test -n "$RANLIB"; then
46878 echo "$as_me:$LINENO: result: $RANLIB" >&5
46879 echo "${ECHO_T}$RANLIB" >&6
46880 else
46881 echo "$as_me:$LINENO: result: no" >&5
46882 echo "${ECHO_T}no" >&6
46883 fi
46884
46885 fi
46886 if test -z "$ac_cv_prog_RANLIB"; then
46887 ac_ct_RANLIB=$RANLIB
46888 # Extract the first word of "ranlib", so it can be a program name with args.
46889 set dummy ranlib; ac_word=$2
46890 echo "$as_me:$LINENO: checking for $ac_word" >&5
46891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46892 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46893 echo $ECHO_N "(cached) $ECHO_C" >&6
46894 else
46895 if test -n "$ac_ct_RANLIB"; then
46896 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46897 else
46898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46899 for as_dir in $PATH
46900 do
46901 IFS=$as_save_IFS
46902 test -z "$as_dir" && as_dir=.
46903 for ac_exec_ext in '' $ac_executable_extensions; do
46904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46905 ac_cv_prog_ac_ct_RANLIB="ranlib"
46906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46907 break 2
46908 fi
46909 done
46910 done
46911
46912 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
46913 fi
46914 fi
46915 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46916 if test -n "$ac_ct_RANLIB"; then
46917 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46918 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46919 else
46920 echo "$as_me:$LINENO: result: no" >&5
46921 echo "${ECHO_T}no" >&6
46922 fi
46923
46924 RANLIB=$ac_ct_RANLIB
46925 else
46926 RANLIB="$ac_cv_prog_RANLIB"
46927 fi
46928
46929 # Find a good install program. We prefer a C program (faster),
46930 # so one script is as good as another. But avoid the broken or
46931 # incompatible versions:
46932 # SysV /etc/install, /usr/sbin/install
46933 # SunOS /usr/etc/install
46934 # IRIX /sbin/install
46935 # AIX /bin/install
46936 # AmigaOS /C/install, which installs bootblocks on floppy discs
46937 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46940 # OS/2's system install, which has a completely different semantic
46941 # ./install, which can be erroneously created by make from ./install.sh.
46942 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46943 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46944 if test -z "$INSTALL"; then
46945 if test "${ac_cv_path_install+set}" = set; then
46946 echo $ECHO_N "(cached) $ECHO_C" >&6
46947 else
46948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46949 for as_dir in $PATH
46950 do
46951 IFS=$as_save_IFS
46952 test -z "$as_dir" && as_dir=.
46953 # Account for people who put trailing slashes in PATH elements.
46954 case $as_dir/ in
46955 ./ | .// | /cC/* | \
46956 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46957 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46958 /usr/ucb/* ) ;;
46959 *)
46960 # OSF1 and SCO ODT 3.0 have their own names for install.
46961 # Don't use installbsd from OSF since it installs stuff as root
46962 # by default.
46963 for ac_prog in ginstall scoinst install; do
46964 for ac_exec_ext in '' $ac_executable_extensions; do
46965 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46966 if test $ac_prog = install &&
46967 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46968 # AIX install. It has an incompatible calling convention.
46969 :
46970 elif test $ac_prog = install &&
46971 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46972 # program-specific install script used by HP pwplus--don't use.
46973 :
46974 else
46975 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46976 break 3
46977 fi
46978 fi
46979 done
46980 done
46981 ;;
46982 esac
46983 done
46984
46985
46986 fi
46987 if test "${ac_cv_path_install+set}" = set; then
46988 INSTALL=$ac_cv_path_install
46989 else
46990 # As a last resort, use the slow shell script. We don't cache a
46991 # path for INSTALL within a source directory, because that will
46992 # break other packages using the cache if that directory is
46993 # removed, or if the path is relative.
46994 INSTALL=$ac_install_sh
46995 fi
46996 fi
46997 echo "$as_me:$LINENO: result: $INSTALL" >&5
46998 echo "${ECHO_T}$INSTALL" >&6
46999
47000 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47001 # It thinks the first close brace ends the variable substitution.
47002 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47003
47004 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47005
47006 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47007
47008 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47009 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47010 LN_S=$as_ln_s
47011 if test "$LN_S" = "ln -s"; then
47012 echo "$as_me:$LINENO: result: yes" >&5
47013 echo "${ECHO_T}yes" >&6
47014 else
47015 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47016 echo "${ECHO_T}no, using $LN_S" >&6
47017 fi
47018
47019
47020 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47021 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47022 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47023 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47024 echo $ECHO_N "(cached) $ECHO_C" >&6
47025 else
47026 cat >conftest.make <<\_ACEOF
47027 all:
47028 @echo 'ac_maketemp="$(MAKE)"'
47029 _ACEOF
47030 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47031 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47032 if test -n "$ac_maketemp"; then
47033 eval ac_cv_prog_make_${ac_make}_set=yes
47034 else
47035 eval ac_cv_prog_make_${ac_make}_set=no
47036 fi
47037 rm -f conftest.make
47038 fi
47039 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47040 echo "$as_me:$LINENO: result: yes" >&5
47041 echo "${ECHO_T}yes" >&6
47042 SET_MAKE=
47043 else
47044 echo "$as_me:$LINENO: result: no" >&5
47045 echo "${ECHO_T}no" >&6
47046 SET_MAKE="MAKE=${MAKE-make}"
47047 fi
47048
47049
47050
47051 if test -n "$ac_tool_prefix"; then
47052 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47053 set dummy ${ac_tool_prefix}ar; ac_word=$2
47054 echo "$as_me:$LINENO: checking for $ac_word" >&5
47055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47056 if test "${ac_cv_prog_AR+set}" = set; then
47057 echo $ECHO_N "(cached) $ECHO_C" >&6
47058 else
47059 if test -n "$AR"; then
47060 ac_cv_prog_AR="$AR" # Let the user override the test.
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 for ac_exec_ext in '' $ac_executable_extensions; do
47068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47069 ac_cv_prog_AR="${ac_tool_prefix}ar"
47070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47071 break 2
47072 fi
47073 done
47074 done
47075
47076 fi
47077 fi
47078 AR=$ac_cv_prog_AR
47079 if test -n "$AR"; then
47080 echo "$as_me:$LINENO: result: $AR" >&5
47081 echo "${ECHO_T}$AR" >&6
47082 else
47083 echo "$as_me:$LINENO: result: no" >&5
47084 echo "${ECHO_T}no" >&6
47085 fi
47086
47087 fi
47088 if test -z "$ac_cv_prog_AR"; then
47089 ac_ct_AR=$AR
47090 # Extract the first word of "ar", so it can be a program name with args.
47091 set dummy ar; ac_word=$2
47092 echo "$as_me:$LINENO: checking for $ac_word" >&5
47093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47094 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47095 echo $ECHO_N "(cached) $ECHO_C" >&6
47096 else
47097 if test -n "$ac_ct_AR"; then
47098 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47099 else
47100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47101 for as_dir in $PATH
47102 do
47103 IFS=$as_save_IFS
47104 test -z "$as_dir" && as_dir=.
47105 for ac_exec_ext in '' $ac_executable_extensions; do
47106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47107 ac_cv_prog_ac_ct_AR="ar"
47108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47109 break 2
47110 fi
47111 done
47112 done
47113
47114 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47115 fi
47116 fi
47117 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47118 if test -n "$ac_ct_AR"; then
47119 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47120 echo "${ECHO_T}$ac_ct_AR" >&6
47121 else
47122 echo "$as_me:$LINENO: result: no" >&5
47123 echo "${ECHO_T}no" >&6
47124 fi
47125
47126 AR=$ac_ct_AR
47127 else
47128 AR="$ac_cv_prog_AR"
47129 fi
47130
47131 if test -n "$ac_tool_prefix"; then
47132 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47133 set dummy ${ac_tool_prefix}strip; ac_word=$2
47134 echo "$as_me:$LINENO: checking for $ac_word" >&5
47135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47136 if test "${ac_cv_prog_STRIP+set}" = set; then
47137 echo $ECHO_N "(cached) $ECHO_C" >&6
47138 else
47139 if test -n "$STRIP"; then
47140 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47141 else
47142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47143 for as_dir in $PATH
47144 do
47145 IFS=$as_save_IFS
47146 test -z "$as_dir" && as_dir=.
47147 for ac_exec_ext in '' $ac_executable_extensions; do
47148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47149 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47151 break 2
47152 fi
47153 done
47154 done
47155
47156 fi
47157 fi
47158 STRIP=$ac_cv_prog_STRIP
47159 if test -n "$STRIP"; then
47160 echo "$as_me:$LINENO: result: $STRIP" >&5
47161 echo "${ECHO_T}$STRIP" >&6
47162 else
47163 echo "$as_me:$LINENO: result: no" >&5
47164 echo "${ECHO_T}no" >&6
47165 fi
47166
47167 fi
47168 if test -z "$ac_cv_prog_STRIP"; then
47169 ac_ct_STRIP=$STRIP
47170 # Extract the first word of "strip", so it can be a program name with args.
47171 set dummy strip; ac_word=$2
47172 echo "$as_me:$LINENO: checking for $ac_word" >&5
47173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47174 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47175 echo $ECHO_N "(cached) $ECHO_C" >&6
47176 else
47177 if test -n "$ac_ct_STRIP"; then
47178 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47179 else
47180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47181 for as_dir in $PATH
47182 do
47183 IFS=$as_save_IFS
47184 test -z "$as_dir" && as_dir=.
47185 for ac_exec_ext in '' $ac_executable_extensions; do
47186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47187 ac_cv_prog_ac_ct_STRIP="strip"
47188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47189 break 2
47190 fi
47191 done
47192 done
47193
47194 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47195 fi
47196 fi
47197 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47198 if test -n "$ac_ct_STRIP"; then
47199 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47200 echo "${ECHO_T}$ac_ct_STRIP" >&6
47201 else
47202 echo "$as_me:$LINENO: result: no" >&5
47203 echo "${ECHO_T}no" >&6
47204 fi
47205
47206 STRIP=$ac_ct_STRIP
47207 else
47208 STRIP="$ac_cv_prog_STRIP"
47209 fi
47210
47211 if test -n "$ac_tool_prefix"; then
47212 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47213 set dummy ${ac_tool_prefix}nm; ac_word=$2
47214 echo "$as_me:$LINENO: checking for $ac_word" >&5
47215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47216 if test "${ac_cv_prog_NM+set}" = set; then
47217 echo $ECHO_N "(cached) $ECHO_C" >&6
47218 else
47219 if test -n "$NM"; then
47220 ac_cv_prog_NM="$NM" # Let the user override the test.
47221 else
47222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47223 for as_dir in $PATH
47224 do
47225 IFS=$as_save_IFS
47226 test -z "$as_dir" && as_dir=.
47227 for ac_exec_ext in '' $ac_executable_extensions; do
47228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47229 ac_cv_prog_NM="${ac_tool_prefix}nm"
47230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47231 break 2
47232 fi
47233 done
47234 done
47235
47236 fi
47237 fi
47238 NM=$ac_cv_prog_NM
47239 if test -n "$NM"; then
47240 echo "$as_me:$LINENO: result: $NM" >&5
47241 echo "${ECHO_T}$NM" >&6
47242 else
47243 echo "$as_me:$LINENO: result: no" >&5
47244 echo "${ECHO_T}no" >&6
47245 fi
47246
47247 fi
47248 if test -z "$ac_cv_prog_NM"; then
47249 ac_ct_NM=$NM
47250 # Extract the first word of "nm", so it can be a program name with args.
47251 set dummy nm; ac_word=$2
47252 echo "$as_me:$LINENO: checking for $ac_word" >&5
47253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47254 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47255 echo $ECHO_N "(cached) $ECHO_C" >&6
47256 else
47257 if test -n "$ac_ct_NM"; then
47258 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47259 else
47260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47261 for as_dir in $PATH
47262 do
47263 IFS=$as_save_IFS
47264 test -z "$as_dir" && as_dir=.
47265 for ac_exec_ext in '' $ac_executable_extensions; do
47266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47267 ac_cv_prog_ac_ct_NM="nm"
47268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47269 break 2
47270 fi
47271 done
47272 done
47273
47274 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47275 fi
47276 fi
47277 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47278 if test -n "$ac_ct_NM"; then
47279 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47280 echo "${ECHO_T}$ac_ct_NM" >&6
47281 else
47282 echo "$as_me:$LINENO: result: no" >&5
47283 echo "${ECHO_T}no" >&6
47284 fi
47285
47286 NM=$ac_ct_NM
47287 else
47288 NM="$ac_cv_prog_NM"
47289 fi
47290
47291
47292 case ${BAKEFILE_HOST} in
47293 *-hp-hpux* )
47294 INSTALL_DIR="mkdir -p"
47295 ;;
47296 *) INSTALL_DIR="$INSTALL -d"
47297 ;;
47298 esac
47299
47300
47301 LDFLAGS_GUI=
47302 case ${BAKEFILE_HOST} in
47303 *-*-cygwin* | *-*-mingw32* )
47304 LDFLAGS_GUI="-mwindows"
47305 esac
47306
47307
47308 fi
47309
47310 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47311 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47312 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47313 echo $ECHO_N "(cached) $ECHO_C" >&6
47314 else
47315
47316 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47317 egrep -s GNU > /dev/null); then
47318 bakefile_cv_prog_makeisgnu="yes"
47319 else
47320 bakefile_cv_prog_makeisgnu="no"
47321 fi
47322
47323 fi
47324 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47325 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47326
47327 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47328 IF_GNU_MAKE=""
47329 else
47330 IF_GNU_MAKE="#"
47331 fi
47332
47333
47334
47335 PLATFORM_UNIX=0
47336 PLATFORM_WIN32=0
47337 PLATFORM_MSDOS=0
47338 PLATFORM_MAC=0
47339 PLATFORM_MACOS=0
47340 PLATFORM_MACOSX=0
47341 PLATFORM_OS2=0
47342 PLATFORM_BEOS=0
47343
47344 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47345 case "${BAKEFILE_HOST}" in
47346 *-*-mingw32* )
47347 PLATFORM_WIN32=1
47348 ;;
47349 *-pc-msdosdjgpp )
47350 PLATFORM_MSDOS=1
47351 ;;
47352 *-pc-os2_emx | *-pc-os2-emx )
47353 PLATFORM_OS2=1
47354 ;;
47355 *-*-darwin* )
47356 PLATFORM_MAC=1
47357 PLATFORM_MACOSX=1
47358 ;;
47359 *-*-beos* )
47360 PLATFORM_BEOS=1
47361 ;;
47362 powerpc-apple-macos* )
47363 PLATFORM_MAC=1
47364 PLATFORM_MACOS=1
47365 ;;
47366 * )
47367 PLATFORM_UNIX=1
47368 ;;
47369 esac
47370 else
47371 case "$BAKEFILE_FORCE_PLATFORM" in
47372 win32 )
47373 PLATFORM_WIN32=1
47374 ;;
47375 msdos )
47376 PLATFORM_MSDOS=1
47377 ;;
47378 os2 )
47379 PLATFORM_OS2=1
47380 ;;
47381 darwin )
47382 PLATFORM_MAC=1
47383 PLATFORM_MACOSX=1
47384 ;;
47385 unix )
47386 PLATFORM_UNIX=1
47387 ;;
47388 beos )
47389 PLATFORM_BEOS=1
47390 ;;
47391 * )
47392 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47393 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47394 { (exit 1); exit 1; }; }
47395 ;;
47396 esac
47397 fi
47398
47399
47400
47401
47402
47403
47404
47405
47406
47407
47408
47409 # Check whether --enable-omf or --disable-omf was given.
47410 if test "${enable_omf+set}" = set; then
47411 enableval="$enable_omf"
47412 bk_os2_use_omf="$enableval"
47413 fi;
47414
47415 case "${BAKEFILE_HOST}" in
47416 *-*-darwin* )
47417 if test "x$GCC" = "xyes"; then
47418 CFLAGS="$CFLAGS -fno-common"
47419 CXXFLAGS="$CXXFLAGS -fno-common"
47420 fi
47421 if test "x$XLCC" = "xyes"; then
47422 CFLAGS="$CFLAGS -qnocommon"
47423 CXXFLAGS="$CXXFLAGS -qnocommon"
47424 fi
47425 ;;
47426
47427 *-pc-os2_emx | *-pc-os2-emx )
47428 if test "x$bk_os2_use_omf" = "xyes" ; then
47429 AR=emxomfar
47430 RANLIB=:
47431 LDFLAGS="-Zomf $LDFLAGS"
47432 CFLAGS="-Zomf $CFLAGS"
47433 CXXFLAGS="-Zomf $CXXFLAGS"
47434 OS2_LIBEXT="lib"
47435 else
47436 OS2_LIBEXT="a"
47437 fi
47438 ;;
47439
47440 i*86-*-beos* )
47441 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47442 ;;
47443 esac
47444
47445
47446 SO_SUFFIX="so"
47447 SO_SUFFIX_MODULE="so"
47448 EXEEXT=""
47449 LIBPREFIX="lib"
47450 LIBEXT=".a"
47451 DLLPREFIX="lib"
47452 DLLPREFIX_MODULE=""
47453 DLLIMP_SUFFIX=""
47454 dlldir="$libdir"
47455
47456 case "${BAKEFILE_HOST}" in
47457 *-hp-hpux* )
47458 SO_SUFFIX="sl"
47459 SO_SUFFIX_MODULE="sl"
47460 ;;
47461 *-*-aix* )
47462 SO_SUFFIX="a"
47463 SO_SUFFIX_MODULE="a"
47464 ;;
47465 *-*-cygwin* )
47466 SO_SUFFIX="dll"
47467 SO_SUFFIX_MODULE="dll"
47468 DLLIMP_SUFFIX="dll.a"
47469 EXEEXT=".exe"
47470 DLLPREFIX="cyg"
47471 dlldir="$bindir"
47472 ;;
47473 *-*-mingw32* )
47474 SO_SUFFIX="dll"
47475 SO_SUFFIX_MODULE="dll"
47476 DLLIMP_SUFFIX="dll.a"
47477 EXEEXT=".exe"
47478 DLLPREFIX=""
47479 dlldir="$bindir"
47480 ;;
47481 *-pc-msdosdjgpp )
47482 EXEEXT=".exe"
47483 DLLPREFIX=""
47484 dlldir="$bindir"
47485 ;;
47486 *-pc-os2_emx | *-pc-os2-emx )
47487 SO_SUFFIX="dll"
47488 SO_SUFFIX_MODULE="dll"
47489 DLLIMP_SUFFIX=$OS2_LIBEXT
47490 EXEEXT=".exe"
47491 DLLPREFIX=""
47492 LIBPREFIX=""
47493 LIBEXT=".$OS2_LIBEXT"
47494 dlldir="$bindir"
47495 ;;
47496 *-*-darwin* )
47497 SO_SUFFIX="dylib"
47498 SO_SUFFIX_MODULE="bundle"
47499 ;;
47500 esac
47501
47502 if test "x$DLLIMP_SUFFIX" = "x" ; then
47503 DLLIMP_SUFFIX="$SO_SUFFIX"
47504 fi
47505
47506
47507
47508
47509
47510
47511
47512
47513
47514
47515
47516
47517 PIC_FLAG=""
47518 if test "x$GCC" = "xyes"; then
47519 PIC_FLAG="-fPIC"
47520 fi
47521
47522 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47523 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47524 WINDOWS_IMPLIB=0
47525
47526 case "${BAKEFILE_HOST}" in
47527 *-hp-hpux* )
47528 if test "x$GCC" != "xyes"; then
47529 LDFLAGS="$LDFLAGS -L/usr/lib"
47530
47531 SHARED_LD_CC="${CC} -b -o"
47532 SHARED_LD_CXX="${CXX} -b -o"
47533 PIC_FLAG="+Z"
47534 fi
47535 ;;
47536
47537 *-*-linux* )
47538 if test "x$GCC" != "xyes"; then
47539 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47540 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47541 if test "${bakefile_cv_prog_icc+set}" = set; then
47542 echo $ECHO_N "(cached) $ECHO_C" >&6
47543 else
47544
47545 cat >conftest.$ac_ext <<_ACEOF
47546 /* confdefs.h. */
47547 _ACEOF
47548 cat confdefs.h >>conftest.$ac_ext
47549 cat >>conftest.$ac_ext <<_ACEOF
47550 /* end confdefs.h. */
47551
47552 int
47553 main ()
47554 {
47555
47556 #ifndef __INTEL_COMPILER
47557 This is not ICC
47558 #endif
47559
47560 ;
47561 return 0;
47562 }
47563 _ACEOF
47564 rm -f conftest.$ac_objext
47565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47566 (eval $ac_compile) 2>conftest.er1
47567 ac_status=$?
47568 grep -v '^ *+' conftest.er1 >conftest.err
47569 rm -f conftest.er1
47570 cat conftest.err >&5
47571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47572 (exit $ac_status); } &&
47573 { ac_try='test -z "$ac_c_werror_flag"
47574 || test ! -s conftest.err'
47575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47576 (eval $ac_try) 2>&5
47577 ac_status=$?
47578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47579 (exit $ac_status); }; } &&
47580 { ac_try='test -s conftest.$ac_objext'
47581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47582 (eval $ac_try) 2>&5
47583 ac_status=$?
47584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47585 (exit $ac_status); }; }; then
47586 bakefile_cv_prog_icc=yes
47587 else
47588 echo "$as_me: failed program was:" >&5
47589 sed 's/^/| /' conftest.$ac_ext >&5
47590
47591 bakefile_cv_prog_icc=no
47592
47593 fi
47594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47595
47596 fi
47597 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47598 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47599 if test "$bakefile_cv_prog_icc" = "yes"; then
47600 PIC_FLAG="-KPIC"
47601 fi
47602 fi
47603 ;;
47604
47605 *-*-solaris2* )
47606 if test "x$GCC" != xyes ; then
47607 SHARED_LD_CC="${CC} -G -o"
47608 SHARED_LD_CXX="${CXX} -G -o"
47609 PIC_FLAG="-KPIC"
47610 fi
47611 ;;
47612
47613 *-*-darwin* )
47614
47615 D='$'
47616 cat <<EOF >shared-ld-sh
47617 #!/bin/sh
47618 #-----------------------------------------------------------------------------
47619 #-- Name: distrib/mac/shared-ld-sh
47620 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47621 #-- Author: Gilles Depeyrot
47622 #-- Copyright: (c) 2002 Gilles Depeyrot
47623 #-- Licence: any use permitted
47624 #-----------------------------------------------------------------------------
47625
47626 verbose=0
47627 args=""
47628 objects=""
47629 linking_flag="-dynamiclib"
47630 ldargs="-r -keep_private_externs -nostdlib"
47631
47632 while test ${D}# -gt 0; do
47633 case ${D}1 in
47634
47635 -v)
47636 verbose=1
47637 ;;
47638
47639 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47640 # collect these options and values
47641 args="${D}{args} ${D}1 ${D}2"
47642 shift
47643 ;;
47644
47645 -s|-Wl,*)
47646 # collect these load args
47647 ldargs="${D}{ldargs} ${D}1"
47648 ;;
47649
47650 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47651 # collect these options
47652 args="${D}{args} ${D}1"
47653 ;;
47654
47655 -dynamiclib|-bundle)
47656 linking_flag="${D}1"
47657 ;;
47658
47659 -*)
47660 echo "shared-ld: unhandled option '${D}1'"
47661 exit 1
47662 ;;
47663
47664 *.o | *.a | *.dylib)
47665 # collect object files
47666 objects="${D}{objects} ${D}1"
47667 ;;
47668
47669 *)
47670 echo "shared-ld: unhandled argument '${D}1'"
47671 exit 1
47672 ;;
47673
47674 esac
47675 shift
47676 done
47677
47678 status=0
47679
47680 #
47681 # Link one module containing all the others
47682 #
47683 if test ${D}{verbose} = 1; then
47684 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47685 fi
47686 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47687 status=${D}?
47688
47689 #
47690 # Link the shared library from the single module created, but only if the
47691 # previous command didn't fail:
47692 #
47693 if test ${D}{status} = 0; then
47694 if test ${D}{verbose} = 1; then
47695 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47696 fi
47697 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47698 status=${D}?
47699 fi
47700
47701 #
47702 # Remove intermediate module
47703 #
47704 rm -f master.${D}${D}.o
47705
47706 exit ${D}status
47707 EOF
47708
47709 chmod +x shared-ld-sh
47710
47711 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47712 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47713
47714
47715 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47716 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47717 if test "${bakefile_cv_gcc31+set}" = set; then
47718 echo $ECHO_N "(cached) $ECHO_C" >&6
47719 else
47720
47721 cat >conftest.$ac_ext <<_ACEOF
47722 /* confdefs.h. */
47723 _ACEOF
47724 cat confdefs.h >>conftest.$ac_ext
47725 cat >>conftest.$ac_ext <<_ACEOF
47726 /* end confdefs.h. */
47727
47728 int
47729 main ()
47730 {
47731
47732 #if (__GNUC__ < 3) || \
47733 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47734 This is old gcc
47735 #endif
47736
47737 ;
47738 return 0;
47739 }
47740 _ACEOF
47741 rm -f conftest.$ac_objext
47742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47743 (eval $ac_compile) 2>conftest.er1
47744 ac_status=$?
47745 grep -v '^ *+' conftest.er1 >conftest.err
47746 rm -f conftest.er1
47747 cat conftest.err >&5
47748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47749 (exit $ac_status); } &&
47750 { ac_try='test -z "$ac_c_werror_flag"
47751 || test ! -s conftest.err'
47752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47753 (eval $ac_try) 2>&5
47754 ac_status=$?
47755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47756 (exit $ac_status); }; } &&
47757 { ac_try='test -s conftest.$ac_objext'
47758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47759 (eval $ac_try) 2>&5
47760 ac_status=$?
47761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47762 (exit $ac_status); }; }; then
47763
47764 bakefile_cv_gcc31=yes
47765
47766 else
47767 echo "$as_me: failed program was:" >&5
47768 sed 's/^/| /' conftest.$ac_ext >&5
47769
47770
47771 bakefile_cv_gcc31=no
47772
47773
47774 fi
47775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47776
47777 fi
47778 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47779 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47780 if test "$bakefile_cv_gcc31" = "no"; then
47781 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47782 SHARED_LD_CXX="$SHARED_LD_CC"
47783 else
47784 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47785 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47786 fi
47787
47788 if test "x$GCC" == "xyes"; then
47789 PIC_FLAG="-dynamic -fPIC"
47790 fi
47791 if test "x$XLCC" = "xyes"; then
47792 PIC_FLAG="-dynamic -DPIC"
47793 fi
47794 ;;
47795
47796 *-*-aix* )
47797 if test "x$GCC" = "xyes"; then
47798 PIC_FLAG=""
47799
47800 case "${BAKEFILE_HOST}" in
47801 *-*-aix5* )
47802 LD_EXPFULL="-Wl,-bexpfull"
47803 ;;
47804 esac
47805
47806 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47807 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47808 else
47809 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47810 set dummy makeC++SharedLib; ac_word=$2
47811 echo "$as_me:$LINENO: checking for $ac_word" >&5
47812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47813 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47814 echo $ECHO_N "(cached) $ECHO_C" >&6
47815 else
47816 if test -n "$AIX_CXX_LD"; then
47817 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47818 else
47819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47820 for as_dir in $PATH
47821 do
47822 IFS=$as_save_IFS
47823 test -z "$as_dir" && as_dir=.
47824 for ac_exec_ext in '' $ac_executable_extensions; do
47825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47826 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47828 break 2
47829 fi
47830 done
47831 done
47832
47833 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47834 fi
47835 fi
47836 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47837 if test -n "$AIX_CXX_LD"; then
47838 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47839 echo "${ECHO_T}$AIX_CXX_LD" >&6
47840 else
47841 echo "$as_me:$LINENO: result: no" >&5
47842 echo "${ECHO_T}no" >&6
47843 fi
47844
47845 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47846 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47847 fi
47848 ;;
47849
47850 *-*-beos* )
47851 SHARED_LD_CC="${LD} -nostart -o"
47852 SHARED_LD_CXX="${LD} -nostart -o"
47853 ;;
47854
47855 *-*-irix* )
47856 if test "x$GCC" != "xyes"; then
47857 PIC_FLAG="-KPIC"
47858 fi
47859 ;;
47860
47861 *-*-cygwin* | *-*-mingw32* )
47862 PIC_FLAG=""
47863 SHARED_LD_CC="\$(CC) -shared -o"
47864 SHARED_LD_CXX="\$(CXX) -shared -o"
47865 WINDOWS_IMPLIB=1
47866 ;;
47867
47868 *-pc-os2_emx | *-pc-os2-emx )
47869 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47870 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47871 PIC_FLAG=""
47872
47873 D='$'
47874 cat <<EOF >dllar.sh
47875 #!/bin/sh
47876 #
47877 # dllar - a tool to build both a .dll and an .a file
47878 # from a set of object (.o) files for EMX/OS2.
47879 #
47880 # Written by Andrew Zabolotny, bit@freya.etu.ru
47881 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47882 #
47883 # This script will accept a set of files on the command line.
47884 # All the public symbols from the .o files will be exported into
47885 # a .DEF file, then linker will be run (through gcc) against them to
47886 # build a shared library consisting of all given .o files. All libraries
47887 # (.a) will be first decompressed into component .o files then act as
47888 # described above. You can optionally give a description (-d "description")
47889 # which will be put into .DLL. To see the list of accepted options (as well
47890 # as command-line format) simply run this program without options. The .DLL
47891 # is built to be imported by name (there is no guarantee that new versions
47892 # of the library you build will have same ordinals for same symbols).
47893 #
47894 # dllar is free software; you can redistribute it and/or modify
47895 # it under the terms of the GNU General Public License as published by
47896 # the Free Software Foundation; either version 2, or (at your option)
47897 # any later version.
47898 #
47899 # dllar is distributed in the hope that it will be useful,
47900 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47901 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47902 # GNU General Public License for more details.
47903 #
47904 # You should have received a copy of the GNU General Public License
47905 # along with dllar; see the file COPYING. If not, write to the Free
47906 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47907 # 02111-1307, USA.
47908
47909 # To successfuly run this program you will need:
47910 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47911 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47912 # - gcc
47913 # (used to build the .dll)
47914 # - emxexp
47915 # (used to create .def file from .o files)
47916 # - emximp
47917 # (used to create .a file from .def file)
47918 # - GNU text utilites (cat, sort, uniq)
47919 # used to process emxexp output
47920 # - GNU file utilities (mv, rm)
47921 # - GNU sed
47922 # - lxlite (optional, see flag below)
47923 # (used for general .dll cleanup)
47924 #
47925
47926 flag_USE_LXLITE=1;
47927
47928 #
47929 # helper functions
47930 # basnam, variant of basename, which does _not_ remove the path, _iff_
47931 # second argument (suffix to remove) is given
47932 basnam(){
47933 case ${D}# in
47934 1)
47935 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47936 ;;
47937 2)
47938 echo ${D}1 | sed 's/'${D}2'${D}//'
47939 ;;
47940 *)
47941 echo "error in basnam ${D}*"
47942 exit 8
47943 ;;
47944 esac
47945 }
47946
47947 # Cleanup temporary files and output
47948 CleanUp() {
47949 cd ${D}curDir
47950 for i in ${D}inputFiles ; do
47951 case ${D}i in
47952 *!)
47953 rm -rf \`basnam ${D}i !\`
47954 ;;
47955 *)
47956 ;;
47957 esac
47958 done
47959
47960 # Kill result in case of failure as there is just to many stupid make/nmake
47961 # things out there which doesn't do this.
47962 if [ ${D}# -eq 0 ]; then
47963 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47964 fi
47965 }
47966
47967 # Print usage and exit script with rc=1.
47968 PrintHelp() {
47969 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47970 echo ' [-name-mangler-script script.sh]'
47971 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47972 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47973 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47974 echo ' [*.o] [*.a]'
47975 echo '*> "output_file" should have no extension.'
47976 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47977 echo ' The import library name is derived from this and is set to "name".a,'
47978 echo ' unless overridden by -import'
47979 echo '*> "importlib_name" should have no extension.'
47980 echo ' If it has the .o, or .a extension, it is automatically removed.'
47981 echo ' This name is used as the import library name and may be longer and'
47982 echo ' more descriptive than the DLL name which has to follow the old '
47983 echo ' 8.3 convention of FAT.'
47984 echo '*> "script.sh may be given to override the output_file name by a'
47985 echo ' different name. It is mainly useful if the regular make process'
47986 echo ' of some package does not take into account OS/2 restriction of'
47987 echo ' DLL name lengths. It takes the importlib name as input and is'
47988 echo ' supposed to procude a shorter name as output. The script should'
47989 echo ' expect to get importlib_name without extension and should produce'
47990 echo ' a (max.) 8 letter name without extension.'
47991 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47992 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47993 echo ' These flags will be put at the start of GCC command line.'
47994 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47995 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47996 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47997 echo ' If the last character of a symbol is "*", all symbols beginning'
47998 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47999 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48000 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48001 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48002 echo ' C runtime DLLs.'
48003 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48004 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48005 echo ' unchanged to GCC at the end of command line.'
48006 echo '*> If you create a DLL from a library and you do not specify -o,'
48007 echo ' the basename for DLL and import library will be set to library name,'
48008 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48009 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48010 echo ' library will be renamed into gcc_s.a.'
48011 echo '--------'
48012 echo 'Example:'
48013 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48014 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48015 CleanUp
48016 exit 1
48017 }
48018
48019 # Execute a command.
48020 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48021 # @Uses Whatever CleanUp() uses.
48022 doCommand() {
48023 echo "${D}*"
48024 eval ${D}*
48025 rcCmd=${D}?
48026
48027 if [ ${D}rcCmd -ne 0 ]; then
48028 echo "command failed, exit code="${D}rcCmd
48029 CleanUp
48030 exit ${D}rcCmd
48031 fi
48032 }
48033
48034 # main routine
48035 # setup globals
48036 cmdLine=${D}*
48037 outFile=""
48038 outimpFile=""
48039 inputFiles=""
48040 renameScript=""
48041 description=""
48042 CC=gcc.exe
48043 CFLAGS="-s -Zcrtdll"
48044 EXTRA_CFLAGS=""
48045 EXPORT_BY_ORDINALS=0
48046 exclude_symbols=""
48047 library_flags=""
48048 curDir=\`pwd\`
48049 curDirS=curDir
48050 case ${D}curDirS in
48051 */)
48052 ;;
48053 *)
48054 curDirS=${D}{curDirS}"/"
48055 ;;
48056 esac
48057 # Parse commandline
48058 libsToLink=0
48059 omfLinking=0
48060 while [ ${D}1 ]; do
48061 case ${D}1 in
48062 -ord*)
48063 EXPORT_BY_ORDINALS=1;
48064 ;;
48065 -o*)
48066 shift
48067 outFile=${D}1
48068 ;;
48069 -i*)
48070 shift
48071 outimpFile=${D}1
48072 ;;
48073 -name-mangler-script)
48074 shift
48075 renameScript=${D}1
48076 ;;
48077 -d*)
48078 shift
48079 description=${D}1
48080 ;;
48081 -f*)
48082 shift
48083 CFLAGS=${D}1
48084 ;;
48085 -c*)
48086 shift
48087 CC=${D}1
48088 ;;
48089 -h*)
48090 PrintHelp
48091 ;;
48092 -ex*)
48093 shift
48094 exclude_symbols=${D}{exclude_symbols}${D}1" "
48095 ;;
48096 -libf*)
48097 shift
48098 library_flags=${D}{library_flags}${D}1" "
48099 ;;
48100 -nocrt*)
48101 CFLAGS="-s"
48102 ;;
48103 -nolxl*)
48104 flag_USE_LXLITE=0
48105 ;;
48106 -* | /*)
48107 case ${D}1 in
48108 -L* | -l*)
48109 libsToLink=1
48110 ;;
48111 -Zomf)
48112 omfLinking=1
48113 ;;
48114 *)
48115 ;;
48116 esac
48117 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48118 ;;
48119 *.dll)
48120 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48121 if [ ${D}omfLinking -eq 1 ]; then
48122 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48123 else
48124 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48125 fi
48126 ;;
48127 *)
48128 found=0;
48129 if [ ${D}libsToLink -ne 0 ]; then
48130 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48131 else
48132 for file in ${D}1 ; do
48133 if [ -f ${D}file ]; then
48134 inputFiles="${D}{inputFiles} ${D}file"
48135 found=1
48136 fi
48137 done
48138 if [ ${D}found -eq 0 ]; then
48139 echo "ERROR: No file(s) found: "${D}1
48140 exit 8
48141 fi
48142 fi
48143 ;;
48144 esac
48145 shift
48146 done # iterate cmdline words
48147
48148 #
48149 if [ -z "${D}inputFiles" ]; then
48150 echo "dllar: no input files"
48151 PrintHelp
48152 fi
48153
48154 # Now extract all .o files from .a files
48155 newInputFiles=""
48156 for file in ${D}inputFiles ; do
48157 case ${D}file in
48158 *.a | *.lib)
48159 case ${D}file in
48160 *.a)
48161 suffix=".a"
48162 AR="ar"
48163 ;;
48164 *.lib)
48165 suffix=".lib"
48166 AR="emxomfar"
48167 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48168 ;;
48169 *)
48170 ;;
48171 esac
48172 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48173 mkdir ${D}dirname
48174 if [ ${D}? -ne 0 ]; then
48175 echo "Failed to create subdirectory ./${D}dirname"
48176 CleanUp
48177 exit 8;
48178 fi
48179 # Append '!' to indicate archive
48180 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48181 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48182 cd ${D}curDir
48183 found=0;
48184 for subfile in ${D}dirname/*.o* ; do
48185 if [ -f ${D}subfile ]; then
48186 found=1
48187 if [ -s ${D}subfile ]; then
48188 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48189 newInputFiles="${D}newInputFiles ${D}subfile"
48190 fi
48191 fi
48192 done
48193 if [ ${D}found -eq 0 ]; then
48194 echo "WARNING: there are no files in archive \\'${D}file\\'"
48195 fi
48196 ;;
48197 *)
48198 newInputFiles="${D}{newInputFiles} ${D}file"
48199 ;;
48200 esac
48201 done
48202 inputFiles="${D}newInputFiles"
48203
48204 # Output filename(s).
48205 do_backup=0;
48206 if [ -z ${D}outFile ]; then
48207 do_backup=1;
48208 set outFile ${D}inputFiles; outFile=${D}2
48209 fi
48210
48211 # If it is an archive, remove the '!' and the '_%' suffixes
48212 case ${D}outFile in
48213 *_%!)
48214 outFile=\`basnam ${D}outFile _%!\`
48215 ;;
48216 *)
48217 ;;
48218 esac
48219 case ${D}outFile in
48220 *.dll)
48221 outFile=\`basnam ${D}outFile .dll\`
48222 ;;
48223 *.DLL)
48224 outFile=\`basnam ${D}outFile .DLL\`
48225 ;;
48226 *.o)
48227 outFile=\`basnam ${D}outFile .o\`
48228 ;;
48229 *.obj)
48230 outFile=\`basnam ${D}outFile .obj\`
48231 ;;
48232 *.a)
48233 outFile=\`basnam ${D}outFile .a\`
48234 ;;
48235 *.lib)
48236 outFile=\`basnam ${D}outFile .lib\`
48237 ;;
48238 *)
48239 ;;
48240 esac
48241 case ${D}outimpFile in
48242 *.a)
48243 outimpFile=\`basnam ${D}outimpFile .a\`
48244 ;;
48245 *.lib)
48246 outimpFile=\`basnam ${D}outimpFile .lib\`
48247 ;;
48248 *)
48249 ;;
48250 esac
48251 if [ -z ${D}outimpFile ]; then
48252 outimpFile=${D}outFile
48253 fi
48254 defFile="${D}{outFile}.def"
48255 arcFile="${D}{outimpFile}.a"
48256 arcFile2="${D}{outimpFile}.lib"
48257
48258 #create ${D}dllFile as something matching 8.3 restrictions,
48259 if [ -z ${D}renameScript ] ; then
48260 dllFile="${D}outFile"
48261 else
48262 dllFile=\`${D}renameScript ${D}outimpFile\`
48263 fi
48264
48265 if [ ${D}do_backup -ne 0 ] ; then
48266 if [ -f ${D}arcFile ] ; then
48267 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48268 fi
48269 if [ -f ${D}arcFile2 ] ; then
48270 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48271 fi
48272 fi
48273
48274 # Extract public symbols from all the object files.
48275 tmpdefFile=${D}{defFile}_%
48276 rm -f ${D}tmpdefFile
48277 for file in ${D}inputFiles ; do
48278 case ${D}file in
48279 *!)
48280 ;;
48281 *)
48282 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48283 ;;
48284 esac
48285 done
48286
48287 # Create the def file.
48288 rm -f ${D}defFile
48289 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48290 dllFile="${D}{dllFile}.dll"
48291 if [ ! -z ${D}description ]; then
48292 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48293 fi
48294 echo "EXPORTS" >> ${D}defFile
48295
48296 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48297 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48298
48299 # Checks if the export is ok or not.
48300 for word in ${D}exclude_symbols; do
48301 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48302 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48303 done
48304
48305
48306 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48307 sed "=" < ${D}tmpdefFile | \\
48308 sed '
48309 N
48310 : loop
48311 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48312 t loop
48313 ' > ${D}{tmpdefFile}%
48314 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48315 else
48316 rm -f ${D}{tmpdefFile}%
48317 fi
48318 cat ${D}tmpdefFile >> ${D}defFile
48319 rm -f ${D}tmpdefFile
48320
48321 # Do linking, create implib, and apply lxlite.
48322 gccCmdl="";
48323 for file in ${D}inputFiles ; do
48324 case ${D}file in
48325 *!)
48326 ;;
48327 *)
48328 gccCmdl="${D}gccCmdl ${D}file"
48329 ;;
48330 esac
48331 done
48332 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48333 touch "${D}{outFile}.dll"
48334
48335 doCommand "emximp -o ${D}arcFile ${D}defFile"
48336 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48337 add_flags="";
48338 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48339 add_flags="-ynd"
48340 fi
48341 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48342 fi
48343 doCommand "emxomf -s -l ${D}arcFile"
48344
48345 # Successful exit.
48346 CleanUp 1
48347 exit 0
48348 EOF
48349
48350 chmod +x dllar.sh
48351 ;;
48352
48353 powerpc-apple-macos* | \
48354 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48355 *-*-sunos4* | \
48356 *-*-osf* | \
48357 *-*-dgux5* | \
48358 *-*-sysv5* | \
48359 *-pc-msdosdjgpp )
48360 ;;
48361
48362 *)
48363 esac
48364
48365 if test "x$PIC_FLAG" != "x" ; then
48366 PIC_FLAG="$PIC_FLAG -DPIC"
48367 fi
48368
48369 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48370 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48371 fi
48372 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48373 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48374 fi
48375
48376
48377
48378
48379
48380
48381
48382
48383
48384 USE_SOVERSION=0
48385 USE_SOVERLINUX=0
48386 USE_SOVERSOLARIS=0
48387 USE_SOVERCYGWIN=0
48388 USE_SOSYMLINKS=0
48389 USE_MACVERSION=0
48390 SONAME_FLAG=
48391
48392 case "${BAKEFILE_HOST}" in
48393 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48394 SONAME_FLAG="-Wl,-soname,"
48395 USE_SOVERSION=1
48396 USE_SOVERLINUX=1
48397 USE_SOSYMLINKS=1
48398 ;;
48399
48400 *-*-solaris2* )
48401 SONAME_FLAG="-h "
48402 USE_SOVERSION=1
48403 USE_SOVERSOLARIS=1
48404 USE_SOSYMLINKS=1
48405 ;;
48406
48407 *-*-darwin* )
48408 USE_MACVERSION=1
48409 USE_SOVERSION=1
48410 USE_SOSYMLINKS=1
48411 ;;
48412
48413 *-*-cygwin* )
48414 USE_SOVERSION=1
48415 USE_SOVERCYGWIN=1
48416 ;;
48417 esac
48418
48419
48420
48421
48422
48423
48424
48425
48426
48427
48428 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48429 if test "${enable_dependency_tracking+set}" = set; then
48430 enableval="$enable_dependency_tracking"
48431 bk_use_trackdeps="$enableval"
48432 fi;
48433
48434 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48435 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48436
48437 if test "x$bk_use_trackdeps" = "xno" ; then
48438 DEPS_TRACKING=0
48439 echo "$as_me:$LINENO: result: disabled" >&5
48440 echo "${ECHO_T}disabled" >&6
48441 else
48442 DEPS_TRACKING=1
48443
48444 if test "x$GCC" = "xyes"; then
48445 DEPSMODE=gcc
48446 case "${BAKEFILE_HOST}" in
48447 *-*-darwin* )
48448 DEPSFLAG="-no-cpp-precomp -MMD"
48449 ;;
48450 * )
48451 DEPSFLAG="-MMD"
48452 ;;
48453 esac
48454 echo "$as_me:$LINENO: result: gcc" >&5
48455 echo "${ECHO_T}gcc" >&6
48456 elif test "x$MWCC" = "xyes"; then
48457 DEPSMODE=mwcc
48458 DEPSFLAG="-MM"
48459 echo "$as_me:$LINENO: result: mwcc" >&5
48460 echo "${ECHO_T}mwcc" >&6
48461 elif test "x$SUNCC" = "xyes"; then
48462 DEPSMODE=unixcc
48463 DEPSFLAG="-xM1"
48464 echo "$as_me:$LINENO: result: Sun cc" >&5
48465 echo "${ECHO_T}Sun cc" >&6
48466 elif test "x$SGICC" = "xyes"; then
48467 DEPSMODE=unixcc
48468 DEPSFLAG="-M"
48469 echo "$as_me:$LINENO: result: SGI cc" >&5
48470 echo "${ECHO_T}SGI cc" >&6
48471 elif test "x$HPCC" = "xyes"; then
48472 DEPSMODE=unixcc
48473 DEPSFLAG="+make"
48474 echo "$as_me:$LINENO: result: HP cc" >&5
48475 echo "${ECHO_T}HP cc" >&6
48476 elif test "x$COMPAQCC" = "xyes"; then
48477 DEPSMODE=gcc
48478 DEPSFLAG="-MD"
48479 echo "$as_me:$LINENO: result: Compaq cc" >&5
48480 echo "${ECHO_T}Compaq cc" >&6
48481 else
48482 DEPS_TRACKING=0
48483 echo "$as_me:$LINENO: result: none" >&5
48484 echo "${ECHO_T}none" >&6
48485 fi
48486
48487 if test $DEPS_TRACKING = 1 ; then
48488
48489 D='$'
48490 cat <<EOF >bk-deps
48491 #!/bin/sh
48492
48493 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48494 # script. It is used to track C/C++ files dependencies in portable way.
48495 #
48496 # Permission is given to use this file in any way.
48497
48498 DEPSMODE=${DEPSMODE}
48499 DEPSDIR=.deps
48500 DEPSFLAG="${DEPSFLAG}"
48501
48502 mkdir -p ${D}DEPSDIR
48503
48504 if test ${D}DEPSMODE = gcc ; then
48505 ${D}* ${D}{DEPSFLAG}
48506 status=${D}?
48507 if test ${D}{status} != 0 ; then
48508 exit ${D}{status}
48509 fi
48510 # move created file to the location we want it in:
48511 while test ${D}# -gt 0; do
48512 case "${D}1" in
48513 -o )
48514 shift
48515 objfile=${D}1
48516 ;;
48517 -* )
48518 ;;
48519 * )
48520 srcfile=${D}1
48521 ;;
48522 esac
48523 shift
48524 done
48525 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48526 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48527 if test -f ${D}depfile ; then
48528 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48529 rm -f ${D}depfile
48530 else
48531 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48532 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48533 if test ! -f ${D}depfile ; then
48534 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48535 depfile="${D}objfile.d"
48536 fi
48537 if test -f ${D}depfile ; then
48538 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48539 rm -f ${D}depfile
48540 fi
48541 fi
48542 exit 0
48543 elif test ${D}DEPSMODE = mwcc ; then
48544 ${D}* || exit ${D}?
48545 # Run mwcc again with -MM and redirect into the dep file we want
48546 # NOTE: We can't use shift here because we need ${D}* to be valid
48547 prevarg=
48548 for arg in ${D}* ; do
48549 if test "${D}prevarg" = "-o"; then
48550 objfile=${D}arg
48551 else
48552 case "${D}arg" in
48553 -* )
48554 ;;
48555 * )
48556 srcfile=${D}arg
48557 ;;
48558 esac
48559 fi
48560 prevarg="${D}arg"
48561 done
48562 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48563 exit 0
48564 elif test ${D}DEPSMODE = unixcc; then
48565 ${D}* || exit ${D}?
48566 # Run compiler again with deps flag and redirect into the dep file.
48567 # It doesn't work if the '-o FILE' option is used, but without it the
48568 # dependency file will contain the wrong name for the object. So it is
48569 # removed from the command line, and the dep file is fixed with sed.
48570 cmd=""
48571 while test ${D}# -gt 0; do
48572 case "${D}1" in
48573 -o )
48574 shift
48575 objfile=${D}1
48576 ;;
48577 * )
48578 eval arg${D}#=\\${D}1
48579 cmd="${D}cmd \\${D}arg${D}#"
48580 ;;
48581 esac
48582 shift
48583 done
48584 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48585 exit 0
48586 else
48587 ${D}*
48588 exit ${D}?
48589 fi
48590 EOF
48591
48592 chmod +x bk-deps
48593 fi
48594 fi
48595
48596
48597
48598
48599 case ${BAKEFILE_HOST} in
48600 *-*-cygwin* | *-*-mingw32* )
48601 if test -n "$ac_tool_prefix"; then
48602 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48603 set dummy ${ac_tool_prefix}windres; ac_word=$2
48604 echo "$as_me:$LINENO: checking for $ac_word" >&5
48605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48606 if test "${ac_cv_prog_WINDRES+set}" = set; then
48607 echo $ECHO_N "(cached) $ECHO_C" >&6
48608 else
48609 if test -n "$WINDRES"; then
48610 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48611 else
48612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48613 for as_dir in $PATH
48614 do
48615 IFS=$as_save_IFS
48616 test -z "$as_dir" && as_dir=.
48617 for ac_exec_ext in '' $ac_executable_extensions; do
48618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48619 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48621 break 2
48622 fi
48623 done
48624 done
48625
48626 fi
48627 fi
48628 WINDRES=$ac_cv_prog_WINDRES
48629 if test -n "$WINDRES"; then
48630 echo "$as_me:$LINENO: result: $WINDRES" >&5
48631 echo "${ECHO_T}$WINDRES" >&6
48632 else
48633 echo "$as_me:$LINENO: result: no" >&5
48634 echo "${ECHO_T}no" >&6
48635 fi
48636
48637 fi
48638 if test -z "$ac_cv_prog_WINDRES"; then
48639 ac_ct_WINDRES=$WINDRES
48640 # Extract the first word of "windres", so it can be a program name with args.
48641 set dummy windres; ac_word=$2
48642 echo "$as_me:$LINENO: checking for $ac_word" >&5
48643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48644 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48645 echo $ECHO_N "(cached) $ECHO_C" >&6
48646 else
48647 if test -n "$ac_ct_WINDRES"; then
48648 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48649 else
48650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48651 for as_dir in $PATH
48652 do
48653 IFS=$as_save_IFS
48654 test -z "$as_dir" && as_dir=.
48655 for ac_exec_ext in '' $ac_executable_extensions; do
48656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48657 ac_cv_prog_ac_ct_WINDRES="windres"
48658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48659 break 2
48660 fi
48661 done
48662 done
48663
48664 fi
48665 fi
48666 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48667 if test -n "$ac_ct_WINDRES"; then
48668 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48669 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48670 else
48671 echo "$as_me:$LINENO: result: no" >&5
48672 echo "${ECHO_T}no" >&6
48673 fi
48674
48675 WINDRES=$ac_ct_WINDRES
48676 else
48677 WINDRES="$ac_cv_prog_WINDRES"
48678 fi
48679
48680 ;;
48681
48682 *-*-darwin* | powerpc-apple-macos* )
48683 # Extract the first word of "Rez", so it can be a program name with args.
48684 set dummy Rez; ac_word=$2
48685 echo "$as_me:$LINENO: checking for $ac_word" >&5
48686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48687 if test "${ac_cv_prog_REZ+set}" = set; then
48688 echo $ECHO_N "(cached) $ECHO_C" >&6
48689 else
48690 if test -n "$REZ"; then
48691 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48692 else
48693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48694 for as_dir in $PATH
48695 do
48696 IFS=$as_save_IFS
48697 test -z "$as_dir" && as_dir=.
48698 for ac_exec_ext in '' $ac_executable_extensions; do
48699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48700 ac_cv_prog_REZ="Rez"
48701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48702 break 2
48703 fi
48704 done
48705 done
48706
48707 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48708 fi
48709 fi
48710 REZ=$ac_cv_prog_REZ
48711 if test -n "$REZ"; then
48712 echo "$as_me:$LINENO: result: $REZ" >&5
48713 echo "${ECHO_T}$REZ" >&6
48714 else
48715 echo "$as_me:$LINENO: result: no" >&5
48716 echo "${ECHO_T}no" >&6
48717 fi
48718
48719 # Extract the first word of "SetFile", so it can be a program name with args.
48720 set dummy SetFile; ac_word=$2
48721 echo "$as_me:$LINENO: checking for $ac_word" >&5
48722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48723 if test "${ac_cv_prog_SETFILE+set}" = set; then
48724 echo $ECHO_N "(cached) $ECHO_C" >&6
48725 else
48726 if test -n "$SETFILE"; then
48727 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48728 else
48729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48730 for as_dir in $PATH
48731 do
48732 IFS=$as_save_IFS
48733 test -z "$as_dir" && as_dir=.
48734 for ac_exec_ext in '' $ac_executable_extensions; do
48735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48736 ac_cv_prog_SETFILE="SetFile"
48737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48738 break 2
48739 fi
48740 done
48741 done
48742
48743 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48744 fi
48745 fi
48746 SETFILE=$ac_cv_prog_SETFILE
48747 if test -n "$SETFILE"; then
48748 echo "$as_me:$LINENO: result: $SETFILE" >&5
48749 echo "${ECHO_T}$SETFILE" >&6
48750 else
48751 echo "$as_me:$LINENO: result: no" >&5
48752 echo "${ECHO_T}no" >&6
48753 fi
48754
48755 ;;
48756 esac
48757
48758
48759
48760
48761
48762
48763 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
48764
48765
48766 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
48767
48768
48769
48770 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48771 if test "${enable_precomp_headers+set}" = set; then
48772 enableval="$enable_precomp_headers"
48773 bk_use_pch="$enableval"
48774 fi;
48775
48776 GCC_PCH=0
48777 ICC_PCH=0
48778 USE_PCH=0
48779
48780 case ${BAKEFILE_HOST} in
48781 *-*-cygwin* )
48782 bk_use_pch="no"
48783 ;;
48784 esac
48785
48786 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48787 if test "x$GCC" = "xyes"; then
48788 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48789 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48790 cat >conftest.$ac_ext <<_ACEOF
48791 /* confdefs.h. */
48792 _ACEOF
48793 cat confdefs.h >>conftest.$ac_ext
48794 cat >>conftest.$ac_ext <<_ACEOF
48795 /* end confdefs.h. */
48796
48797 int
48798 main ()
48799 {
48800
48801 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48802 There is no PCH support
48803 #endif
48804 #if (__GNUC__ < 3)
48805 There is no PCH support
48806 #endif
48807 #if (__GNUC__ == 3) && \
48808 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48809 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48810 ( defined(__INTEL_COMPILER) )
48811 There is no PCH support
48812 #endif
48813
48814 ;
48815 return 0;
48816 }
48817 _ACEOF
48818 rm -f conftest.$ac_objext
48819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48820 (eval $ac_compile) 2>conftest.er1
48821 ac_status=$?
48822 grep -v '^ *+' conftest.er1 >conftest.err
48823 rm -f conftest.er1
48824 cat conftest.err >&5
48825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48826 (exit $ac_status); } &&
48827 { ac_try='test -z "$ac_c_werror_flag"
48828 || test ! -s conftest.err'
48829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48830 (eval $ac_try) 2>&5
48831 ac_status=$?
48832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48833 (exit $ac_status); }; } &&
48834 { ac_try='test -s conftest.$ac_objext'
48835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48836 (eval $ac_try) 2>&5
48837 ac_status=$?
48838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48839 (exit $ac_status); }; }; then
48840
48841 echo "$as_me:$LINENO: result: yes" >&5
48842 echo "${ECHO_T}yes" >&6
48843 GCC_PCH=1
48844
48845 else
48846 echo "$as_me: failed program was:" >&5
48847 sed 's/^/| /' conftest.$ac_ext >&5
48848
48849
48850 cat >conftest.$ac_ext <<_ACEOF
48851 /* confdefs.h. */
48852 _ACEOF
48853 cat confdefs.h >>conftest.$ac_ext
48854 cat >>conftest.$ac_ext <<_ACEOF
48855 /* end confdefs.h. */
48856
48857 int
48858 main ()
48859 {
48860
48861 #if !defined(__INTEL_COMPILER) || \
48862 (__INTEL_COMPILER < 800)
48863 There is no PCH support
48864 #endif
48865
48866 ;
48867 return 0;
48868 }
48869 _ACEOF
48870 rm -f conftest.$ac_objext
48871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48872 (eval $ac_compile) 2>conftest.er1
48873 ac_status=$?
48874 grep -v '^ *+' conftest.er1 >conftest.err
48875 rm -f conftest.er1
48876 cat conftest.err >&5
48877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48878 (exit $ac_status); } &&
48879 { ac_try='test -z "$ac_c_werror_flag"
48880 || test ! -s conftest.err'
48881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48882 (eval $ac_try) 2>&5
48883 ac_status=$?
48884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48885 (exit $ac_status); }; } &&
48886 { ac_try='test -s conftest.$ac_objext'
48887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48888 (eval $ac_try) 2>&5
48889 ac_status=$?
48890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48891 (exit $ac_status); }; }; then
48892
48893 echo "$as_me:$LINENO: result: yes" >&5
48894 echo "${ECHO_T}yes" >&6
48895 ICC_PCH=1
48896
48897 else
48898 echo "$as_me: failed program was:" >&5
48899 sed 's/^/| /' conftest.$ac_ext >&5
48900
48901
48902 echo "$as_me:$LINENO: result: no" >&5
48903 echo "${ECHO_T}no" >&6
48904
48905 fi
48906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48907
48908 fi
48909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48910 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48911 USE_PCH=1
48912
48913 D='$'
48914 cat <<EOF >bk-make-pch
48915 #!/bin/sh
48916
48917 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48918 # script. It is used to generated precompiled headers.
48919 #
48920 # Permission is given to use this file in any way.
48921
48922 outfile="${D}{1}"
48923 header="${D}{2}"
48924 shift
48925 shift
48926
48927 compiler=""
48928 headerfile=""
48929
48930 while test ${D}{#} -gt 0; do
48931 add_to_cmdline=1
48932 case "${D}{1}" in
48933 -I* )
48934 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48935 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48936 headerfile="${D}{incdir}/${D}{header}"
48937 fi
48938 ;;
48939 -use-pch|-use_pch )
48940 shift
48941 add_to_cmdline=0
48942 ;;
48943 esac
48944 if test ${D}add_to_cmdline = 1 ; then
48945 compiler="${D}{compiler} ${D}{1}"
48946 fi
48947 shift
48948 done
48949
48950 if test "x${D}{headerfile}" = "x" ; then
48951 echo "error: can't find header ${D}{header} in include paths" >&2
48952 else
48953 if test -f ${D}{outfile} ; then
48954 rm -f ${D}{outfile}
48955 else
48956 mkdir -p \`dirname ${D}{outfile}\`
48957 fi
48958 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48959 mkdir -p .deps
48960 if test "x${GCC_PCH}" = "x1" ; then
48961 # can do this because gcc is >= 3.4:
48962 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48963 elif test "x${ICC_PCH}" = "x1" ; then
48964 filename=pch_gen-${D}${D}
48965 file=${D}{filename}.c
48966 dfile=${D}{filename}.d
48967 cat > ${D}file <<EOT
48968 #include "${D}header"
48969 EOT
48970 # using -MF icc complains about differing command lines in creation/use
48971 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48972 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48973 rm -f ${D}file ${D}dfile ${D}{filename}.o
48974 fi
48975 exit ${D}{?}
48976 fi
48977 EOF
48978
48979 chmod +x bk-make-pch
48980 fi
48981 fi
48982 fi
48983
48984
48985
48986
48987 COND_BUILD_DEBUG="#"
48988 if test "x$BUILD" = "xdebug" ; then
48989 COND_BUILD_DEBUG=""
48990 fi
48991
48992 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48993 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48994 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48995 fi
48996
48997 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48998 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48999 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49000 fi
49001
49002 COND_BUILD_DEBUG_UNICODE_0="#"
49003 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49004 COND_BUILD_DEBUG_UNICODE_0=""
49005 fi
49006
49007 COND_BUILD_DEBUG_UNICODE_1="#"
49008 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49009 COND_BUILD_DEBUG_UNICODE_1=""
49010 fi
49011
49012 COND_BUILD_RELEASE="#"
49013 if test "x$BUILD" = "xrelease" ; then
49014 COND_BUILD_RELEASE=""
49015 fi
49016
49017 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49018 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49019 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49020 fi
49021
49022 COND_BUILD_RELEASE_UNICODE_0="#"
49023 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49024 COND_BUILD_RELEASE_UNICODE_0=""
49025 fi
49026
49027 COND_BUILD_RELEASE_UNICODE_1="#"
49028 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49029 COND_BUILD_RELEASE_UNICODE_1=""
49030 fi
49031
49032 COND_DEBUG_FLAG_1="#"
49033 if test "x$DEBUG_FLAG" = "x1" ; then
49034 COND_DEBUG_FLAG_1=""
49035 fi
49036
49037 COND_DEBUG_INFO_0="#"
49038 if test "x$DEBUG_INFO" = "x0" ; then
49039 COND_DEBUG_INFO_0=""
49040 fi
49041
49042 COND_DEBUG_INFO_1="#"
49043 if test "x$DEBUG_INFO" = "x1" ; then
49044 COND_DEBUG_INFO_1=""
49045 fi
49046
49047 COND_DEPS_TRACKING_0="#"
49048 if test "x$DEPS_TRACKING" = "x0" ; then
49049 COND_DEPS_TRACKING_0=""
49050 fi
49051
49052 COND_DEPS_TRACKING_1="#"
49053 if test "x$DEPS_TRACKING" = "x1" ; then
49054 COND_DEPS_TRACKING_1=""
49055 fi
49056
49057 COND_GCC_PCH_1="#"
49058 if test "x$GCC_PCH" = "x1" ; then
49059 COND_GCC_PCH_1=""
49060 fi
49061
49062 COND_ICC_PCH_1="#"
49063 if test "x$ICC_PCH" = "x1" ; then
49064 COND_ICC_PCH_1=""
49065 fi
49066
49067 COND_MONOLITHIC_0="#"
49068 if test "x$MONOLITHIC" = "x0" ; then
49069 COND_MONOLITHIC_0=""
49070 fi
49071
49072 COND_MONOLITHIC_0_SHARED_0="#"
49073 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49074 COND_MONOLITHIC_0_SHARED_0=""
49075 fi
49076
49077 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49078 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49079 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49080 fi
49081
49082 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49083 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49084 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49085 fi
49086
49087 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49088 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49089 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49090 fi
49091
49092 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49093 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49094 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49095 fi
49096
49097 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49098 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49099 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49100 fi
49101
49102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49103 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49104 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49105 fi
49106
49107 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49108 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49109 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49110 fi
49111
49112 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49113 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49114 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49115 fi
49116
49117 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49118 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49119 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49120 fi
49121
49122 COND_MONOLITHIC_0_SHARED_1="#"
49123 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49124 COND_MONOLITHIC_0_SHARED_1=""
49125 fi
49126
49127 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49128 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49129 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49130 fi
49131
49132 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49133 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49134 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49135 fi
49136
49137 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49138 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49139 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49140 fi
49141
49142 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49143 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49144 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49145 fi
49146
49147 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49148 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49149 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49150 fi
49151
49152 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49153 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49154 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49155 fi
49156
49157 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49158 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49159 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49160 fi
49161
49162 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49163 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49164 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49165 fi
49166
49167 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49168 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49169 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49170 fi
49171
49172 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49173 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49174 COND_MONOLITHIC_0_USE_MEDIA_1=""
49175 fi
49176
49177 COND_MONOLITHIC_0_USE_ODBC_1="#"
49178 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49179 COND_MONOLITHIC_0_USE_ODBC_1=""
49180 fi
49181
49182 COND_MONOLITHIC_1="#"
49183 if test "x$MONOLITHIC" = "x1" ; then
49184 COND_MONOLITHIC_1=""
49185 fi
49186
49187 COND_MONOLITHIC_1_SHARED_0="#"
49188 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49189 COND_MONOLITHIC_1_SHARED_0=""
49190 fi
49191
49192 COND_MONOLITHIC_1_SHARED_1="#"
49193 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49194 COND_MONOLITHIC_1_SHARED_1=""
49195 fi
49196
49197 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49198 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49199 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49200 fi
49201
49202 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49203 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49204 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49205 fi
49206
49207 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49208 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49209 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49210 fi
49211
49212 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49213 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49214 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49215 fi
49216
49217 COND_PLATFORM_MACOSX_1="#"
49218 if test "x$PLATFORM_MACOSX" = "x1" ; then
49219 COND_PLATFORM_MACOSX_1=""
49220 fi
49221
49222 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49223 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49224 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49225 fi
49226
49227 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49228 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49229 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49230 fi
49231
49232 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49233 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49234 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49235 fi
49236
49237 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49238 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49239 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49240 fi
49241
49242 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49243 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49244 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49245 fi
49246
49247 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49248 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49249 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49250 fi
49251
49252 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49253 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49254 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49255 fi
49256
49257 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49258 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49259 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49260 fi
49261
49262 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49263 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49264 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49265 fi
49266
49267 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49268 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49269 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49270 fi
49271
49272 COND_PLATFORM_MACOS_1="#"
49273 if test "x$PLATFORM_MACOS" = "x1" ; then
49274 COND_PLATFORM_MACOS_1=""
49275 fi
49276
49277 COND_PLATFORM_MAC_1="#"
49278 if test "x$PLATFORM_MAC" = "x1" ; then
49279 COND_PLATFORM_MAC_1=""
49280 fi
49281
49282 COND_PLATFORM_MSDOS_0="#"
49283 if test "x$PLATFORM_MSDOS" = "x0" ; then
49284 COND_PLATFORM_MSDOS_0=""
49285 fi
49286
49287 COND_PLATFORM_MSDOS_1="#"
49288 if test "x$PLATFORM_MSDOS" = "x1" ; then
49289 COND_PLATFORM_MSDOS_1=""
49290 fi
49291
49292 COND_PLATFORM_OS2_1="#"
49293 if test "x$PLATFORM_OS2" = "x1" ; then
49294 COND_PLATFORM_OS2_1=""
49295 fi
49296
49297 COND_PLATFORM_UNIX_0="#"
49298 if test "x$PLATFORM_UNIX" = "x0" ; then
49299 COND_PLATFORM_UNIX_0=""
49300 fi
49301
49302 COND_PLATFORM_UNIX_1="#"
49303 if test "x$PLATFORM_UNIX" = "x1" ; then
49304 COND_PLATFORM_UNIX_1=""
49305 fi
49306
49307 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49308 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49309 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49310 fi
49311
49312 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49313 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49314 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49315 fi
49316
49317 COND_PLATFORM_WIN32_0="#"
49318 if test "x$PLATFORM_WIN32" = "x0" ; then
49319 COND_PLATFORM_WIN32_0=""
49320 fi
49321
49322 COND_PLATFORM_WIN32_1="#"
49323 if test "x$PLATFORM_WIN32" = "x1" ; then
49324 COND_PLATFORM_WIN32_1=""
49325 fi
49326
49327 COND_SHARED_0="#"
49328 if test "x$SHARED" = "x0" ; then
49329 COND_SHARED_0=""
49330 fi
49331
49332 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49333 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49334 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49335 fi
49336
49337 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49338 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49339 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49340 fi
49341
49342 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49343 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49344 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49345 fi
49346
49347 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49348 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49349 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49350 fi
49351
49352 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49353 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49354 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49355 fi
49356
49357 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49358 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49359 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49360 fi
49361
49362 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49363 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49364 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49365 fi
49366
49367 COND_SHARED_0_USE_XRC_1="#"
49368 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49369 COND_SHARED_0_USE_XRC_1=""
49370 fi
49371
49372 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49373 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49374 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49375 fi
49376
49377 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49378 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49379 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49380 fi
49381
49382 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49383 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49384 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49385 fi
49386
49387 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49388 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49389 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49390 fi
49391
49392 COND_SHARED_1="#"
49393 if test "x$SHARED" = "x1" ; then
49394 COND_SHARED_1=""
49395 fi
49396
49397 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49398 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49399 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49400 fi
49401
49402 COND_SHARED_1_USE_XRC_1="#"
49403 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49404 COND_SHARED_1_USE_XRC_1=""
49405 fi
49406
49407 COND_TOOLKIT_="#"
49408 if test "x$TOOLKIT" = "x" ; then
49409 COND_TOOLKIT_=""
49410 fi
49411
49412 COND_TOOLKIT_COCOA="#"
49413 if test "x$TOOLKIT" = "xCOCOA" ; then
49414 COND_TOOLKIT_COCOA=""
49415 fi
49416
49417 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49418 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49419 COND_TOOLKIT_COCOA_USE_GUI_1=""
49420 fi
49421
49422 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49423 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49424 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49425 fi
49426
49427 COND_TOOLKIT_DFB="#"
49428 if test "x$TOOLKIT" = "xDFB" ; then
49429 COND_TOOLKIT_DFB=""
49430 fi
49431
49432 COND_TOOLKIT_DFB_USE_GUI_1="#"
49433 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49434 COND_TOOLKIT_DFB_USE_GUI_1=""
49435 fi
49436
49437 COND_TOOLKIT_GTK="#"
49438 if test "x$TOOLKIT" = "xGTK" ; then
49439 COND_TOOLKIT_GTK=""
49440 fi
49441
49442 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49443 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49444 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49445 fi
49446
49447 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49448 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49449 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49450 fi
49451
49452 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49453 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49454 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49455 fi
49456
49457 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49458 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49459 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49460 fi
49461
49462 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49463 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49464 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49465 fi
49466
49467 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49468 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49469 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49470 fi
49471
49472 COND_TOOLKIT_GTK_USE_GUI_1="#"
49473 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49474 COND_TOOLKIT_GTK_USE_GUI_1=""
49475 fi
49476
49477 COND_TOOLKIT_MAC="#"
49478 if test "x$TOOLKIT" = "xMAC" ; then
49479 COND_TOOLKIT_MAC=""
49480 fi
49481
49482 COND_TOOLKIT_MAC_USE_GUI_1="#"
49483 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49484 COND_TOOLKIT_MAC_USE_GUI_1=""
49485 fi
49486
49487 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49488 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49489 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49490 fi
49491
49492 COND_TOOLKIT_MGL="#"
49493 if test "x$TOOLKIT" = "xMGL" ; then
49494 COND_TOOLKIT_MGL=""
49495 fi
49496
49497 COND_TOOLKIT_MGL_USE_GUI_1="#"
49498 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49499 COND_TOOLKIT_MGL_USE_GUI_1=""
49500 fi
49501
49502 COND_TOOLKIT_MOTIF="#"
49503 if test "x$TOOLKIT" = "xMOTIF" ; then
49504 COND_TOOLKIT_MOTIF=""
49505 fi
49506
49507 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49508 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49509 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49510 fi
49511
49512 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49513 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49514 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49515 fi
49516
49517 COND_TOOLKIT_MSW="#"
49518 if test "x$TOOLKIT" = "xMSW" ; then
49519 COND_TOOLKIT_MSW=""
49520 fi
49521
49522 COND_TOOLKIT_MSW_USE_GUI_1="#"
49523 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49524 COND_TOOLKIT_MSW_USE_GUI_1=""
49525 fi
49526
49527 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49528 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49529 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49530 fi
49531
49532 COND_TOOLKIT_MSW_WXUNIV_0="#"
49533 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49534 COND_TOOLKIT_MSW_WXUNIV_0=""
49535 fi
49536
49537 COND_TOOLKIT_PM="#"
49538 if test "x$TOOLKIT" = "xPM" ; then
49539 COND_TOOLKIT_PM=""
49540 fi
49541
49542 COND_TOOLKIT_PM_USE_GUI_1="#"
49543 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49544 COND_TOOLKIT_PM_USE_GUI_1=""
49545 fi
49546
49547 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49548 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49549 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49550 fi
49551
49552 COND_TOOLKIT_WINCE="#"
49553 if test "x$TOOLKIT" = "xWINCE" ; then
49554 COND_TOOLKIT_WINCE=""
49555 fi
49556
49557 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49558 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49559 COND_TOOLKIT_WINCE_USE_GUI_1=""
49560 fi
49561
49562 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49563 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49564 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49565 fi
49566
49567 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49568 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49569 COND_TOOLKIT_WINCE_WXUNIV_0=""
49570 fi
49571
49572 COND_TOOLKIT_X11="#"
49573 if test "x$TOOLKIT" = "xX11" ; then
49574 COND_TOOLKIT_X11=""
49575 fi
49576
49577 COND_TOOLKIT_X11_USE_GUI_1="#"
49578 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49579 COND_TOOLKIT_X11_USE_GUI_1=""
49580 fi
49581
49582 COND_UNICODE_1="#"
49583 if test "x$UNICODE" = "x1" ; then
49584 COND_UNICODE_1=""
49585 fi
49586
49587 COND_USE_EXCEPTIONS_0="#"
49588 if test "x$USE_EXCEPTIONS" = "x0" ; then
49589 COND_USE_EXCEPTIONS_0=""
49590 fi
49591
49592 COND_USE_EXCEPTIONS_1="#"
49593 if test "x$USE_EXCEPTIONS" = "x1" ; then
49594 COND_USE_EXCEPTIONS_1=""
49595 fi
49596
49597 COND_USE_GUI_0="#"
49598 if test "x$USE_GUI" = "x0" ; then
49599 COND_USE_GUI_0=""
49600 fi
49601
49602 COND_USE_GUI_1="#"
49603 if test "x$USE_GUI" = "x1" ; then
49604 COND_USE_GUI_1=""
49605 fi
49606
49607 COND_USE_GUI_1_WXUNIV_0="#"
49608 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49609 COND_USE_GUI_1_WXUNIV_0=""
49610 fi
49611
49612 COND_USE_GUI_1_WXUNIV_1="#"
49613 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49614 COND_USE_GUI_1_WXUNIV_1=""
49615 fi
49616
49617 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49618 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49619 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49620 fi
49621
49622 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49623 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49624 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49625 fi
49626
49627 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49628 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49629 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49630 fi
49631
49632 COND_USE_ODBC_1="#"
49633 if test "x$USE_ODBC" = "x1" ; then
49634 COND_USE_ODBC_1=""
49635 fi
49636
49637 COND_USE_OPENGL_1="#"
49638 if test "x$USE_OPENGL" = "x1" ; then
49639 COND_USE_OPENGL_1=""
49640 fi
49641
49642 COND_USE_PCH_1="#"
49643 if test "x$USE_PCH" = "x1" ; then
49644 COND_USE_PCH_1=""
49645 fi
49646
49647 COND_USE_PLUGINS_0="#"
49648 if test "x$USE_PLUGINS" = "x0" ; then
49649 COND_USE_PLUGINS_0=""
49650 fi
49651
49652 COND_USE_RTTI_0="#"
49653 if test "x$USE_RTTI" = "x0" ; then
49654 COND_USE_RTTI_0=""
49655 fi
49656
49657 COND_USE_RTTI_1="#"
49658 if test "x$USE_RTTI" = "x1" ; then
49659 COND_USE_RTTI_1=""
49660 fi
49661
49662 COND_USE_SOSYMLINKS_1="#"
49663 if test "x$USE_SOSYMLINKS" = "x1" ; then
49664 COND_USE_SOSYMLINKS_1=""
49665 fi
49666
49667 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49668 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49669 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49670 fi
49671
49672 COND_USE_SOVERLINUX_1="#"
49673 if test "x$USE_SOVERLINUX" = "x1" ; then
49674 COND_USE_SOVERLINUX_1=""
49675 fi
49676
49677 COND_USE_SOVERSION_0="#"
49678 if test "x$USE_SOVERSION" = "x0" ; then
49679 COND_USE_SOVERSION_0=""
49680 fi
49681
49682 COND_USE_SOVERSOLARIS_1="#"
49683 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49684 COND_USE_SOVERSOLARIS_1=""
49685 fi
49686
49687 COND_USE_THREADS_0="#"
49688 if test "x$USE_THREADS" = "x0" ; then
49689 COND_USE_THREADS_0=""
49690 fi
49691
49692 COND_USE_THREADS_1="#"
49693 if test "x$USE_THREADS" = "x1" ; then
49694 COND_USE_THREADS_1=""
49695 fi
49696
49697 COND_USE_XRC_1="#"
49698 if test "x$USE_XRC" = "x1" ; then
49699 COND_USE_XRC_1=""
49700 fi
49701
49702 COND_WINDOWS_IMPLIB_1="#"
49703 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49704 COND_WINDOWS_IMPLIB_1=""
49705 fi
49706
49707 COND_WITH_PLUGIN_SDL_1="#"
49708 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49709 COND_WITH_PLUGIN_SDL_1=""
49710 fi
49711
49712 COND_WXUNIV_0="#"
49713 if test "x$WXUNIV" = "x0" ; then
49714 COND_WXUNIV_0=""
49715 fi
49716
49717 COND_WXUNIV_1="#"
49718 if test "x$WXUNIV" = "x1" ; then
49719 COND_WXUNIV_1=""
49720 fi
49721
49722 COND_WXUSE_EXPAT_BUILTIN="#"
49723 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49724 COND_WXUSE_EXPAT_BUILTIN=""
49725 fi
49726
49727 COND_WXUSE_LIBJPEG_BUILTIN="#"
49728 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49729 COND_WXUSE_LIBJPEG_BUILTIN=""
49730 fi
49731
49732 COND_WXUSE_LIBPNG_BUILTIN="#"
49733 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49734 COND_WXUSE_LIBPNG_BUILTIN=""
49735 fi
49736
49737 COND_WXUSE_LIBTIFF_BUILTIN="#"
49738 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49739 COND_WXUSE_LIBTIFF_BUILTIN=""
49740 fi
49741
49742 COND_WXUSE_ODBC_BUILTIN="#"
49743 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49744 COND_WXUSE_ODBC_BUILTIN=""
49745 fi
49746
49747 COND_WXUSE_REGEX_BUILTIN="#"
49748 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49749 COND_WXUSE_REGEX_BUILTIN=""
49750 fi
49751
49752 COND_WXUSE_ZLIB_BUILTIN="#"
49753 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49754 COND_WXUSE_ZLIB_BUILTIN=""
49755 fi
49756
49757
49758
49759 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49760 { { 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
49761 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;}
49762 { (exit 1); exit 1; }; }
49763 fi
49764
49765 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49766 { { 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
49767 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;}
49768 { (exit 1); exit 1; }; }
49769 fi
49770
49771
49772
49773 if test "$wxUSE_MAC" = 1 ; then
49774 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49775 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49776 mv temp bk-deps
49777 chmod +x bk-deps
49778 fi
49779 fi
49780
49781 if test "$wxUSE_SHARED" = "yes"; then
49782
49783 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49784 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49785
49786 case "${host}" in
49787 *-pc-os2_emx | *-pc-os2-emx )
49788 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49789 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49790 cp -p ${srcdir}/src/os2/dllnames.sh .
49791 cp -p ${srcdir}/src/os2/dllar.sh .
49792 ;;
49793 esac
49794 else
49795
49796 EXE_LINKER="$CXX -o"
49797
49798 fi
49799 if test "$wxUSE_OMF" = "yes"; then
49800 case "${host}" in
49801 *-pc-os2_emx | *-pc-os2-emx )
49802 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49803 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49804 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49805 ;;
49806 esac
49807 fi
49808
49809 if test $GCC_PCH = 1 ; then
49810 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49811 fi
49812
49813 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49814
49815 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49816
49817
49818
49819
49820
49821
49822
49823
49824
49825
49826
49827
49828
49829
49830
49831
49832
49833
49834
49835
49836
49837
49838
49839
49840
49841
49842
49843
49844
49845
49846
49847
49848
49849
49850
49851
49852
49853
49854
49855
49856
49857
49858
49859
49860
49861
49862
49863
49864
49865
49866
49867
49868
49869
49870
49871
49872
49873
49874
49875
49876
49877 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49878 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49879 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
49880 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49881 echo $ECHO_N "(cached) $ECHO_C" >&6
49882 else
49883 cat >conftest.make <<\_ACEOF
49884 all:
49885 @echo 'ac_maketemp="$(MAKE)"'
49886 _ACEOF
49887 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49888 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49889 if test -n "$ac_maketemp"; then
49890 eval ac_cv_prog_make_${ac_make}_set=yes
49891 else
49892 eval ac_cv_prog_make_${ac_make}_set=no
49893 fi
49894 rm -f conftest.make
49895 fi
49896 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49897 echo "$as_me:$LINENO: result: yes" >&5
49898 echo "${ECHO_T}yes" >&6
49899 SET_MAKE=
49900 else
49901 echo "$as_me:$LINENO: result: no" >&5
49902 echo "${ECHO_T}no" >&6
49903 SET_MAKE="MAKE=${MAKE-make}"
49904 fi
49905
49906
49907
49908 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49909
49910
49911 if test "$USE_WIN32" = 1; then
49912 ac_config_commands="$ac_config_commands
49913 rcdefs.h
49914 "
49915
49916 fi
49917
49918 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49919
49920
49921 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49922
49923
49924 ac_config_files="$ac_config_files version-script Makefile"
49925
49926
49927 ac_config_commands="$ac_config_commands wx-config"
49928
49929
49930
49931 if test "$wxWITH_SUBDIRS" != "no"; then
49932 if test "$wxUSE_GUI" = "yes"; then
49933 SUBDIRS="samples demos utils contrib"
49934 else SUBDIRS="samples utils"
49935 fi
49936
49937
49938
49939 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49940 if test "${with_cppunit_prefix+set}" = set; then
49941 withval="$with_cppunit_prefix"
49942 cppunit_config_prefix="$withval"
49943 else
49944 cppunit_config_prefix=""
49945 fi;
49946
49947 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49948 if test "${with_cppunit_exec_prefix+set}" = set; then
49949 withval="$with_cppunit_exec_prefix"
49950 cppunit_config_exec_prefix="$withval"
49951 else
49952 cppunit_config_exec_prefix=""
49953 fi;
49954
49955 if test x$cppunit_config_exec_prefix != x ; then
49956 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49957 if test x${CPPUNIT_CONFIG+set} != xset ; then
49958 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49959 fi
49960 fi
49961 if test x$cppunit_config_prefix != x ; then
49962 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49963 if test x${CPPUNIT_CONFIG+set} != xset ; then
49964 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49965 fi
49966 fi
49967
49968 # Extract the first word of "cppunit-config", so it can be a program name with args.
49969 set dummy cppunit-config; ac_word=$2
49970 echo "$as_me:$LINENO: checking for $ac_word" >&5
49971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49972 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49973 echo $ECHO_N "(cached) $ECHO_C" >&6
49974 else
49975 case $CPPUNIT_CONFIG in
49976 [\\/]* | ?:[\\/]*)
49977 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49978 ;;
49979 *)
49980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49981 for as_dir in $PATH
49982 do
49983 IFS=$as_save_IFS
49984 test -z "$as_dir" && as_dir=.
49985 for ac_exec_ext in '' $ac_executable_extensions; do
49986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49987 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49989 break 2
49990 fi
49991 done
49992 done
49993
49994 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49995 ;;
49996 esac
49997 fi
49998 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49999
50000 if test -n "$CPPUNIT_CONFIG"; then
50001 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50002 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50003 else
50004 echo "$as_me:$LINENO: result: no" >&5
50005 echo "${ECHO_T}no" >&6
50006 fi
50007
50008 cppunit_version_min=1.8.0
50009
50010 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50011 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50012 no_cppunit=""
50013 if test "$CPPUNIT_CONFIG" = "no" ; then
50014 echo "$as_me:$LINENO: result: no" >&5
50015 echo "${ECHO_T}no" >&6
50016 no_cppunit=yes
50017 else
50018 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50019 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50020 cppunit_version=`$CPPUNIT_CONFIG --version`
50021
50022 cppunit_major_version=`echo $cppunit_version | \
50023 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50024 cppunit_minor_version=`echo $cppunit_version | \
50025 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50026 cppunit_micro_version=`echo $cppunit_version | \
50027 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50028
50029 cppunit_major_min=`echo $cppunit_version_min | \
50030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50031 cppunit_minor_min=`echo $cppunit_version_min | \
50032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50033 cppunit_micro_min=`echo $cppunit_version_min | \
50034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50035
50036 cppunit_version_proper=`expr \
50037 $cppunit_major_version \> $cppunit_major_min \| \
50038 $cppunit_major_version \= $cppunit_major_min \& \
50039 $cppunit_minor_version \> $cppunit_minor_min \| \
50040 $cppunit_major_version \= $cppunit_major_min \& \
50041 $cppunit_minor_version \= $cppunit_minor_min \& \
50042 $cppunit_micro_version \>= $cppunit_micro_min `
50043
50044 if test "$cppunit_version_proper" = "1" ; then
50045 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50046 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50047 else
50048 echo "$as_me:$LINENO: result: no" >&5
50049 echo "${ECHO_T}no" >&6
50050 no_cppunit=yes
50051 fi
50052 fi
50053
50054 if test "x$no_cppunit" = x ; then
50055 SUBDIRS="$SUBDIRS tests"
50056 else
50057 CPPUNIT_CFLAGS=""
50058 CPPUNIT_LIBS=""
50059 :
50060 fi
50061
50062
50063
50064
50065
50066 for subdir in `echo $SUBDIRS`; do
50067 if test -d ${srcdir}/${subdir} ; then
50068 if test "$wxUSE_GUI" = "yes"; then
50069 if test ${subdir} = "samples"; then
50070 makefiles="samples/Makefile.in $makefiles"
50071 for sample in `echo $SAMPLES_SUBDIRS`; do
50072 if test -d $srcdir/samples/$sample; then
50073 makefiles="samples/$sample/Makefile.in $makefiles"
50074 fi
50075 done
50076 else
50077 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50078 eval "disabled=\$$disabled_var"
50079 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50080 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50081 fi
50082 else if test ${subdir} = "samples"; then
50083 makefiles="samples/Makefile.in samples/console/Makefile.in"
50084 elif test ${subdir} = "utils"; then
50085 makefiles=""
50086 for util in HelpGen tex2rtf ; do
50087 if test -d $srcdir/utils/$util ; then
50088 makefiles="utils/$util/Makefile.in \
50089 utils/$util/src/Makefile.in \
50090 $makefiles"
50091 fi
50092 done
50093 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50094 fi
50095 fi
50096
50097 for mkin in $makefiles ; do
50098 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50099 ac_config_files="$ac_config_files $mk"
50100
50101 done
50102 fi
50103 done
50104 fi
50105 cat >confcache <<\_ACEOF
50106 # This file is a shell script that caches the results of configure
50107 # tests run on this system so they can be shared between configure
50108 # scripts and configure runs, see configure's option --config-cache.
50109 # It is not useful on other systems. If it contains results you don't
50110 # want to keep, you may remove or edit it.
50111 #
50112 # config.status only pays attention to the cache file if you give it
50113 # the --recheck option to rerun configure.
50114 #
50115 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50116 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50117 # following values.
50118
50119 _ACEOF
50120
50121 # The following way of writing the cache mishandles newlines in values,
50122 # but we know of no workaround that is simple, portable, and efficient.
50123 # So, don't put newlines in cache variables' values.
50124 # Ultrix sh set writes to stderr and can't be redirected directly,
50125 # and sets the high bit in the cache file unless we assign to the vars.
50126 {
50127 (set) 2>&1 |
50128 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50129 *ac_space=\ *)
50130 # `set' does not quote correctly, so add quotes (double-quote
50131 # substitution turns \\\\ into \\, and sed turns \\ into \).
50132 sed -n \
50133 "s/'/'\\\\''/g;
50134 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50135 ;;
50136 *)
50137 # `set' quotes correctly as required by POSIX, so do not add quotes.
50138 sed -n \
50139 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50140 ;;
50141 esac;
50142 } |
50143 sed '
50144 t clear
50145 : clear
50146 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50147 t end
50148 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50149 : end' >>confcache
50150 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50151 if test -w $cache_file; then
50152 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50153 cat confcache >$cache_file
50154 else
50155 echo "not updating unwritable cache $cache_file"
50156 fi
50157 fi
50158 rm -f confcache
50159
50160 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50161 # Let make expand exec_prefix.
50162 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50163
50164 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50165 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50166 # trailing colons and then remove the whole line if VPATH becomes empty
50167 # (actually we leave an empty line to preserve line numbers).
50168 if test "x$srcdir" = x.; then
50169 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50170 s/:*\$(srcdir):*/:/;
50171 s/:*\${srcdir}:*/:/;
50172 s/:*@srcdir@:*/:/;
50173 s/^\([^=]*=[ ]*\):*/\1/;
50174 s/:*$//;
50175 s/^[^=]*=[ ]*$//;
50176 }'
50177 fi
50178
50179 DEFS=-DHAVE_CONFIG_H
50180
50181 ac_libobjs=
50182 ac_ltlibobjs=
50183 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50184 # 1. Remove the extension, and $U if already installed.
50185 ac_i=`echo "$ac_i" |
50186 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50187 # 2. Add them.
50188 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50189 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50190 done
50191 LIBOBJS=$ac_libobjs
50192
50193 LTLIBOBJS=$ac_ltlibobjs
50194
50195
50196
50197 : ${CONFIG_STATUS=./config.status}
50198 ac_clean_files_save=$ac_clean_files
50199 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50200 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50201 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50202 cat >$CONFIG_STATUS <<_ACEOF
50203 #! $SHELL
50204 # Generated by $as_me.
50205 # Run this file to recreate the current configuration.
50206 # Compiler output produced by configure, useful for debugging
50207 # configure, is in config.log if it exists.
50208
50209 debug=false
50210 ac_cs_recheck=false
50211 ac_cs_silent=false
50212 SHELL=\${CONFIG_SHELL-$SHELL}
50213 _ACEOF
50214
50215 cat >>$CONFIG_STATUS <<\_ACEOF
50216 ## --------------------- ##
50217 ## M4sh Initialization. ##
50218 ## --------------------- ##
50219
50220 # Be Bourne compatible
50221 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50222 emulate sh
50223 NULLCMD=:
50224 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50225 # is contrary to our usage. Disable this feature.
50226 alias -g '${1+"$@"}'='"$@"'
50227 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50228 set -o posix
50229 fi
50230 DUALCASE=1; export DUALCASE # for MKS sh
50231
50232 # Support unset when possible.
50233 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50234 as_unset=unset
50235 else
50236 as_unset=false
50237 fi
50238
50239
50240 # Work around bugs in pre-3.0 UWIN ksh.
50241 $as_unset ENV MAIL MAILPATH
50242 PS1='$ '
50243 PS2='> '
50244 PS4='+ '
50245
50246 # NLS nuisances.
50247 for as_var in \
50248 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50249 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50250 LC_TELEPHONE LC_TIME
50251 do
50252 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50253 eval $as_var=C; export $as_var
50254 else
50255 $as_unset $as_var
50256 fi
50257 done
50258
50259 # Required to use basename.
50260 if expr a : '\(a\)' >/dev/null 2>&1; then
50261 as_expr=expr
50262 else
50263 as_expr=false
50264 fi
50265
50266 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50267 as_basename=basename
50268 else
50269 as_basename=false
50270 fi
50271
50272
50273 # Name of the executable.
50274 as_me=`$as_basename "$0" ||
50275 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50276 X"$0" : 'X\(//\)$' \| \
50277 X"$0" : 'X\(/\)$' \| \
50278 . : '\(.\)' 2>/dev/null ||
50279 echo X/"$0" |
50280 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50281 /^X\/\(\/\/\)$/{ s//\1/; q; }
50282 /^X\/\(\/\).*/{ s//\1/; q; }
50283 s/.*/./; q'`
50284
50285
50286 # PATH needs CR, and LINENO needs CR and PATH.
50287 # Avoid depending upon Character Ranges.
50288 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50289 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50290 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50291 as_cr_digits='0123456789'
50292 as_cr_alnum=$as_cr_Letters$as_cr_digits
50293
50294 # The user is always right.
50295 if test "${PATH_SEPARATOR+set}" != set; then
50296 echo "#! /bin/sh" >conf$$.sh
50297 echo "exit 0" >>conf$$.sh
50298 chmod +x conf$$.sh
50299 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50300 PATH_SEPARATOR=';'
50301 else
50302 PATH_SEPARATOR=:
50303 fi
50304 rm -f conf$$.sh
50305 fi
50306
50307
50308 as_lineno_1=$LINENO
50309 as_lineno_2=$LINENO
50310 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50311 test "x$as_lineno_1" != "x$as_lineno_2" &&
50312 test "x$as_lineno_3" = "x$as_lineno_2" || {
50313 # Find who we are. Look in the path if we contain no path at all
50314 # relative or not.
50315 case $0 in
50316 *[\\/]* ) as_myself=$0 ;;
50317 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50318 for as_dir in $PATH
50319 do
50320 IFS=$as_save_IFS
50321 test -z "$as_dir" && as_dir=.
50322 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50323 done
50324
50325 ;;
50326 esac
50327 # We did not find ourselves, most probably we were run as `sh COMMAND'
50328 # in which case we are not to be found in the path.
50329 if test "x$as_myself" = x; then
50330 as_myself=$0
50331 fi
50332 if test ! -f "$as_myself"; then
50333 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50334 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50335 { (exit 1); exit 1; }; }
50336 fi
50337 case $CONFIG_SHELL in
50338 '')
50339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50340 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50341 do
50342 IFS=$as_save_IFS
50343 test -z "$as_dir" && as_dir=.
50344 for as_base in sh bash ksh sh5; do
50345 case $as_dir in
50346 /*)
50347 if ("$as_dir/$as_base" -c '
50348 as_lineno_1=$LINENO
50349 as_lineno_2=$LINENO
50350 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50351 test "x$as_lineno_1" != "x$as_lineno_2" &&
50352 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50353 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50354 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50355 CONFIG_SHELL=$as_dir/$as_base
50356 export CONFIG_SHELL
50357 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50358 fi;;
50359 esac
50360 done
50361 done
50362 ;;
50363 esac
50364
50365 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50366 # uniformly replaced by the line number. The first 'sed' inserts a
50367 # line-number line before each line; the second 'sed' does the real
50368 # work. The second script uses 'N' to pair each line-number line
50369 # with the numbered line, and appends trailing '-' during
50370 # substitution so that $LINENO is not a special case at line end.
50371 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50372 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50373 sed '=' <$as_myself |
50374 sed '
50375 N
50376 s,$,-,
50377 : loop
50378 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50379 t loop
50380 s,-$,,
50381 s,^['$as_cr_digits']*\n,,
50382 ' >$as_me.lineno &&
50383 chmod +x $as_me.lineno ||
50384 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50385 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50386 { (exit 1); exit 1; }; }
50387
50388 # Don't try to exec as it changes $[0], causing all sort of problems
50389 # (the dirname of $[0] is not the place where we might find the
50390 # original and so on. Autoconf is especially sensible to this).
50391 . ./$as_me.lineno
50392 # Exit status is that of the last command.
50393 exit
50394 }
50395
50396
50397 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50398 *c*,-n*) ECHO_N= ECHO_C='
50399 ' ECHO_T=' ' ;;
50400 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50401 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50402 esac
50403
50404 if expr a : '\(a\)' >/dev/null 2>&1; then
50405 as_expr=expr
50406 else
50407 as_expr=false
50408 fi
50409
50410 rm -f conf$$ conf$$.exe conf$$.file
50411 echo >conf$$.file
50412 if ln -s conf$$.file conf$$ 2>/dev/null; then
50413 # We could just check for DJGPP; but this test a) works b) is more generic
50414 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50415 if test -f conf$$.exe; then
50416 # Don't use ln at all; we don't have any links
50417 as_ln_s='cp -p'
50418 else
50419 as_ln_s='ln -s'
50420 fi
50421 elif ln conf$$.file conf$$ 2>/dev/null; then
50422 as_ln_s=ln
50423 else
50424 as_ln_s='cp -p'
50425 fi
50426 rm -f conf$$ conf$$.exe conf$$.file
50427
50428 if mkdir -p . 2>/dev/null; then
50429 as_mkdir_p=:
50430 else
50431 test -d ./-p && rmdir ./-p
50432 as_mkdir_p=false
50433 fi
50434
50435 as_executable_p="test -f"
50436
50437 # Sed expression to map a string onto a valid CPP name.
50438 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50439
50440 # Sed expression to map a string onto a valid variable name.
50441 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50442
50443
50444 # IFS
50445 # We need space, tab and new line, in precisely that order.
50446 as_nl='
50447 '
50448 IFS=" $as_nl"
50449
50450 # CDPATH.
50451 $as_unset CDPATH
50452
50453 exec 6>&1
50454
50455 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50456 # report actual input values of CONFIG_FILES etc. instead of their
50457 # values after options handling. Logging --version etc. is OK.
50458 exec 5>>config.log
50459 {
50460 echo
50461 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50462 ## Running $as_me. ##
50463 _ASBOX
50464 } >&5
50465 cat >&5 <<_CSEOF
50466
50467 This file was extended by wxWidgets $as_me 2.7.0, which was
50468 generated by GNU Autoconf 2.59. Invocation command line was
50469
50470 CONFIG_FILES = $CONFIG_FILES
50471 CONFIG_HEADERS = $CONFIG_HEADERS
50472 CONFIG_LINKS = $CONFIG_LINKS
50473 CONFIG_COMMANDS = $CONFIG_COMMANDS
50474 $ $0 $@
50475
50476 _CSEOF
50477 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50478 echo >&5
50479 _ACEOF
50480
50481 # Files that config.status was made for.
50482 if test -n "$ac_config_files"; then
50483 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50484 fi
50485
50486 if test -n "$ac_config_headers"; then
50487 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50488 fi
50489
50490 if test -n "$ac_config_links"; then
50491 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50492 fi
50493
50494 if test -n "$ac_config_commands"; then
50495 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50496 fi
50497
50498 cat >>$CONFIG_STATUS <<\_ACEOF
50499
50500 ac_cs_usage="\
50501 \`$as_me' instantiates files from templates according to the
50502 current configuration.
50503
50504 Usage: $0 [OPTIONS] [FILE]...
50505
50506 -h, --help print this help, then exit
50507 -V, --version print version number, then exit
50508 -q, --quiet do not print progress messages
50509 -d, --debug don't remove temporary files
50510 --recheck update $as_me by reconfiguring in the same conditions
50511 --file=FILE[:TEMPLATE]
50512 instantiate the configuration file FILE
50513 --header=FILE[:TEMPLATE]
50514 instantiate the configuration header FILE
50515
50516 Configuration files:
50517 $config_files
50518
50519 Configuration headers:
50520 $config_headers
50521
50522 Configuration commands:
50523 $config_commands
50524
50525 Report bugs to <bug-autoconf@gnu.org>."
50526 _ACEOF
50527
50528 cat >>$CONFIG_STATUS <<_ACEOF
50529 ac_cs_version="\\
50530 wxWidgets config.status 2.7.0
50531 configured by $0, generated by GNU Autoconf 2.59,
50532 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50533
50534 Copyright (C) 2003 Free Software Foundation, Inc.
50535 This config.status script is free software; the Free Software Foundation
50536 gives unlimited permission to copy, distribute and modify it."
50537 srcdir=$srcdir
50538 INSTALL="$INSTALL"
50539 _ACEOF
50540
50541 cat >>$CONFIG_STATUS <<\_ACEOF
50542 # If no file are specified by the user, then we need to provide default
50543 # value. By we need to know if files were specified by the user.
50544 ac_need_defaults=:
50545 while test $# != 0
50546 do
50547 case $1 in
50548 --*=*)
50549 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50550 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50551 ac_shift=:
50552 ;;
50553 -*)
50554 ac_option=$1
50555 ac_optarg=$2
50556 ac_shift=shift
50557 ;;
50558 *) # This is not an option, so the user has probably given explicit
50559 # arguments.
50560 ac_option=$1
50561 ac_need_defaults=false;;
50562 esac
50563
50564 case $ac_option in
50565 # Handling of the options.
50566 _ACEOF
50567 cat >>$CONFIG_STATUS <<\_ACEOF
50568 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50569 ac_cs_recheck=: ;;
50570 --version | --vers* | -V )
50571 echo "$ac_cs_version"; exit 0 ;;
50572 --he | --h)
50573 # Conflict between --help and --header
50574 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50575 Try \`$0 --help' for more information." >&5
50576 echo "$as_me: error: ambiguous option: $1
50577 Try \`$0 --help' for more information." >&2;}
50578 { (exit 1); exit 1; }; };;
50579 --help | --hel | -h )
50580 echo "$ac_cs_usage"; exit 0 ;;
50581 --debug | --d* | -d )
50582 debug=: ;;
50583 --file | --fil | --fi | --f )
50584 $ac_shift
50585 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50586 ac_need_defaults=false;;
50587 --header | --heade | --head | --hea )
50588 $ac_shift
50589 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50590 ac_need_defaults=false;;
50591 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50592 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50593 ac_cs_silent=: ;;
50594
50595 # This is an error.
50596 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50597 Try \`$0 --help' for more information." >&5
50598 echo "$as_me: error: unrecognized option: $1
50599 Try \`$0 --help' for more information." >&2;}
50600 { (exit 1); exit 1; }; } ;;
50601
50602 *) ac_config_targets="$ac_config_targets $1" ;;
50603
50604 esac
50605 shift
50606 done
50607
50608 ac_configure_extra_args=
50609
50610 if $ac_cs_silent; then
50611 exec 6>/dev/null
50612 ac_configure_extra_args="$ac_configure_extra_args --silent"
50613 fi
50614
50615 _ACEOF
50616 cat >>$CONFIG_STATUS <<_ACEOF
50617 if \$ac_cs_recheck; then
50618 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50619 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50620 fi
50621
50622 _ACEOF
50623
50624 cat >>$CONFIG_STATUS <<_ACEOF
50625 #
50626 # INIT-COMMANDS section.
50627 #
50628
50629
50630 CPP="$CPP"
50631 infile="$srcdir/include/wx/msw/genrcdefs.h"
50632 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50633
50634
50635 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50636 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50637 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50638 LN_S="${LN_S}"
50639
50640
50641 _ACEOF
50642
50643
50644
50645 cat >>$CONFIG_STATUS <<\_ACEOF
50646 for ac_config_target in $ac_config_targets
50647 do
50648 case "$ac_config_target" in
50649 # Handling of arguments.
50650 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50651 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50652 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
50653 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50654 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
50655 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50656 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50657 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50658 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50659 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50660 { (exit 1); exit 1; }; };;
50661 esac
50662 done
50663
50664 # If the user did not use the arguments to specify the items to instantiate,
50665 # then the envvar interface is used. Set only those that are not.
50666 # We use the long form for the default assignment because of an extremely
50667 # bizarre bug on SunOS 4.1.3.
50668 if $ac_need_defaults; then
50669 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50670 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50671 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50672 fi
50673
50674 # Have a temporary directory for convenience. Make it in the build tree
50675 # simply because there is no reason to put it here, and in addition,
50676 # creating and moving files from /tmp can sometimes cause problems.
50677 # Create a temporary directory, and hook for its removal unless debugging.
50678 $debug ||
50679 {
50680 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50681 trap '{ (exit 1); exit 1; }' 1 2 13 15
50682 }
50683
50684 # Create a (secure) tmp directory for tmp files.
50685
50686 {
50687 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50688 test -n "$tmp" && test -d "$tmp"
50689 } ||
50690 {
50691 tmp=./confstat$$-$RANDOM
50692 (umask 077 && mkdir $tmp)
50693 } ||
50694 {
50695 echo "$me: cannot create a temporary directory in ." >&2
50696 { (exit 1); exit 1; }
50697 }
50698
50699 _ACEOF
50700
50701 cat >>$CONFIG_STATUS <<_ACEOF
50702
50703 #
50704 # CONFIG_FILES section.
50705 #
50706
50707 # No need to generate the scripts if there are no CONFIG_FILES.
50708 # This happens for instance when ./config.status config.h
50709 if test -n "\$CONFIG_FILES"; then
50710 # Protect against being on the right side of a sed subst in config.status.
50711 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50712 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50713 s,@SHELL@,$SHELL,;t t
50714 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50715 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50716 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50717 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50718 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50719 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50720 s,@exec_prefix@,$exec_prefix,;t t
50721 s,@prefix@,$prefix,;t t
50722 s,@program_transform_name@,$program_transform_name,;t t
50723 s,@bindir@,$bindir,;t t
50724 s,@sbindir@,$sbindir,;t t
50725 s,@libexecdir@,$libexecdir,;t t
50726 s,@datadir@,$datadir,;t t
50727 s,@sysconfdir@,$sysconfdir,;t t
50728 s,@sharedstatedir@,$sharedstatedir,;t t
50729 s,@localstatedir@,$localstatedir,;t t
50730 s,@libdir@,$libdir,;t t
50731 s,@includedir@,$includedir,;t t
50732 s,@oldincludedir@,$oldincludedir,;t t
50733 s,@infodir@,$infodir,;t t
50734 s,@mandir@,$mandir,;t t
50735 s,@build_alias@,$build_alias,;t t
50736 s,@host_alias@,$host_alias,;t t
50737 s,@target_alias@,$target_alias,;t t
50738 s,@DEFS@,$DEFS,;t t
50739 s,@ECHO_C@,$ECHO_C,;t t
50740 s,@ECHO_N@,$ECHO_N,;t t
50741 s,@ECHO_T@,$ECHO_T,;t t
50742 s,@LIBS@,$LIBS,;t t
50743 s,@build@,$build,;t t
50744 s,@build_cpu@,$build_cpu,;t t
50745 s,@build_vendor@,$build_vendor,;t t
50746 s,@build_os@,$build_os,;t t
50747 s,@host@,$host,;t t
50748 s,@host_cpu@,$host_cpu,;t t
50749 s,@host_vendor@,$host_vendor,;t t
50750 s,@host_os@,$host_os,;t t
50751 s,@target@,$target,;t t
50752 s,@target_cpu@,$target_cpu,;t t
50753 s,@target_vendor@,$target_vendor,;t t
50754 s,@target_os@,$target_os,;t t
50755 s,@CC@,$CC,;t t
50756 s,@CFLAGS@,$CFLAGS,;t t
50757 s,@LDFLAGS@,$LDFLAGS,;t t
50758 s,@CPPFLAGS@,$CPPFLAGS,;t t
50759 s,@ac_ct_CC@,$ac_ct_CC,;t t
50760 s,@EXEEXT@,$EXEEXT,;t t
50761 s,@OBJEXT@,$OBJEXT,;t t
50762 s,@CPP@,$CPP,;t t
50763 s,@EGREP@,$EGREP,;t t
50764 s,@CXX@,$CXX,;t t
50765 s,@CXXFLAGS@,$CXXFLAGS,;t t
50766 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50767 s,@RANLIB@,$RANLIB,;t t
50768 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50769 s,@AR@,$AR,;t t
50770 s,@ac_ct_AR@,$ac_ct_AR,;t t
50771 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50772 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50773 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50774 s,@STRIP@,$STRIP,;t t
50775 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50776 s,@WINDRES@,$WINDRES,;t t
50777 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50778 s,@DLLTOOL@,$DLLTOOL,;t t
50779 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50780 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50781 s,@LN_S@,$LN_S,;t t
50782 s,@CXXCPP@,$CXXCPP,;t t
50783 s,@subdirs@,$subdirs,;t t
50784 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50785 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50786 s,@GTK_LIBS@,$GTK_LIBS,;t t
50787 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50788 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50789 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50790 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50791 s,@X_CFLAGS@,$X_CFLAGS,;t t
50792 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50793 s,@X_LIBS@,$X_LIBS,;t t
50794 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50795 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50796 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50797 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50798 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50799 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50800 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50801 s,@REZ@,$REZ,;t t
50802 s,@DEREZ@,$DEREZ,;t t
50803 s,@SETFILE@,$SETFILE,;t t
50804 s,@LIBICONV@,$LIBICONV,;t t
50805 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50806 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50807 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50808 s,@SDL_LIBS@,$SDL_LIBS,;t t
50809 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50810 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50811 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50812 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50813 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50814 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50815 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50816 s,@GST_LIBS@,$GST_LIBS,;t t
50817 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50818 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50819 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50820 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50821 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50822 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50823 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50824 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50825 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50826 s,@VENDOR@,$VENDOR,;t t
50827 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50828 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50829 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50830 s,@WXUNIV@,$WXUNIV,;t t
50831 s,@MONOLITHIC@,$MONOLITHIC,;t t
50832 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50833 s,@EXTRALIBS@,$EXTRALIBS,;t t
50834 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50835 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50836 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50837 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50838 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50839 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50840 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50841 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50842 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50843 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50844 s,@UNICODE@,$UNICODE,;t t
50845 s,@BUILD@,$BUILD,;t t
50846 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50847 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50848 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50849 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50850 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50851 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50852 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50853 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50854 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50855 s,@SET_MAKE@,$SET_MAKE,;t t
50856 s,@MAKE_SET@,$MAKE_SET,;t t
50857 s,@NM@,$NM,;t t
50858 s,@ac_ct_NM@,$ac_ct_NM,;t t
50859 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50860 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50861 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50862 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50863 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50864 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50865 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50866 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50867 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50868 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50869 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50870 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50871 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50872 s,@LIBPREFIX@,$LIBPREFIX,;t t
50873 s,@LIBEXT@,$LIBEXT,;t t
50874 s,@DLLPREFIX@,$DLLPREFIX,;t t
50875 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50876 s,@dlldir@,$dlldir,;t t
50877 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50878 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50879 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50880 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50881 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50882 s,@PIC_FLAG@,$PIC_FLAG,;t t
50883 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50884 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50885 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50886 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50887 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50888 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50889 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50890 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50891 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50892 s,@GCC_PCH@,$GCC_PCH,;t t
50893 s,@ICC_PCH@,$ICC_PCH,;t t
50894 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50895 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50896 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50897 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50898 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50899 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50900 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50901 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50902 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50903 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50904 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50905 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50906 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50907 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50908 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50909 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50910 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50911 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50912 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50913 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50914 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
50915 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
50916 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
50917 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
50918 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50919 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50920 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50921 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50922 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50923 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50924 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
50925 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
50926 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
50927 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
50928 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50929 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50930 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50931 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50932 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50933 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50934 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50935 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50936 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50937 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50938 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50939 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50940 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50941 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50942 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50943 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50944 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50945 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50946 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
50947 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50948 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50949 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50950 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50951 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50952 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50953 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50954 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50955 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50956 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50957 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50958 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50959 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50960 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50961 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50962 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50963 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50964 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50965 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50966 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50967 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50968 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50969 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50970 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50971 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50972 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50973 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50974 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50975 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50976 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50977 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50978 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50979 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50980 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50981 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50982 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50983 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50984 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50985 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50986 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50987 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50988 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
50989 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50990 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50991 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50992 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50993 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50994 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50995 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50996 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50997 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50998 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50999 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51000 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51001 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51002 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51003 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51004 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51005 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51006 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51007 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51008 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51009 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51010 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51011 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51012 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51013 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51014 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51015 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51016 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51017 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51018 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51019 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51020 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51021 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51022 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51023 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51024 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51025 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51026 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51027 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51028 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51029 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51030 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51031 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51032 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51033 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51034 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51035 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51036 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51037 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51038 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51039 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51040 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51041 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51042 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51043 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51044 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51045 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51046 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51047 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51048 s,@SHARED@,$SHARED,;t t
51049 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51050 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51051 s,@USE_GUI@,$USE_GUI,;t t
51052 s,@AFMINSTALL@,$AFMINSTALL,;t t
51053 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51054 s,@TOOLKIT@,$TOOLKIT,;t t
51055 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51056 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51057 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51058 s,@cross_compiling@,$cross_compiling,;t t
51059 s,@WIDGET_SET@,$WIDGET_SET,;t t
51060 s,@WX_RELEASE@,$WX_RELEASE,;t t
51061 s,@WX_VERSION@,$WX_VERSION,;t t
51062 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51063 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51064 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51065 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51066 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51067 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51068 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51069 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51070 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51071 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51072 s,@EXE_LINKER@,$EXE_LINKER,;t t
51073 s,@GUIDIST@,$GUIDIST,;t t
51074 s,@DISTDIR@,$DISTDIR,;t t
51075 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51076 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51077 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51078 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51079 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51080 s,@RESCOMP@,$RESCOMP,;t t
51081 s,@RESFLAGS@,$RESFLAGS,;t t
51082 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51083 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51084 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51085 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51086 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51087 s,@MACSETFILE@,$MACSETFILE,;t t
51088 s,@GCC@,$GCC,;t t
51089 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51090 s,@LIBOBJS@,$LIBOBJS,;t t
51091 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51092 CEOF
51093
51094 _ACEOF
51095
51096 cat >>$CONFIG_STATUS <<\_ACEOF
51097 # Split the substitutions into bite-sized pieces for seds with
51098 # small command number limits, like on Digital OSF/1 and HP-UX.
51099 ac_max_sed_lines=48
51100 ac_sed_frag=1 # Number of current file.
51101 ac_beg=1 # First line for current file.
51102 ac_end=$ac_max_sed_lines # Line after last line for current file.
51103 ac_more_lines=:
51104 ac_sed_cmds=
51105 while $ac_more_lines; do
51106 if test $ac_beg -gt 1; then
51107 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51108 else
51109 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51110 fi
51111 if test ! -s $tmp/subs.frag; then
51112 ac_more_lines=false
51113 else
51114 # The purpose of the label and of the branching condition is to
51115 # speed up the sed processing (if there are no `@' at all, there
51116 # is no need to browse any of the substitutions).
51117 # These are the two extra sed commands mentioned above.
51118 (echo ':t
51119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51120 if test -z "$ac_sed_cmds"; then
51121 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51122 else
51123 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51124 fi
51125 ac_sed_frag=`expr $ac_sed_frag + 1`
51126 ac_beg=$ac_end
51127 ac_end=`expr $ac_end + $ac_max_sed_lines`
51128 fi
51129 done
51130 if test -z "$ac_sed_cmds"; then
51131 ac_sed_cmds=cat
51132 fi
51133 fi # test -n "$CONFIG_FILES"
51134
51135 _ACEOF
51136 cat >>$CONFIG_STATUS <<\_ACEOF
51137 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51138 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51139 case $ac_file in
51140 - | *:- | *:-:* ) # input from stdin
51141 cat >$tmp/stdin
51142 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51143 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51144 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51145 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51146 * ) ac_file_in=$ac_file.in ;;
51147 esac
51148
51149 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51150 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51151 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51152 X"$ac_file" : 'X\(//\)[^/]' \| \
51153 X"$ac_file" : 'X\(//\)$' \| \
51154 X"$ac_file" : 'X\(/\)' \| \
51155 . : '\(.\)' 2>/dev/null ||
51156 echo X"$ac_file" |
51157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51158 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51159 /^X\(\/\/\)$/{ s//\1/; q; }
51160 /^X\(\/\).*/{ s//\1/; q; }
51161 s/.*/./; q'`
51162 { if $as_mkdir_p; then
51163 mkdir -p "$ac_dir"
51164 else
51165 as_dir="$ac_dir"
51166 as_dirs=
51167 while test ! -d "$as_dir"; do
51168 as_dirs="$as_dir $as_dirs"
51169 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51170 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51171 X"$as_dir" : 'X\(//\)[^/]' \| \
51172 X"$as_dir" : 'X\(//\)$' \| \
51173 X"$as_dir" : 'X\(/\)' \| \
51174 . : '\(.\)' 2>/dev/null ||
51175 echo X"$as_dir" |
51176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51177 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51178 /^X\(\/\/\)$/{ s//\1/; q; }
51179 /^X\(\/\).*/{ s//\1/; q; }
51180 s/.*/./; q'`
51181 done
51182 test ! -n "$as_dirs" || mkdir $as_dirs
51183 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51184 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51185 { (exit 1); exit 1; }; }; }
51186
51187 ac_builddir=.
51188
51189 if test "$ac_dir" != .; then
51190 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51191 # A "../" for each directory in $ac_dir_suffix.
51192 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51193 else
51194 ac_dir_suffix= ac_top_builddir=
51195 fi
51196
51197 case $srcdir in
51198 .) # No --srcdir option. We are building in place.
51199 ac_srcdir=.
51200 if test -z "$ac_top_builddir"; then
51201 ac_top_srcdir=.
51202 else
51203 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51204 fi ;;
51205 [\\/]* | ?:[\\/]* ) # Absolute path.
51206 ac_srcdir=$srcdir$ac_dir_suffix;
51207 ac_top_srcdir=$srcdir ;;
51208 *) # Relative path.
51209 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51210 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51211 esac
51212
51213 # Do not use `cd foo && pwd` to compute absolute paths, because
51214 # the directories may not exist.
51215 case `pwd` in
51216 .) ac_abs_builddir="$ac_dir";;
51217 *)
51218 case "$ac_dir" in
51219 .) ac_abs_builddir=`pwd`;;
51220 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51221 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51222 esac;;
51223 esac
51224 case $ac_abs_builddir in
51225 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51226 *)
51227 case ${ac_top_builddir}. in
51228 .) ac_abs_top_builddir=$ac_abs_builddir;;
51229 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51230 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51231 esac;;
51232 esac
51233 case $ac_abs_builddir in
51234 .) ac_abs_srcdir=$ac_srcdir;;
51235 *)
51236 case $ac_srcdir in
51237 .) ac_abs_srcdir=$ac_abs_builddir;;
51238 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51239 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51240 esac;;
51241 esac
51242 case $ac_abs_builddir in
51243 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51244 *)
51245 case $ac_top_srcdir in
51246 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51247 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51248 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51249 esac;;
51250 esac
51251
51252
51253 case $INSTALL in
51254 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51255 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51256 esac
51257
51258 if test x"$ac_file" != x-; then
51259 { echo "$as_me:$LINENO: creating $ac_file" >&5
51260 echo "$as_me: creating $ac_file" >&6;}
51261 rm -f "$ac_file"
51262 fi
51263 # Let's still pretend it is `configure' which instantiates (i.e., don't
51264 # use $as_me), people would be surprised to read:
51265 # /* config.h. Generated by config.status. */
51266 if test x"$ac_file" = x-; then
51267 configure_input=
51268 else
51269 configure_input="$ac_file. "
51270 fi
51271 configure_input=$configure_input"Generated from `echo $ac_file_in |
51272 sed 's,.*/,,'` by configure."
51273
51274 # First look for the input files in the build tree, otherwise in the
51275 # src tree.
51276 ac_file_inputs=`IFS=:
51277 for f in $ac_file_in; do
51278 case $f in
51279 -) echo $tmp/stdin ;;
51280 [\\/$]*)
51281 # Absolute (can't be DOS-style, as IFS=:)
51282 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51283 echo "$as_me: error: cannot find input file: $f" >&2;}
51284 { (exit 1); exit 1; }; }
51285 echo "$f";;
51286 *) # Relative
51287 if test -f "$f"; then
51288 # Build tree
51289 echo "$f"
51290 elif test -f "$srcdir/$f"; then
51291 # Source tree
51292 echo "$srcdir/$f"
51293 else
51294 # /dev/null tree
51295 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51296 echo "$as_me: error: cannot find input file: $f" >&2;}
51297 { (exit 1); exit 1; }; }
51298 fi;;
51299 esac
51300 done` || { (exit 1); exit 1; }
51301 _ACEOF
51302 cat >>$CONFIG_STATUS <<_ACEOF
51303 sed "$ac_vpsub
51304 $extrasub
51305 _ACEOF
51306 cat >>$CONFIG_STATUS <<\_ACEOF
51307 :t
51308 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51309 s,@configure_input@,$configure_input,;t t
51310 s,@srcdir@,$ac_srcdir,;t t
51311 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51312 s,@top_srcdir@,$ac_top_srcdir,;t t
51313 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51314 s,@builddir@,$ac_builddir,;t t
51315 s,@abs_builddir@,$ac_abs_builddir,;t t
51316 s,@top_builddir@,$ac_top_builddir,;t t
51317 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51318 s,@INSTALL@,$ac_INSTALL,;t t
51319 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51320 rm -f $tmp/stdin
51321 if test x"$ac_file" != x-; then
51322 mv $tmp/out $ac_file
51323 else
51324 cat $tmp/out
51325 rm -f $tmp/out
51326 fi
51327
51328 # Run the commands associated with the file.
51329 case $ac_file in
51330 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51331 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51332 esac
51333 done
51334 _ACEOF
51335 cat >>$CONFIG_STATUS <<\_ACEOF
51336
51337 #
51338 # CONFIG_HEADER section.
51339 #
51340
51341 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51342 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51343 #
51344 # ac_d sets the value in "#define NAME VALUE" lines.
51345 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51346 ac_dB='[ ].*$,\1#\2'
51347 ac_dC=' '
51348 ac_dD=',;t'
51349 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51350 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51351 ac_uB='$,\1#\2define\3'
51352 ac_uC=' '
51353 ac_uD=',;t'
51354
51355 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51356 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51357 case $ac_file in
51358 - | *:- | *:-:* ) # input from stdin
51359 cat >$tmp/stdin
51360 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51361 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51362 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51363 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51364 * ) ac_file_in=$ac_file.in ;;
51365 esac
51366
51367 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51368 echo "$as_me: creating $ac_file" >&6;}
51369
51370 # First look for the input files in the build tree, otherwise in the
51371 # src tree.
51372 ac_file_inputs=`IFS=:
51373 for f in $ac_file_in; do
51374 case $f in
51375 -) echo $tmp/stdin ;;
51376 [\\/$]*)
51377 # Absolute (can't be DOS-style, as IFS=:)
51378 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51379 echo "$as_me: error: cannot find input file: $f" >&2;}
51380 { (exit 1); exit 1; }; }
51381 # Do quote $f, to prevent DOS paths from being IFS'd.
51382 echo "$f";;
51383 *) # Relative
51384 if test -f "$f"; then
51385 # Build tree
51386 echo "$f"
51387 elif test -f "$srcdir/$f"; then
51388 # Source tree
51389 echo "$srcdir/$f"
51390 else
51391 # /dev/null tree
51392 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51393 echo "$as_me: error: cannot find input file: $f" >&2;}
51394 { (exit 1); exit 1; }; }
51395 fi;;
51396 esac
51397 done` || { (exit 1); exit 1; }
51398 # Remove the trailing spaces.
51399 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51400
51401 _ACEOF
51402
51403 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51404 # `conftest.undefs', that substitutes the proper values into
51405 # config.h.in to produce config.h. The first handles `#define'
51406 # templates, and the second `#undef' templates.
51407 # And first: Protect against being on the right side of a sed subst in
51408 # config.status. Protect against being in an unquoted here document
51409 # in config.status.
51410 rm -f conftest.defines conftest.undefs
51411 # Using a here document instead of a string reduces the quoting nightmare.
51412 # Putting comments in sed scripts is not portable.
51413 #
51414 # `end' is used to avoid that the second main sed command (meant for
51415 # 0-ary CPP macros) applies to n-ary macro definitions.
51416 # See the Autoconf documentation for `clear'.
51417 cat >confdef2sed.sed <<\_ACEOF
51418 s/[\\&,]/\\&/g
51419 s,[\\$`],\\&,g
51420 t clear
51421 : clear
51422 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51423 t end
51424 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51425 : end
51426 _ACEOF
51427 # If some macros were called several times there might be several times
51428 # the same #defines, which is useless. Nevertheless, we may not want to
51429 # sort them, since we want the *last* AC-DEFINE to be honored.
51430 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51431 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51432 rm -f confdef2sed.sed
51433
51434 # This sed command replaces #undef with comments. This is necessary, for
51435 # example, in the case of _POSIX_SOURCE, which is predefined and required
51436 # on some systems where configure will not decide to define it.
51437 cat >>conftest.undefs <<\_ACEOF
51438 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51439 _ACEOF
51440
51441 # Break up conftest.defines because some shells have a limit on the size
51442 # of here documents, and old seds have small limits too (100 cmds).
51443 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51444 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51445 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51446 echo ' :' >>$CONFIG_STATUS
51447 rm -f conftest.tail
51448 while grep . conftest.defines >/dev/null
51449 do
51450 # Write a limited-size here document to $tmp/defines.sed.
51451 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51452 # Speed up: don't consider the non `#define' lines.
51453 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51454 # Work around the forget-to-reset-the-flag bug.
51455 echo 't clr' >>$CONFIG_STATUS
51456 echo ': clr' >>$CONFIG_STATUS
51457 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51458 echo 'CEOF
51459 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51460 rm -f $tmp/in
51461 mv $tmp/out $tmp/in
51462 ' >>$CONFIG_STATUS
51463 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51464 rm -f conftest.defines
51465 mv conftest.tail conftest.defines
51466 done
51467 rm -f conftest.defines
51468 echo ' fi # grep' >>$CONFIG_STATUS
51469 echo >>$CONFIG_STATUS
51470
51471 # Break up conftest.undefs because some shells have a limit on the size
51472 # of here documents, and old seds have small limits too (100 cmds).
51473 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51474 rm -f conftest.tail
51475 while grep . conftest.undefs >/dev/null
51476 do
51477 # Write a limited-size here document to $tmp/undefs.sed.
51478 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51479 # Speed up: don't consider the non `#undef'
51480 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51481 # Work around the forget-to-reset-the-flag bug.
51482 echo 't clr' >>$CONFIG_STATUS
51483 echo ': clr' >>$CONFIG_STATUS
51484 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51485 echo 'CEOF
51486 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51487 rm -f $tmp/in
51488 mv $tmp/out $tmp/in
51489 ' >>$CONFIG_STATUS
51490 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51491 rm -f conftest.undefs
51492 mv conftest.tail conftest.undefs
51493 done
51494 rm -f conftest.undefs
51495
51496 cat >>$CONFIG_STATUS <<\_ACEOF
51497 # Let's still pretend it is `configure' which instantiates (i.e., don't
51498 # use $as_me), people would be surprised to read:
51499 # /* config.h. Generated by config.status. */
51500 if test x"$ac_file" = x-; then
51501 echo "/* Generated by configure. */" >$tmp/config.h
51502 else
51503 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51504 fi
51505 cat $tmp/in >>$tmp/config.h
51506 rm -f $tmp/in
51507 if test x"$ac_file" != x-; then
51508 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51509 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51510 echo "$as_me: $ac_file is unchanged" >&6;}
51511 else
51512 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51513 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51514 X"$ac_file" : 'X\(//\)[^/]' \| \
51515 X"$ac_file" : 'X\(//\)$' \| \
51516 X"$ac_file" : 'X\(/\)' \| \
51517 . : '\(.\)' 2>/dev/null ||
51518 echo X"$ac_file" |
51519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51520 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51521 /^X\(\/\/\)$/{ s//\1/; q; }
51522 /^X\(\/\).*/{ s//\1/; q; }
51523 s/.*/./; q'`
51524 { if $as_mkdir_p; then
51525 mkdir -p "$ac_dir"
51526 else
51527 as_dir="$ac_dir"
51528 as_dirs=
51529 while test ! -d "$as_dir"; do
51530 as_dirs="$as_dir $as_dirs"
51531 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51532 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51533 X"$as_dir" : 'X\(//\)[^/]' \| \
51534 X"$as_dir" : 'X\(//\)$' \| \
51535 X"$as_dir" : 'X\(/\)' \| \
51536 . : '\(.\)' 2>/dev/null ||
51537 echo X"$as_dir" |
51538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51539 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51540 /^X\(\/\/\)$/{ s//\1/; q; }
51541 /^X\(\/\).*/{ s//\1/; q; }
51542 s/.*/./; q'`
51543 done
51544 test ! -n "$as_dirs" || mkdir $as_dirs
51545 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51546 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51547 { (exit 1); exit 1; }; }; }
51548
51549 rm -f $ac_file
51550 mv $tmp/config.h $ac_file
51551 fi
51552 else
51553 cat $tmp/config.h
51554 rm -f $tmp/config.h
51555 fi
51556 done
51557 _ACEOF
51558 cat >>$CONFIG_STATUS <<\_ACEOF
51559
51560 #
51561 # CONFIG_COMMANDS section.
51562 #
51563 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51564 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51565 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51566 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51567 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51568 X"$ac_dest" : 'X\(//\)[^/]' \| \
51569 X"$ac_dest" : 'X\(//\)$' \| \
51570 X"$ac_dest" : 'X\(/\)' \| \
51571 . : '\(.\)' 2>/dev/null ||
51572 echo X"$ac_dest" |
51573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51574 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51575 /^X\(\/\/\)$/{ s//\1/; q; }
51576 /^X\(\/\).*/{ s//\1/; q; }
51577 s/.*/./; q'`
51578 { if $as_mkdir_p; then
51579 mkdir -p "$ac_dir"
51580 else
51581 as_dir="$ac_dir"
51582 as_dirs=
51583 while test ! -d "$as_dir"; do
51584 as_dirs="$as_dir $as_dirs"
51585 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51586 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51587 X"$as_dir" : 'X\(//\)[^/]' \| \
51588 X"$as_dir" : 'X\(//\)$' \| \
51589 X"$as_dir" : 'X\(/\)' \| \
51590 . : '\(.\)' 2>/dev/null ||
51591 echo X"$as_dir" |
51592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51593 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51594 /^X\(\/\/\)$/{ s//\1/; q; }
51595 /^X\(\/\).*/{ s//\1/; q; }
51596 s/.*/./; q'`
51597 done
51598 test ! -n "$as_dirs" || mkdir $as_dirs
51599 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51600 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51601 { (exit 1); exit 1; }; }; }
51602
51603 ac_builddir=.
51604
51605 if test "$ac_dir" != .; then
51606 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51607 # A "../" for each directory in $ac_dir_suffix.
51608 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51609 else
51610 ac_dir_suffix= ac_top_builddir=
51611 fi
51612
51613 case $srcdir in
51614 .) # No --srcdir option. We are building in place.
51615 ac_srcdir=.
51616 if test -z "$ac_top_builddir"; then
51617 ac_top_srcdir=.
51618 else
51619 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51620 fi ;;
51621 [\\/]* | ?:[\\/]* ) # Absolute path.
51622 ac_srcdir=$srcdir$ac_dir_suffix;
51623 ac_top_srcdir=$srcdir ;;
51624 *) # Relative path.
51625 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51626 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51627 esac
51628
51629 # Do not use `cd foo && pwd` to compute absolute paths, because
51630 # the directories may not exist.
51631 case `pwd` in
51632 .) ac_abs_builddir="$ac_dir";;
51633 *)
51634 case "$ac_dir" in
51635 .) ac_abs_builddir=`pwd`;;
51636 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51637 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51638 esac;;
51639 esac
51640 case $ac_abs_builddir in
51641 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51642 *)
51643 case ${ac_top_builddir}. in
51644 .) ac_abs_top_builddir=$ac_abs_builddir;;
51645 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51646 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51647 esac;;
51648 esac
51649 case $ac_abs_builddir in
51650 .) ac_abs_srcdir=$ac_srcdir;;
51651 *)
51652 case $ac_srcdir in
51653 .) ac_abs_srcdir=$ac_abs_builddir;;
51654 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51655 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51656 esac;;
51657 esac
51658 case $ac_abs_builddir in
51659 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51660 *)
51661 case $ac_top_srcdir in
51662 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51663 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51664 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51665 esac;;
51666 esac
51667
51668
51669 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51670 echo "$as_me: executing $ac_dest commands" >&6;}
51671 case $ac_dest in
51672 rcdefs.h )
51673 mkdir -p $outdir &&
51674 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51675 ;;
51676 wx-config ) rm -f wx-config
51677 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51678 ;;
51679 esac
51680 done
51681 _ACEOF
51682
51683 cat >>$CONFIG_STATUS <<\_ACEOF
51684
51685 { (exit 0); exit 0; }
51686 _ACEOF
51687 chmod +x $CONFIG_STATUS
51688 ac_clean_files=$ac_clean_files_save
51689
51690
51691 # configure is writing to config.log, and then calls config.status.
51692 # config.status does its own redirection, appending to config.log.
51693 # Unfortunately, on DOS this fails, as config.log is still kept open
51694 # by configure, so config.status won't be able to write to it; its
51695 # output is simply discarded. So we exec the FD to /dev/null,
51696 # effectively closing config.log, so it can be properly (re)opened and
51697 # appended to by config.status. When coming back to configure, we
51698 # need to make the FD available again.
51699 if test "$no_create" != yes; then
51700 ac_cs_success=:
51701 ac_config_status_args=
51702 test "$silent" = yes &&
51703 ac_config_status_args="$ac_config_status_args --quiet"
51704 exec 5>/dev/null
51705 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51706 exec 5>>config.log
51707 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51708 # would make configure fail if this is the last instruction.
51709 $ac_cs_success || { (exit 1); exit 1; }
51710 fi
51711
51712 #
51713 # CONFIG_SUBDIRS section.
51714 #
51715 if test "$no_recursion" != yes; then
51716
51717 # Remove --cache-file and --srcdir arguments so they do not pile up.
51718 ac_sub_configure_args=
51719 ac_prev=
51720 for ac_arg in $ac_configure_args; do
51721 if test -n "$ac_prev"; then
51722 ac_prev=
51723 continue
51724 fi
51725 case $ac_arg in
51726 -cache-file | --cache-file | --cache-fil | --cache-fi \
51727 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51728 ac_prev=cache_file ;;
51729 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51730 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51731 | --c=*)
51732 ;;
51733 --config-cache | -C)
51734 ;;
51735 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51736 ac_prev=srcdir ;;
51737 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51738 ;;
51739 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51740 ac_prev=prefix ;;
51741 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51742 ;;
51743 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
51744 esac
51745 done
51746
51747 # Always prepend --prefix to ensure using the same prefix
51748 # in subdir configurations.
51749 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
51750
51751 ac_popdir=`pwd`
51752 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51753
51754 # Do not complain, so a configure script can configure whichever
51755 # parts of a large source tree are present.
51756 test -d $srcdir/$ac_dir || continue
51757
51758 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51759 echo "$as_me: configuring in $ac_dir" >&6;}
51760 { if $as_mkdir_p; then
51761 mkdir -p "$ac_dir"
51762 else
51763 as_dir="$ac_dir"
51764 as_dirs=
51765 while test ! -d "$as_dir"; do
51766 as_dirs="$as_dir $as_dirs"
51767 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51768 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51769 X"$as_dir" : 'X\(//\)[^/]' \| \
51770 X"$as_dir" : 'X\(//\)$' \| \
51771 X"$as_dir" : 'X\(/\)' \| \
51772 . : '\(.\)' 2>/dev/null ||
51773 echo X"$as_dir" |
51774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51775 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51776 /^X\(\/\/\)$/{ s//\1/; q; }
51777 /^X\(\/\).*/{ s//\1/; q; }
51778 s/.*/./; q'`
51779 done
51780 test ! -n "$as_dirs" || mkdir $as_dirs
51781 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51782 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51783 { (exit 1); exit 1; }; }; }
51784
51785 ac_builddir=.
51786
51787 if test "$ac_dir" != .; then
51788 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51789 # A "../" for each directory in $ac_dir_suffix.
51790 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51791 else
51792 ac_dir_suffix= ac_top_builddir=
51793 fi
51794
51795 case $srcdir in
51796 .) # No --srcdir option. We are building in place.
51797 ac_srcdir=.
51798 if test -z "$ac_top_builddir"; then
51799 ac_top_srcdir=.
51800 else
51801 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51802 fi ;;
51803 [\\/]* | ?:[\\/]* ) # Absolute path.
51804 ac_srcdir=$srcdir$ac_dir_suffix;
51805 ac_top_srcdir=$srcdir ;;
51806 *) # Relative path.
51807 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51808 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51809 esac
51810
51811 # Do not use `cd foo && pwd` to compute absolute paths, because
51812 # the directories may not exist.
51813 case `pwd` in
51814 .) ac_abs_builddir="$ac_dir";;
51815 *)
51816 case "$ac_dir" in
51817 .) ac_abs_builddir=`pwd`;;
51818 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51819 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51820 esac;;
51821 esac
51822 case $ac_abs_builddir in
51823 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51824 *)
51825 case ${ac_top_builddir}. in
51826 .) ac_abs_top_builddir=$ac_abs_builddir;;
51827 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51828 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51829 esac;;
51830 esac
51831 case $ac_abs_builddir in
51832 .) ac_abs_srcdir=$ac_srcdir;;
51833 *)
51834 case $ac_srcdir in
51835 .) ac_abs_srcdir=$ac_abs_builddir;;
51836 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51837 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51838 esac;;
51839 esac
51840 case $ac_abs_builddir in
51841 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51842 *)
51843 case $ac_top_srcdir in
51844 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51845 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51846 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51847 esac;;
51848 esac
51849
51850
51851 cd $ac_dir
51852
51853 # Check for guested configure; otherwise get Cygnus style configure.
51854 if test -f $ac_srcdir/configure.gnu; then
51855 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
51856 elif test -f $ac_srcdir/configure; then
51857 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
51858 elif test -f $ac_srcdir/configure.in; then
51859 ac_sub_configure=$ac_configure
51860 else
51861 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51862 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51863 ac_sub_configure=
51864 fi
51865
51866 # The recursion is here.
51867 if test -n "$ac_sub_configure"; then
51868 # Make the cache file name correct relative to the subdirectory.
51869 case $cache_file in
51870 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51871 *) # Relative path.
51872 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
51873 esac
51874
51875 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51876 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51877 # The eval makes quoting arguments work.
51878 eval $ac_sub_configure $ac_sub_configure_args \
51879 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51880 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51881 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51882 { (exit 1); exit 1; }; }
51883 fi
51884
51885 cd $ac_popdir
51886 done
51887 fi
51888
51889
51890 echo
51891 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51892 echo ""
51893 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51894 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51895
51896 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51897 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51898 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51899
51900 echo " What level of wxWidgets compatibility should be enabled?"
51901 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51902 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51903
51904 echo " Which libraries should wxWidgets use?"
51905 echo " jpeg ${wxUSE_LIBJPEG-none}"
51906 echo " png ${wxUSE_LIBPNG-none}"
51907 echo " regex ${wxUSE_REGEX}"
51908 echo " tiff ${wxUSE_LIBTIFF-none}"
51909 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51910 echo " xpm ${wxUSE_LIBXPM-none}"
51911 fi
51912 echo " zlib ${wxUSE_ZLIB}"
51913 echo " odbc ${wxUSE_ODBC}"
51914 echo " expat ${wxUSE_EXPAT}"
51915 echo " libmspack ${wxUSE_LIBMSPACK}"
51916 echo " sdl ${wxUSE_LIBSDL}"
51917
51918 echo ""
51919