]> git.saurik.com Git - wxWidgets.git/blob - configure
regenerated all makefiles with bakefile 0.2.0; removed REZ option from config.bkl...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.7.0'
274 PACKAGE_STRING='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS HILDON_CFLAGS HILDON_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT 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_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 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_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_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_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.7.0:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
893 --enable-compat24 enable wxWidgets 2.4 compatibility
894 --disable-compat26 disable wxWidgets 2.6 compatibility
895 --disable-rpath disable use of rpath for uninstalled builds
896 --enable-intl use internationalization system
897 --enable-config use wxConfig (and derived) classes
898 --enable-protocols use wxProtocol and derived classes
899 --enable-ftp use wxFTP (requires wxProtocol
900 --enable-http use wxHTTP (requires wxProtocol
901 --enable-fileproto use wxFileProto class (requires wxProtocol
902 --enable-sockets use socket/network classes
903 --enable-ole use OLE classes (Win32 only)
904 --enable-dataobj use data object classes
905 --enable-ipc use interprocess communication (wxSocket etc.)
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-arcstream use wxArchive streams
908 --enable-backtrace use wxStackWalker class for getting backtraces
909 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
910 --enable-cmdline use wxCmdLineParser class
911 --enable-datetime use wxDateTime class
912 --enable-debugreport use wxDebugReport class
913 --enable-dialupman use dialup network classes
914 --enable-dynlib use wxLibrary class for DLL loading
915 --enable-dynamicloader use (new) wxDynamicLibrary class
916 --enable-exceptions build exception-safe library
917 --enable-ffile use wxFFile class
918 --enable-file use wxFile class
919 --enable-filesystem use virtual file systems classes
920 --enable-fontmap use font encodings conversion classes
921 --enable-fs_inet use virtual HTTP/FTP filesystems
922 --enable-fs_zip use virtual ZIP filesystems
923 --enable-geometry use geometry class
924 --enable-log use logging system
925 --enable-longlong use wxLongLong class
926 --enable-mimetype use wxMimeTypesManager
927 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
928 --enable-snglinst use wxSingleInstanceChecker class
929 --enable-std_iostreams use standard C++ stream classes
930 --enable-std_string use standard C++ string classes
931 --enable-stdpaths use wxStandardPaths class
932 --enable-stopwatch use wxStopWatch class
933 --enable-streams use wxStream etc classes
934 --enable-sysoptions use wxSystemOptions
935 --enable-textbuf use wxTextBuffer class
936 --enable-textfile use wxTextFile class
937 --enable-timer use wxTimer class
938 --enable-unicode compile wxString with Unicode support
939 --enable-sound use wxSound class
940 --enable-mediactrl use wxMediaCtrl class
941 --enable-wxprintfv use wxWidgets implementation of vprintf()
942 --enable-zipstream use wxZip streams
943 --enable-url use wxURL class
944 --enable-protocol use wxProtocol class
945 --enable-protocol-http HTTP support in wxProtocol
946 --enable-protocol-ftp FTP support in wxProtocol
947 --enable-protocol-file FILE support in wxProtocol
948 --enable-threads use threads
949 --enable-docview use document view architecture
950 --enable-help use help subsystem
951 --enable-mshtmlhelp use MS HTML Help (win32)
952 --enable-html use wxHTML sub-library
953 --enable-htmlhelp use wxHTML-based help
954 --enable-xrc use XRC resources sub-library
955 --enable-constraints use layout-constraints system
956 --enable-printarch use printing architecture
957 --enable-mdi use multiple document interface architecture
958 --enable-mdidoc use docview architecture with MDI
959 --enable-loggui use standard GUI logger
960 --enable-logwin use wxLogWindow
961 --enable-logdialog use wxLogDialog
962 --enable-webkit use wxWebKitCtrl (Mac)
963 --enable-richtext use wxRichTextCtrl
964 --enable-postscript use wxPostscriptDC device context (default for gtk+)
965 --enable-prologio not available; see contrib
966 --enable-resources not available; see contrib
967 --enable-clipboard use wxClipboard class
968 --enable-dnd use Drag'n'Drop classes
969 --enable-metafile use win32 metafiles
970 --enable-controls use all usual controls
971 --enable-accel use accelerators
972 --enable-button use wxButton class
973 --enable-bmpbutton use wxBitmapButton class
974 --enable-calendar use wxCalendarCtrl class
975 --enable-caret use wxCaret class
976 --enable-checkbox use wxCheckBox class
977 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
978 --enable-choice use wxChoice class
979 --enable-choicebook use wxChoicebook class
980 --enable-combobox use wxComboBox class
981 --enable-datepick use wxDatePickerCtrl class
982 --enable-display use wxDisplay class
983 --enable-gauge use wxGauge class
984 --enable-grid use wxGrid class
985 --enable-dataviewctrl, use wxDataViewCtrl class
986 --enable-imaglist use wxImageList class
987 --enable-listbook use wxListbook class
988 --enable-listbox use wxListBox class
989 --enable-listctrl use wxListCtrl class
990 --enable-notebook use wxNotebook class
991 --enable-radiobox use wxRadioBox class
992 --enable-radiobtn use wxRadioButton class
993 --enable-sash use wxSashWindow class
994 --enable-scrollbar use wxScrollBar class and scrollable windows
995 --enable-slider use wxSlider class
996 --enable-spinbtn use wxSpinButton class
997 --enable-spinctrl use wxSpinCtrl class
998 --enable-splitter use wxSplitterWindow class
999 --enable-statbmp use wxStaticBitmap class
1000 --enable-statbox use wxStaticBox class
1001 --enable-statline use wxStaticLine class
1002 --enable-stattext use wxStaticText class
1003 --enable-statusbar use wxStatusBar class
1004 --enable-tabdialog use wxTabControl class
1005 --enable-textctrl use wxTextCtrl class
1006 --enable-togglebtn use wxToggleButton class
1007 --enable-toolbar use wxToolBar class
1008 --enable-tbarnative use native wxToolBar class
1009 --enable-tbarsmpl use wxToolBarSimple class
1010 --enable-treebook use wxTreebook class
1011 --enable-toolbook use wxToolbook class
1012 --enable-treectrl use wxTreeCtrl class
1013 --enable-tipwindow use wxTipWindow class
1014 --enable-popupwin use wxPopUpWindow class
1015 --enable-commondlg use all common dialogs
1016 --enable-choicedlg use wxChoiceDialog
1017 --enable-coldlg use wxColourDialog
1018 --enable-filedlg use wxFileDialog
1019 --enable-finddlg use wxFindReplaceDialog
1020 --enable-fontdlg use wxFontDialog
1021 --enable-dirdlg use wxDirDialog
1022 --enable-msgdlg use wxMessageDialog
1023 --enable-numberdlg use wxNumberEntryDialog
1024 --enable-splash use wxSplashScreen
1025 --enable-textdlg use wxTextDialog
1026 --enable-tipdlg use startup tips
1027 --enable-progressdlg use wxProgressDialog
1028 --enable-wizarddlg use wxWizard
1029 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1030 --enable-miniframe use wxMiniFrame class
1031 --enable-tooltips use wxToolTip class
1032 --enable-splines use spline drawing code
1033 --enable-mousewheel use mousewheel
1034 --enable-validators use wxValidator and derived classes
1035 --enable-busyinfo use wxBusyInfo
1036 --enable-joystick use wxJoystick
1037 --enable-metafiles use wxMetaFile (Win32 only)
1038 --enable-dragimage use wxDragImage
1039 --enable-accessibility enable accessibility support
1040 --enable-dccache cache temporary wxDC objects (Win32 only)
1041 --enable-palette use wxPalette class
1042 --enable-image use wxImage class
1043 --enable-gif use gif images (GIF file format)
1044 --enable-pcx use pcx images (PCX file format)
1045 --enable-iff use iff images (IFF file format)
1046 --enable-pnm use pnm images (PNM file format)
1047 --enable-xpm use xpm images (XPM file format)
1048 --enable-icocur use Windows ICO and CUR formats
1049 --enable-official_build official build of wxWidgets (win32 DLL only)
1050 --enable-vendor=VENDOR vendor name (win32 DLL only)
1051 --disable-largefile omit support for large files
1052 --disable-gtktest do not try to compile and run a test GTK+ program
1053 --disable-gtktest Do not try to compile and run a test GTK program
1054 --disable-sdltest Do not try to compile and run a test SDL program
1055 --enable-omf use OMF object format (OS/2)
1056 --disable-precomp-headers
1057 don't use precompiled headers even if compiler can
1058
1059 Optional Packages:
1060 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1061 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1062 --without-subdirs don't generate makefiles for samples/demos/...
1063 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1064 --with-motif use Motif/Lesstif
1065 --with-mac use Mac OS X
1066 --with-cocoa use Cocoa
1067 --with-wine use Wine
1068 --with-msw use MS-Windows
1069 --with-pm use OS/2 Presentation Manager
1070 --with-mgl use SciTech MGL
1071 --with-microwin use MicroWindows
1072 --with-x11 use X11
1073 --with-libpng use libpng (PNG image format)
1074 --with-libjpeg use libjpeg (JPEG file format)
1075 --with-libtiff use libtiff (TIFF file format)
1076 --with-libxpm use libxpm (XPM file format)
1077 --with-libmspack use libmspack (CHM help files loading)
1078 --with-sdl use SDL for audio on Unix
1079 --with-gnomeprint use GNOME print for printing under Unix
1080 --with-hildon use Hildon framework for Nokia 770
1081 --with-opengl use OpenGL (or Mesa)
1082 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1083 --with-regex enable support for wxRegEx class
1084 --with-zlib use zlib for LZW compression
1085 --with-odbc use the IODBC and wxODBC classes
1086 --with-expat enable XML support using expat parser
1087 --with-flavour=NAME specify a name to identify this build
1088 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1089 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1090 --with-x use the X Window System
1091 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1092 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1093 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1094 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1095 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1096
1097 Some influential environment variables:
1098 CC C compiler command
1099 CFLAGS C compiler flags
1100 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1101 nonstandard directory <lib dir>
1102 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1103 headers in a nonstandard directory <include dir>
1104 CPP C preprocessor
1105 CXX C++ compiler command
1106 CXXFLAGS C++ compiler flags
1107 CXXCPP C++ preprocessor
1108
1109 Use these variables to override the choices made by `configure' or to help
1110 it to find libraries and programs with nonstandard names/locations.
1111
1112 Report bugs to <wx-dev@lists.wxwidgets.org>.
1113 _ACEOF
1114 fi
1115
1116 if test "$ac_init_help" = "recursive"; then
1117 # If there are subdirs, report their specific --help.
1118 ac_popdir=`pwd`
1119 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1120 test -d $ac_dir || continue
1121 ac_builddir=.
1122
1123 if test "$ac_dir" != .; then
1124 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1125 # A "../" for each directory in $ac_dir_suffix.
1126 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1127 else
1128 ac_dir_suffix= ac_top_builddir=
1129 fi
1130
1131 case $srcdir in
1132 .) # No --srcdir option. We are building in place.
1133 ac_srcdir=.
1134 if test -z "$ac_top_builddir"; then
1135 ac_top_srcdir=.
1136 else
1137 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1138 fi ;;
1139 [\\/]* | ?:[\\/]* ) # Absolute path.
1140 ac_srcdir=$srcdir$ac_dir_suffix;
1141 ac_top_srcdir=$srcdir ;;
1142 *) # Relative path.
1143 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1144 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1145 esac
1146
1147 # Do not use `cd foo && pwd` to compute absolute paths, because
1148 # the directories may not exist.
1149 case `pwd` in
1150 .) ac_abs_builddir="$ac_dir";;
1151 *)
1152 case "$ac_dir" in
1153 .) ac_abs_builddir=`pwd`;;
1154 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1155 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1156 esac;;
1157 esac
1158 case $ac_abs_builddir in
1159 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1160 *)
1161 case ${ac_top_builddir}. in
1162 .) ac_abs_top_builddir=$ac_abs_builddir;;
1163 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1164 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1165 esac;;
1166 esac
1167 case $ac_abs_builddir in
1168 .) ac_abs_srcdir=$ac_srcdir;;
1169 *)
1170 case $ac_srcdir in
1171 .) ac_abs_srcdir=$ac_abs_builddir;;
1172 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1173 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1174 esac;;
1175 esac
1176 case $ac_abs_builddir in
1177 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1178 *)
1179 case $ac_top_srcdir in
1180 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1181 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1182 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1183 esac;;
1184 esac
1185
1186 cd $ac_dir
1187 # Check for guested configure; otherwise get Cygnus style configure.
1188 if test -f $ac_srcdir/configure.gnu; then
1189 echo
1190 $SHELL $ac_srcdir/configure.gnu --help=recursive
1191 elif test -f $ac_srcdir/configure; then
1192 echo
1193 $SHELL $ac_srcdir/configure --help=recursive
1194 elif test -f $ac_srcdir/configure.ac ||
1195 test -f $ac_srcdir/configure.in; then
1196 echo
1197 $ac_configure --help
1198 else
1199 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1200 fi
1201 cd $ac_popdir
1202 done
1203 fi
1204
1205 test -n "$ac_init_help" && exit 0
1206 if $ac_init_version; then
1207 cat <<\_ACEOF
1208 wxWidgets configure 2.7.0
1209 generated by GNU Autoconf 2.59
1210
1211 Copyright (C) 2003 Free Software Foundation, Inc.
1212 This configure script is free software; the Free Software Foundation
1213 gives unlimited permission to copy, distribute and modify it.
1214 _ACEOF
1215 exit 0
1216 fi
1217 exec 5>config.log
1218 cat >&5 <<_ACEOF
1219 This file contains any messages produced by compilers while
1220 running configure, to aid debugging if configure makes a mistake.
1221
1222 It was created by wxWidgets $as_me 2.7.0, which was
1223 generated by GNU Autoconf 2.59. Invocation command line was
1224
1225 $ $0 $@
1226
1227 _ACEOF
1228 {
1229 cat <<_ASUNAME
1230 ## --------- ##
1231 ## Platform. ##
1232 ## --------- ##
1233
1234 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1235 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1236 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1237 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1238 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1239
1240 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1241 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1242
1243 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1244 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1245 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1246 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1247 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1248 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1249 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1250
1251 _ASUNAME
1252
1253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1254 for as_dir in $PATH
1255 do
1256 IFS=$as_save_IFS
1257 test -z "$as_dir" && as_dir=.
1258 echo "PATH: $as_dir"
1259 done
1260
1261 } >&5
1262
1263 cat >&5 <<_ACEOF
1264
1265
1266 ## ----------- ##
1267 ## Core tests. ##
1268 ## ----------- ##
1269
1270 _ACEOF
1271
1272
1273 # Keep a trace of the command line.
1274 # Strip out --no-create and --no-recursion so they do not pile up.
1275 # Strip out --silent because we don't want to record it for future runs.
1276 # Also quote any args containing shell meta-characters.
1277 # Make two passes to allow for proper duplicate-argument suppression.
1278 ac_configure_args=
1279 ac_configure_args0=
1280 ac_configure_args1=
1281 ac_sep=
1282 ac_must_keep_next=false
1283 for ac_pass in 1 2
1284 do
1285 for ac_arg
1286 do
1287 case $ac_arg in
1288 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1289 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1290 | -silent | --silent | --silen | --sile | --sil)
1291 continue ;;
1292 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1293 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1294 esac
1295 case $ac_pass in
1296 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1297 2)
1298 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1299 if test $ac_must_keep_next = true; then
1300 ac_must_keep_next=false # Got value, back to normal.
1301 else
1302 case $ac_arg in
1303 *=* | --config-cache | -C | -disable-* | --disable-* \
1304 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1305 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1306 | -with-* | --with-* | -without-* | --without-* | --x)
1307 case "$ac_configure_args0 " in
1308 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1309 esac
1310 ;;
1311 -* ) ac_must_keep_next=true ;;
1312 esac
1313 fi
1314 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1315 # Get rid of the leading space.
1316 ac_sep=" "
1317 ;;
1318 esac
1319 done
1320 done
1321 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1322 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1323
1324 # When interrupted or exit'd, cleanup temporary files, and complete
1325 # config.log. We remove comments because anyway the quotes in there
1326 # would cause problems or look ugly.
1327 # WARNING: Be sure not to use single quotes in there, as some shells,
1328 # such as our DU 5.0 friend, will then `close' the trap.
1329 trap 'exit_status=$?
1330 # Save into config.log some information that might help in debugging.
1331 {
1332 echo
1333
1334 cat <<\_ASBOX
1335 ## ---------------- ##
1336 ## Cache variables. ##
1337 ## ---------------- ##
1338 _ASBOX
1339 echo
1340 # The following way of writing the cache mishandles newlines in values,
1341 {
1342 (set) 2>&1 |
1343 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1344 *ac_space=\ *)
1345 sed -n \
1346 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1347 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1348 ;;
1349 *)
1350 sed -n \
1351 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1352 ;;
1353 esac;
1354 }
1355 echo
1356
1357 cat <<\_ASBOX
1358 ## ----------------- ##
1359 ## Output variables. ##
1360 ## ----------------- ##
1361 _ASBOX
1362 echo
1363 for ac_var in $ac_subst_vars
1364 do
1365 eval ac_val=$`echo $ac_var`
1366 echo "$ac_var='"'"'$ac_val'"'"'"
1367 done | sort
1368 echo
1369
1370 if test -n "$ac_subst_files"; then
1371 cat <<\_ASBOX
1372 ## ------------- ##
1373 ## Output files. ##
1374 ## ------------- ##
1375 _ASBOX
1376 echo
1377 for ac_var in $ac_subst_files
1378 do
1379 eval ac_val=$`echo $ac_var`
1380 echo "$ac_var='"'"'$ac_val'"'"'"
1381 done | sort
1382 echo
1383 fi
1384
1385 if test -s confdefs.h; then
1386 cat <<\_ASBOX
1387 ## ----------- ##
1388 ## confdefs.h. ##
1389 ## ----------- ##
1390 _ASBOX
1391 echo
1392 sed "/^$/d" confdefs.h | sort
1393 echo
1394 fi
1395 test "$ac_signal" != 0 &&
1396 echo "$as_me: caught signal $ac_signal"
1397 echo "$as_me: exit $exit_status"
1398 } >&5
1399 rm -f core *.core &&
1400 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1401 exit $exit_status
1402 ' 0
1403 for ac_signal in 1 2 13 15; do
1404 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1405 done
1406 ac_signal=0
1407
1408 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1409 rm -rf conftest* confdefs.h
1410 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1411 echo >confdefs.h
1412
1413 # Predefined preprocessor variables.
1414
1415 cat >>confdefs.h <<_ACEOF
1416 #define PACKAGE_NAME "$PACKAGE_NAME"
1417 _ACEOF
1418
1419
1420 cat >>confdefs.h <<_ACEOF
1421 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1422 _ACEOF
1423
1424
1425 cat >>confdefs.h <<_ACEOF
1426 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1427 _ACEOF
1428
1429
1430 cat >>confdefs.h <<_ACEOF
1431 #define PACKAGE_STRING "$PACKAGE_STRING"
1432 _ACEOF
1433
1434
1435 cat >>confdefs.h <<_ACEOF
1436 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1437 _ACEOF
1438
1439
1440 # Let the site file select an alternate cache file if it wants to.
1441 # Prefer explicitly selected file to automatically selected ones.
1442 if test -z "$CONFIG_SITE"; then
1443 if test "x$prefix" != xNONE; then
1444 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1445 else
1446 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1447 fi
1448 fi
1449 for ac_site_file in $CONFIG_SITE; do
1450 if test -r "$ac_site_file"; then
1451 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1452 echo "$as_me: loading site script $ac_site_file" >&6;}
1453 sed 's/^/| /' "$ac_site_file" >&5
1454 . "$ac_site_file"
1455 fi
1456 done
1457
1458 if test -r "$cache_file"; then
1459 # Some versions of bash will fail to source /dev/null (special
1460 # files actually), so we avoid doing that.
1461 if test -f "$cache_file"; then
1462 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1463 echo "$as_me: loading cache $cache_file" >&6;}
1464 case $cache_file in
1465 [\\/]* | ?:[\\/]* ) . $cache_file;;
1466 *) . ./$cache_file;;
1467 esac
1468 fi
1469 else
1470 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1471 echo "$as_me: creating cache $cache_file" >&6;}
1472 >$cache_file
1473 fi
1474
1475 # Check that the precious variables saved in the cache have kept the same
1476 # value.
1477 ac_cache_corrupted=false
1478 for ac_var in `(set) 2>&1 |
1479 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1480 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1481 eval ac_new_set=\$ac_env_${ac_var}_set
1482 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1483 eval ac_new_val="\$ac_env_${ac_var}_value"
1484 case $ac_old_set,$ac_new_set in
1485 set,)
1486 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1487 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1488 ac_cache_corrupted=: ;;
1489 ,set)
1490 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1491 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1492 ac_cache_corrupted=: ;;
1493 ,);;
1494 *)
1495 if test "x$ac_old_val" != "x$ac_new_val"; then
1496 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1497 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1498 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1499 echo "$as_me: former value: $ac_old_val" >&2;}
1500 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1501 echo "$as_me: current value: $ac_new_val" >&2;}
1502 ac_cache_corrupted=:
1503 fi;;
1504 esac
1505 # Pass precious variables to config.status.
1506 if test "$ac_new_set" = set; then
1507 case $ac_new_val in
1508 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1509 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1510 *) ac_arg=$ac_var=$ac_new_val ;;
1511 esac
1512 case " $ac_configure_args " in
1513 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1514 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1515 esac
1516 fi
1517 done
1518 if $ac_cache_corrupted; then
1519 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1520 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1521 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1522 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1523 { (exit 1); exit 1; }; }
1524 fi
1525
1526 ac_ext=c
1527 ac_cpp='$CPP $CPPFLAGS'
1528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561 ac_aux_dir=
1562 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1563 if test -f $ac_dir/install-sh; then
1564 ac_aux_dir=$ac_dir
1565 ac_install_sh="$ac_aux_dir/install-sh -c"
1566 break
1567 elif test -f $ac_dir/install.sh; then
1568 ac_aux_dir=$ac_dir
1569 ac_install_sh="$ac_aux_dir/install.sh -c"
1570 break
1571 elif test -f $ac_dir/shtool; then
1572 ac_aux_dir=$ac_dir
1573 ac_install_sh="$ac_aux_dir/shtool install -c"
1574 break
1575 fi
1576 done
1577 if test -z "$ac_aux_dir"; then
1578 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1579 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1580 { (exit 1); exit 1; }; }
1581 fi
1582 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1583 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1584 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1585
1586 # Make sure we can run config.sub.
1587 $ac_config_sub sun4 >/dev/null 2>&1 ||
1588 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1589 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1590 { (exit 1); exit 1; }; }
1591
1592 echo "$as_me:$LINENO: checking build system type" >&5
1593 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1594 if test "${ac_cv_build+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 else
1597 ac_cv_build_alias=$build_alias
1598 test -z "$ac_cv_build_alias" &&
1599 ac_cv_build_alias=`$ac_config_guess`
1600 test -z "$ac_cv_build_alias" &&
1601 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1602 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1603 { (exit 1); exit 1; }; }
1604 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1605 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1606 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1607 { (exit 1); exit 1; }; }
1608
1609 fi
1610 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1611 echo "${ECHO_T}$ac_cv_build" >&6
1612 build=$ac_cv_build
1613 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1614 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1615 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1616
1617
1618 echo "$as_me:$LINENO: checking host system type" >&5
1619 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1620 if test "${ac_cv_host+set}" = set; then
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 else
1623 ac_cv_host_alias=$host_alias
1624 test -z "$ac_cv_host_alias" &&
1625 ac_cv_host_alias=$ac_cv_build_alias
1626 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1627 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1628 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1629 { (exit 1); exit 1; }; }
1630
1631 fi
1632 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1633 echo "${ECHO_T}$ac_cv_host" >&6
1634 host=$ac_cv_host
1635 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1636 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1637 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1638
1639
1640 echo "$as_me:$LINENO: checking target system type" >&5
1641 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1642 if test "${ac_cv_target+set}" = set; then
1643 echo $ECHO_N "(cached) $ECHO_C" >&6
1644 else
1645 ac_cv_target_alias=$target_alias
1646 test "x$ac_cv_target_alias" = "x" &&
1647 ac_cv_target_alias=$ac_cv_host_alias
1648 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1649 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1650 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1651 { (exit 1); exit 1; }; }
1652
1653 fi
1654 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1655 echo "${ECHO_T}$ac_cv_target" >&6
1656 target=$ac_cv_target
1657 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1658 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1659 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1660
1661
1662 # The aliases save the names the user supplied, while $host etc.
1663 # will get canonicalized.
1664 test -n "$target_alias" &&
1665 test "$program_prefix$program_suffix$program_transform_name" = \
1666 NONENONEs,x,x, &&
1667 program_prefix=${target_alias}-
1668
1669
1670
1671 wx_major_version_number=2
1672 wx_minor_version_number=7
1673 wx_release_number=0
1674 wx_subrelease_number=0
1675
1676 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1677 WX_VERSION=$WX_RELEASE.$wx_release_number
1678 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1679
1680 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1681
1682
1683
1684
1685 USE_UNIX=1
1686 USE_OS2=0
1687 USE_WIN32=0
1688 USE_DOS=0
1689 USE_BEOS=0
1690 USE_MAC=0
1691
1692 USE_AIX=
1693 USE_BSD= USE_DARWIN= USE_FREEBSD=
1694 USE_GNU= USE_HPUX=
1695 USE_LINUX=
1696 USE_NETBSD=
1697 USE_OPENBSD=
1698 USE_OSF= USE_SGI=
1699 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1700 USE_ULTRIX=
1701 USE_UNIXWARE=
1702
1703 USE_ALPHA=
1704
1705 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1706
1707 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1708
1709 DEFAULT_wxUSE_COCOA=0
1710 DEFAULT_wxUSE_GTK=0
1711 DEFAULT_wxUSE_MAC=0
1712 DEFAULT_wxUSE_MGL=0
1713 DEFAULT_wxUSE_MICROWIN=0
1714 DEFAULT_wxUSE_MOTIF=0
1715 DEFAULT_wxUSE_MSW=0
1716 DEFAULT_wxUSE_PM=0
1717 DEFAULT_wxUSE_X11=0
1718
1719 DEFAULT_DEFAULT_wxUSE_COCOA=0
1720 DEFAULT_DEFAULT_wxUSE_GTK=0
1721 DEFAULT_DEFAULT_wxUSE_MAC=0
1722 DEFAULT_DEFAULT_wxUSE_MGL=0
1723 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1724 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1725 DEFAULT_DEFAULT_wxUSE_MSW=0
1726 DEFAULT_DEFAULT_wxUSE_PM=0
1727 DEFAULT_DEFAULT_wxUSE_X11=0
1728
1729 PROGRAM_EXT=
1730 SO_SUFFIX=so
1731 SAMPLES_RPATH_FLAG=
1732 SAMPLES_RPATH_POSTLINK=
1733
1734 DEFAULT_STD_FLAG=yes
1735
1736 case "${host}" in
1737 *-hp-hpux* )
1738 USE_HPUX=1
1739 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1740 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1741 SO_SUFFIX=sl
1742 cat >>confdefs.h <<\_ACEOF
1743 #define __HPUX__ 1
1744 _ACEOF
1745
1746
1747 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1748 ;;
1749 *-*-linux* )
1750 USE_LINUX=1
1751 cat >>confdefs.h <<\_ACEOF
1752 #define __LINUX__ 1
1753 _ACEOF
1754
1755 TMP=`uname -m`
1756 if test "x$TMP" = "xalpha"; then
1757 USE_ALPHA=1
1758 cat >>confdefs.h <<\_ACEOF
1759 #define __ALPHA__ 1
1760 _ACEOF
1761
1762 fi
1763 DEFAULT_DEFAULT_wxUSE_GTK=1
1764 ;;
1765 *-*-gnu* | *-*-k*bsd*-gnu )
1766 USE_GNU=1
1767 TMP=`uname -m`
1768 if test "x$TMP" = "xalpha"; then
1769 USE_ALPHA=1
1770 cat >>confdefs.h <<\_ACEOF
1771 #define __ALPHA__ 1
1772 _ACEOF
1773
1774 fi
1775 DEFAULT_DEFAULT_wxUSE_GTK=1
1776 ;;
1777 *-*-irix5* | *-*-irix6* )
1778 USE_SGI=1
1779 USE_SVR4=1
1780 cat >>confdefs.h <<\_ACEOF
1781 #define __SGI__ 1
1782 _ACEOF
1783
1784 cat >>confdefs.h <<\_ACEOF
1785 #define __SVR4__ 1
1786 _ACEOF
1787
1788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1789 ;;
1790 *-*-solaris2* )
1791 USE_SUN=1
1792 USE_SOLARIS=1
1793 USE_SVR4=1
1794 cat >>confdefs.h <<\_ACEOF
1795 #define __SUN__ 1
1796 _ACEOF
1797
1798 cat >>confdefs.h <<\_ACEOF
1799 #define __SOLARIS__ 1
1800 _ACEOF
1801
1802 cat >>confdefs.h <<\_ACEOF
1803 #define __SVR4__ 1
1804 _ACEOF
1805
1806 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1807 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1808 ;;
1809 *-*-sunos4* )
1810 USE_SUN=1
1811 USE_SUNOS=1
1812 USE_BSD=1
1813 cat >>confdefs.h <<\_ACEOF
1814 #define __SUN__ 1
1815 _ACEOF
1816
1817 cat >>confdefs.h <<\_ACEOF
1818 #define __SUNOS__ 1
1819 _ACEOF
1820
1821 cat >>confdefs.h <<\_ACEOF
1822 #define __BSD__ 1
1823 _ACEOF
1824
1825 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1826 ;;
1827 *-*-freebsd*)
1828 USE_BSD=1
1829 USE_FREEBSD=1
1830 cat >>confdefs.h <<\_ACEOF
1831 #define __FREEBSD__ 1
1832 _ACEOF
1833
1834 cat >>confdefs.h <<\_ACEOF
1835 #define __BSD__ 1
1836 _ACEOF
1837
1838 DEFAULT_DEFAULT_wxUSE_GTK=1
1839 ;;
1840 *-*-openbsd*)
1841 USE_BSD=1
1842 USE_OPENBSD=1
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __OPENBSD__ 1
1845 _ACEOF
1846
1847 cat >>confdefs.h <<\_ACEOF
1848 #define __BSD__ 1
1849 _ACEOF
1850
1851 DEFAULT_DEFAULT_wxUSE_GTK=1
1852 ;;
1853 *-*-netbsd*)
1854 USE_BSD=1
1855 USE_NETBSD=1
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __NETBSD__ 1
1858 _ACEOF
1859
1860 cat >>confdefs.h <<\_ACEOF
1861 #define __BSD__ 1
1862 _ACEOF
1863
1864 DEFAULT_DEFAULT_wxUSE_GTK=1
1865 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1866
1867 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1868 ;;
1869 *-*-osf* )
1870 USE_ALPHA=1
1871 USE_OSF=1
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __ALPHA__ 1
1874 _ACEOF
1875
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __OSF__ 1
1878 _ACEOF
1879
1880 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1881 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1882 ;;
1883 *-*-dgux5* )
1884 USE_ALPHA=1
1885 USE_SVR4=1
1886 cat >>confdefs.h <<\_ACEOF
1887 #define __ALPHA__ 1
1888 _ACEOF
1889
1890 cat >>confdefs.h <<\_ACEOF
1891 #define __SVR4__ 1
1892 _ACEOF
1893
1894 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1895 ;;
1896 *-*-sysv5* )
1897 USE_SYSV=1
1898 USE_SVR4=1
1899 cat >>confdefs.h <<\_ACEOF
1900 #define __SYSV__ 1
1901 _ACEOF
1902
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __SVR4__ 1
1905 _ACEOF
1906
1907 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1908 ;;
1909 *-*-aix* )
1910 USE_AIX=1
1911 USE_SYSV=1
1912 USE_SVR4=1
1913 SO_SUFFIX=a
1914 cat >>confdefs.h <<\_ACEOF
1915 #define __AIX__ 1
1916 _ACEOF
1917
1918 cat >>confdefs.h <<\_ACEOF
1919 #define __SYSV__ 1
1920 _ACEOF
1921
1922 cat >>confdefs.h <<\_ACEOF
1923 #define __SVR4__ 1
1924 _ACEOF
1925
1926 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1927 ;;
1928
1929 *-*-*UnixWare*)
1930 USE_SYSV=1
1931 USE_SVR4=1
1932 USE_UNIXWARE=1
1933 cat >>confdefs.h <<\_ACEOF
1934 #define __UNIXWARE__ 1
1935 _ACEOF
1936
1937 ;;
1938
1939 *-*-cygwin* | *-*-mingw32* )
1940 SO_SUFFIX=dll
1941 PROGRAM_EXT=".exe"
1942 DEFAULT_DEFAULT_wxUSE_MSW=1
1943 DEFAULT_STD_FLAG=no
1944 ;;
1945
1946 *-pc-msdosdjgpp )
1947 USE_UNIX=0
1948 USE_DOS=1
1949 cat >>confdefs.h <<\_ACEOF
1950 #define __DOS__ 1
1951 _ACEOF
1952
1953 PROGRAM_EXT=".exe"
1954 DEFAULT_DEFAULT_wxUSE_MGL=1
1955 ;;
1956
1957 *-pc-os2_emx | *-pc-os2-emx )
1958 cat >>confdefs.h <<\_ACEOF
1959 #define __EMX__ 1
1960 _ACEOF
1961
1962 USE_OS2=1
1963 cat >>confdefs.h <<\_ACEOF
1964 #define __OS2__ 1
1965 _ACEOF
1966
1967 PROGRAM_EXT=".exe"
1968 DEFAULT_DEFAULT_wxUSE_PM=1
1969 CXX=gcc
1970 LDFLAGS="$LDFLAGS -Zcrtdll"
1971 ac_executable_extensions=".exe"
1972 export ac_executable_extensions
1973 ac_save_IFS="$IFS"
1974 IFS='\\'
1975 ac_TEMP_PATH=
1976 for ac_dir in $PATH; do
1977 IFS=$ac_save_IFS
1978 if test -z "$ac_TEMP_PATH"; then
1979 ac_TEMP_PATH="$ac_dir"
1980 else
1981 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1982 fi
1983 done
1984 export PATH="$ac_TEMP_PATH"
1985 unset ac_TEMP_PATH
1986 DEFAULT_STD_FLAG=no
1987 ;;
1988
1989 *-*-darwin* )
1990 USE_BSD=1
1991 USE_DARWIN=1
1992 SO_SUFFIX=dylib
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __BSD__ 1
1995 _ACEOF
1996
1997 cat >>confdefs.h <<\_ACEOF
1998 #define __DARWIN__ 1
1999 _ACEOF
2000
2001 cat >>confdefs.h <<\_ACEOF
2002 #define TARGET_CARBON 1
2003 _ACEOF
2004
2005 DEFAULT_DEFAULT_wxUSE_MAC=1
2006 DEFAULT_STD_FLAG=no
2007 ;;
2008 powerpc-apple-macos* )
2009 USE_UNIX=0
2010 ac_cv_c_bigendian=yes
2011 SO_SUFFIX=shlib
2012 DEFAULT_DEFAULT_wxUSE_MAC=1
2013 DEFAULT_STD_FLAG=no
2014 ;;
2015
2016 *-*-beos* )
2017 USE_BEOS=1
2018 cat >>confdefs.h <<\_ACEOF
2019 #define __BEOS__ 1
2020 _ACEOF
2021
2022 ;;
2023
2024 *)
2025 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2026 echo "$as_me: error: unknown system type ${host}." >&2;}
2027 { (exit 1); exit 1; }; }
2028 esac
2029
2030
2031
2032
2033 wx_arg_cache_file="configarg.cache"
2034 echo "loading argument cache $wx_arg_cache_file"
2035 rm -f ${wx_arg_cache_file}.tmp
2036 touch ${wx_arg_cache_file}.tmp
2037 touch ${wx_arg_cache_file}
2038
2039
2040 DEBUG_CONFIGURE=0
2041 if test $DEBUG_CONFIGURE = 1; then
2042 DEFAULT_wxUSE_UNIVERSAL=no
2043 DEFAULT_wxUSE_STL=no
2044
2045 DEFAULT_wxUSE_NANOX=no
2046
2047 DEFAULT_wxUSE_THREADS=yes
2048
2049 DEFAULT_wxUSE_SHARED=yes
2050 DEFAULT_wxUSE_OPTIMISE=no
2051 DEFAULT_wxUSE_PROFILE=no
2052 DEFAULT_wxUSE_NO_DEPS=no
2053 DEFAULT_wxUSE_NO_RTTI=no
2054 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2055 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2056 DEFAULT_wxUSE_RPATH=yes
2057 DEFAULT_wxUSE_PERMISSIVE=no
2058 DEFAULT_wxUSE_DEBUG_FLAG=yes
2059 DEFAULT_wxUSE_DEBUG_INFO=yes
2060 DEFAULT_wxUSE_DEBUG_GDB=yes
2061 DEFAULT_wxUSE_MEM_TRACING=no
2062 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2063 DEFAULT_wxUSE_DMALLOC=no
2064 DEFAULT_wxUSE_APPLE_IEEE=no
2065
2066 DEFAULT_wxUSE_EXCEPTIONS=no
2067 DEFAULT_wxUSE_LOG=yes
2068 DEFAULT_wxUSE_LOGWINDOW=no
2069 DEFAULT_wxUSE_LOGGUI=no
2070 DEFAULT_wxUSE_LOGDIALOG=no
2071
2072 DEFAULT_wxUSE_GUI=yes
2073 DEFAULT_wxUSE_CONTROLS=no
2074
2075 DEFAULT_wxUSE_REGEX=no
2076 DEFAULT_wxUSE_XML=no
2077 DEFAULT_wxUSE_EXPAT=no
2078 DEFAULT_wxUSE_ZLIB=no
2079 DEFAULT_wxUSE_LIBPNG=no
2080 DEFAULT_wxUSE_LIBJPEG=no
2081 DEFAULT_wxUSE_LIBTIFF=no
2082 DEFAULT_wxUSE_LIBXPM=no
2083 DEFAULT_wxUSE_LIBMSPACK=no
2084 DEFAULT_wxUSE_LIBSDL=no
2085 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2086 DEFAULT_wxUSE_LIBHILDON=no
2087 DEFAULT_wxUSE_ODBC=no
2088 DEFAULT_wxUSE_OPENGL=no
2089
2090 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2091 DEFAULT_wxUSE_STACKWALKER=no
2092 DEFAULT_wxUSE_DEBUGREPORT=no
2093 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2094 DEFAULT_wxUSE_STD_IOSTREAM=no
2095 DEFAULT_wxUSE_STD_STRING=no
2096 DEFAULT_wxUSE_CMDLINE_PARSER=no
2097 DEFAULT_wxUSE_DATETIME=no
2098 DEFAULT_wxUSE_TIMER=no
2099 DEFAULT_wxUSE_STOPWATCH=no
2100 DEFAULT_wxUSE_FILE=no
2101 DEFAULT_wxUSE_FFILE=no
2102 DEFAULT_wxUSE_STDPATHS=no
2103 DEFAULT_wxUSE_TEXTBUFFER=no
2104 DEFAULT_wxUSE_TEXTFILE=no
2105 DEFAULT_wxUSE_SOUND=no
2106 DEFAULT_wxUSE_MEDIACTRL=no
2107 DEFAULT_wxUSE_INTL=no
2108 DEFAULT_wxUSE_CONFIG=no
2109 DEFAULT_wxUSE_FONTMAP=no
2110 DEFAULT_wxUSE_STREAMS=no
2111 DEFAULT_wxUSE_SOCKETS=no
2112 DEFAULT_wxUSE_OLE=no
2113 DEFAULT_wxUSE_DATAOBJ=no
2114 DEFAULT_wxUSE_DIALUP_MANAGER=no
2115 DEFAULT_wxUSE_JOYSTICK=no
2116 DEFAULT_wxUSE_DYNLIB_CLASS=no
2117 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2118 DEFAULT_wxUSE_LONGLONG=no
2119 DEFAULT_wxUSE_GEOMETRY=no
2120
2121 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2122 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2123 DEFAULT_wxUSE_POSTSCRIPT=no
2124
2125 DEFAULT_wxUSE_CLIPBOARD=no
2126 DEFAULT_wxUSE_TOOLTIPS=no
2127 DEFAULT_wxUSE_DRAG_AND_DROP=no
2128 DEFAULT_wxUSE_DRAGIMAGE=no
2129 DEFAULT_wxUSE_SPLINES=no
2130 DEFAULT_wxUSE_MOUSEWHEEL=no
2131
2132 DEFAULT_wxUSE_MDI=no
2133 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2134 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2135 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2136
2137 DEFAULT_wxUSE_RESOURCES=no
2138 DEFAULT_wxUSE_CONSTRAINTS=no
2139 DEFAULT_wxUSE_IPC=no
2140 DEFAULT_wxUSE_HELP=no
2141 DEFAULT_wxUSE_MS_HTML_HELP=no
2142 DEFAULT_wxUSE_WXHTML_HELP=no
2143 DEFAULT_wxUSE_TREELAYOUT=no
2144 DEFAULT_wxUSE_METAFILE=no
2145 DEFAULT_wxUSE_MIMETYPE=no
2146 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2147 DEFAULT_wxUSE_PROTOCOL=no
2148 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2149 DEFAULT_wxUSE_PROTOCOL_FTP=no
2150 DEFAULT_wxUSE_PROTOCOL_FILE=no
2151 DEFAULT_wxUSE_URL=no
2152
2153 DEFAULT_wxUSE_COMMONDLGS=no
2154 DEFAULT_wxUSE_CHOICEDLG=no
2155 DEFAULT_wxUSE_COLOURDLG=no
2156 DEFAULT_wxUSE_DIRDLG=no
2157 DEFAULT_wxUSE_FILEDLG=no
2158 DEFAULT_wxUSE_FINDREPLDLG=no
2159 DEFAULT_wxUSE_FONTDLG=no
2160 DEFAULT_wxUSE_MSGDLG=no
2161 DEFAULT_wxUSE_NUMBERDLG=no
2162 DEFAULT_wxUSE_TEXTDLG=no
2163 DEFAULT_wxUSE_SPLASH=no
2164 DEFAULT_wxUSE_STARTUP_TIPS=no
2165 DEFAULT_wxUSE_PROGRESSDLG=no
2166 DEFAULT_wxUSE_WIZARDDLG=no
2167
2168 DEFAULT_wxUSE_MENUS=no
2169 DEFAULT_wxUSE_MINIFRAME=no
2170 DEFAULT_wxUSE_HTML=no
2171 DEFAULT_wxUSE_RICHTEXT=no
2172 DEFAULT_wxUSE_XRC=no
2173 DEFAULT_wxUSE_WEBKIT=no
2174 DEFAULT_wxUSE_FILESYSTEM=no
2175 DEFAULT_wxUSE_FS_INET=no
2176 DEFAULT_wxUSE_FS_ZIP=no
2177 DEFAULT_wxUSE_BUSYINFO=no
2178 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2179 DEFAULT_wxUSE_ZIPSTREAM=no
2180 DEFAULT_wxUSE_VALIDATORS=no
2181
2182 DEFAULT_wxUSE_ACCEL=no
2183 DEFAULT_wxUSE_BUTTON=no
2184 DEFAULT_wxUSE_BMPBUTTON=no
2185 DEFAULT_wxUSE_CALCTRL=no
2186 DEFAULT_wxUSE_CARET=no
2187 DEFAULT_wxUSE_CHECKBOX=no
2188 DEFAULT_wxUSE_CHECKLST=no
2189 DEFAULT_wxUSE_CHOICE=no
2190 DEFAULT_wxUSE_CHOICEBOOK=no
2191 DEFAULT_wxUSE_COMBOBOX=no
2192 DEFAULT_wxUSE_DATEPICKCTRL=no
2193 DEFAULT_wxUSE_DISPLAY=no
2194 DEFAULT_wxUSE_GAUGE=no
2195 DEFAULT_wxUSE_GRID=no
2196 DEFAULT_wxUSE_DATAVIEWCTRL=no
2197 DEFAULT_wxUSE_IMAGLIST=no
2198 DEFAULT_wxUSE_LISTBOOK=no
2199 DEFAULT_wxUSE_LISTBOX=no
2200 DEFAULT_wxUSE_LISTCTRL=no
2201 DEFAULT_wxUSE_NOTEBOOK=no
2202 DEFAULT_wxUSE_RADIOBOX=no
2203 DEFAULT_wxUSE_RADIOBTN=no
2204 DEFAULT_wxUSE_SASH=no
2205 DEFAULT_wxUSE_SCROLLBAR=no
2206 DEFAULT_wxUSE_SLIDER=no
2207 DEFAULT_wxUSE_SPINBTN=no
2208 DEFAULT_wxUSE_SPINCTRL=no
2209 DEFAULT_wxUSE_SPLITTER=no
2210 DEFAULT_wxUSE_STATBMP=no
2211 DEFAULT_wxUSE_STATBOX=no
2212 DEFAULT_wxUSE_STATLINE=no
2213 DEFAULT_wxUSE_STATTEXT=no
2214 DEFAULT_wxUSE_STATUSBAR=yes
2215 DEFAULT_wxUSE_TABDIALOG=no
2216 DEFAULT_wxUSE_TEXTCTRL=no
2217 DEFAULT_wxUSE_TOGGLEBTN=no
2218 DEFAULT_wxUSE_TOOLBAR=no
2219 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2220 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2221 DEFAULT_wxUSE_TREEBOOK=no
2222 DEFAULT_wxUSE_TOOLBOOK=no
2223 DEFAULT_wxUSE_TREECTRL=no
2224 DEFAULT_wxUSE_POPUPWIN=no
2225 DEFAULT_wxUSE_TIPWINDOW=no
2226
2227 DEFAULT_wxUSE_UNICODE=no
2228 DEFAULT_wxUSE_UNICODE_MSLU=no
2229 DEFAULT_wxUSE_WCSRTOMBS=no
2230
2231 DEFAULT_wxUSE_PALETTE=no
2232 DEFAULT_wxUSE_IMAGE=no
2233 DEFAULT_wxUSE_GIF=no
2234 DEFAULT_wxUSE_PCX=no
2235 DEFAULT_wxUSE_PNM=no
2236 DEFAULT_wxUSE_IFF=no
2237 DEFAULT_wxUSE_XPM=no
2238 DEFAULT_wxUSE_ICO_CUR=no
2239 DEFAULT_wxUSE_ACCESSIBILITY=no
2240
2241 DEFAULT_wxUSE_MONOLITHIC=no
2242 DEFAULT_wxUSE_PLUGINS=no
2243 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2244 else
2245 DEFAULT_wxUSE_UNIVERSAL=no
2246 DEFAULT_wxUSE_STL=no
2247
2248 DEFAULT_wxUSE_NANOX=no
2249
2250 DEFAULT_wxUSE_THREADS=yes
2251
2252 DEFAULT_wxUSE_SHARED=yes
2253 DEFAULT_wxUSE_OPTIMISE=yes
2254 DEFAULT_wxUSE_PROFILE=no
2255 DEFAULT_wxUSE_NO_DEPS=no
2256 DEFAULT_wxUSE_NO_RTTI=no
2257 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2258 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2259 DEFAULT_wxUSE_RPATH=yes
2260 DEFAULT_wxUSE_PERMISSIVE=no
2261 DEFAULT_wxUSE_DEBUG_FLAG=no
2262 DEFAULT_wxUSE_DEBUG_INFO=no
2263 DEFAULT_wxUSE_DEBUG_GDB=no
2264 DEFAULT_wxUSE_MEM_TRACING=no
2265 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2266 DEFAULT_wxUSE_DMALLOC=no
2267 DEFAULT_wxUSE_APPLE_IEEE=yes
2268
2269 DEFAULT_wxUSE_EXCEPTIONS=yes
2270 DEFAULT_wxUSE_LOG=yes
2271 DEFAULT_wxUSE_LOGWINDOW=yes
2272 DEFAULT_wxUSE_LOGGUI=yes
2273 DEFAULT_wxUSE_LOGDIALOG=yes
2274
2275 DEFAULT_wxUSE_GUI=yes
2276
2277 DEFAULT_wxUSE_REGEX=yes
2278 DEFAULT_wxUSE_XML=yes
2279 DEFAULT_wxUSE_EXPAT=yes
2280 DEFAULT_wxUSE_ZLIB=yes
2281 DEFAULT_wxUSE_LIBPNG=yes
2282 DEFAULT_wxUSE_LIBJPEG=yes
2283 DEFAULT_wxUSE_LIBTIFF=yes
2284 DEFAULT_wxUSE_LIBXPM=yes
2285 DEFAULT_wxUSE_LIBMSPACK=yes
2286 DEFAULT_wxUSE_LIBSDL=no
2287 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2288 DEFAULT_wxUSE_LIBHILDON=no
2289 DEFAULT_wxUSE_ODBC=no
2290 DEFAULT_wxUSE_OPENGL=no
2291
2292 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2293 DEFAULT_wxUSE_STACKWALKER=yes
2294 DEFAULT_wxUSE_DEBUGREPORT=yes
2295 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2296 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2297 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2298 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2299 DEFAULT_wxUSE_DATETIME=yes
2300 DEFAULT_wxUSE_TIMER=yes
2301 DEFAULT_wxUSE_STOPWATCH=yes
2302 DEFAULT_wxUSE_FILE=yes
2303 DEFAULT_wxUSE_FFILE=yes
2304 DEFAULT_wxUSE_STDPATHS=yes
2305 DEFAULT_wxUSE_TEXTBUFFER=yes
2306 DEFAULT_wxUSE_TEXTFILE=yes
2307 DEFAULT_wxUSE_SOUND=yes
2308 DEFAULT_wxUSE_MEDIACTRL=no
2309 DEFAULT_wxUSE_INTL=yes
2310 DEFAULT_wxUSE_CONFIG=yes
2311 DEFAULT_wxUSE_FONTMAP=yes
2312 DEFAULT_wxUSE_STREAMS=yes
2313 DEFAULT_wxUSE_SOCKETS=yes
2314 DEFAULT_wxUSE_OLE=yes
2315 DEFAULT_wxUSE_DATAOBJ=yes
2316 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2317 DEFAULT_wxUSE_JOYSTICK=yes
2318 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2319 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2320 DEFAULT_wxUSE_LONGLONG=yes
2321 DEFAULT_wxUSE_GEOMETRY=yes
2322
2323 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2324 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2325 DEFAULT_wxUSE_POSTSCRIPT=yes
2326
2327 DEFAULT_wxUSE_CLIPBOARD=yes
2328 DEFAULT_wxUSE_TOOLTIPS=yes
2329 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2330 DEFAULT_wxUSE_DRAGIMAGE=yes
2331 DEFAULT_wxUSE_SPLINES=yes
2332 DEFAULT_wxUSE_MOUSEWHEEL=yes
2333
2334 DEFAULT_wxUSE_MDI=yes
2335 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2336 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2337 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2338
2339 DEFAULT_wxUSE_RESOURCES=no
2340 DEFAULT_wxUSE_CONSTRAINTS=yes
2341 DEFAULT_wxUSE_IPC=yes
2342 DEFAULT_wxUSE_HELP=yes
2343 DEFAULT_wxUSE_MS_HTML_HELP=yes
2344 DEFAULT_wxUSE_WXHTML_HELP=yes
2345 DEFAULT_wxUSE_TREELAYOUT=yes
2346 DEFAULT_wxUSE_METAFILE=yes
2347 DEFAULT_wxUSE_MIMETYPE=yes
2348 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2349 DEFAULT_wxUSE_PROTOCOL=yes
2350 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2351 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2352 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2353 DEFAULT_wxUSE_URL=yes
2354
2355 DEFAULT_wxUSE_COMMONDLGS=yes
2356 DEFAULT_wxUSE_CHOICEDLG=yes
2357 DEFAULT_wxUSE_COLOURDLG=yes
2358 DEFAULT_wxUSE_DIRDLG=yes
2359 DEFAULT_wxUSE_FILEDLG=yes
2360 DEFAULT_wxUSE_FINDREPLDLG=yes
2361 DEFAULT_wxUSE_FONTDLG=yes
2362 DEFAULT_wxUSE_MSGDLG=yes
2363 DEFAULT_wxUSE_NUMBERDLG=yes
2364 DEFAULT_wxUSE_TEXTDLG=yes
2365 DEFAULT_wxUSE_SPLASH=yes
2366 DEFAULT_wxUSE_STARTUP_TIPS=yes
2367 DEFAULT_wxUSE_PROGRESSDLG=yes
2368 DEFAULT_wxUSE_WIZARDDLG=yes
2369
2370 DEFAULT_wxUSE_MENUS=yes
2371 DEFAULT_wxUSE_MINIFRAME=yes
2372 DEFAULT_wxUSE_HTML=yes
2373 DEFAULT_wxUSE_RICHTEXT=yes
2374 DEFAULT_wxUSE_XRC=yes
2375 DEFAULT_wxUSE_WEBKIT=yes
2376 DEFAULT_wxUSE_FILESYSTEM=yes
2377 DEFAULT_wxUSE_FS_INET=yes
2378 DEFAULT_wxUSE_FS_ZIP=yes
2379 DEFAULT_wxUSE_BUSYINFO=yes
2380 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2381 DEFAULT_wxUSE_ZIPSTREAM=yes
2382 DEFAULT_wxUSE_VALIDATORS=yes
2383
2384 DEFAULT_wxUSE_ACCEL=yes
2385 DEFAULT_wxUSE_BUTTON=yes
2386 DEFAULT_wxUSE_BMPBUTTON=yes
2387 DEFAULT_wxUSE_CALCTRL=yes
2388 DEFAULT_wxUSE_CARET=yes
2389 DEFAULT_wxUSE_CHECKBOX=yes
2390 DEFAULT_wxUSE_CHECKLST=yes
2391 DEFAULT_wxUSE_CHOICE=yes
2392 DEFAULT_wxUSE_CHOICEBOOK=yes
2393 DEFAULT_wxUSE_COMBOBOX=yes
2394 DEFAULT_wxUSE_DATEPICKCTRL=yes
2395 DEFAULT_wxUSE_DISPLAY=yes
2396 DEFAULT_wxUSE_GAUGE=yes
2397 DEFAULT_wxUSE_GRID=yes
2398 DEFAULT_wxUSE_DATAVIEWCTRL=no
2399 DEFAULT_wxUSE_IMAGLIST=yes
2400 DEFAULT_wxUSE_LISTBOOK=yes
2401 DEFAULT_wxUSE_LISTBOX=yes
2402 DEFAULT_wxUSE_LISTCTRL=yes
2403 DEFAULT_wxUSE_NOTEBOOK=yes
2404 DEFAULT_wxUSE_RADIOBOX=yes
2405 DEFAULT_wxUSE_RADIOBTN=yes
2406 DEFAULT_wxUSE_SASH=yes
2407 DEFAULT_wxUSE_SCROLLBAR=yes
2408 DEFAULT_wxUSE_SLIDER=yes
2409 DEFAULT_wxUSE_SPINBTN=yes
2410 DEFAULT_wxUSE_SPINCTRL=yes
2411 DEFAULT_wxUSE_SPLITTER=yes
2412 DEFAULT_wxUSE_STATBMP=yes
2413 DEFAULT_wxUSE_STATBOX=yes
2414 DEFAULT_wxUSE_STATLINE=yes
2415 DEFAULT_wxUSE_STATTEXT=yes
2416 DEFAULT_wxUSE_STATUSBAR=yes
2417 DEFAULT_wxUSE_TABDIALOG=no
2418 DEFAULT_wxUSE_TEXTCTRL=yes
2419 DEFAULT_wxUSE_TOGGLEBTN=yes
2420 DEFAULT_wxUSE_TOOLBAR=yes
2421 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2422 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2423 DEFAULT_wxUSE_TREEBOOK=yes
2424 DEFAULT_wxUSE_TOOLBOOK=yes
2425 DEFAULT_wxUSE_TREECTRL=yes
2426 DEFAULT_wxUSE_POPUPWIN=yes
2427 DEFAULT_wxUSE_TIPWINDOW=yes
2428
2429 DEFAULT_wxUSE_UNICODE=no
2430 DEFAULT_wxUSE_UNICODE_MSLU=yes
2431 DEFAULT_wxUSE_WCSRTOMBS=no
2432
2433 DEFAULT_wxUSE_PALETTE=yes
2434 DEFAULT_wxUSE_IMAGE=yes
2435 DEFAULT_wxUSE_GIF=yes
2436 DEFAULT_wxUSE_PCX=yes
2437 DEFAULT_wxUSE_IFF=no
2438 DEFAULT_wxUSE_PNM=yes
2439 DEFAULT_wxUSE_XPM=yes
2440 DEFAULT_wxUSE_ICO_CUR=yes
2441 DEFAULT_wxUSE_ACCESSIBILITY=no
2442
2443 DEFAULT_wxUSE_MONOLITHIC=no
2444 DEFAULT_wxUSE_PLUGINS=no
2445 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2446
2447 DEFAULT_wxUSE_GTK2=yes
2448 fi
2449
2450
2451
2452
2453 for toolkit in `echo $ALL_TOOLKITS`; do
2454 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2455 if test "x$LINE" != "x" ; then
2456 has_toolkit_in_cache=1
2457 eval "DEFAULT_$LINE"
2458 eval "CACHE_$toolkit=1"
2459
2460 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2461 if test "x$LINE" != "x" ; then
2462 eval "DEFAULT_$LINE"
2463 fi
2464 fi
2465 done
2466
2467
2468
2469 enablestring=
2470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2471 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2472 no_cache=0
2473 # Check whether --enable-gui or --disable-gui was given.
2474 if test "${enable_gui+set}" = set; then
2475 enableval="$enable_gui"
2476
2477 if test "$enableval" = yes; then
2478 ac_cv_use_gui='wxUSE_GUI=yes'
2479 else
2480 ac_cv_use_gui='wxUSE_GUI=no'
2481 fi
2482
2483 else
2484
2485 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2486 if test "x$LINE" != x ; then
2487 eval "DEFAULT_$LINE"
2488 else
2489 no_cache=1
2490 fi
2491
2492 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2493
2494 fi;
2495
2496 eval "$ac_cv_use_gui"
2497 if test "$no_cache" != 1; then
2498 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2499 fi
2500
2501 if test "$wxUSE_GUI" = yes; then
2502 echo "$as_me:$LINENO: result: yes" >&5
2503 echo "${ECHO_T}yes" >&6
2504 else
2505 echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6
2507 fi
2508
2509
2510 enablestring=
2511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2512 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2513 no_cache=0
2514 # Check whether --enable-monolithic or --disable-monolithic was given.
2515 if test "${enable_monolithic+set}" = set; then
2516 enableval="$enable_monolithic"
2517
2518 if test "$enableval" = yes; then
2519 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2520 else
2521 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2522 fi
2523
2524 else
2525
2526 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2527 if test "x$LINE" != x ; then
2528 eval "DEFAULT_$LINE"
2529 else
2530 no_cache=1
2531 fi
2532
2533 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2534
2535 fi;
2536
2537 eval "$ac_cv_use_monolithic"
2538 if test "$no_cache" != 1; then
2539 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2540 fi
2541
2542 if test "$wxUSE_MONOLITHIC" = yes; then
2543 echo "$as_me:$LINENO: result: yes" >&5
2544 echo "${ECHO_T}yes" >&6
2545 else
2546 echo "$as_me:$LINENO: result: no" >&5
2547 echo "${ECHO_T}no" >&6
2548 fi
2549
2550
2551 enablestring=
2552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2553 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2554 no_cache=0
2555 # Check whether --enable-plugins or --disable-plugins was given.
2556 if test "${enable_plugins+set}" = set; then
2557 enableval="$enable_plugins"
2558
2559 if test "$enableval" = yes; then
2560 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2561 else
2562 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2563 fi
2564
2565 else
2566
2567 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2568 if test "x$LINE" != x ; then
2569 eval "DEFAULT_$LINE"
2570 else
2571 no_cache=1
2572 fi
2573
2574 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2575
2576 fi;
2577
2578 eval "$ac_cv_use_plugins"
2579 if test "$no_cache" != 1; then
2580 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2581 fi
2582
2583 if test "$wxUSE_PLUGINS" = yes; then
2584 echo "$as_me:$LINENO: result: yes" >&5
2585 echo "${ECHO_T}yes" >&6
2586 else
2587 echo "$as_me:$LINENO: result: no" >&5
2588 echo "${ECHO_T}no" >&6
2589 fi
2590
2591
2592 withstring=without
2593 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2594 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2595 no_cache=0
2596
2597 # Check whether --with-subdirs or --without-subdirs was given.
2598 if test "${with_subdirs+set}" = set; then
2599 withval="$with_subdirs"
2600
2601 if test "$withval" = yes; then
2602 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2603 else
2604 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2605 fi
2606
2607 else
2608
2609 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2610 if test "x$LINE" != x ; then
2611 eval "DEFAULT_$LINE"
2612 else
2613 no_cache=1
2614 fi
2615
2616 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2617
2618 fi;
2619
2620 eval "$ac_cv_use_subdirs"
2621 if test "$no_cache" != 1; then
2622 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2623 fi
2624
2625 if test "$wxWITH_SUBDIRS" = yes; then
2626 echo "$as_me:$LINENO: result: yes" >&5
2627 echo "${ECHO_T}yes" >&6
2628 else
2629 echo "$as_me:$LINENO: result: no" >&5
2630 echo "${ECHO_T}no" >&6
2631 fi
2632
2633
2634 if test "$wxUSE_GUI" = "yes"; then
2635
2636
2637 enablestring=
2638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2639 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2640 no_cache=0
2641 # Check whether --enable-universal or --disable-universal was given.
2642 if test "${enable_universal+set}" = set; then
2643 enableval="$enable_universal"
2644
2645 if test "$enableval" = yes; then
2646 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2647 else
2648 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2649 fi
2650
2651 else
2652
2653 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2654 if test "x$LINE" != x ; then
2655 eval "DEFAULT_$LINE"
2656 else
2657 no_cache=1
2658 fi
2659
2660 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2661
2662 fi;
2663
2664 eval "$ac_cv_use_universal"
2665 if test "$no_cache" != 1; then
2666 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2667 fi
2668
2669 if test "$wxUSE_UNIVERSAL" = yes; then
2670 echo "$as_me:$LINENO: result: yes" >&5
2671 echo "${ECHO_T}yes" >&6
2672 else
2673 echo "$as_me:$LINENO: result: no" >&5
2674 echo "${ECHO_T}no" >&6
2675 fi
2676
2677
2678 # Check whether --with-gtk or --without-gtk was given.
2679 if test "${with_gtk+set}" = set; then
2680 withval="$with_gtk"
2681 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2682 fi;
2683
2684 # Check whether --with-motif or --without-motif was given.
2685 if test "${with_motif+set}" = set; then
2686 withval="$with_motif"
2687 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2688 fi;
2689
2690 # Check whether --with-mac or --without-mac was given.
2691 if test "${with_mac+set}" = set; then
2692 withval="$with_mac"
2693 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2694 fi;
2695
2696 # Check whether --with-cocoa or --without-cocoa was given.
2697 if test "${with_cocoa+set}" = set; then
2698 withval="$with_cocoa"
2699 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2700 fi;
2701
2702 # Check whether --with-wine or --without-wine was given.
2703 if test "${with_wine+set}" = set; then
2704 withval="$with_wine"
2705 wxUSE_WINE="$withval" CACHE_WINE=1
2706 fi;
2707
2708 # Check whether --with-msw or --without-msw was given.
2709 if test "${with_msw+set}" = set; then
2710 withval="$with_msw"
2711 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2712 fi;
2713
2714 # Check whether --with-pm or --without-pm was given.
2715 if test "${with_pm+set}" = set; then
2716 withval="$with_pm"
2717 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2718 fi;
2719
2720 # Check whether --with-mgl or --without-mgl was given.
2721 if test "${with_mgl+set}" = set; then
2722 withval="$with_mgl"
2723 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2724 fi;
2725
2726 # Check whether --with-microwin or --without-microwin was given.
2727 if test "${with_microwin+set}" = set; then
2728 withval="$with_microwin"
2729 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2730 fi;
2731
2732 # Check whether --with-x11 or --without-x11 was given.
2733 if test "${with_x11+set}" = set; then
2734 withval="$with_x11"
2735 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2736 fi;
2737
2738 enablestring=
2739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2740 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2741 no_cache=0
2742 # Check whether --enable-nanox or --disable-nanox was given.
2743 if test "${enable_nanox+set}" = set; then
2744 enableval="$enable_nanox"
2745
2746 if test "$enableval" = yes; then
2747 ac_cv_use_nanox='wxUSE_NANOX=yes'
2748 else
2749 ac_cv_use_nanox='wxUSE_NANOX=no'
2750 fi
2751
2752 else
2753
2754 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2755 if test "x$LINE" != x ; then
2756 eval "DEFAULT_$LINE"
2757 else
2758 no_cache=1
2759 fi
2760
2761 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2762
2763 fi;
2764
2765 eval "$ac_cv_use_nanox"
2766 if test "$no_cache" != 1; then
2767 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2768 fi
2769
2770 if test "$wxUSE_NANOX" = yes; then
2771 echo "$as_me:$LINENO: result: yes" >&5
2772 echo "${ECHO_T}yes" >&6
2773 else
2774 echo "$as_me:$LINENO: result: no" >&5
2775 echo "${ECHO_T}no" >&6
2776 fi
2777
2778
2779 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2780 if test "${enable_gtk2+set}" = set; then
2781 enableval="$enable_gtk2"
2782 wxUSE_GTK2="$enableval"
2783 fi;
2784
2785 enablestring=
2786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2787 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2788 no_cache=0
2789 # Check whether --enable-gpe or --disable-gpe was given.
2790 if test "${enable_gpe+set}" = set; then
2791 enableval="$enable_gpe"
2792
2793 if test "$enableval" = yes; then
2794 ac_cv_use_gpe='wxUSE_GPE=yes'
2795 else
2796 ac_cv_use_gpe='wxUSE_GPE=no'
2797 fi
2798
2799 else
2800
2801 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2802 if test "x$LINE" != x ; then
2803 eval "DEFAULT_$LINE"
2804 else
2805 no_cache=1
2806 fi
2807
2808 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2809
2810 fi;
2811
2812 eval "$ac_cv_use_gpe"
2813 if test "$no_cache" != 1; then
2814 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2815 fi
2816
2817 if test "$wxUSE_GPE" = yes; then
2818 echo "$as_me:$LINENO: result: yes" >&5
2819 echo "${ECHO_T}yes" >&6
2820 else
2821 echo "$as_me:$LINENO: result: no" >&5
2822 echo "${ECHO_T}no" >&6
2823 fi
2824
2825
2826
2827 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2828 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2829 no_cache=0
2830
2831 # Check whether --with-libpng or --without-libpng was given.
2832 if test "${with_libpng+set}" = set; then
2833 withval="$with_libpng"
2834
2835 if test "$withval" = yes; then
2836 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2837 elif test "$withval" = no; then
2838 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2839 elif test "$withval" = sys; then
2840 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2841 elif test "$withval" = builtin; then
2842 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2843 else
2844 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2845 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2846 { (exit 1); exit 1; }; }
2847 fi
2848
2849 else
2850
2851 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2852 if test "x$LINE" != x ; then
2853 eval "DEFAULT_$LINE"
2854 else
2855 no_cache=1
2856 fi
2857
2858 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2859
2860 fi;
2861
2862 eval "$ac_cv_use_libpng"
2863 if test "$no_cache" != 1; then
2864 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2865 fi
2866
2867 if test "$wxUSE_LIBPNG" = yes; then
2868 echo "$as_me:$LINENO: result: yes" >&5
2869 echo "${ECHO_T}yes" >&6
2870 elif test "$wxUSE_LIBPNG" = no; then
2871 echo "$as_me:$LINENO: result: no" >&5
2872 echo "${ECHO_T}no" >&6
2873 elif test "$wxUSE_LIBPNG" = sys; then
2874 echo "$as_me:$LINENO: result: system version" >&5
2875 echo "${ECHO_T}system version" >&6
2876 elif test "$wxUSE_LIBPNG" = builtin; then
2877 echo "$as_me:$LINENO: result: builtin version" >&5
2878 echo "${ECHO_T}builtin version" >&6
2879 else
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2883 fi
2884
2885
2886 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2887 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2888 no_cache=0
2889
2890 # Check whether --with-libjpeg or --without-libjpeg was given.
2891 if test "${with_libjpeg+set}" = set; then
2892 withval="$with_libjpeg"
2893
2894 if test "$withval" = yes; then
2895 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2896 elif test "$withval" = no; then
2897 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2898 elif test "$withval" = sys; then
2899 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2900 elif test "$withval" = builtin; then
2901 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2902 else
2903 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2904 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2905 { (exit 1); exit 1; }; }
2906 fi
2907
2908 else
2909
2910 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2911 if test "x$LINE" != x ; then
2912 eval "DEFAULT_$LINE"
2913 else
2914 no_cache=1
2915 fi
2916
2917 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2918
2919 fi;
2920
2921 eval "$ac_cv_use_libjpeg"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2924 fi
2925
2926 if test "$wxUSE_LIBJPEG" = yes; then
2927 echo "$as_me:$LINENO: result: yes" >&5
2928 echo "${ECHO_T}yes" >&6
2929 elif test "$wxUSE_LIBJPEG" = no; then
2930 echo "$as_me:$LINENO: result: no" >&5
2931 echo "${ECHO_T}no" >&6
2932 elif test "$wxUSE_LIBJPEG" = sys; then
2933 echo "$as_me:$LINENO: result: system version" >&5
2934 echo "${ECHO_T}system version" >&6
2935 elif test "$wxUSE_LIBJPEG" = builtin; then
2936 echo "$as_me:$LINENO: result: builtin version" >&5
2937 echo "${ECHO_T}builtin version" >&6
2938 else
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2942 fi
2943
2944
2945 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2946 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2947 no_cache=0
2948
2949 # Check whether --with-libtiff or --without-libtiff was given.
2950 if test "${with_libtiff+set}" = set; then
2951 withval="$with_libtiff"
2952
2953 if test "$withval" = yes; then
2954 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2955 elif test "$withval" = no; then
2956 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2957 elif test "$withval" = sys; then
2958 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2959 elif test "$withval" = builtin; then
2960 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2961 else
2962 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2963 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2964 { (exit 1); exit 1; }; }
2965 fi
2966
2967 else
2968
2969 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2970 if test "x$LINE" != x ; then
2971 eval "DEFAULT_$LINE"
2972 else
2973 no_cache=1
2974 fi
2975
2976 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2977
2978 fi;
2979
2980 eval "$ac_cv_use_libtiff"
2981 if test "$no_cache" != 1; then
2982 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2983 fi
2984
2985 if test "$wxUSE_LIBTIFF" = yes; then
2986 echo "$as_me:$LINENO: result: yes" >&5
2987 echo "${ECHO_T}yes" >&6
2988 elif test "$wxUSE_LIBTIFF" = no; then
2989 echo "$as_me:$LINENO: result: no" >&5
2990 echo "${ECHO_T}no" >&6
2991 elif test "$wxUSE_LIBTIFF" = sys; then
2992 echo "$as_me:$LINENO: result: system version" >&5
2993 echo "${ECHO_T}system version" >&6
2994 elif test "$wxUSE_LIBTIFF" = builtin; then
2995 echo "$as_me:$LINENO: result: builtin version" >&5
2996 echo "${ECHO_T}builtin version" >&6
2997 else
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3001 fi
3002
3003
3004 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3005 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3006 no_cache=0
3007
3008 # Check whether --with-libxpm or --without-libxpm was given.
3009 if test "${with_libxpm+set}" = set; then
3010 withval="$with_libxpm"
3011
3012 if test "$withval" = yes; then
3013 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3014 elif test "$withval" = no; then
3015 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3016 elif test "$withval" = sys; then
3017 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3018 elif test "$withval" = builtin; then
3019 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3020 else
3021 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3022 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3023 { (exit 1); exit 1; }; }
3024 fi
3025
3026 else
3027
3028 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3029 if test "x$LINE" != x ; then
3030 eval "DEFAULT_$LINE"
3031 else
3032 no_cache=1
3033 fi
3034
3035 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3036
3037 fi;
3038
3039 eval "$ac_cv_use_libxpm"
3040 if test "$no_cache" != 1; then
3041 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3042 fi
3043
3044 if test "$wxUSE_LIBXPM" = yes; then
3045 echo "$as_me:$LINENO: result: yes" >&5
3046 echo "${ECHO_T}yes" >&6
3047 elif test "$wxUSE_LIBXPM" = no; then
3048 echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6
3050 elif test "$wxUSE_LIBXPM" = sys; then
3051 echo "$as_me:$LINENO: result: system version" >&5
3052 echo "${ECHO_T}system version" >&6
3053 elif test "$wxUSE_LIBXPM" = builtin; then
3054 echo "$as_me:$LINENO: result: builtin version" >&5
3055 echo "${ECHO_T}builtin version" >&6
3056 else
3057 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3058 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3059 { (exit 1); exit 1; }; }
3060 fi
3061
3062
3063 withstring=
3064 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3065 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3066 no_cache=0
3067
3068 # Check whether --with-libmspack or --without-libmspack was given.
3069 if test "${with_libmspack+set}" = set; then
3070 withval="$with_libmspack"
3071
3072 if test "$withval" = yes; then
3073 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3074 else
3075 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3076 fi
3077
3078 else
3079
3080 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3081 if test "x$LINE" != x ; then
3082 eval "DEFAULT_$LINE"
3083 else
3084 no_cache=1
3085 fi
3086
3087 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3088
3089 fi;
3090
3091 eval "$ac_cv_use_libmspack"
3092 if test "$no_cache" != 1; then
3093 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3094 fi
3095
3096 if test "$wxUSE_LIBMSPACK" = yes; then
3097 echo "$as_me:$LINENO: result: yes" >&5
3098 echo "${ECHO_T}yes" >&6
3099 else
3100 echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3102 fi
3103
3104
3105 withstring=
3106 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3107 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3108 no_cache=0
3109
3110 # Check whether --with-sdl or --without-sdl was given.
3111 if test "${with_sdl+set}" = set; then
3112 withval="$with_sdl"
3113
3114 if test "$withval" = yes; then
3115 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3116 else
3117 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3118 fi
3119
3120 else
3121
3122 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3123 if test "x$LINE" != x ; then
3124 eval "DEFAULT_$LINE"
3125 else
3126 no_cache=1
3127 fi
3128
3129 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3130
3131 fi;
3132
3133 eval "$ac_cv_use_sdl"
3134 if test "$no_cache" != 1; then
3135 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3136 fi
3137
3138 if test "$wxUSE_LIBSDL" = yes; then
3139 echo "$as_me:$LINENO: result: yes" >&5
3140 echo "${ECHO_T}yes" >&6
3141 else
3142 echo "$as_me:$LINENO: result: no" >&5
3143 echo "${ECHO_T}no" >&6
3144 fi
3145
3146
3147 withstring=
3148 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3149 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3150 no_cache=0
3151
3152 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3153 if test "${with_gnomeprint+set}" = set; then
3154 withval="$with_gnomeprint"
3155
3156 if test "$withval" = yes; then
3157 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3158 else
3159 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3160 fi
3161
3162 else
3163
3164 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3165 if test "x$LINE" != x ; then
3166 eval "DEFAULT_$LINE"
3167 else
3168 no_cache=1
3169 fi
3170
3171 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3172
3173 fi;
3174
3175 eval "$ac_cv_use_gnomeprint"
3176 if test "$no_cache" != 1; then
3177 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3178 fi
3179
3180 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3181 echo "$as_me:$LINENO: result: yes" >&5
3182 echo "${ECHO_T}yes" >&6
3183 else
3184 echo "$as_me:$LINENO: result: no" >&5
3185 echo "${ECHO_T}no" >&6
3186 fi
3187
3188
3189 withstring=
3190 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3191 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3192 no_cache=0
3193
3194 # Check whether --with-hildon or --without-hildon was given.
3195 if test "${with_hildon+set}" = set; then
3196 withval="$with_hildon"
3197
3198 if test "$withval" = yes; then
3199 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3200 else
3201 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3202 fi
3203
3204 else
3205
3206 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3207 if test "x$LINE" != x ; then
3208 eval "DEFAULT_$LINE"
3209 else
3210 no_cache=1
3211 fi
3212
3213 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3214
3215 fi;
3216
3217 eval "$ac_cv_use_hildon"
3218 if test "$no_cache" != 1; then
3219 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3220 fi
3221
3222 if test "$wxUSE_LIBHILDON" = yes; then
3223 echo "$as_me:$LINENO: result: yes" >&5
3224 echo "${ECHO_T}yes" >&6
3225 else
3226 echo "$as_me:$LINENO: result: no" >&5
3227 echo "${ECHO_T}no" >&6
3228 fi
3229
3230
3231 withstring=
3232 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3233 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3234 no_cache=0
3235
3236 # Check whether --with-opengl or --without-opengl was given.
3237 if test "${with_opengl+set}" = set; then
3238 withval="$with_opengl"
3239
3240 if test "$withval" = yes; then
3241 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3242 else
3243 ac_cv_use_opengl='wxUSE_OPENGL=no'
3244 fi
3245
3246 else
3247
3248 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3249 if test "x$LINE" != x ; then
3250 eval "DEFAULT_$LINE"
3251 else
3252 no_cache=1
3253 fi
3254
3255 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3256
3257 fi;
3258
3259 eval "$ac_cv_use_opengl"
3260 if test "$no_cache" != 1; then
3261 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3262 fi
3263
3264 if test "$wxUSE_OPENGL" = yes; then
3265 echo "$as_me:$LINENO: result: yes" >&5
3266 echo "${ECHO_T}yes" >&6
3267 else
3268 echo "$as_me:$LINENO: result: no" >&5
3269 echo "${ECHO_T}no" >&6
3270 fi
3271
3272
3273 fi
3274
3275
3276 withstring=
3277 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3278 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3279 no_cache=0
3280
3281 # Check whether --with-dmalloc or --without-dmalloc was given.
3282 if test "${with_dmalloc+set}" = set; then
3283 withval="$with_dmalloc"
3284
3285 if test "$withval" = yes; then
3286 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3287 else
3288 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3289 fi
3290
3291 else
3292
3293 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3294 if test "x$LINE" != x ; then
3295 eval "DEFAULT_$LINE"
3296 else
3297 no_cache=1
3298 fi
3299
3300 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3301
3302 fi;
3303
3304 eval "$ac_cv_use_dmalloc"
3305 if test "$no_cache" != 1; then
3306 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3307 fi
3308
3309 if test "$wxUSE_DMALLOC" = yes; then
3310 echo "$as_me:$LINENO: result: yes" >&5
3311 echo "${ECHO_T}yes" >&6
3312 else
3313 echo "$as_me:$LINENO: result: no" >&5
3314 echo "${ECHO_T}no" >&6
3315 fi
3316
3317
3318 echo "$as_me:$LINENO: checking for --with-regex" >&5
3319 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3320 no_cache=0
3321
3322 # Check whether --with-regex or --without-regex was given.
3323 if test "${with_regex+set}" = set; then
3324 withval="$with_regex"
3325
3326 if test "$withval" = yes; then
3327 ac_cv_use_regex='wxUSE_REGEX=yes'
3328 elif test "$withval" = no; then
3329 ac_cv_use_regex='wxUSE_REGEX=no'
3330 elif test "$withval" = sys; then
3331 ac_cv_use_regex='wxUSE_REGEX=sys'
3332 elif test "$withval" = builtin; then
3333 ac_cv_use_regex='wxUSE_REGEX=builtin'
3334 else
3335 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3336 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3337 { (exit 1); exit 1; }; }
3338 fi
3339
3340 else
3341
3342 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3343 if test "x$LINE" != x ; then
3344 eval "DEFAULT_$LINE"
3345 else
3346 no_cache=1
3347 fi
3348
3349 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3350
3351 fi;
3352
3353 eval "$ac_cv_use_regex"
3354 if test "$no_cache" != 1; then
3355 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3356 fi
3357
3358 if test "$wxUSE_REGEX" = yes; then
3359 echo "$as_me:$LINENO: result: yes" >&5
3360 echo "${ECHO_T}yes" >&6
3361 elif test "$wxUSE_REGEX" = no; then
3362 echo "$as_me:$LINENO: result: no" >&5
3363 echo "${ECHO_T}no" >&6
3364 elif test "$wxUSE_REGEX" = sys; then
3365 echo "$as_me:$LINENO: result: system version" >&5
3366 echo "${ECHO_T}system version" >&6
3367 elif test "$wxUSE_REGEX" = builtin; then
3368 echo "$as_me:$LINENO: result: builtin version" >&5
3369 echo "${ECHO_T}builtin version" >&6
3370 else
3371 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3372 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3373 { (exit 1); exit 1; }; }
3374 fi
3375
3376
3377 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3378 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3379 no_cache=0
3380
3381 # Check whether --with-zlib or --without-zlib was given.
3382 if test "${with_zlib+set}" = set; then
3383 withval="$with_zlib"
3384
3385 if test "$withval" = yes; then
3386 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3387 elif test "$withval" = no; then
3388 ac_cv_use_zlib='wxUSE_ZLIB=no'
3389 elif test "$withval" = sys; then
3390 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3391 elif test "$withval" = builtin; then
3392 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3393 else
3394 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3395 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3396 { (exit 1); exit 1; }; }
3397 fi
3398
3399 else
3400
3401 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3402 if test "x$LINE" != x ; then
3403 eval "DEFAULT_$LINE"
3404 else
3405 no_cache=1
3406 fi
3407
3408 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3409
3410 fi;
3411
3412 eval "$ac_cv_use_zlib"
3413 if test "$no_cache" != 1; then
3414 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3415 fi
3416
3417 if test "$wxUSE_ZLIB" = yes; then
3418 echo "$as_me:$LINENO: result: yes" >&5
3419 echo "${ECHO_T}yes" >&6
3420 elif test "$wxUSE_ZLIB" = no; then
3421 echo "$as_me:$LINENO: result: no" >&5
3422 echo "${ECHO_T}no" >&6
3423 elif test "$wxUSE_ZLIB" = sys; then
3424 echo "$as_me:$LINENO: result: system version" >&5
3425 echo "${ECHO_T}system version" >&6
3426 elif test "$wxUSE_ZLIB" = builtin; then
3427 echo "$as_me:$LINENO: result: builtin version" >&5
3428 echo "${ECHO_T}builtin version" >&6
3429 else
3430 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3431 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3432 { (exit 1); exit 1; }; }
3433 fi
3434
3435
3436 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3437 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3438 no_cache=0
3439
3440 # Check whether --with-odbc or --without-odbc was given.
3441 if test "${with_odbc+set}" = set; then
3442 withval="$with_odbc"
3443
3444 if test "$withval" = yes; then
3445 ac_cv_use_odbc='wxUSE_ODBC=yes'
3446 elif test "$withval" = no; then
3447 ac_cv_use_odbc='wxUSE_ODBC=no'
3448 elif test "$withval" = sys; then
3449 ac_cv_use_odbc='wxUSE_ODBC=sys'
3450 elif test "$withval" = builtin; then
3451 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3452 else
3453 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3454 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3455 { (exit 1); exit 1; }; }
3456 fi
3457
3458 else
3459
3460 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x ; then
3462 eval "DEFAULT_$LINE"
3463 else
3464 no_cache=1
3465 fi
3466
3467 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3468
3469 fi;
3470
3471 eval "$ac_cv_use_odbc"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3474 fi
3475
3476 if test "$wxUSE_ODBC" = yes; then
3477 echo "$as_me:$LINENO: result: yes" >&5
3478 echo "${ECHO_T}yes" >&6
3479 elif test "$wxUSE_ODBC" = no; then
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3482 elif test "$wxUSE_ODBC" = sys; then
3483 echo "$as_me:$LINENO: result: system version" >&5
3484 echo "${ECHO_T}system version" >&6
3485 elif test "$wxUSE_ODBC" = builtin; then
3486 echo "$as_me:$LINENO: result: builtin version" >&5
3487 echo "${ECHO_T}builtin version" >&6
3488 else
3489 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3490 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3491 { (exit 1); exit 1; }; }
3492 fi
3493
3494
3495 echo "$as_me:$LINENO: checking for --with-expat" >&5
3496 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3497 no_cache=0
3498
3499 # Check whether --with-expat or --without-expat was given.
3500 if test "${with_expat+set}" = set; then
3501 withval="$with_expat"
3502
3503 if test "$withval" = yes; then
3504 ac_cv_use_expat='wxUSE_EXPAT=yes'
3505 elif test "$withval" = no; then
3506 ac_cv_use_expat='wxUSE_EXPAT=no'
3507 elif test "$withval" = sys; then
3508 ac_cv_use_expat='wxUSE_EXPAT=sys'
3509 elif test "$withval" = builtin; then
3510 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3511 else
3512 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3513 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3514 { (exit 1); exit 1; }; }
3515 fi
3516
3517 else
3518
3519 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x ; then
3521 eval "DEFAULT_$LINE"
3522 else
3523 no_cache=1
3524 fi
3525
3526 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3527
3528 fi;
3529
3530 eval "$ac_cv_use_expat"
3531 if test "$no_cache" != 1; then
3532 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3533 fi
3534
3535 if test "$wxUSE_EXPAT" = yes; then
3536 echo "$as_me:$LINENO: result: yes" >&5
3537 echo "${ECHO_T}yes" >&6
3538 elif test "$wxUSE_EXPAT" = no; then
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3541 elif test "$wxUSE_EXPAT" = sys; then
3542 echo "$as_me:$LINENO: result: system version" >&5
3543 echo "${ECHO_T}system version" >&6
3544 elif test "$wxUSE_EXPAT" = builtin; then
3545 echo "$as_me:$LINENO: result: builtin version" >&5
3546 echo "${ECHO_T}builtin version" >&6
3547 else
3548 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3549 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3550 { (exit 1); exit 1; }; }
3551 fi
3552
3553
3554
3555
3556 enablestring=
3557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3558 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3559 no_cache=0
3560 # Check whether --enable-shared or --disable-shared was given.
3561 if test "${enable_shared+set}" = set; then
3562 enableval="$enable_shared"
3563
3564 if test "$enableval" = yes; then
3565 ac_cv_use_shared='wxUSE_SHARED=yes'
3566 else
3567 ac_cv_use_shared='wxUSE_SHARED=no'
3568 fi
3569
3570 else
3571
3572 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3575 else
3576 no_cache=1
3577 fi
3578
3579 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3580
3581 fi;
3582
3583 eval "$ac_cv_use_shared"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3586 fi
3587
3588 if test "$wxUSE_SHARED" = yes; then
3589 echo "$as_me:$LINENO: result: yes" >&5
3590 echo "${ECHO_T}yes" >&6
3591 else
3592 echo "$as_me:$LINENO: result: no" >&5
3593 echo "${ECHO_T}no" >&6
3594 fi
3595
3596
3597 enablestring=
3598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3599 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3600 no_cache=0
3601 # Check whether --enable-optimise or --disable-optimise was given.
3602 if test "${enable_optimise+set}" = set; then
3603 enableval="$enable_optimise"
3604
3605 if test "$enableval" = yes; then
3606 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3607 else
3608 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3609 fi
3610
3611 else
3612
3613 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3614 if test "x$LINE" != x ; then
3615 eval "DEFAULT_$LINE"
3616 else
3617 no_cache=1
3618 fi
3619
3620 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3621
3622 fi;
3623
3624 eval "$ac_cv_use_optimise"
3625 if test "$no_cache" != 1; then
3626 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3627 fi
3628
3629 if test "$wxUSE_OPTIMISE" = yes; then
3630 echo "$as_me:$LINENO: result: yes" >&5
3631 echo "${ECHO_T}yes" >&6
3632 else
3633 echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6
3635 fi
3636
3637
3638 enablestring=
3639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3640 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3641 no_cache=0
3642 # Check whether --enable-debug or --disable-debug was given.
3643 if test "${enable_debug+set}" = set; then
3644 enableval="$enable_debug"
3645
3646 if test "$enableval" = yes; then
3647 ac_cv_use_debug='wxUSE_DEBUG=yes'
3648 else
3649 ac_cv_use_debug='wxUSE_DEBUG=no'
3650 fi
3651
3652 else
3653
3654 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x ; then
3656 eval "DEFAULT_$LINE"
3657 else
3658 no_cache=1
3659 fi
3660
3661 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3662
3663 fi;
3664
3665 eval "$ac_cv_use_debug"
3666 if test "$no_cache" != 1; then
3667 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3668 fi
3669
3670 if test "$wxUSE_DEBUG" = yes; then
3671 echo "$as_me:$LINENO: result: yes" >&5
3672 echo "${ECHO_T}yes" >&6
3673 else
3674 echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6
3676 fi
3677
3678
3679 enablestring=
3680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3681 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3682 no_cache=0
3683 # Check whether --enable-stl or --disable-stl was given.
3684 if test "${enable_stl+set}" = set; then
3685 enableval="$enable_stl"
3686
3687 if test "$enableval" = yes; then
3688 ac_cv_use_stl='wxUSE_STL=yes'
3689 else
3690 ac_cv_use_stl='wxUSE_STL=no'
3691 fi
3692
3693 else
3694
3695 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x ; then
3697 eval "DEFAULT_$LINE"
3698 else
3699 no_cache=1
3700 fi
3701
3702 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3703
3704 fi;
3705
3706 eval "$ac_cv_use_stl"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3709 fi
3710
3711 if test "$wxUSE_STL" = yes; then
3712 echo "$as_me:$LINENO: result: yes" >&5
3713 echo "${ECHO_T}yes" >&6
3714 else
3715 echo "$as_me:$LINENO: result: no" >&5
3716 echo "${ECHO_T}no" >&6
3717 fi
3718
3719 if test "$USE_OS2" = "1"; then
3720 DEFAULT_wxUSE_OMF=no
3721
3722 enablestring=
3723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3724 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3725 no_cache=0
3726 # Check whether --enable-omf or --disable-omf was given.
3727 if test "${enable_omf+set}" = set; then
3728 enableval="$enable_omf"
3729
3730 if test "$enableval" = yes; then
3731 ac_cv_use_omf='wxUSE_OMF=yes'
3732 else
3733 ac_cv_use_omf='wxUSE_OMF=no'
3734 fi
3735
3736 else
3737
3738 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3739 if test "x$LINE" != x ; then
3740 eval "DEFAULT_$LINE"
3741 else
3742 no_cache=1
3743 fi
3744
3745 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3746
3747 fi;
3748
3749 eval "$ac_cv_use_omf"
3750 if test "$no_cache" != 1; then
3751 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3752 fi
3753
3754 if test "$wxUSE_OMF" = yes; then
3755 echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6
3757 else
3758 echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6
3760 fi
3761
3762 fi
3763
3764 if test "$wxUSE_DEBUG" = "yes"; then
3765 DEFAULT_wxUSE_DEBUG_FLAG=yes
3766 DEFAULT_wxUSE_DEBUG_INFO=yes
3767 BUILD=debug
3768 elif test "$wxUSE_DEBUG" = "no"; then
3769 DEFAULT_wxUSE_DEBUG_FLAG=no
3770 DEFAULT_wxUSE_DEBUG_INFO=no
3771 BUILD=release
3772 fi
3773
3774
3775 enablestring=
3776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3777 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3778 no_cache=0
3779 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3780 if test "${enable_debug_flag+set}" = set; then
3781 enableval="$enable_debug_flag"
3782
3783 if test "$enableval" = yes; then
3784 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3785 else
3786 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3787 fi
3788
3789 else
3790
3791 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3792 if test "x$LINE" != x ; then
3793 eval "DEFAULT_$LINE"
3794 else
3795 no_cache=1
3796 fi
3797
3798 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3799
3800 fi;
3801
3802 eval "$ac_cv_use_debug_flag"
3803 if test "$no_cache" != 1; then
3804 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3805 fi
3806
3807 if test "$wxUSE_DEBUG_FLAG" = yes; then
3808 echo "$as_me:$LINENO: result: yes" >&5
3809 echo "${ECHO_T}yes" >&6
3810 else
3811 echo "$as_me:$LINENO: result: no" >&5
3812 echo "${ECHO_T}no" >&6
3813 fi
3814
3815
3816 enablestring=
3817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3818 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3819 no_cache=0
3820 # Check whether --enable-debug_info or --disable-debug_info was given.
3821 if test "${enable_debug_info+set}" = set; then
3822 enableval="$enable_debug_info"
3823
3824 if test "$enableval" = yes; then
3825 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3826 else
3827 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3828 fi
3829
3830 else
3831
3832 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3833 if test "x$LINE" != x ; then
3834 eval "DEFAULT_$LINE"
3835 else
3836 no_cache=1
3837 fi
3838
3839 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3840
3841 fi;
3842
3843 eval "$ac_cv_use_debug_info"
3844 if test "$no_cache" != 1; then
3845 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3846 fi
3847
3848 if test "$wxUSE_DEBUG_INFO" = yes; then
3849 echo "$as_me:$LINENO: result: yes" >&5
3850 echo "${ECHO_T}yes" >&6
3851 else
3852 echo "$as_me:$LINENO: result: no" >&5
3853 echo "${ECHO_T}no" >&6
3854 fi
3855
3856
3857 enablestring=
3858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3859 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3860 no_cache=0
3861 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3862 if test "${enable_debug_gdb+set}" = set; then
3863 enableval="$enable_debug_gdb"
3864
3865 if test "$enableval" = yes; then
3866 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3867 else
3868 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3869 fi
3870
3871 else
3872
3873 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3874 if test "x$LINE" != x ; then
3875 eval "DEFAULT_$LINE"
3876 else
3877 no_cache=1
3878 fi
3879
3880 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3881
3882 fi;
3883
3884 eval "$ac_cv_use_debug_gdb"
3885 if test "$no_cache" != 1; then
3886 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3887 fi
3888
3889 if test "$wxUSE_DEBUG_GDB" = yes; then
3890 echo "$as_me:$LINENO: result: yes" >&5
3891 echo "${ECHO_T}yes" >&6
3892 else
3893 echo "$as_me:$LINENO: result: no" >&5
3894 echo "${ECHO_T}no" >&6
3895 fi
3896
3897
3898 enablestring=
3899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3900 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3901 no_cache=0
3902 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3903 if test "${enable_debug_cntxt+set}" = set; then
3904 enableval="$enable_debug_cntxt"
3905
3906 if test "$enableval" = yes; then
3907 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3908 else
3909 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3910 fi
3911
3912 else
3913
3914 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x ; then
3916 eval "DEFAULT_$LINE"
3917 else
3918 no_cache=1
3919 fi
3920
3921 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3922
3923 fi;
3924
3925 eval "$ac_cv_use_debug_cntxt"
3926 if test "$no_cache" != 1; then
3927 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3928 fi
3929
3930 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3931 echo "$as_me:$LINENO: result: yes" >&5
3932 echo "${ECHO_T}yes" >&6
3933 else
3934 echo "$as_me:$LINENO: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3936 fi
3937
3938
3939 enablestring=
3940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3941 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3942 no_cache=0
3943 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3944 if test "${enable_mem_tracing+set}" = set; then
3945 enableval="$enable_mem_tracing"
3946
3947 if test "$enableval" = yes; then
3948 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3949 else
3950 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3951 fi
3952
3953 else
3954
3955 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x ; then
3957 eval "DEFAULT_$LINE"
3958 else
3959 no_cache=1
3960 fi
3961
3962 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3963
3964 fi;
3965
3966 eval "$ac_cv_use_mem_tracing"
3967 if test "$no_cache" != 1; then
3968 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3969 fi
3970
3971 if test "$wxUSE_MEM_TRACING" = yes; then
3972 echo "$as_me:$LINENO: result: yes" >&5
3973 echo "${ECHO_T}yes" >&6
3974 else
3975 echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6
3977 fi
3978
3979
3980 enablestring=
3981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3982 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3983 no_cache=0
3984 # Check whether --enable-profile or --disable-profile was given.
3985 if test "${enable_profile+set}" = set; then
3986 enableval="$enable_profile"
3987
3988 if test "$enableval" = yes; then
3989 ac_cv_use_profile='wxUSE_PROFILE=yes'
3990 else
3991 ac_cv_use_profile='wxUSE_PROFILE=no'
3992 fi
3993
3994 else
3995
3996 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3997 if test "x$LINE" != x ; then
3998 eval "DEFAULT_$LINE"
3999 else
4000 no_cache=1
4001 fi
4002
4003 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4004
4005 fi;
4006
4007 eval "$ac_cv_use_profile"
4008 if test "$no_cache" != 1; then
4009 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4010 fi
4011
4012 if test "$wxUSE_PROFILE" = yes; then
4013 echo "$as_me:$LINENO: result: yes" >&5
4014 echo "${ECHO_T}yes" >&6
4015 else
4016 echo "$as_me:$LINENO: result: no" >&5
4017 echo "${ECHO_T}no" >&6
4018 fi
4019
4020
4021 enablestring=
4022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4023 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4024 no_cache=0
4025 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4026 if test "${enable_no_rtti+set}" = set; then
4027 enableval="$enable_no_rtti"
4028
4029 if test "$enableval" = yes; then
4030 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4031 else
4032 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4033 fi
4034
4035 else
4036
4037 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4038 if test "x$LINE" != x ; then
4039 eval "DEFAULT_$LINE"
4040 else
4041 no_cache=1
4042 fi
4043
4044 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4045
4046 fi;
4047
4048 eval "$ac_cv_use_no_rtti"
4049 if test "$no_cache" != 1; then
4050 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4051 fi
4052
4053 if test "$wxUSE_NO_RTTI" = yes; then
4054 echo "$as_me:$LINENO: result: yes" >&5
4055 echo "${ECHO_T}yes" >&6
4056 else
4057 echo "$as_me:$LINENO: result: no" >&5
4058 echo "${ECHO_T}no" >&6
4059 fi
4060
4061
4062 enablestring=
4063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4064 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4065 no_cache=0
4066 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4067 if test "${enable_no_exceptions+set}" = set; then
4068 enableval="$enable_no_exceptions"
4069
4070 if test "$enableval" = yes; then
4071 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4072 else
4073 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4074 fi
4075
4076 else
4077
4078 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4079 if test "x$LINE" != x ; then
4080 eval "DEFAULT_$LINE"
4081 else
4082 no_cache=1
4083 fi
4084
4085 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4086
4087 fi;
4088
4089 eval "$ac_cv_use_no_exceptions"
4090 if test "$no_cache" != 1; then
4091 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4092 fi
4093
4094 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4095 echo "$as_me:$LINENO: result: yes" >&5
4096 echo "${ECHO_T}yes" >&6
4097 else
4098 echo "$as_me:$LINENO: result: no" >&5
4099 echo "${ECHO_T}no" >&6
4100 fi
4101
4102
4103 enablestring=
4104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4105 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4106 no_cache=0
4107 # Check whether --enable-permissive or --disable-permissive was given.
4108 if test "${enable_permissive+set}" = set; then
4109 enableval="$enable_permissive"
4110
4111 if test "$enableval" = yes; then
4112 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4113 else
4114 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4115 fi
4116
4117 else
4118
4119 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x ; then
4121 eval "DEFAULT_$LINE"
4122 else
4123 no_cache=1
4124 fi
4125
4126 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4127
4128 fi;
4129
4130 eval "$ac_cv_use_permissive"
4131 if test "$no_cache" != 1; then
4132 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4133 fi
4134
4135 if test "$wxUSE_PERMISSIVE" = yes; then
4136 echo "$as_me:$LINENO: result: yes" >&5
4137 echo "${ECHO_T}yes" >&6
4138 else
4139 echo "$as_me:$LINENO: result: no" >&5
4140 echo "${ECHO_T}no" >&6
4141 fi
4142
4143
4144 enablestring=
4145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4146 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4147 no_cache=0
4148 # Check whether --enable-no_deps or --disable-no_deps was given.
4149 if test "${enable_no_deps+set}" = set; then
4150 enableval="$enable_no_deps"
4151
4152 if test "$enableval" = yes; then
4153 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4154 else
4155 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4156 fi
4157
4158 else
4159
4160 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4161 if test "x$LINE" != x ; then
4162 eval "DEFAULT_$LINE"
4163 else
4164 no_cache=1
4165 fi
4166
4167 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4168
4169 fi;
4170
4171 eval "$ac_cv_use_no_deps"
4172 if test "$no_cache" != 1; then
4173 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4174 fi
4175
4176 if test "$wxUSE_NO_DEPS" = yes; then
4177 echo "$as_me:$LINENO: result: yes" >&5
4178 echo "${ECHO_T}yes" >&6
4179 else
4180 echo "$as_me:$LINENO: result: no" >&5
4181 echo "${ECHO_T}no" >&6
4182 fi
4183
4184
4185 enablestring=
4186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4187 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4188 no_cache=0
4189 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4190 if test "${enable_universal_binary+set}" = set; then
4191 enableval="$enable_universal_binary"
4192
4193 if test "$enableval" = yes; then
4194 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=yes'
4195 else
4196 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=no'
4197 fi
4198
4199 else
4200
4201 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4202 if test "x$LINE" != x ; then
4203 eval "DEFAULT_$LINE"
4204 else
4205 no_cache=1
4206 fi
4207
4208 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4209
4210 fi;
4211
4212 eval "$ac_cv_use_universal_binary"
4213 if test "$no_cache" != 1; then
4214 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4215 fi
4216
4217 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4218 echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6
4220 else
4221 echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6
4223 fi
4224
4225
4226
4227 enablestring=enable
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4229 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4230 no_cache=0
4231 # Check whether --enable-compat24 or --disable-compat24 was given.
4232 if test "${enable_compat24+set}" = set; then
4233 enableval="$enable_compat24"
4234
4235 if test "$enableval" = yes; then
4236 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4237 else
4238 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4239 fi
4240
4241 else
4242
4243 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4246 else
4247 no_cache=1
4248 fi
4249
4250 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4251
4252 fi;
4253
4254 eval "$ac_cv_use_compat24"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4257 fi
4258
4259 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4262 else
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4265 fi
4266
4267
4268 enablestring=disable
4269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4270 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4271 no_cache=0
4272 # Check whether --enable-compat26 or --disable-compat26 was given.
4273 if test "${enable_compat26+set}" = set; then
4274 enableval="$enable_compat26"
4275
4276 if test "$enableval" = yes; then
4277 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4278 else
4279 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4280 fi
4281
4282 else
4283
4284 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4285 if test "x$LINE" != x ; then
4286 eval "DEFAULT_$LINE"
4287 else
4288 no_cache=1
4289 fi
4290
4291 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4292
4293 fi;
4294
4295 eval "$ac_cv_use_compat26"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4298 fi
4299
4300 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4301 echo "$as_me:$LINENO: result: yes" >&5
4302 echo "${ECHO_T}yes" >&6
4303 else
4304 echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4306 fi
4307
4308
4309
4310 enablestring=
4311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4312 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4313 no_cache=0
4314 # Check whether --enable-rpath or --disable-rpath was given.
4315 if test "${enable_rpath+set}" = set; then
4316 enableval="$enable_rpath"
4317
4318 if test "$enableval" = yes; then
4319 ac_cv_use_rpath='wxUSE_RPATH=yes'
4320 else
4321 ac_cv_use_rpath='wxUSE_RPATH=no'
4322 fi
4323
4324 else
4325
4326 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x ; then
4328 eval "DEFAULT_$LINE"
4329 else
4330 no_cache=1
4331 fi
4332
4333 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4334
4335 fi;
4336
4337 eval "$ac_cv_use_rpath"
4338 if test "$no_cache" != 1; then
4339 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4340 fi
4341
4342 if test "$wxUSE_RPATH" = yes; then
4343 echo "$as_me:$LINENO: result: yes" >&5
4344 echo "${ECHO_T}yes" >&6
4345 else
4346 echo "$as_me:$LINENO: result: no" >&5
4347 echo "${ECHO_T}no" >&6
4348 fi
4349
4350
4351
4352
4353
4354 enablestring=
4355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4356 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4357 no_cache=0
4358 # Check whether --enable-intl or --disable-intl was given.
4359 if test "${enable_intl+set}" = set; then
4360 enableval="$enable_intl"
4361
4362 if test "$enableval" = yes; then
4363 ac_cv_use_intl='wxUSE_INTL=yes'
4364 else
4365 ac_cv_use_intl='wxUSE_INTL=no'
4366 fi
4367
4368 else
4369
4370 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4371 if test "x$LINE" != x ; then
4372 eval "DEFAULT_$LINE"
4373 else
4374 no_cache=1
4375 fi
4376
4377 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4378
4379 fi;
4380
4381 eval "$ac_cv_use_intl"
4382 if test "$no_cache" != 1; then
4383 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4384 fi
4385
4386 if test "$wxUSE_INTL" = yes; then
4387 echo "$as_me:$LINENO: result: yes" >&5
4388 echo "${ECHO_T}yes" >&6
4389 else
4390 echo "$as_me:$LINENO: result: no" >&5
4391 echo "${ECHO_T}no" >&6
4392 fi
4393
4394
4395 enablestring=
4396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4397 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4398 no_cache=0
4399 # Check whether --enable-config or --disable-config was given.
4400 if test "${enable_config+set}" = set; then
4401 enableval="$enable_config"
4402
4403 if test "$enableval" = yes; then
4404 ac_cv_use_config='wxUSE_CONFIG=yes'
4405 else
4406 ac_cv_use_config='wxUSE_CONFIG=no'
4407 fi
4408
4409 else
4410
4411 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4412 if test "x$LINE" != x ; then
4413 eval "DEFAULT_$LINE"
4414 else
4415 no_cache=1
4416 fi
4417
4418 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4419
4420 fi;
4421
4422 eval "$ac_cv_use_config"
4423 if test "$no_cache" != 1; then
4424 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4425 fi
4426
4427 if test "$wxUSE_CONFIG" = yes; then
4428 echo "$as_me:$LINENO: result: yes" >&5
4429 echo "${ECHO_T}yes" >&6
4430 else
4431 echo "$as_me:$LINENO: result: no" >&5
4432 echo "${ECHO_T}no" >&6
4433 fi
4434
4435
4436
4437 enablestring=
4438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4439 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4440 no_cache=0
4441 # Check whether --enable-protocols or --disable-protocols was given.
4442 if test "${enable_protocols+set}" = set; then
4443 enableval="$enable_protocols"
4444
4445 if test "$enableval" = yes; then
4446 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4447 else
4448 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4449 fi
4450
4451 else
4452
4453 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4454 if test "x$LINE" != x ; then
4455 eval "DEFAULT_$LINE"
4456 else
4457 no_cache=1
4458 fi
4459
4460 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4461
4462 fi;
4463
4464 eval "$ac_cv_use_protocols"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4467 fi
4468
4469 if test "$wxUSE_PROTOCOL" = yes; then
4470 echo "$as_me:$LINENO: result: yes" >&5
4471 echo "${ECHO_T}yes" >&6
4472 else
4473 echo "$as_me:$LINENO: result: no" >&5
4474 echo "${ECHO_T}no" >&6
4475 fi
4476
4477
4478 enablestring=
4479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4480 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4481 no_cache=0
4482 # Check whether --enable-ftp or --disable-ftp was given.
4483 if test "${enable_ftp+set}" = set; then
4484 enableval="$enable_ftp"
4485
4486 if test "$enableval" = yes; then
4487 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4488 else
4489 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4490 fi
4491
4492 else
4493
4494 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4495 if test "x$LINE" != x ; then
4496 eval "DEFAULT_$LINE"
4497 else
4498 no_cache=1
4499 fi
4500
4501 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4502
4503 fi;
4504
4505 eval "$ac_cv_use_ftp"
4506 if test "$no_cache" != 1; then
4507 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4508 fi
4509
4510 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4511 echo "$as_me:$LINENO: result: yes" >&5
4512 echo "${ECHO_T}yes" >&6
4513 else
4514 echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6
4516 fi
4517
4518
4519 enablestring=
4520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4521 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4522 no_cache=0
4523 # Check whether --enable-http or --disable-http was given.
4524 if test "${enable_http+set}" = set; then
4525 enableval="$enable_http"
4526
4527 if test "$enableval" = yes; then
4528 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4529 else
4530 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4531 fi
4532
4533 else
4534
4535 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4536 if test "x$LINE" != x ; then
4537 eval "DEFAULT_$LINE"
4538 else
4539 no_cache=1
4540 fi
4541
4542 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4543
4544 fi;
4545
4546 eval "$ac_cv_use_http"
4547 if test "$no_cache" != 1; then
4548 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4549 fi
4550
4551 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4552 echo "$as_me:$LINENO: result: yes" >&5
4553 echo "${ECHO_T}yes" >&6
4554 else
4555 echo "$as_me:$LINENO: result: no" >&5
4556 echo "${ECHO_T}no" >&6
4557 fi
4558
4559
4560 enablestring=
4561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4562 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4563 no_cache=0
4564 # Check whether --enable-fileproto or --disable-fileproto was given.
4565 if test "${enable_fileproto+set}" = set; then
4566 enableval="$enable_fileproto"
4567
4568 if test "$enableval" = yes; then
4569 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4570 else
4571 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4572 fi
4573
4574 else
4575
4576 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4577 if test "x$LINE" != x ; then
4578 eval "DEFAULT_$LINE"
4579 else
4580 no_cache=1
4581 fi
4582
4583 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4584
4585 fi;
4586
4587 eval "$ac_cv_use_fileproto"
4588 if test "$no_cache" != 1; then
4589 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4590 fi
4591
4592 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4593 echo "$as_me:$LINENO: result: yes" >&5
4594 echo "${ECHO_T}yes" >&6
4595 else
4596 echo "$as_me:$LINENO: result: no" >&5
4597 echo "${ECHO_T}no" >&6
4598 fi
4599
4600
4601 enablestring=
4602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4603 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4604 no_cache=0
4605 # Check whether --enable-sockets or --disable-sockets was given.
4606 if test "${enable_sockets+set}" = set; then
4607 enableval="$enable_sockets"
4608
4609 if test "$enableval" = yes; then
4610 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4611 else
4612 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4613 fi
4614
4615 else
4616
4617 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4618 if test "x$LINE" != x ; then
4619 eval "DEFAULT_$LINE"
4620 else
4621 no_cache=1
4622 fi
4623
4624 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4625
4626 fi;
4627
4628 eval "$ac_cv_use_sockets"
4629 if test "$no_cache" != 1; then
4630 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4631 fi
4632
4633 if test "$wxUSE_SOCKETS" = yes; then
4634 echo "$as_me:$LINENO: result: yes" >&5
4635 echo "${ECHO_T}yes" >&6
4636 else
4637 echo "$as_me:$LINENO: result: no" >&5
4638 echo "${ECHO_T}no" >&6
4639 fi
4640
4641
4642 enablestring=
4643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4644 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4645 no_cache=0
4646 # Check whether --enable-ole or --disable-ole was given.
4647 if test "${enable_ole+set}" = set; then
4648 enableval="$enable_ole"
4649
4650 if test "$enableval" = yes; then
4651 ac_cv_use_ole='wxUSE_OLE=yes'
4652 else
4653 ac_cv_use_ole='wxUSE_OLE=no'
4654 fi
4655
4656 else
4657
4658 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4659 if test "x$LINE" != x ; then
4660 eval "DEFAULT_$LINE"
4661 else
4662 no_cache=1
4663 fi
4664
4665 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4666
4667 fi;
4668
4669 eval "$ac_cv_use_ole"
4670 if test "$no_cache" != 1; then
4671 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4672 fi
4673
4674 if test "$wxUSE_OLE" = yes; then
4675 echo "$as_me:$LINENO: result: yes" >&5
4676 echo "${ECHO_T}yes" >&6
4677 else
4678 echo "$as_me:$LINENO: result: no" >&5
4679 echo "${ECHO_T}no" >&6
4680 fi
4681
4682
4683 enablestring=
4684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4685 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4686 no_cache=0
4687 # Check whether --enable-dataobj or --disable-dataobj was given.
4688 if test "${enable_dataobj+set}" = set; then
4689 enableval="$enable_dataobj"
4690
4691 if test "$enableval" = yes; then
4692 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4693 else
4694 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4695 fi
4696
4697 else
4698
4699 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4700 if test "x$LINE" != x ; then
4701 eval "DEFAULT_$LINE"
4702 else
4703 no_cache=1
4704 fi
4705
4706 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4707
4708 fi;
4709
4710 eval "$ac_cv_use_dataobj"
4711 if test "$no_cache" != 1; then
4712 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4713 fi
4714
4715 if test "$wxUSE_DATAOBJ" = yes; then
4716 echo "$as_me:$LINENO: result: yes" >&5
4717 echo "${ECHO_T}yes" >&6
4718 else
4719 echo "$as_me:$LINENO: result: no" >&5
4720 echo "${ECHO_T}no" >&6
4721 fi
4722
4723
4724
4725 enablestring=
4726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4727 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4728 no_cache=0
4729 # Check whether --enable-ipc or --disable-ipc was given.
4730 if test "${enable_ipc+set}" = set; then
4731 enableval="$enable_ipc"
4732
4733 if test "$enableval" = yes; then
4734 ac_cv_use_ipc='wxUSE_IPC=yes'
4735 else
4736 ac_cv_use_ipc='wxUSE_IPC=no'
4737 fi
4738
4739 else
4740
4741 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4742 if test "x$LINE" != x ; then
4743 eval "DEFAULT_$LINE"
4744 else
4745 no_cache=1
4746 fi
4747
4748 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4749
4750 fi;
4751
4752 eval "$ac_cv_use_ipc"
4753 if test "$no_cache" != 1; then
4754 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4755 fi
4756
4757 if test "$wxUSE_IPC" = yes; then
4758 echo "$as_me:$LINENO: result: yes" >&5
4759 echo "${ECHO_T}yes" >&6
4760 else
4761 echo "$as_me:$LINENO: result: no" >&5
4762 echo "${ECHO_T}no" >&6
4763 fi
4764
4765
4766
4767 enablestring=
4768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4769 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4770 no_cache=0
4771 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4772 if test "${enable_apple_ieee+set}" = set; then
4773 enableval="$enable_apple_ieee"
4774
4775 if test "$enableval" = yes; then
4776 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4777 else
4778 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4779 fi
4780
4781 else
4782
4783 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4784 if test "x$LINE" != x ; then
4785 eval "DEFAULT_$LINE"
4786 else
4787 no_cache=1
4788 fi
4789
4790 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4791
4792 fi;
4793
4794 eval "$ac_cv_use_apple_ieee"
4795 if test "$no_cache" != 1; then
4796 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4797 fi
4798
4799 if test "$wxUSE_APPLE_IEEE" = yes; then
4800 echo "$as_me:$LINENO: result: yes" >&5
4801 echo "${ECHO_T}yes" >&6
4802 else
4803 echo "$as_me:$LINENO: result: no" >&5
4804 echo "${ECHO_T}no" >&6
4805 fi
4806
4807
4808 enablestring=
4809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4810 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4811 no_cache=0
4812 # Check whether --enable-arcstream or --disable-arcstream was given.
4813 if test "${enable_arcstream+set}" = set; then
4814 enableval="$enable_arcstream"
4815
4816 if test "$enableval" = yes; then
4817 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4818 else
4819 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4820 fi
4821
4822 else
4823
4824 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4825 if test "x$LINE" != x ; then
4826 eval "DEFAULT_$LINE"
4827 else
4828 no_cache=1
4829 fi
4830
4831 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4832
4833 fi;
4834
4835 eval "$ac_cv_use_arcstream"
4836 if test "$no_cache" != 1; then
4837 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4838 fi
4839
4840 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4841 echo "$as_me:$LINENO: result: yes" >&5
4842 echo "${ECHO_T}yes" >&6
4843 else
4844 echo "$as_me:$LINENO: result: no" >&5
4845 echo "${ECHO_T}no" >&6
4846 fi
4847
4848
4849 enablestring=
4850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4851 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4852 no_cache=0
4853 # Check whether --enable-backtrace or --disable-backtrace was given.
4854 if test "${enable_backtrace+set}" = set; then
4855 enableval="$enable_backtrace"
4856
4857 if test "$enableval" = yes; then
4858 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4859 else
4860 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4861 fi
4862
4863 else
4864
4865 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x ; then
4867 eval "DEFAULT_$LINE"
4868 else
4869 no_cache=1
4870 fi
4871
4872 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4873
4874 fi;
4875
4876 eval "$ac_cv_use_backtrace"
4877 if test "$no_cache" != 1; then
4878 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4879 fi
4880
4881 if test "$wxUSE_STACKWALKER" = yes; then
4882 echo "$as_me:$LINENO: result: yes" >&5
4883 echo "${ECHO_T}yes" >&6
4884 else
4885 echo "$as_me:$LINENO: result: no" >&5
4886 echo "${ECHO_T}no" >&6
4887 fi
4888
4889
4890 enablestring=
4891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4892 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4893 no_cache=0
4894 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4895 if test "${enable_catch_segvs+set}" = set; then
4896 enableval="$enable_catch_segvs"
4897
4898 if test "$enableval" = yes; then
4899 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4900 else
4901 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4902 fi
4903
4904 else
4905
4906 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4907 if test "x$LINE" != x ; then
4908 eval "DEFAULT_$LINE"
4909 else
4910 no_cache=1
4911 fi
4912
4913 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4914
4915 fi;
4916
4917 eval "$ac_cv_use_catch_segvs"
4918 if test "$no_cache" != 1; then
4919 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4920 fi
4921
4922 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4923 echo "$as_me:$LINENO: result: yes" >&5
4924 echo "${ECHO_T}yes" >&6
4925 else
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4928 fi
4929
4930
4931 enablestring=
4932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4933 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4934 no_cache=0
4935 # Check whether --enable-cmdline or --disable-cmdline was given.
4936 if test "${enable_cmdline+set}" = set; then
4937 enableval="$enable_cmdline"
4938
4939 if test "$enableval" = yes; then
4940 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4941 else
4942 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4943 fi
4944
4945 else
4946
4947 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x ; then
4949 eval "DEFAULT_$LINE"
4950 else
4951 no_cache=1
4952 fi
4953
4954 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4955
4956 fi;
4957
4958 eval "$ac_cv_use_cmdline"
4959 if test "$no_cache" != 1; then
4960 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4961 fi
4962
4963 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4964 echo "$as_me:$LINENO: result: yes" >&5
4965 echo "${ECHO_T}yes" >&6
4966 else
4967 echo "$as_me:$LINENO: result: no" >&5
4968 echo "${ECHO_T}no" >&6
4969 fi
4970
4971
4972 enablestring=
4973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4974 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4975 no_cache=0
4976 # Check whether --enable-datetime or --disable-datetime was given.
4977 if test "${enable_datetime+set}" = set; then
4978 enableval="$enable_datetime"
4979
4980 if test "$enableval" = yes; then
4981 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4982 else
4983 ac_cv_use_datetime='wxUSE_DATETIME=no'
4984 fi
4985
4986 else
4987
4988 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4989 if test "x$LINE" != x ; then
4990 eval "DEFAULT_$LINE"
4991 else
4992 no_cache=1
4993 fi
4994
4995 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4996
4997 fi;
4998
4999 eval "$ac_cv_use_datetime"
5000 if test "$no_cache" != 1; then
5001 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5002 fi
5003
5004 if test "$wxUSE_DATETIME" = yes; then
5005 echo "$as_me:$LINENO: result: yes" >&5
5006 echo "${ECHO_T}yes" >&6
5007 else
5008 echo "$as_me:$LINENO: result: no" >&5
5009 echo "${ECHO_T}no" >&6
5010 fi
5011
5012
5013 enablestring=
5014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5015 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5016 no_cache=0
5017 # Check whether --enable-debugreport or --disable-debugreport was given.
5018 if test "${enable_debugreport+set}" = set; then
5019 enableval="$enable_debugreport"
5020
5021 if test "$enableval" = yes; then
5022 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5023 else
5024 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5025 fi
5026
5027 else
5028
5029 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5030 if test "x$LINE" != x ; then
5031 eval "DEFAULT_$LINE"
5032 else
5033 no_cache=1
5034 fi
5035
5036 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5037
5038 fi;
5039
5040 eval "$ac_cv_use_debugreport"
5041 if test "$no_cache" != 1; then
5042 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5043 fi
5044
5045 if test "$wxUSE_DEBUGREPORT" = yes; then
5046 echo "$as_me:$LINENO: result: yes" >&5
5047 echo "${ECHO_T}yes" >&6
5048 else
5049 echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6
5051 fi
5052
5053
5054 enablestring=
5055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5056 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5057 no_cache=0
5058 # Check whether --enable-dialupman or --disable-dialupman was given.
5059 if test "${enable_dialupman+set}" = set; then
5060 enableval="$enable_dialupman"
5061
5062 if test "$enableval" = yes; then
5063 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5064 else
5065 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5066 fi
5067
5068 else
5069
5070 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5071 if test "x$LINE" != x ; then
5072 eval "DEFAULT_$LINE"
5073 else
5074 no_cache=1
5075 fi
5076
5077 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5078
5079 fi;
5080
5081 eval "$ac_cv_use_dialupman"
5082 if test "$no_cache" != 1; then
5083 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5084 fi
5085
5086 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5087 echo "$as_me:$LINENO: result: yes" >&5
5088 echo "${ECHO_T}yes" >&6
5089 else
5090 echo "$as_me:$LINENO: result: no" >&5
5091 echo "${ECHO_T}no" >&6
5092 fi
5093
5094
5095 enablestring=
5096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5097 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5098 no_cache=0
5099 # Check whether --enable-dynlib or --disable-dynlib was given.
5100 if test "${enable_dynlib+set}" = set; then
5101 enableval="$enable_dynlib"
5102
5103 if test "$enableval" = yes; then
5104 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5105 else
5106 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5107 fi
5108
5109 else
5110
5111 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5112 if test "x$LINE" != x ; then
5113 eval "DEFAULT_$LINE"
5114 else
5115 no_cache=1
5116 fi
5117
5118 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5119
5120 fi;
5121
5122 eval "$ac_cv_use_dynlib"
5123 if test "$no_cache" != 1; then
5124 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5125 fi
5126
5127 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5128 echo "$as_me:$LINENO: result: yes" >&5
5129 echo "${ECHO_T}yes" >&6
5130 else
5131 echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6
5133 fi
5134
5135
5136 enablestring=
5137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5138 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5139 no_cache=0
5140 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5141 if test "${enable_dynamicloader+set}" = set; then
5142 enableval="$enable_dynamicloader"
5143
5144 if test "$enableval" = yes; then
5145 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5146 else
5147 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5148 fi
5149
5150 else
5151
5152 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5153 if test "x$LINE" != x ; then
5154 eval "DEFAULT_$LINE"
5155 else
5156 no_cache=1
5157 fi
5158
5159 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5160
5161 fi;
5162
5163 eval "$ac_cv_use_dynamicloader"
5164 if test "$no_cache" != 1; then
5165 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5166 fi
5167
5168 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5169 echo "$as_me:$LINENO: result: yes" >&5
5170 echo "${ECHO_T}yes" >&6
5171 else
5172 echo "$as_me:$LINENO: result: no" >&5
5173 echo "${ECHO_T}no" >&6
5174 fi
5175
5176
5177 enablestring=
5178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5179 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5180 no_cache=0
5181 # Check whether --enable-exceptions or --disable-exceptions was given.
5182 if test "${enable_exceptions+set}" = set; then
5183 enableval="$enable_exceptions"
5184
5185 if test "$enableval" = yes; then
5186 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5187 else
5188 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5189 fi
5190
5191 else
5192
5193 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5194 if test "x$LINE" != x ; then
5195 eval "DEFAULT_$LINE"
5196 else
5197 no_cache=1
5198 fi
5199
5200 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5201
5202 fi;
5203
5204 eval "$ac_cv_use_exceptions"
5205 if test "$no_cache" != 1; then
5206 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5207 fi
5208
5209 if test "$wxUSE_EXCEPTIONS" = yes; then
5210 echo "$as_me:$LINENO: result: yes" >&5
5211 echo "${ECHO_T}yes" >&6
5212 else
5213 echo "$as_me:$LINENO: result: no" >&5
5214 echo "${ECHO_T}no" >&6
5215 fi
5216
5217
5218 enablestring=
5219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5220 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5221 no_cache=0
5222 # Check whether --enable-ffile or --disable-ffile was given.
5223 if test "${enable_ffile+set}" = set; then
5224 enableval="$enable_ffile"
5225
5226 if test "$enableval" = yes; then
5227 ac_cv_use_ffile='wxUSE_FFILE=yes'
5228 else
5229 ac_cv_use_ffile='wxUSE_FFILE=no'
5230 fi
5231
5232 else
5233
5234 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x ; then
5236 eval "DEFAULT_$LINE"
5237 else
5238 no_cache=1
5239 fi
5240
5241 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5242
5243 fi;
5244
5245 eval "$ac_cv_use_ffile"
5246 if test "$no_cache" != 1; then
5247 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5248 fi
5249
5250 if test "$wxUSE_FFILE" = yes; then
5251 echo "$as_me:$LINENO: result: yes" >&5
5252 echo "${ECHO_T}yes" >&6
5253 else
5254 echo "$as_me:$LINENO: result: no" >&5
5255 echo "${ECHO_T}no" >&6
5256 fi
5257
5258
5259 enablestring=
5260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5261 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5262 no_cache=0
5263 # Check whether --enable-file or --disable-file was given.
5264 if test "${enable_file+set}" = set; then
5265 enableval="$enable_file"
5266
5267 if test "$enableval" = yes; then
5268 ac_cv_use_file='wxUSE_FILE=yes'
5269 else
5270 ac_cv_use_file='wxUSE_FILE=no'
5271 fi
5272
5273 else
5274
5275 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5276 if test "x$LINE" != x ; then
5277 eval "DEFAULT_$LINE"
5278 else
5279 no_cache=1
5280 fi
5281
5282 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5283
5284 fi;
5285
5286 eval "$ac_cv_use_file"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5289 fi
5290
5291 if test "$wxUSE_FILE" = yes; then
5292 echo "$as_me:$LINENO: result: yes" >&5
5293 echo "${ECHO_T}yes" >&6
5294 else
5295 echo "$as_me:$LINENO: result: no" >&5
5296 echo "${ECHO_T}no" >&6
5297 fi
5298
5299
5300 enablestring=
5301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5303 no_cache=0
5304 # Check whether --enable-filesystem or --disable-filesystem was given.
5305 if test "${enable_filesystem+set}" = set; then
5306 enableval="$enable_filesystem"
5307
5308 if test "$enableval" = yes; then
5309 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5310 else
5311 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5312 fi
5313
5314 else
5315
5316 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x ; then
5318 eval "DEFAULT_$LINE"
5319 else
5320 no_cache=1
5321 fi
5322
5323 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5324
5325 fi;
5326
5327 eval "$ac_cv_use_filesystem"
5328 if test "$no_cache" != 1; then
5329 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5330 fi
5331
5332 if test "$wxUSE_FILESYSTEM" = yes; then
5333 echo "$as_me:$LINENO: result: yes" >&5
5334 echo "${ECHO_T}yes" >&6
5335 else
5336 echo "$as_me:$LINENO: result: no" >&5
5337 echo "${ECHO_T}no" >&6
5338 fi
5339
5340
5341 enablestring=
5342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5343 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5344 no_cache=0
5345 # Check whether --enable-fontmap or --disable-fontmap was given.
5346 if test "${enable_fontmap+set}" = set; then
5347 enableval="$enable_fontmap"
5348
5349 if test "$enableval" = yes; then
5350 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5351 else
5352 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5353 fi
5354
5355 else
5356
5357 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5358 if test "x$LINE" != x ; then
5359 eval "DEFAULT_$LINE"
5360 else
5361 no_cache=1
5362 fi
5363
5364 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5365
5366 fi;
5367
5368 eval "$ac_cv_use_fontmap"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5371 fi
5372
5373 if test "$wxUSE_FONTMAP" = yes; then
5374 echo "$as_me:$LINENO: result: yes" >&5
5375 echo "${ECHO_T}yes" >&6
5376 else
5377 echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6
5379 fi
5380
5381
5382 enablestring=
5383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5384 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5385 no_cache=0
5386 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5387 if test "${enable_fs_inet+set}" = set; then
5388 enableval="$enable_fs_inet"
5389
5390 if test "$enableval" = yes; then
5391 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5392 else
5393 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5394 fi
5395
5396 else
5397
5398 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5399 if test "x$LINE" != x ; then
5400 eval "DEFAULT_$LINE"
5401 else
5402 no_cache=1
5403 fi
5404
5405 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5406
5407 fi;
5408
5409 eval "$ac_cv_use_fs_inet"
5410 if test "$no_cache" != 1; then
5411 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5412 fi
5413
5414 if test "$wxUSE_FS_INET" = yes; then
5415 echo "$as_me:$LINENO: result: yes" >&5
5416 echo "${ECHO_T}yes" >&6
5417 else
5418 echo "$as_me:$LINENO: result: no" >&5
5419 echo "${ECHO_T}no" >&6
5420 fi
5421
5422
5423 enablestring=
5424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5425 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5426 no_cache=0
5427 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5428 if test "${enable_fs_zip+set}" = set; then
5429 enableval="$enable_fs_zip"
5430
5431 if test "$enableval" = yes; then
5432 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5433 else
5434 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5435 fi
5436
5437 else
5438
5439 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5440 if test "x$LINE" != x ; then
5441 eval "DEFAULT_$LINE"
5442 else
5443 no_cache=1
5444 fi
5445
5446 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5447
5448 fi;
5449
5450 eval "$ac_cv_use_fs_zip"
5451 if test "$no_cache" != 1; then
5452 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5453 fi
5454
5455 if test "$wxUSE_FS_ZIP" = yes; then
5456 echo "$as_me:$LINENO: result: yes" >&5
5457 echo "${ECHO_T}yes" >&6
5458 else
5459 echo "$as_me:$LINENO: result: no" >&5
5460 echo "${ECHO_T}no" >&6
5461 fi
5462
5463
5464 enablestring=
5465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5466 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5467 no_cache=0
5468 # Check whether --enable-geometry or --disable-geometry was given.
5469 if test "${enable_geometry+set}" = set; then
5470 enableval="$enable_geometry"
5471
5472 if test "$enableval" = yes; then
5473 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5474 else
5475 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5476 fi
5477
5478 else
5479
5480 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5481 if test "x$LINE" != x ; then
5482 eval "DEFAULT_$LINE"
5483 else
5484 no_cache=1
5485 fi
5486
5487 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5488
5489 fi;
5490
5491 eval "$ac_cv_use_geometry"
5492 if test "$no_cache" != 1; then
5493 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5494 fi
5495
5496 if test "$wxUSE_GEOMETRY" = yes; then
5497 echo "$as_me:$LINENO: result: yes" >&5
5498 echo "${ECHO_T}yes" >&6
5499 else
5500 echo "$as_me:$LINENO: result: no" >&5
5501 echo "${ECHO_T}no" >&6
5502 fi
5503
5504
5505 enablestring=
5506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5507 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5508 no_cache=0
5509 # Check whether --enable-log or --disable-log was given.
5510 if test "${enable_log+set}" = set; then
5511 enableval="$enable_log"
5512
5513 if test "$enableval" = yes; then
5514 ac_cv_use_log='wxUSE_LOG=yes'
5515 else
5516 ac_cv_use_log='wxUSE_LOG=no'
5517 fi
5518
5519 else
5520
5521 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5522 if test "x$LINE" != x ; then
5523 eval "DEFAULT_$LINE"
5524 else
5525 no_cache=1
5526 fi
5527
5528 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5529
5530 fi;
5531
5532 eval "$ac_cv_use_log"
5533 if test "$no_cache" != 1; then
5534 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5535 fi
5536
5537 if test "$wxUSE_LOG" = yes; then
5538 echo "$as_me:$LINENO: result: yes" >&5
5539 echo "${ECHO_T}yes" >&6
5540 else
5541 echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6
5543 fi
5544
5545
5546 enablestring=
5547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5549 no_cache=0
5550 # Check whether --enable-longlong or --disable-longlong was given.
5551 if test "${enable_longlong+set}" = set; then
5552 enableval="$enable_longlong"
5553
5554 if test "$enableval" = yes; then
5555 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5556 else
5557 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5558 fi
5559
5560 else
5561
5562 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5563 if test "x$LINE" != x ; then
5564 eval "DEFAULT_$LINE"
5565 else
5566 no_cache=1
5567 fi
5568
5569 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5570
5571 fi;
5572
5573 eval "$ac_cv_use_longlong"
5574 if test "$no_cache" != 1; then
5575 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5576 fi
5577
5578 if test "$wxUSE_LONGLONG" = yes; then
5579 echo "$as_me:$LINENO: result: yes" >&5
5580 echo "${ECHO_T}yes" >&6
5581 else
5582 echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6
5584 fi
5585
5586
5587 enablestring=
5588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5590 no_cache=0
5591 # Check whether --enable-mimetype or --disable-mimetype was given.
5592 if test "${enable_mimetype+set}" = set; then
5593 enableval="$enable_mimetype"
5594
5595 if test "$enableval" = yes; then
5596 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5597 else
5598 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5599 fi
5600
5601 else
5602
5603 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5604 if test "x$LINE" != x ; then
5605 eval "DEFAULT_$LINE"
5606 else
5607 no_cache=1
5608 fi
5609
5610 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5611
5612 fi;
5613
5614 eval "$ac_cv_use_mimetype"
5615 if test "$no_cache" != 1; then
5616 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5617 fi
5618
5619 if test "$wxUSE_MIMETYPE" = yes; then
5620 echo "$as_me:$LINENO: result: yes" >&5
5621 echo "${ECHO_T}yes" >&6
5622 else
5623 echo "$as_me:$LINENO: result: no" >&5
5624 echo "${ECHO_T}no" >&6
5625 fi
5626
5627
5628 enablestring=
5629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5630 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5631 no_cache=0
5632 # Check whether --enable-mslu or --disable-mslu was given.
5633 if test "${enable_mslu+set}" = set; then
5634 enableval="$enable_mslu"
5635
5636 if test "$enableval" = yes; then
5637 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5638 else
5639 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5640 fi
5641
5642 else
5643
5644 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x ; then
5646 eval "DEFAULT_$LINE"
5647 else
5648 no_cache=1
5649 fi
5650
5651 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5652
5653 fi;
5654
5655 eval "$ac_cv_use_mslu"
5656 if test "$no_cache" != 1; then
5657 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5658 fi
5659
5660 if test "$wxUSE_UNICODE_MSLU" = yes; then
5661 echo "$as_me:$LINENO: result: yes" >&5
5662 echo "${ECHO_T}yes" >&6
5663 else
5664 echo "$as_me:$LINENO: result: no" >&5
5665 echo "${ECHO_T}no" >&6
5666 fi
5667
5668
5669 enablestring=
5670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5671 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5672 no_cache=0
5673 # Check whether --enable-snglinst or --disable-snglinst was given.
5674 if test "${enable_snglinst+set}" = set; then
5675 enableval="$enable_snglinst"
5676
5677 if test "$enableval" = yes; then
5678 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5679 else
5680 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5681 fi
5682
5683 else
5684
5685 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5686 if test "x$LINE" != x ; then
5687 eval "DEFAULT_$LINE"
5688 else
5689 no_cache=1
5690 fi
5691
5692 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5693
5694 fi;
5695
5696 eval "$ac_cv_use_snglinst"
5697 if test "$no_cache" != 1; then
5698 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5699 fi
5700
5701 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5702 echo "$as_me:$LINENO: result: yes" >&5
5703 echo "${ECHO_T}yes" >&6
5704 else
5705 echo "$as_me:$LINENO: result: no" >&5
5706 echo "${ECHO_T}no" >&6
5707 fi
5708
5709
5710 enablestring=
5711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5712 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5713 no_cache=0
5714 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5715 if test "${enable_std_iostreams+set}" = set; then
5716 enableval="$enable_std_iostreams"
5717
5718 if test "$enableval" = yes; then
5719 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5720 else
5721 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5722 fi
5723
5724 else
5725
5726 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5727 if test "x$LINE" != x ; then
5728 eval "DEFAULT_$LINE"
5729 else
5730 no_cache=1
5731 fi
5732
5733 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5734
5735 fi;
5736
5737 eval "$ac_cv_use_std_iostreams"
5738 if test "$no_cache" != 1; then
5739 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5740 fi
5741
5742 if test "$wxUSE_STD_IOSTREAM" = yes; then
5743 echo "$as_me:$LINENO: result: yes" >&5
5744 echo "${ECHO_T}yes" >&6
5745 else
5746 echo "$as_me:$LINENO: result: no" >&5
5747 echo "${ECHO_T}no" >&6
5748 fi
5749
5750
5751 enablestring=
5752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5753 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5754 no_cache=0
5755 # Check whether --enable-std_string or --disable-std_string was given.
5756 if test "${enable_std_string+set}" = set; then
5757 enableval="$enable_std_string"
5758
5759 if test "$enableval" = yes; then
5760 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5761 else
5762 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5763 fi
5764
5765 else
5766
5767 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5768 if test "x$LINE" != x ; then
5769 eval "DEFAULT_$LINE"
5770 else
5771 no_cache=1
5772 fi
5773
5774 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5775
5776 fi;
5777
5778 eval "$ac_cv_use_std_string"
5779 if test "$no_cache" != 1; then
5780 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5781 fi
5782
5783 if test "$wxUSE_STD_STRING" = yes; then
5784 echo "$as_me:$LINENO: result: yes" >&5
5785 echo "${ECHO_T}yes" >&6
5786 else
5787 echo "$as_me:$LINENO: result: no" >&5
5788 echo "${ECHO_T}no" >&6
5789 fi
5790
5791
5792 enablestring=
5793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5794 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5795 no_cache=0
5796 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5797 if test "${enable_stdpaths+set}" = set; then
5798 enableval="$enable_stdpaths"
5799
5800 if test "$enableval" = yes; then
5801 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5802 else
5803 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5804 fi
5805
5806 else
5807
5808 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5809 if test "x$LINE" != x ; then
5810 eval "DEFAULT_$LINE"
5811 else
5812 no_cache=1
5813 fi
5814
5815 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5816
5817 fi;
5818
5819 eval "$ac_cv_use_stdpaths"
5820 if test "$no_cache" != 1; then
5821 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5822 fi
5823
5824 if test "$wxUSE_STDPATHS" = yes; then
5825 echo "$as_me:$LINENO: result: yes" >&5
5826 echo "${ECHO_T}yes" >&6
5827 else
5828 echo "$as_me:$LINENO: result: no" >&5
5829 echo "${ECHO_T}no" >&6
5830 fi
5831
5832
5833 enablestring=
5834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5836 no_cache=0
5837 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5838 if test "${enable_stopwatch+set}" = set; then
5839 enableval="$enable_stopwatch"
5840
5841 if test "$enableval" = yes; then
5842 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5843 else
5844 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5845 fi
5846
5847 else
5848
5849 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5850 if test "x$LINE" != x ; then
5851 eval "DEFAULT_$LINE"
5852 else
5853 no_cache=1
5854 fi
5855
5856 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5857
5858 fi;
5859
5860 eval "$ac_cv_use_stopwatch"
5861 if test "$no_cache" != 1; then
5862 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5863 fi
5864
5865 if test "$wxUSE_STOPWATCH" = yes; then
5866 echo "$as_me:$LINENO: result: yes" >&5
5867 echo "${ECHO_T}yes" >&6
5868 else
5869 echo "$as_me:$LINENO: result: no" >&5
5870 echo "${ECHO_T}no" >&6
5871 fi
5872
5873
5874 enablestring=
5875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5876 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5877 no_cache=0
5878 # Check whether --enable-streams or --disable-streams was given.
5879 if test "${enable_streams+set}" = set; then
5880 enableval="$enable_streams"
5881
5882 if test "$enableval" = yes; then
5883 ac_cv_use_streams='wxUSE_STREAMS=yes'
5884 else
5885 ac_cv_use_streams='wxUSE_STREAMS=no'
5886 fi
5887
5888 else
5889
5890 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5891 if test "x$LINE" != x ; then
5892 eval "DEFAULT_$LINE"
5893 else
5894 no_cache=1
5895 fi
5896
5897 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5898
5899 fi;
5900
5901 eval "$ac_cv_use_streams"
5902 if test "$no_cache" != 1; then
5903 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5904 fi
5905
5906 if test "$wxUSE_STREAMS" = yes; then
5907 echo "$as_me:$LINENO: result: yes" >&5
5908 echo "${ECHO_T}yes" >&6
5909 else
5910 echo "$as_me:$LINENO: result: no" >&5
5911 echo "${ECHO_T}no" >&6
5912 fi
5913
5914
5915 enablestring=
5916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5917 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5918 no_cache=0
5919 # Check whether --enable-system_options or --disable-system_options was given.
5920 if test "${enable_system_options+set}" = set; then
5921 enableval="$enable_system_options"
5922
5923 if test "$enableval" = yes; then
5924 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5925 else
5926 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5927 fi
5928
5929 else
5930
5931 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5932 if test "x$LINE" != x ; then
5933 eval "DEFAULT_$LINE"
5934 else
5935 no_cache=1
5936 fi
5937
5938 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5939
5940 fi;
5941
5942 eval "$ac_cv_use_system_options"
5943 if test "$no_cache" != 1; then
5944 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5945 fi
5946
5947 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5948 echo "$as_me:$LINENO: result: yes" >&5
5949 echo "${ECHO_T}yes" >&6
5950 else
5951 echo "$as_me:$LINENO: result: no" >&5
5952 echo "${ECHO_T}no" >&6
5953 fi
5954
5955
5956 enablestring=
5957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5958 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5959 no_cache=0
5960 # Check whether --enable-textbuf or --disable-textbuf was given.
5961 if test "${enable_textbuf+set}" = set; then
5962 enableval="$enable_textbuf"
5963
5964 if test "$enableval" = yes; then
5965 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5966 else
5967 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5968 fi
5969
5970 else
5971
5972 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5973 if test "x$LINE" != x ; then
5974 eval "DEFAULT_$LINE"
5975 else
5976 no_cache=1
5977 fi
5978
5979 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5980
5981 fi;
5982
5983 eval "$ac_cv_use_textbuf"
5984 if test "$no_cache" != 1; then
5985 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5986 fi
5987
5988 if test "$wxUSE_TEXTBUFFER" = yes; then
5989 echo "$as_me:$LINENO: result: yes" >&5
5990 echo "${ECHO_T}yes" >&6
5991 else
5992 echo "$as_me:$LINENO: result: no" >&5
5993 echo "${ECHO_T}no" >&6
5994 fi
5995
5996
5997 enablestring=
5998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5999 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6000 no_cache=0
6001 # Check whether --enable-textfile or --disable-textfile was given.
6002 if test "${enable_textfile+set}" = set; then
6003 enableval="$enable_textfile"
6004
6005 if test "$enableval" = yes; then
6006 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6007 else
6008 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6009 fi
6010
6011 else
6012
6013 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6014 if test "x$LINE" != x ; then
6015 eval "DEFAULT_$LINE"
6016 else
6017 no_cache=1
6018 fi
6019
6020 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6021
6022 fi;
6023
6024 eval "$ac_cv_use_textfile"
6025 if test "$no_cache" != 1; then
6026 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6027 fi
6028
6029 if test "$wxUSE_TEXTFILE" = yes; then
6030 echo "$as_me:$LINENO: result: yes" >&5
6031 echo "${ECHO_T}yes" >&6
6032 else
6033 echo "$as_me:$LINENO: result: no" >&5
6034 echo "${ECHO_T}no" >&6
6035 fi
6036
6037
6038 enablestring=
6039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6040 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6041 no_cache=0
6042 # Check whether --enable-timer or --disable-timer was given.
6043 if test "${enable_timer+set}" = set; then
6044 enableval="$enable_timer"
6045
6046 if test "$enableval" = yes; then
6047 ac_cv_use_timer='wxUSE_TIMER=yes'
6048 else
6049 ac_cv_use_timer='wxUSE_TIMER=no'
6050 fi
6051
6052 else
6053
6054 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6055 if test "x$LINE" != x ; then
6056 eval "DEFAULT_$LINE"
6057 else
6058 no_cache=1
6059 fi
6060
6061 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6062
6063 fi;
6064
6065 eval "$ac_cv_use_timer"
6066 if test "$no_cache" != 1; then
6067 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6068 fi
6069
6070 if test "$wxUSE_TIMER" = yes; then
6071 echo "$as_me:$LINENO: result: yes" >&5
6072 echo "${ECHO_T}yes" >&6
6073 else
6074 echo "$as_me:$LINENO: result: no" >&5
6075 echo "${ECHO_T}no" >&6
6076 fi
6077
6078
6079 enablestring=
6080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6081 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6082 no_cache=0
6083 # Check whether --enable-unicode or --disable-unicode was given.
6084 if test "${enable_unicode+set}" = set; then
6085 enableval="$enable_unicode"
6086
6087 if test "$enableval" = yes; then
6088 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6089 else
6090 ac_cv_use_unicode='wxUSE_UNICODE=no'
6091 fi
6092
6093 else
6094
6095 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6096 if test "x$LINE" != x ; then
6097 eval "DEFAULT_$LINE"
6098 else
6099 no_cache=1
6100 fi
6101
6102 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6103
6104 fi;
6105
6106 eval "$ac_cv_use_unicode"
6107 if test "$no_cache" != 1; then
6108 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6109 fi
6110
6111 if test "$wxUSE_UNICODE" = yes; then
6112 echo "$as_me:$LINENO: result: yes" >&5
6113 echo "${ECHO_T}yes" >&6
6114 else
6115 echo "$as_me:$LINENO: result: no" >&5
6116 echo "${ECHO_T}no" >&6
6117 fi
6118
6119
6120 enablestring=
6121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6122 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6123 no_cache=0
6124 # Check whether --enable-sound or --disable-sound was given.
6125 if test "${enable_sound+set}" = set; then
6126 enableval="$enable_sound"
6127
6128 if test "$enableval" = yes; then
6129 ac_cv_use_sound='wxUSE_SOUND=yes'
6130 else
6131 ac_cv_use_sound='wxUSE_SOUND=no'
6132 fi
6133
6134 else
6135
6136 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6137 if test "x$LINE" != x ; then
6138 eval "DEFAULT_$LINE"
6139 else
6140 no_cache=1
6141 fi
6142
6143 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6144
6145 fi;
6146
6147 eval "$ac_cv_use_sound"
6148 if test "$no_cache" != 1; then
6149 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6150 fi
6151
6152 if test "$wxUSE_SOUND" = yes; then
6153 echo "$as_me:$LINENO: result: yes" >&5
6154 echo "${ECHO_T}yes" >&6
6155 else
6156 echo "$as_me:$LINENO: result: no" >&5
6157 echo "${ECHO_T}no" >&6
6158 fi
6159
6160
6161 enablestring=
6162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6163 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6164 no_cache=0
6165 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6166 if test "${enable_mediactrl+set}" = set; then
6167 enableval="$enable_mediactrl"
6168
6169 if test "$enableval" = yes; then
6170 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6171 else
6172 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6173 fi
6174
6175 else
6176
6177 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6178 if test "x$LINE" != x ; then
6179 eval "DEFAULT_$LINE"
6180 else
6181 no_cache=1
6182 fi
6183
6184 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6185
6186 fi;
6187
6188 eval "$ac_cv_use_mediactrl"
6189 if test "$no_cache" != 1; then
6190 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6191 fi
6192
6193 if test "$wxUSE_MEDIACTRL" = yes; then
6194 echo "$as_me:$LINENO: result: yes" >&5
6195 echo "${ECHO_T}yes" >&6
6196 else
6197 echo "$as_me:$LINENO: result: no" >&5
6198 echo "${ECHO_T}no" >&6
6199 fi
6200
6201
6202 enablestring=
6203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6204 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6205 no_cache=0
6206 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6207 if test "${enable_wxprintfv+set}" = set; then
6208 enableval="$enable_wxprintfv"
6209
6210 if test "$enableval" = yes; then
6211 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6212 else
6213 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6214 fi
6215
6216 else
6217
6218 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6219 if test "x$LINE" != x ; then
6220 eval "DEFAULT_$LINE"
6221 else
6222 no_cache=1
6223 fi
6224
6225 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6226
6227 fi;
6228
6229 eval "$ac_cv_use_wxprintfv"
6230 if test "$no_cache" != 1; then
6231 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6232 fi
6233
6234 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6235 echo "$as_me:$LINENO: result: yes" >&5
6236 echo "${ECHO_T}yes" >&6
6237 else
6238 echo "$as_me:$LINENO: result: no" >&5
6239 echo "${ECHO_T}no" >&6
6240 fi
6241
6242
6243 enablestring=
6244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6245 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6246 no_cache=0
6247 # Check whether --enable-zipstream or --disable-zipstream was given.
6248 if test "${enable_zipstream+set}" = set; then
6249 enableval="$enable_zipstream"
6250
6251 if test "$enableval" = yes; then
6252 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6253 else
6254 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6255 fi
6256
6257 else
6258
6259 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6260 if test "x$LINE" != x ; then
6261 eval "DEFAULT_$LINE"
6262 else
6263 no_cache=1
6264 fi
6265
6266 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6267
6268 fi;
6269
6270 eval "$ac_cv_use_zipstream"
6271 if test "$no_cache" != 1; then
6272 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6273 fi
6274
6275 if test "$wxUSE_ZIPSTREAM" = yes; then
6276 echo "$as_me:$LINENO: result: yes" >&5
6277 echo "${ECHO_T}yes" >&6
6278 else
6279 echo "$as_me:$LINENO: result: no" >&5
6280 echo "${ECHO_T}no" >&6
6281 fi
6282
6283
6284
6285 enablestring=
6286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6287 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6288 no_cache=0
6289 # Check whether --enable-url or --disable-url was given.
6290 if test "${enable_url+set}" = set; then
6291 enableval="$enable_url"
6292
6293 if test "$enableval" = yes; then
6294 ac_cv_use_url='wxUSE_URL=yes'
6295 else
6296 ac_cv_use_url='wxUSE_URL=no'
6297 fi
6298
6299 else
6300
6301 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6302 if test "x$LINE" != x ; then
6303 eval "DEFAULT_$LINE"
6304 else
6305 no_cache=1
6306 fi
6307
6308 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6309
6310 fi;
6311
6312 eval "$ac_cv_use_url"
6313 if test "$no_cache" != 1; then
6314 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6315 fi
6316
6317 if test "$wxUSE_URL" = yes; then
6318 echo "$as_me:$LINENO: result: yes" >&5
6319 echo "${ECHO_T}yes" >&6
6320 else
6321 echo "$as_me:$LINENO: result: no" >&5
6322 echo "${ECHO_T}no" >&6
6323 fi
6324
6325
6326 enablestring=
6327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6328 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6329 no_cache=0
6330 # Check whether --enable-protocol or --disable-protocol was given.
6331 if test "${enable_protocol+set}" = set; then
6332 enableval="$enable_protocol"
6333
6334 if test "$enableval" = yes; then
6335 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6336 else
6337 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6338 fi
6339
6340 else
6341
6342 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6343 if test "x$LINE" != x ; then
6344 eval "DEFAULT_$LINE"
6345 else
6346 no_cache=1
6347 fi
6348
6349 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6350
6351 fi;
6352
6353 eval "$ac_cv_use_protocol"
6354 if test "$no_cache" != 1; then
6355 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6356 fi
6357
6358 if test "$wxUSE_PROTOCOL" = yes; then
6359 echo "$as_me:$LINENO: result: yes" >&5
6360 echo "${ECHO_T}yes" >&6
6361 else
6362 echo "$as_me:$LINENO: result: no" >&5
6363 echo "${ECHO_T}no" >&6
6364 fi
6365
6366
6367 enablestring=
6368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6369 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6370 no_cache=0
6371 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6372 if test "${enable_protocol_http+set}" = set; then
6373 enableval="$enable_protocol_http"
6374
6375 if test "$enableval" = yes; then
6376 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6377 else
6378 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6379 fi
6380
6381 else
6382
6383 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6384 if test "x$LINE" != x ; then
6385 eval "DEFAULT_$LINE"
6386 else
6387 no_cache=1
6388 fi
6389
6390 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6391
6392 fi;
6393
6394 eval "$ac_cv_use_protocol_http"
6395 if test "$no_cache" != 1; then
6396 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6397 fi
6398
6399 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6400 echo "$as_me:$LINENO: result: yes" >&5
6401 echo "${ECHO_T}yes" >&6
6402 else
6403 echo "$as_me:$LINENO: result: no" >&5
6404 echo "${ECHO_T}no" >&6
6405 fi
6406
6407
6408 enablestring=
6409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6411 no_cache=0
6412 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6413 if test "${enable_protocol_ftp+set}" = set; then
6414 enableval="$enable_protocol_ftp"
6415
6416 if test "$enableval" = yes; then
6417 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6418 else
6419 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6420 fi
6421
6422 else
6423
6424 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x ; then
6426 eval "DEFAULT_$LINE"
6427 else
6428 no_cache=1
6429 fi
6430
6431 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6432
6433 fi;
6434
6435 eval "$ac_cv_use_protocol_ftp"
6436 if test "$no_cache" != 1; then
6437 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6438 fi
6439
6440 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6441 echo "$as_me:$LINENO: result: yes" >&5
6442 echo "${ECHO_T}yes" >&6
6443 else
6444 echo "$as_me:$LINENO: result: no" >&5
6445 echo "${ECHO_T}no" >&6
6446 fi
6447
6448
6449 enablestring=
6450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6451 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6452 no_cache=0
6453 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6454 if test "${enable_protocol_file+set}" = set; then
6455 enableval="$enable_protocol_file"
6456
6457 if test "$enableval" = yes; then
6458 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6459 else
6460 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6461 fi
6462
6463 else
6464
6465 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6466 if test "x$LINE" != x ; then
6467 eval "DEFAULT_$LINE"
6468 else
6469 no_cache=1
6470 fi
6471
6472 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6473
6474 fi;
6475
6476 eval "$ac_cv_use_protocol_file"
6477 if test "$no_cache" != 1; then
6478 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6479 fi
6480
6481 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6482 echo "$as_me:$LINENO: result: yes" >&5
6483 echo "${ECHO_T}yes" >&6
6484 else
6485 echo "$as_me:$LINENO: result: no" >&5
6486 echo "${ECHO_T}no" >&6
6487 fi
6488
6489
6490
6491
6492
6493 enablestring=
6494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6495 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6496 no_cache=0
6497 # Check whether --enable-threads or --disable-threads was given.
6498 if test "${enable_threads+set}" = set; then
6499 enableval="$enable_threads"
6500
6501 if test "$enableval" = yes; then
6502 ac_cv_use_threads='wxUSE_THREADS=yes'
6503 else
6504 ac_cv_use_threads='wxUSE_THREADS=no'
6505 fi
6506
6507 else
6508
6509 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6510 if test "x$LINE" != x ; then
6511 eval "DEFAULT_$LINE"
6512 else
6513 no_cache=1
6514 fi
6515
6516 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6517
6518 fi;
6519
6520 eval "$ac_cv_use_threads"
6521 if test "$no_cache" != 1; then
6522 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6523 fi
6524
6525 if test "$wxUSE_THREADS" = yes; then
6526 echo "$as_me:$LINENO: result: yes" >&5
6527 echo "${ECHO_T}yes" >&6
6528 else
6529 echo "$as_me:$LINENO: result: no" >&5
6530 echo "${ECHO_T}no" >&6
6531 fi
6532
6533
6534 if test "$wxUSE_GUI" = "yes"; then
6535
6536
6537
6538 enablestring=
6539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6540 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6541 no_cache=0
6542 # Check whether --enable-docview or --disable-docview was given.
6543 if test "${enable_docview+set}" = set; then
6544 enableval="$enable_docview"
6545
6546 if test "$enableval" = yes; then
6547 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6548 else
6549 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6550 fi
6551
6552 else
6553
6554 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6555 if test "x$LINE" != x ; then
6556 eval "DEFAULT_$LINE"
6557 else
6558 no_cache=1
6559 fi
6560
6561 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6562
6563 fi;
6564
6565 eval "$ac_cv_use_docview"
6566 if test "$no_cache" != 1; then
6567 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6568 fi
6569
6570 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6571 echo "$as_me:$LINENO: result: yes" >&5
6572 echo "${ECHO_T}yes" >&6
6573 else
6574 echo "$as_me:$LINENO: result: no" >&5
6575 echo "${ECHO_T}no" >&6
6576 fi
6577
6578
6579 enablestring=
6580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6581 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6582 no_cache=0
6583 # Check whether --enable-help or --disable-help was given.
6584 if test "${enable_help+set}" = set; then
6585 enableval="$enable_help"
6586
6587 if test "$enableval" = yes; then
6588 ac_cv_use_help='wxUSE_HELP=yes'
6589 else
6590 ac_cv_use_help='wxUSE_HELP=no'
6591 fi
6592
6593 else
6594
6595 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6596 if test "x$LINE" != x ; then
6597 eval "DEFAULT_$LINE"
6598 else
6599 no_cache=1
6600 fi
6601
6602 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6603
6604 fi;
6605
6606 eval "$ac_cv_use_help"
6607 if test "$no_cache" != 1; then
6608 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6609 fi
6610
6611 if test "$wxUSE_HELP" = yes; then
6612 echo "$as_me:$LINENO: result: yes" >&5
6613 echo "${ECHO_T}yes" >&6
6614 else
6615 echo "$as_me:$LINENO: result: no" >&5
6616 echo "${ECHO_T}no" >&6
6617 fi
6618
6619
6620 enablestring=
6621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6622 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6623 no_cache=0
6624 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6625 if test "${enable_mshtmlhelp+set}" = set; then
6626 enableval="$enable_mshtmlhelp"
6627
6628 if test "$enableval" = yes; then
6629 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6630 else
6631 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6632 fi
6633
6634 else
6635
6636 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6637 if test "x$LINE" != x ; then
6638 eval "DEFAULT_$LINE"
6639 else
6640 no_cache=1
6641 fi
6642
6643 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6644
6645 fi;
6646
6647 eval "$ac_cv_use_mshtmlhelp"
6648 if test "$no_cache" != 1; then
6649 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6650 fi
6651
6652 if test "$wxUSE_MS_HTML_HELP" = yes; then
6653 echo "$as_me:$LINENO: result: yes" >&5
6654 echo "${ECHO_T}yes" >&6
6655 else
6656 echo "$as_me:$LINENO: result: no" >&5
6657 echo "${ECHO_T}no" >&6
6658 fi
6659
6660
6661 enablestring=
6662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6663 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6664 no_cache=0
6665 # Check whether --enable-html or --disable-html was given.
6666 if test "${enable_html+set}" = set; then
6667 enableval="$enable_html"
6668
6669 if test "$enableval" = yes; then
6670 ac_cv_use_html='wxUSE_HTML=yes'
6671 else
6672 ac_cv_use_html='wxUSE_HTML=no'
6673 fi
6674
6675 else
6676
6677 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6678 if test "x$LINE" != x ; then
6679 eval "DEFAULT_$LINE"
6680 else
6681 no_cache=1
6682 fi
6683
6684 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6685
6686 fi;
6687
6688 eval "$ac_cv_use_html"
6689 if test "$no_cache" != 1; then
6690 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6691 fi
6692
6693 if test "$wxUSE_HTML" = yes; then
6694 echo "$as_me:$LINENO: result: yes" >&5
6695 echo "${ECHO_T}yes" >&6
6696 else
6697 echo "$as_me:$LINENO: result: no" >&5
6698 echo "${ECHO_T}no" >&6
6699 fi
6700
6701
6702 enablestring=
6703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6704 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6705 no_cache=0
6706 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6707 if test "${enable_htmlhelp+set}" = set; then
6708 enableval="$enable_htmlhelp"
6709
6710 if test "$enableval" = yes; then
6711 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6712 else
6713 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6714 fi
6715
6716 else
6717
6718 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6719 if test "x$LINE" != x ; then
6720 eval "DEFAULT_$LINE"
6721 else
6722 no_cache=1
6723 fi
6724
6725 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6726
6727 fi;
6728
6729 eval "$ac_cv_use_htmlhelp"
6730 if test "$no_cache" != 1; then
6731 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6732 fi
6733
6734 if test "$wxUSE_WXHTML_HELP" = yes; then
6735 echo "$as_me:$LINENO: result: yes" >&5
6736 echo "${ECHO_T}yes" >&6
6737 else
6738 echo "$as_me:$LINENO: result: no" >&5
6739 echo "${ECHO_T}no" >&6
6740 fi
6741
6742
6743 enablestring=
6744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6745 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6746 no_cache=0
6747 # Check whether --enable-xrc or --disable-xrc was given.
6748 if test "${enable_xrc+set}" = set; then
6749 enableval="$enable_xrc"
6750
6751 if test "$enableval" = yes; then
6752 ac_cv_use_xrc='wxUSE_XRC=yes'
6753 else
6754 ac_cv_use_xrc='wxUSE_XRC=no'
6755 fi
6756
6757 else
6758
6759 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6760 if test "x$LINE" != x ; then
6761 eval "DEFAULT_$LINE"
6762 else
6763 no_cache=1
6764 fi
6765
6766 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6767
6768 fi;
6769
6770 eval "$ac_cv_use_xrc"
6771 if test "$no_cache" != 1; then
6772 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6773 fi
6774
6775 if test "$wxUSE_XRC" = yes; then
6776 echo "$as_me:$LINENO: result: yes" >&5
6777 echo "${ECHO_T}yes" >&6
6778 else
6779 echo "$as_me:$LINENO: result: no" >&5
6780 echo "${ECHO_T}no" >&6
6781 fi
6782
6783
6784 enablestring=
6785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6786 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6787 no_cache=0
6788 # Check whether --enable-constraints or --disable-constraints was given.
6789 if test "${enable_constraints+set}" = set; then
6790 enableval="$enable_constraints"
6791
6792 if test "$enableval" = yes; then
6793 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6794 else
6795 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6796 fi
6797
6798 else
6799
6800 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6801 if test "x$LINE" != x ; then
6802 eval "DEFAULT_$LINE"
6803 else
6804 no_cache=1
6805 fi
6806
6807 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6808
6809 fi;
6810
6811 eval "$ac_cv_use_constraints"
6812 if test "$no_cache" != 1; then
6813 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6814 fi
6815
6816 if test "$wxUSE_CONSTRAINTS" = yes; then
6817 echo "$as_me:$LINENO: result: yes" >&5
6818 echo "${ECHO_T}yes" >&6
6819 else
6820 echo "$as_me:$LINENO: result: no" >&5
6821 echo "${ECHO_T}no" >&6
6822 fi
6823
6824
6825 enablestring=
6826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6827 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6828 no_cache=0
6829 # Check whether --enable-printarch or --disable-printarch was given.
6830 if test "${enable_printarch+set}" = set; then
6831 enableval="$enable_printarch"
6832
6833 if test "$enableval" = yes; then
6834 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6835 else
6836 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6837 fi
6838
6839 else
6840
6841 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6842 if test "x$LINE" != x ; then
6843 eval "DEFAULT_$LINE"
6844 else
6845 no_cache=1
6846 fi
6847
6848 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6849
6850 fi;
6851
6852 eval "$ac_cv_use_printarch"
6853 if test "$no_cache" != 1; then
6854 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6855 fi
6856
6857 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6858 echo "$as_me:$LINENO: result: yes" >&5
6859 echo "${ECHO_T}yes" >&6
6860 else
6861 echo "$as_me:$LINENO: result: no" >&5
6862 echo "${ECHO_T}no" >&6
6863 fi
6864
6865
6866 enablestring=
6867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6868 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6869 no_cache=0
6870 # Check whether --enable-mdi or --disable-mdi was given.
6871 if test "${enable_mdi+set}" = set; then
6872 enableval="$enable_mdi"
6873
6874 if test "$enableval" = yes; then
6875 ac_cv_use_mdi='wxUSE_MDI=yes'
6876 else
6877 ac_cv_use_mdi='wxUSE_MDI=no'
6878 fi
6879
6880 else
6881
6882 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6883 if test "x$LINE" != x ; then
6884 eval "DEFAULT_$LINE"
6885 else
6886 no_cache=1
6887 fi
6888
6889 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6890
6891 fi;
6892
6893 eval "$ac_cv_use_mdi"
6894 if test "$no_cache" != 1; then
6895 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6896 fi
6897
6898 if test "$wxUSE_MDI" = yes; then
6899 echo "$as_me:$LINENO: result: yes" >&5
6900 echo "${ECHO_T}yes" >&6
6901 else
6902 echo "$as_me:$LINENO: result: no" >&5
6903 echo "${ECHO_T}no" >&6
6904 fi
6905
6906
6907 enablestring=
6908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6909 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6910 no_cache=0
6911 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6912 if test "${enable_mdidoc+set}" = set; then
6913 enableval="$enable_mdidoc"
6914
6915 if test "$enableval" = yes; then
6916 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6917 else
6918 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6919 fi
6920
6921 else
6922
6923 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6924 if test "x$LINE" != x ; then
6925 eval "DEFAULT_$LINE"
6926 else
6927 no_cache=1
6928 fi
6929
6930 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6931
6932 fi;
6933
6934 eval "$ac_cv_use_mdidoc"
6935 if test "$no_cache" != 1; then
6936 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6937 fi
6938
6939 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6940 echo "$as_me:$LINENO: result: yes" >&5
6941 echo "${ECHO_T}yes" >&6
6942 else
6943 echo "$as_me:$LINENO: result: no" >&5
6944 echo "${ECHO_T}no" >&6
6945 fi
6946
6947
6948 enablestring=
6949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6950 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6951 no_cache=0
6952 # Check whether --enable-loggui or --disable-loggui was given.
6953 if test "${enable_loggui+set}" = set; then
6954 enableval="$enable_loggui"
6955
6956 if test "$enableval" = yes; then
6957 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6958 else
6959 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6960 fi
6961
6962 else
6963
6964 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6965 if test "x$LINE" != x ; then
6966 eval "DEFAULT_$LINE"
6967 else
6968 no_cache=1
6969 fi
6970
6971 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6972
6973 fi;
6974
6975 eval "$ac_cv_use_loggui"
6976 if test "$no_cache" != 1; then
6977 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6978 fi
6979
6980 if test "$wxUSE_LOGGUI" = yes; then
6981 echo "$as_me:$LINENO: result: yes" >&5
6982 echo "${ECHO_T}yes" >&6
6983 else
6984 echo "$as_me:$LINENO: result: no" >&5
6985 echo "${ECHO_T}no" >&6
6986 fi
6987
6988
6989 enablestring=
6990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6991 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6992 no_cache=0
6993 # Check whether --enable-logwin or --disable-logwin was given.
6994 if test "${enable_logwin+set}" = set; then
6995 enableval="$enable_logwin"
6996
6997 if test "$enableval" = yes; then
6998 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6999 else
7000 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7001 fi
7002
7003 else
7004
7005 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7006 if test "x$LINE" != x ; then
7007 eval "DEFAULT_$LINE"
7008 else
7009 no_cache=1
7010 fi
7011
7012 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7013
7014 fi;
7015
7016 eval "$ac_cv_use_logwin"
7017 if test "$no_cache" != 1; then
7018 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7019 fi
7020
7021 if test "$wxUSE_LOGWINDOW" = yes; then
7022 echo "$as_me:$LINENO: result: yes" >&5
7023 echo "${ECHO_T}yes" >&6
7024 else
7025 echo "$as_me:$LINENO: result: no" >&5
7026 echo "${ECHO_T}no" >&6
7027 fi
7028
7029
7030 enablestring=
7031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7032 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7033 no_cache=0
7034 # Check whether --enable-logdialog or --disable-logdialog was given.
7035 if test "${enable_logdialog+set}" = set; then
7036 enableval="$enable_logdialog"
7037
7038 if test "$enableval" = yes; then
7039 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7040 else
7041 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7042 fi
7043
7044 else
7045
7046 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7047 if test "x$LINE" != x ; then
7048 eval "DEFAULT_$LINE"
7049 else
7050 no_cache=1
7051 fi
7052
7053 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7054
7055 fi;
7056
7057 eval "$ac_cv_use_logdialog"
7058 if test "$no_cache" != 1; then
7059 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7060 fi
7061
7062 if test "$wxUSE_LOGDIALOG" = yes; then
7063 echo "$as_me:$LINENO: result: yes" >&5
7064 echo "${ECHO_T}yes" >&6
7065 else
7066 echo "$as_me:$LINENO: result: no" >&5
7067 echo "${ECHO_T}no" >&6
7068 fi
7069
7070
7071 enablestring=
7072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7073 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7074 no_cache=0
7075 # Check whether --enable-webkit or --disable-webkit was given.
7076 if test "${enable_webkit+set}" = set; then
7077 enableval="$enable_webkit"
7078
7079 if test "$enableval" = yes; then
7080 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7081 else
7082 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7083 fi
7084
7085 else
7086
7087 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7088 if test "x$LINE" != x ; then
7089 eval "DEFAULT_$LINE"
7090 else
7091 no_cache=1
7092 fi
7093
7094 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7095
7096 fi;
7097
7098 eval "$ac_cv_use_webkit"
7099 if test "$no_cache" != 1; then
7100 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7101 fi
7102
7103 if test "$wxUSE_WEBKIT" = yes; then
7104 echo "$as_me:$LINENO: result: yes" >&5
7105 echo "${ECHO_T}yes" >&6
7106 else
7107 echo "$as_me:$LINENO: result: no" >&5
7108 echo "${ECHO_T}no" >&6
7109 fi
7110
7111
7112 enablestring=
7113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7114 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7115 no_cache=0
7116 # Check whether --enable-html or --disable-html was given.
7117 if test "${enable_html+set}" = set; then
7118 enableval="$enable_html"
7119
7120 if test "$enableval" = yes; then
7121 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7122 else
7123 ac_cv_use_html='wxUSE_RICHTEXT=no'
7124 fi
7125
7126 else
7127
7128 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7129 if test "x$LINE" != x ; then
7130 eval "DEFAULT_$LINE"
7131 else
7132 no_cache=1
7133 fi
7134
7135 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7136
7137 fi;
7138
7139 eval "$ac_cv_use_html"
7140 if test "$no_cache" != 1; then
7141 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7142 fi
7143
7144 if test "$wxUSE_RICHTEXT" = yes; then
7145 echo "$as_me:$LINENO: result: yes" >&5
7146 echo "${ECHO_T}yes" >&6
7147 else
7148 echo "$as_me:$LINENO: result: no" >&5
7149 echo "${ECHO_T}no" >&6
7150 fi
7151
7152
7153
7154 enablestring=
7155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7156 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7157 no_cache=0
7158 # Check whether --enable-postscript or --disable-postscript was given.
7159 if test "${enable_postscript+set}" = set; then
7160 enableval="$enable_postscript"
7161
7162 if test "$enableval" = yes; then
7163 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7164 else
7165 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7166 fi
7167
7168 else
7169
7170 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7171 if test "x$LINE" != x ; then
7172 eval "DEFAULT_$LINE"
7173 else
7174 no_cache=1
7175 fi
7176
7177 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7178
7179 fi;
7180
7181 eval "$ac_cv_use_postscript"
7182 if test "$no_cache" != 1; then
7183 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7184 fi
7185
7186 if test "$wxUSE_POSTSCRIPT" = yes; then
7187 echo "$as_me:$LINENO: result: yes" >&5
7188 echo "${ECHO_T}yes" >&6
7189 else
7190 echo "$as_me:$LINENO: result: no" >&5
7191 echo "${ECHO_T}no" >&6
7192 fi
7193
7194
7195
7196
7197
7198 enablestring=
7199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7200 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7201 no_cache=0
7202 # Check whether --enable-prologio or --disable-prologio was given.
7203 if test "${enable_prologio+set}" = set; then
7204 enableval="$enable_prologio"
7205
7206 if test "$enableval" = yes; then
7207 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7208 else
7209 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7210 fi
7211
7212 else
7213
7214 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7215 if test "x$LINE" != x ; then
7216 eval "DEFAULT_$LINE"
7217 else
7218 no_cache=1
7219 fi
7220
7221 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7222
7223 fi;
7224
7225 eval "$ac_cv_use_prologio"
7226 if test "$no_cache" != 1; then
7227 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7228 fi
7229
7230 if test "$wxUSE_PROLOGIO" = yes; then
7231 echo "$as_me:$LINENO: result: yes" >&5
7232 echo "${ECHO_T}yes" >&6
7233 else
7234 echo "$as_me:$LINENO: result: no" >&5
7235 echo "${ECHO_T}no" >&6
7236 fi
7237
7238
7239 enablestring=
7240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7241 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7242 no_cache=0
7243 # Check whether --enable-resources or --disable-resources was given.
7244 if test "${enable_resources+set}" = set; then
7245 enableval="$enable_resources"
7246
7247 if test "$enableval" = yes; then
7248 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7249 else
7250 ac_cv_use_resources='wxUSE_RESOURCES=no'
7251 fi
7252
7253 else
7254
7255 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7256 if test "x$LINE" != x ; then
7257 eval "DEFAULT_$LINE"
7258 else
7259 no_cache=1
7260 fi
7261
7262 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7263
7264 fi;
7265
7266 eval "$ac_cv_use_resources"
7267 if test "$no_cache" != 1; then
7268 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7269 fi
7270
7271 if test "$wxUSE_RESOURCES" = yes; then
7272 echo "$as_me:$LINENO: result: yes" >&5
7273 echo "${ECHO_T}yes" >&6
7274 else
7275 echo "$as_me:$LINENO: result: no" >&5
7276 echo "${ECHO_T}no" >&6
7277 fi
7278
7279
7280
7281
7282 enablestring=
7283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7285 no_cache=0
7286 # Check whether --enable-clipboard or --disable-clipboard was given.
7287 if test "${enable_clipboard+set}" = set; then
7288 enableval="$enable_clipboard"
7289
7290 if test "$enableval" = yes; then
7291 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7292 else
7293 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7294 fi
7295
7296 else
7297
7298 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7299 if test "x$LINE" != x ; then
7300 eval "DEFAULT_$LINE"
7301 else
7302 no_cache=1
7303 fi
7304
7305 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7306
7307 fi;
7308
7309 eval "$ac_cv_use_clipboard"
7310 if test "$no_cache" != 1; then
7311 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7312 fi
7313
7314 if test "$wxUSE_CLIPBOARD" = yes; then
7315 echo "$as_me:$LINENO: result: yes" >&5
7316 echo "${ECHO_T}yes" >&6
7317 else
7318 echo "$as_me:$LINENO: result: no" >&5
7319 echo "${ECHO_T}no" >&6
7320 fi
7321
7322
7323 enablestring=
7324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7325 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7326 no_cache=0
7327 # Check whether --enable-dnd or --disable-dnd was given.
7328 if test "${enable_dnd+set}" = set; then
7329 enableval="$enable_dnd"
7330
7331 if test "$enableval" = yes; then
7332 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7333 else
7334 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7335 fi
7336
7337 else
7338
7339 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7340 if test "x$LINE" != x ; then
7341 eval "DEFAULT_$LINE"
7342 else
7343 no_cache=1
7344 fi
7345
7346 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7347
7348 fi;
7349
7350 eval "$ac_cv_use_dnd"
7351 if test "$no_cache" != 1; then
7352 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7353 fi
7354
7355 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7356 echo "$as_me:$LINENO: result: yes" >&5
7357 echo "${ECHO_T}yes" >&6
7358 else
7359 echo "$as_me:$LINENO: result: no" >&5
7360 echo "${ECHO_T}no" >&6
7361 fi
7362
7363
7364 enablestring=
7365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7367 no_cache=0
7368 # Check whether --enable-metafile or --disable-metafile was given.
7369 if test "${enable_metafile+set}" = set; then
7370 enableval="$enable_metafile"
7371
7372 if test "$enableval" = yes; then
7373 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7374 else
7375 ac_cv_use_metafile='wxUSE_METAFILE=no'
7376 fi
7377
7378 else
7379
7380 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7381 if test "x$LINE" != x ; then
7382 eval "DEFAULT_$LINE"
7383 else
7384 no_cache=1
7385 fi
7386
7387 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7388
7389 fi;
7390
7391 eval "$ac_cv_use_metafile"
7392 if test "$no_cache" != 1; then
7393 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7394 fi
7395
7396 if test "$wxUSE_METAFILE" = yes; then
7397 echo "$as_me:$LINENO: result: yes" >&5
7398 echo "${ECHO_T}yes" >&6
7399 else
7400 echo "$as_me:$LINENO: result: no" >&5
7401 echo "${ECHO_T}no" >&6
7402 fi
7403
7404
7405
7406
7407
7408 enablestring=
7409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7410 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7411 no_cache=0
7412 # Check whether --enable-controls or --disable-controls was given.
7413 if test "${enable_controls+set}" = set; then
7414 enableval="$enable_controls"
7415
7416 if test "$enableval" = yes; then
7417 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7418 else
7419 ac_cv_use_controls='wxUSE_CONTROLS=no'
7420 fi
7421
7422 else
7423
7424 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7425 if test "x$LINE" != x ; then
7426 eval "DEFAULT_$LINE"
7427 else
7428 no_cache=1
7429 fi
7430
7431 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7432
7433 fi;
7434
7435 eval "$ac_cv_use_controls"
7436 if test "$no_cache" != 1; then
7437 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7438 fi
7439
7440 if test "$wxUSE_CONTROLS" = yes; then
7441 echo "$as_me:$LINENO: result: yes" >&5
7442 echo "${ECHO_T}yes" >&6
7443 else
7444 echo "$as_me:$LINENO: result: no" >&5
7445 echo "${ECHO_T}no" >&6
7446 fi
7447
7448
7449 if test "$wxUSE_CONTROLS" = "yes"; then
7450 DEFAULT_wxUSE_ACCEL=yes
7451 DEFAULT_wxUSE_BMPBUTTON=yes
7452 DEFAULT_wxUSE_BUTTON=yes
7453 DEFAULT_wxUSE_CALCTRL=yes
7454 DEFAULT_wxUSE_CARET=yes
7455 DEFAULT_wxUSE_COMBOBOX=yes
7456 DEFAULT_wxUSE_CHECKBOX=yes
7457 DEFAULT_wxUSE_CHECKLISTBOX=yes
7458 DEFAULT_wxUSE_CHOICE=yes
7459 DEFAULT_wxUSE_CHOICEBOOK=yes
7460 DEFAULT_wxUSE_DATEPICKCTRL=yes
7461 DEFAULT_wxUSE_GAUGE=yes
7462 DEFAULT_wxUSE_GRID=yes
7463 DEFAULT_wxUSE_DATAVIEWCTRL=no
7464 DEFAULT_wxUSE_IMAGLIST=yes
7465 DEFAULT_wxUSE_LISTBOOK=yes
7466 DEFAULT_wxUSE_LISTBOX=yes
7467 DEFAULT_wxUSE_LISTCTRL=yes
7468 DEFAULT_wxUSE_NOTEBOOK=yes
7469 DEFAULT_wxUSE_RADIOBOX=yes
7470 DEFAULT_wxUSE_RADIOBTN=yes
7471 DEFAULT_wxUSE_SASH=yes
7472 DEFAULT_wxUSE_SCROLLBAR=yes
7473 DEFAULT_wxUSE_SLIDER=yes
7474 DEFAULT_wxUSE_SPINBTN=yes
7475 DEFAULT_wxUSE_SPINCTRL=yes
7476 DEFAULT_wxUSE_SPLITTER=yes
7477 DEFAULT_wxUSE_STATBMP=yes
7478 DEFAULT_wxUSE_STATBOX=yes
7479 DEFAULT_wxUSE_STATLINE=yes
7480 DEFAULT_wxUSE_STATUSBAR=yes
7481 DEFAULT_wxUSE_TAB_DIALOG=yes
7482 DEFAULT_wxUSE_TOGGLEBTN=yes
7483 DEFAULT_wxUSE_TOOLBAR=yes
7484 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7485 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7486 DEFAULT_wxUSE_TOOLTIPS=yes
7487 DEFAULT_wxUSE_TREEBOOK=yes
7488 DEFAULT_wxUSE_TOOLBOOK=yes
7489 DEFAULT_wxUSE_TREECTRL=yes
7490 DEFAULT_wxUSE_POPUPWIN=yes
7491 DEFAULT_wxUSE_TIPWINDOW=yes
7492 elif test "$wxUSE_CONTROLS" = "no"; then
7493 DEFAULT_wxUSE_ACCEL=no
7494 DEFAULT_wxUSE_BMPBUTTON=no
7495 DEFAULT_wxUSE_BUTTON=no
7496 DEFAULT_wxUSE_CALCTRL=no
7497 DEFAULT_wxUSE_CARET=no
7498 DEFAULT_wxUSE_COMBOBOX=no
7499 DEFAULT_wxUSE_CHECKBOX=no
7500 DEFAULT_wxUSE_CHECKLISTBOX=no
7501 DEFAULT_wxUSE_CHOICE=no
7502 DEFAULT_wxUSE_CHOICEBOOK=no
7503 DEFAULT_wxUSE_DATEPICKCTRL=no
7504 DEFAULT_wxUSE_GAUGE=no
7505 DEFAULT_wxUSE_GRID=no
7506 DEFAULT_wxUSE_DATAVIEWCTRL=no
7507 DEFAULT_wxUSE_IMAGLIST=no
7508 DEFAULT_wxUSE_LISTBOOK=no
7509 DEFAULT_wxUSE_LISTBOX=no
7510 DEFAULT_wxUSE_LISTCTRL=no
7511 DEFAULT_wxUSE_NOTEBOOK=no
7512 DEFAULT_wxUSE_RADIOBOX=no
7513 DEFAULT_wxUSE_RADIOBTN=no
7514 DEFAULT_wxUSE_SASH=no
7515 DEFAULT_wxUSE_SCROLLBAR=no
7516 DEFAULT_wxUSE_SLIDER=no
7517 DEFAULT_wxUSE_SPINBTN=no
7518 DEFAULT_wxUSE_SPINCTRL=no
7519 DEFAULT_wxUSE_SPLITTER=no
7520 DEFAULT_wxUSE_STATBMP=no
7521 DEFAULT_wxUSE_STATBOX=no
7522 DEFAULT_wxUSE_STATLINE=no
7523 DEFAULT_wxUSE_STATUSBAR=no
7524 DEFAULT_wxUSE_TAB_DIALOG=no
7525 DEFAULT_wxUSE_TOGGLEBTN=no
7526 DEFAULT_wxUSE_TOOLBAR=no
7527 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7528 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7529 DEFAULT_wxUSE_TOOLTIPS=no
7530 DEFAULT_wxUSE_TREEBOOK=no
7531 DEFAULT_wxUSE_TOOLBOOK=no
7532 DEFAULT_wxUSE_TREECTRL=no
7533 DEFAULT_wxUSE_POPUPWIN=no
7534 DEFAULT_wxUSE_TIPWINDOW=no
7535 fi
7536
7537
7538 enablestring=
7539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7540 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7541 no_cache=0
7542 # Check whether --enable-accel or --disable-accel was given.
7543 if test "${enable_accel+set}" = set; then
7544 enableval="$enable_accel"
7545
7546 if test "$enableval" = yes; then
7547 ac_cv_use_accel='wxUSE_ACCEL=yes'
7548 else
7549 ac_cv_use_accel='wxUSE_ACCEL=no'
7550 fi
7551
7552 else
7553
7554 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7555 if test "x$LINE" != x ; then
7556 eval "DEFAULT_$LINE"
7557 else
7558 no_cache=1
7559 fi
7560
7561 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7562
7563 fi;
7564
7565 eval "$ac_cv_use_accel"
7566 if test "$no_cache" != 1; then
7567 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7568 fi
7569
7570 if test "$wxUSE_ACCEL" = yes; then
7571 echo "$as_me:$LINENO: result: yes" >&5
7572 echo "${ECHO_T}yes" >&6
7573 else
7574 echo "$as_me:$LINENO: result: no" >&5
7575 echo "${ECHO_T}no" >&6
7576 fi
7577
7578
7579 enablestring=
7580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7581 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7582 no_cache=0
7583 # Check whether --enable-button or --disable-button was given.
7584 if test "${enable_button+set}" = set; then
7585 enableval="$enable_button"
7586
7587 if test "$enableval" = yes; then
7588 ac_cv_use_button='wxUSE_BUTTON=yes'
7589 else
7590 ac_cv_use_button='wxUSE_BUTTON=no'
7591 fi
7592
7593 else
7594
7595 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7596 if test "x$LINE" != x ; then
7597 eval "DEFAULT_$LINE"
7598 else
7599 no_cache=1
7600 fi
7601
7602 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7603
7604 fi;
7605
7606 eval "$ac_cv_use_button"
7607 if test "$no_cache" != 1; then
7608 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7609 fi
7610
7611 if test "$wxUSE_BUTTON" = yes; then
7612 echo "$as_me:$LINENO: result: yes" >&5
7613 echo "${ECHO_T}yes" >&6
7614 else
7615 echo "$as_me:$LINENO: result: no" >&5
7616 echo "${ECHO_T}no" >&6
7617 fi
7618
7619
7620 enablestring=
7621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7623 no_cache=0
7624 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7625 if test "${enable_bmpbutton+set}" = set; then
7626 enableval="$enable_bmpbutton"
7627
7628 if test "$enableval" = yes; then
7629 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7630 else
7631 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7632 fi
7633
7634 else
7635
7636 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7637 if test "x$LINE" != x ; then
7638 eval "DEFAULT_$LINE"
7639 else
7640 no_cache=1
7641 fi
7642
7643 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7644
7645 fi;
7646
7647 eval "$ac_cv_use_bmpbutton"
7648 if test "$no_cache" != 1; then
7649 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7650 fi
7651
7652 if test "$wxUSE_BMPBUTTON" = yes; then
7653 echo "$as_me:$LINENO: result: yes" >&5
7654 echo "${ECHO_T}yes" >&6
7655 else
7656 echo "$as_me:$LINENO: result: no" >&5
7657 echo "${ECHO_T}no" >&6
7658 fi
7659
7660
7661 enablestring=
7662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7663 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7664 no_cache=0
7665 # Check whether --enable-calendar or --disable-calendar was given.
7666 if test "${enable_calendar+set}" = set; then
7667 enableval="$enable_calendar"
7668
7669 if test "$enableval" = yes; then
7670 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7671 else
7672 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7673 fi
7674
7675 else
7676
7677 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7678 if test "x$LINE" != x ; then
7679 eval "DEFAULT_$LINE"
7680 else
7681 no_cache=1
7682 fi
7683
7684 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7685
7686 fi;
7687
7688 eval "$ac_cv_use_calendar"
7689 if test "$no_cache" != 1; then
7690 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7691 fi
7692
7693 if test "$wxUSE_CALCTRL" = yes; then
7694 echo "$as_me:$LINENO: result: yes" >&5
7695 echo "${ECHO_T}yes" >&6
7696 else
7697 echo "$as_me:$LINENO: result: no" >&5
7698 echo "${ECHO_T}no" >&6
7699 fi
7700
7701
7702 enablestring=
7703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7705 no_cache=0
7706 # Check whether --enable-caret or --disable-caret was given.
7707 if test "${enable_caret+set}" = set; then
7708 enableval="$enable_caret"
7709
7710 if test "$enableval" = yes; then
7711 ac_cv_use_caret='wxUSE_CARET=yes'
7712 else
7713 ac_cv_use_caret='wxUSE_CARET=no'
7714 fi
7715
7716 else
7717
7718 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7719 if test "x$LINE" != x ; then
7720 eval "DEFAULT_$LINE"
7721 else
7722 no_cache=1
7723 fi
7724
7725 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7726
7727 fi;
7728
7729 eval "$ac_cv_use_caret"
7730 if test "$no_cache" != 1; then
7731 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7732 fi
7733
7734 if test "$wxUSE_CARET" = yes; then
7735 echo "$as_me:$LINENO: result: yes" >&5
7736 echo "${ECHO_T}yes" >&6
7737 else
7738 echo "$as_me:$LINENO: result: no" >&5
7739 echo "${ECHO_T}no" >&6
7740 fi
7741
7742
7743 enablestring=
7744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7745 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7746 no_cache=0
7747 # Check whether --enable-checkbox or --disable-checkbox was given.
7748 if test "${enable_checkbox+set}" = set; then
7749 enableval="$enable_checkbox"
7750
7751 if test "$enableval" = yes; then
7752 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7753 else
7754 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7755 fi
7756
7757 else
7758
7759 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7760 if test "x$LINE" != x ; then
7761 eval "DEFAULT_$LINE"
7762 else
7763 no_cache=1
7764 fi
7765
7766 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7767
7768 fi;
7769
7770 eval "$ac_cv_use_checkbox"
7771 if test "$no_cache" != 1; then
7772 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7773 fi
7774
7775 if test "$wxUSE_CHECKBOX" = yes; then
7776 echo "$as_me:$LINENO: result: yes" >&5
7777 echo "${ECHO_T}yes" >&6
7778 else
7779 echo "$as_me:$LINENO: result: no" >&5
7780 echo "${ECHO_T}no" >&6
7781 fi
7782
7783
7784 enablestring=
7785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7786 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7787 no_cache=0
7788 # Check whether --enable-checklst or --disable-checklst was given.
7789 if test "${enable_checklst+set}" = set; then
7790 enableval="$enable_checklst"
7791
7792 if test "$enableval" = yes; then
7793 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7794 else
7795 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7796 fi
7797
7798 else
7799
7800 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7801 if test "x$LINE" != x ; then
7802 eval "DEFAULT_$LINE"
7803 else
7804 no_cache=1
7805 fi
7806
7807 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7808
7809 fi;
7810
7811 eval "$ac_cv_use_checklst"
7812 if test "$no_cache" != 1; then
7813 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7814 fi
7815
7816 if test "$wxUSE_CHECKLST" = yes; then
7817 echo "$as_me:$LINENO: result: yes" >&5
7818 echo "${ECHO_T}yes" >&6
7819 else
7820 echo "$as_me:$LINENO: result: no" >&5
7821 echo "${ECHO_T}no" >&6
7822 fi
7823
7824
7825 enablestring=
7826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7827 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7828 no_cache=0
7829 # Check whether --enable-choice or --disable-choice was given.
7830 if test "${enable_choice+set}" = set; then
7831 enableval="$enable_choice"
7832
7833 if test "$enableval" = yes; then
7834 ac_cv_use_choice='wxUSE_CHOICE=yes'
7835 else
7836 ac_cv_use_choice='wxUSE_CHOICE=no'
7837 fi
7838
7839 else
7840
7841 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7842 if test "x$LINE" != x ; then
7843 eval "DEFAULT_$LINE"
7844 else
7845 no_cache=1
7846 fi
7847
7848 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7849
7850 fi;
7851
7852 eval "$ac_cv_use_choice"
7853 if test "$no_cache" != 1; then
7854 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7855 fi
7856
7857 if test "$wxUSE_CHOICE" = yes; then
7858 echo "$as_me:$LINENO: result: yes" >&5
7859 echo "${ECHO_T}yes" >&6
7860 else
7861 echo "$as_me:$LINENO: result: no" >&5
7862 echo "${ECHO_T}no" >&6
7863 fi
7864
7865
7866 enablestring=
7867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7868 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7869 no_cache=0
7870 # Check whether --enable-choicebook or --disable-choicebook was given.
7871 if test "${enable_choicebook+set}" = set; then
7872 enableval="$enable_choicebook"
7873
7874 if test "$enableval" = yes; then
7875 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7876 else
7877 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7878 fi
7879
7880 else
7881
7882 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x ; then
7884 eval "DEFAULT_$LINE"
7885 else
7886 no_cache=1
7887 fi
7888
7889 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7890
7891 fi;
7892
7893 eval "$ac_cv_use_choicebook"
7894 if test "$no_cache" != 1; then
7895 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7896 fi
7897
7898 if test "$wxUSE_CHOICEBOOK" = yes; then
7899 echo "$as_me:$LINENO: result: yes" >&5
7900 echo "${ECHO_T}yes" >&6
7901 else
7902 echo "$as_me:$LINENO: result: no" >&5
7903 echo "${ECHO_T}no" >&6
7904 fi
7905
7906
7907 enablestring=
7908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7909 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7910 no_cache=0
7911 # Check whether --enable-combobox or --disable-combobox was given.
7912 if test "${enable_combobox+set}" = set; then
7913 enableval="$enable_combobox"
7914
7915 if test "$enableval" = yes; then
7916 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7917 else
7918 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7919 fi
7920
7921 else
7922
7923 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7924 if test "x$LINE" != x ; then
7925 eval "DEFAULT_$LINE"
7926 else
7927 no_cache=1
7928 fi
7929
7930 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7931
7932 fi;
7933
7934 eval "$ac_cv_use_combobox"
7935 if test "$no_cache" != 1; then
7936 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7937 fi
7938
7939 if test "$wxUSE_COMBOBOX" = yes; then
7940 echo "$as_me:$LINENO: result: yes" >&5
7941 echo "${ECHO_T}yes" >&6
7942 else
7943 echo "$as_me:$LINENO: result: no" >&5
7944 echo "${ECHO_T}no" >&6
7945 fi
7946
7947
7948 enablestring=
7949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7950 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7951 no_cache=0
7952 # Check whether --enable-datepick or --disable-datepick was given.
7953 if test "${enable_datepick+set}" = set; then
7954 enableval="$enable_datepick"
7955
7956 if test "$enableval" = yes; then
7957 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7958 else
7959 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7960 fi
7961
7962 else
7963
7964 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7965 if test "x$LINE" != x ; then
7966 eval "DEFAULT_$LINE"
7967 else
7968 no_cache=1
7969 fi
7970
7971 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7972
7973 fi;
7974
7975 eval "$ac_cv_use_datepick"
7976 if test "$no_cache" != 1; then
7977 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7978 fi
7979
7980 if test "$wxUSE_DATEPICKCTRL" = yes; then
7981 echo "$as_me:$LINENO: result: yes" >&5
7982 echo "${ECHO_T}yes" >&6
7983 else
7984 echo "$as_me:$LINENO: result: no" >&5
7985 echo "${ECHO_T}no" >&6
7986 fi
7987
7988
7989 enablestring=
7990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7991 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7992 no_cache=0
7993 # Check whether --enable-display or --disable-display was given.
7994 if test "${enable_display+set}" = set; then
7995 enableval="$enable_display"
7996
7997 if test "$enableval" = yes; then
7998 ac_cv_use_display='wxUSE_DISPLAY=yes'
7999 else
8000 ac_cv_use_display='wxUSE_DISPLAY=no'
8001 fi
8002
8003 else
8004
8005 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8006 if test "x$LINE" != x ; then
8007 eval "DEFAULT_$LINE"
8008 else
8009 no_cache=1
8010 fi
8011
8012 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8013
8014 fi;
8015
8016 eval "$ac_cv_use_display"
8017 if test "$no_cache" != 1; then
8018 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8019 fi
8020
8021 if test "$wxUSE_DISPLAY" = yes; then
8022 echo "$as_me:$LINENO: result: yes" >&5
8023 echo "${ECHO_T}yes" >&6
8024 else
8025 echo "$as_me:$LINENO: result: no" >&5
8026 echo "${ECHO_T}no" >&6
8027 fi
8028
8029
8030 enablestring=
8031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8032 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8033 no_cache=0
8034 # Check whether --enable-gauge or --disable-gauge was given.
8035 if test "${enable_gauge+set}" = set; then
8036 enableval="$enable_gauge"
8037
8038 if test "$enableval" = yes; then
8039 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8040 else
8041 ac_cv_use_gauge='wxUSE_GAUGE=no'
8042 fi
8043
8044 else
8045
8046 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8047 if test "x$LINE" != x ; then
8048 eval "DEFAULT_$LINE"
8049 else
8050 no_cache=1
8051 fi
8052
8053 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8054
8055 fi;
8056
8057 eval "$ac_cv_use_gauge"
8058 if test "$no_cache" != 1; then
8059 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8060 fi
8061
8062 if test "$wxUSE_GAUGE" = yes; then
8063 echo "$as_me:$LINENO: result: yes" >&5
8064 echo "${ECHO_T}yes" >&6
8065 else
8066 echo "$as_me:$LINENO: result: no" >&5
8067 echo "${ECHO_T}no" >&6
8068 fi
8069
8070
8071 enablestring=
8072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8073 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8074 no_cache=0
8075 # Check whether --enable-grid or --disable-grid was given.
8076 if test "${enable_grid+set}" = set; then
8077 enableval="$enable_grid"
8078
8079 if test "$enableval" = yes; then
8080 ac_cv_use_grid='wxUSE_GRID=yes'
8081 else
8082 ac_cv_use_grid='wxUSE_GRID=no'
8083 fi
8084
8085 else
8086
8087 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8088 if test "x$LINE" != x ; then
8089 eval "DEFAULT_$LINE"
8090 else
8091 no_cache=1
8092 fi
8093
8094 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8095
8096 fi;
8097
8098 eval "$ac_cv_use_grid"
8099 if test "$no_cache" != 1; then
8100 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8101 fi
8102
8103 if test "$wxUSE_GRID" = yes; then
8104 echo "$as_me:$LINENO: result: yes" >&5
8105 echo "${ECHO_T}yes" >&6
8106 else
8107 echo "$as_me:$LINENO: result: no" >&5
8108 echo "${ECHO_T}no" >&6
8109 fi
8110
8111
8112 enablestring=
8113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8114 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8115 no_cache=0
8116 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8117 if test "${enable_dataviewctrl+set}" = set; then
8118 enableval="$enable_dataviewctrl"
8119
8120 if test "$enableval" = yes; then
8121 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8122 else
8123 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8124 fi
8125
8126 else
8127
8128 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8129 if test "x$LINE" != x ; then
8130 eval "DEFAULT_$LINE"
8131 else
8132 no_cache=1
8133 fi
8134
8135 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8136
8137 fi;
8138
8139 eval "$ac_cv_use_dataviewctrl"
8140 if test "$no_cache" != 1; then
8141 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8142 fi
8143
8144 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8145 echo "$as_me:$LINENO: result: yes" >&5
8146 echo "${ECHO_T}yes" >&6
8147 else
8148 echo "$as_me:$LINENO: result: no" >&5
8149 echo "${ECHO_T}no" >&6
8150 fi
8151
8152
8153 enablestring=
8154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8155 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8156 no_cache=0
8157 # Check whether --enable-imaglist or --disable-imaglist was given.
8158 if test "${enable_imaglist+set}" = set; then
8159 enableval="$enable_imaglist"
8160
8161 if test "$enableval" = yes; then
8162 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8163 else
8164 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8165 fi
8166
8167 else
8168
8169 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8170 if test "x$LINE" != x ; then
8171 eval "DEFAULT_$LINE"
8172 else
8173 no_cache=1
8174 fi
8175
8176 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8177
8178 fi;
8179
8180 eval "$ac_cv_use_imaglist"
8181 if test "$no_cache" != 1; then
8182 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8183 fi
8184
8185 if test "$wxUSE_IMAGLIST" = yes; then
8186 echo "$as_me:$LINENO: result: yes" >&5
8187 echo "${ECHO_T}yes" >&6
8188 else
8189 echo "$as_me:$LINENO: result: no" >&5
8190 echo "${ECHO_T}no" >&6
8191 fi
8192
8193
8194 enablestring=
8195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8197 no_cache=0
8198 # Check whether --enable-listbook or --disable-listbook was given.
8199 if test "${enable_listbook+set}" = set; then
8200 enableval="$enable_listbook"
8201
8202 if test "$enableval" = yes; then
8203 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8204 else
8205 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8206 fi
8207
8208 else
8209
8210 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8211 if test "x$LINE" != x ; then
8212 eval "DEFAULT_$LINE"
8213 else
8214 no_cache=1
8215 fi
8216
8217 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8218
8219 fi;
8220
8221 eval "$ac_cv_use_listbook"
8222 if test "$no_cache" != 1; then
8223 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8224 fi
8225
8226 if test "$wxUSE_LISTBOOK" = yes; then
8227 echo "$as_me:$LINENO: result: yes" >&5
8228 echo "${ECHO_T}yes" >&6
8229 else
8230 echo "$as_me:$LINENO: result: no" >&5
8231 echo "${ECHO_T}no" >&6
8232 fi
8233
8234
8235 enablestring=
8236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8238 no_cache=0
8239 # Check whether --enable-listbox or --disable-listbox was given.
8240 if test "${enable_listbox+set}" = set; then
8241 enableval="$enable_listbox"
8242
8243 if test "$enableval" = yes; then
8244 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8245 else
8246 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8247 fi
8248
8249 else
8250
8251 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8252 if test "x$LINE" != x ; then
8253 eval "DEFAULT_$LINE"
8254 else
8255 no_cache=1
8256 fi
8257
8258 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8259
8260 fi;
8261
8262 eval "$ac_cv_use_listbox"
8263 if test "$no_cache" != 1; then
8264 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8265 fi
8266
8267 if test "$wxUSE_LISTBOX" = yes; then
8268 echo "$as_me:$LINENO: result: yes" >&5
8269 echo "${ECHO_T}yes" >&6
8270 else
8271 echo "$as_me:$LINENO: result: no" >&5
8272 echo "${ECHO_T}no" >&6
8273 fi
8274
8275
8276 enablestring=
8277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8278 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8279 no_cache=0
8280 # Check whether --enable-listctrl or --disable-listctrl was given.
8281 if test "${enable_listctrl+set}" = set; then
8282 enableval="$enable_listctrl"
8283
8284 if test "$enableval" = yes; then
8285 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8286 else
8287 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8288 fi
8289
8290 else
8291
8292 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8293 if test "x$LINE" != x ; then
8294 eval "DEFAULT_$LINE"
8295 else
8296 no_cache=1
8297 fi
8298
8299 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8300
8301 fi;
8302
8303 eval "$ac_cv_use_listctrl"
8304 if test "$no_cache" != 1; then
8305 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8306 fi
8307
8308 if test "$wxUSE_LISTCTRL" = yes; then
8309 echo "$as_me:$LINENO: result: yes" >&5
8310 echo "${ECHO_T}yes" >&6
8311 else
8312 echo "$as_me:$LINENO: result: no" >&5
8313 echo "${ECHO_T}no" >&6
8314 fi
8315
8316
8317 enablestring=
8318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8320 no_cache=0
8321 # Check whether --enable-notebook or --disable-notebook was given.
8322 if test "${enable_notebook+set}" = set; then
8323 enableval="$enable_notebook"
8324
8325 if test "$enableval" = yes; then
8326 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8327 else
8328 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8329 fi
8330
8331 else
8332
8333 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8334 if test "x$LINE" != x ; then
8335 eval "DEFAULT_$LINE"
8336 else
8337 no_cache=1
8338 fi
8339
8340 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8341
8342 fi;
8343
8344 eval "$ac_cv_use_notebook"
8345 if test "$no_cache" != 1; then
8346 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8347 fi
8348
8349 if test "$wxUSE_NOTEBOOK" = yes; then
8350 echo "$as_me:$LINENO: result: yes" >&5
8351 echo "${ECHO_T}yes" >&6
8352 else
8353 echo "$as_me:$LINENO: result: no" >&5
8354 echo "${ECHO_T}no" >&6
8355 fi
8356
8357
8358 enablestring=
8359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8361 no_cache=0
8362 # Check whether --enable-radiobox or --disable-radiobox was given.
8363 if test "${enable_radiobox+set}" = set; then
8364 enableval="$enable_radiobox"
8365
8366 if test "$enableval" = yes; then
8367 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8368 else
8369 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8370 fi
8371
8372 else
8373
8374 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8375 if test "x$LINE" != x ; then
8376 eval "DEFAULT_$LINE"
8377 else
8378 no_cache=1
8379 fi
8380
8381 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8382
8383 fi;
8384
8385 eval "$ac_cv_use_radiobox"
8386 if test "$no_cache" != 1; then
8387 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8388 fi
8389
8390 if test "$wxUSE_RADIOBOX" = yes; then
8391 echo "$as_me:$LINENO: result: yes" >&5
8392 echo "${ECHO_T}yes" >&6
8393 else
8394 echo "$as_me:$LINENO: result: no" >&5
8395 echo "${ECHO_T}no" >&6
8396 fi
8397
8398
8399 enablestring=
8400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8401 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8402 no_cache=0
8403 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8404 if test "${enable_radiobtn+set}" = set; then
8405 enableval="$enable_radiobtn"
8406
8407 if test "$enableval" = yes; then
8408 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8409 else
8410 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8411 fi
8412
8413 else
8414
8415 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8416 if test "x$LINE" != x ; then
8417 eval "DEFAULT_$LINE"
8418 else
8419 no_cache=1
8420 fi
8421
8422 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8423
8424 fi;
8425
8426 eval "$ac_cv_use_radiobtn"
8427 if test "$no_cache" != 1; then
8428 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8429 fi
8430
8431 if test "$wxUSE_RADIOBTN" = yes; then
8432 echo "$as_me:$LINENO: result: yes" >&5
8433 echo "${ECHO_T}yes" >&6
8434 else
8435 echo "$as_me:$LINENO: result: no" >&5
8436 echo "${ECHO_T}no" >&6
8437 fi
8438
8439
8440 enablestring=
8441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8443 no_cache=0
8444 # Check whether --enable-sash or --disable-sash was given.
8445 if test "${enable_sash+set}" = set; then
8446 enableval="$enable_sash"
8447
8448 if test "$enableval" = yes; then
8449 ac_cv_use_sash='wxUSE_SASH=yes'
8450 else
8451 ac_cv_use_sash='wxUSE_SASH=no'
8452 fi
8453
8454 else
8455
8456 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8457 if test "x$LINE" != x ; then
8458 eval "DEFAULT_$LINE"
8459 else
8460 no_cache=1
8461 fi
8462
8463 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8464
8465 fi;
8466
8467 eval "$ac_cv_use_sash"
8468 if test "$no_cache" != 1; then
8469 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8470 fi
8471
8472 if test "$wxUSE_SASH" = yes; then
8473 echo "$as_me:$LINENO: result: yes" >&5
8474 echo "${ECHO_T}yes" >&6
8475 else
8476 echo "$as_me:$LINENO: result: no" >&5
8477 echo "${ECHO_T}no" >&6
8478 fi
8479
8480
8481 enablestring=
8482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8484 no_cache=0
8485 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8486 if test "${enable_scrollbar+set}" = set; then
8487 enableval="$enable_scrollbar"
8488
8489 if test "$enableval" = yes; then
8490 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8491 else
8492 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8493 fi
8494
8495 else
8496
8497 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8498 if test "x$LINE" != x ; then
8499 eval "DEFAULT_$LINE"
8500 else
8501 no_cache=1
8502 fi
8503
8504 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8505
8506 fi;
8507
8508 eval "$ac_cv_use_scrollbar"
8509 if test "$no_cache" != 1; then
8510 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8511 fi
8512
8513 if test "$wxUSE_SCROLLBAR" = yes; then
8514 echo "$as_me:$LINENO: result: yes" >&5
8515 echo "${ECHO_T}yes" >&6
8516 else
8517 echo "$as_me:$LINENO: result: no" >&5
8518 echo "${ECHO_T}no" >&6
8519 fi
8520
8521
8522 enablestring=
8523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8525 no_cache=0
8526 # Check whether --enable-slider or --disable-slider was given.
8527 if test "${enable_slider+set}" = set; then
8528 enableval="$enable_slider"
8529
8530 if test "$enableval" = yes; then
8531 ac_cv_use_slider='wxUSE_SLIDER=yes'
8532 else
8533 ac_cv_use_slider='wxUSE_SLIDER=no'
8534 fi
8535
8536 else
8537
8538 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8539 if test "x$LINE" != x ; then
8540 eval "DEFAULT_$LINE"
8541 else
8542 no_cache=1
8543 fi
8544
8545 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8546
8547 fi;
8548
8549 eval "$ac_cv_use_slider"
8550 if test "$no_cache" != 1; then
8551 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8552 fi
8553
8554 if test "$wxUSE_SLIDER" = yes; then
8555 echo "$as_me:$LINENO: result: yes" >&5
8556 echo "${ECHO_T}yes" >&6
8557 else
8558 echo "$as_me:$LINENO: result: no" >&5
8559 echo "${ECHO_T}no" >&6
8560 fi
8561
8562
8563 enablestring=
8564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8566 no_cache=0
8567 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8568 if test "${enable_spinbtn+set}" = set; then
8569 enableval="$enable_spinbtn"
8570
8571 if test "$enableval" = yes; then
8572 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8573 else
8574 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8575 fi
8576
8577 else
8578
8579 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8580 if test "x$LINE" != x ; then
8581 eval "DEFAULT_$LINE"
8582 else
8583 no_cache=1
8584 fi
8585
8586 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8587
8588 fi;
8589
8590 eval "$ac_cv_use_spinbtn"
8591 if test "$no_cache" != 1; then
8592 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8593 fi
8594
8595 if test "$wxUSE_SPINBTN" = yes; then
8596 echo "$as_me:$LINENO: result: yes" >&5
8597 echo "${ECHO_T}yes" >&6
8598 else
8599 echo "$as_me:$LINENO: result: no" >&5
8600 echo "${ECHO_T}no" >&6
8601 fi
8602
8603
8604 enablestring=
8605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8606 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8607 no_cache=0
8608 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8609 if test "${enable_spinctrl+set}" = set; then
8610 enableval="$enable_spinctrl"
8611
8612 if test "$enableval" = yes; then
8613 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8614 else
8615 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8616 fi
8617
8618 else
8619
8620 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x ; then
8622 eval "DEFAULT_$LINE"
8623 else
8624 no_cache=1
8625 fi
8626
8627 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8628
8629 fi;
8630
8631 eval "$ac_cv_use_spinctrl"
8632 if test "$no_cache" != 1; then
8633 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8634 fi
8635
8636 if test "$wxUSE_SPINCTRL" = yes; then
8637 echo "$as_me:$LINENO: result: yes" >&5
8638 echo "${ECHO_T}yes" >&6
8639 else
8640 echo "$as_me:$LINENO: result: no" >&5
8641 echo "${ECHO_T}no" >&6
8642 fi
8643
8644
8645 enablestring=
8646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8648 no_cache=0
8649 # Check whether --enable-splitter or --disable-splitter was given.
8650 if test "${enable_splitter+set}" = set; then
8651 enableval="$enable_splitter"
8652
8653 if test "$enableval" = yes; then
8654 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8655 else
8656 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8657 fi
8658
8659 else
8660
8661 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8662 if test "x$LINE" != x ; then
8663 eval "DEFAULT_$LINE"
8664 else
8665 no_cache=1
8666 fi
8667
8668 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8669
8670 fi;
8671
8672 eval "$ac_cv_use_splitter"
8673 if test "$no_cache" != 1; then
8674 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8675 fi
8676
8677 if test "$wxUSE_SPLITTER" = yes; then
8678 echo "$as_me:$LINENO: result: yes" >&5
8679 echo "${ECHO_T}yes" >&6
8680 else
8681 echo "$as_me:$LINENO: result: no" >&5
8682 echo "${ECHO_T}no" >&6
8683 fi
8684
8685
8686 enablestring=
8687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8688 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8689 no_cache=0
8690 # Check whether --enable-statbmp or --disable-statbmp was given.
8691 if test "${enable_statbmp+set}" = set; then
8692 enableval="$enable_statbmp"
8693
8694 if test "$enableval" = yes; then
8695 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8696 else
8697 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8698 fi
8699
8700 else
8701
8702 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8703 if test "x$LINE" != x ; then
8704 eval "DEFAULT_$LINE"
8705 else
8706 no_cache=1
8707 fi
8708
8709 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8710
8711 fi;
8712
8713 eval "$ac_cv_use_statbmp"
8714 if test "$no_cache" != 1; then
8715 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8716 fi
8717
8718 if test "$wxUSE_STATBMP" = yes; then
8719 echo "$as_me:$LINENO: result: yes" >&5
8720 echo "${ECHO_T}yes" >&6
8721 else
8722 echo "$as_me:$LINENO: result: no" >&5
8723 echo "${ECHO_T}no" >&6
8724 fi
8725
8726
8727 enablestring=
8728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8730 no_cache=0
8731 # Check whether --enable-statbox or --disable-statbox was given.
8732 if test "${enable_statbox+set}" = set; then
8733 enableval="$enable_statbox"
8734
8735 if test "$enableval" = yes; then
8736 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8737 else
8738 ac_cv_use_statbox='wxUSE_STATBOX=no'
8739 fi
8740
8741 else
8742
8743 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8744 if test "x$LINE" != x ; then
8745 eval "DEFAULT_$LINE"
8746 else
8747 no_cache=1
8748 fi
8749
8750 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8751
8752 fi;
8753
8754 eval "$ac_cv_use_statbox"
8755 if test "$no_cache" != 1; then
8756 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8757 fi
8758
8759 if test "$wxUSE_STATBOX" = yes; then
8760 echo "$as_me:$LINENO: result: yes" >&5
8761 echo "${ECHO_T}yes" >&6
8762 else
8763 echo "$as_me:$LINENO: result: no" >&5
8764 echo "${ECHO_T}no" >&6
8765 fi
8766
8767
8768 enablestring=
8769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8771 no_cache=0
8772 # Check whether --enable-statline or --disable-statline was given.
8773 if test "${enable_statline+set}" = set; then
8774 enableval="$enable_statline"
8775
8776 if test "$enableval" = yes; then
8777 ac_cv_use_statline='wxUSE_STATLINE=yes'
8778 else
8779 ac_cv_use_statline='wxUSE_STATLINE=no'
8780 fi
8781
8782 else
8783
8784 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8785 if test "x$LINE" != x ; then
8786 eval "DEFAULT_$LINE"
8787 else
8788 no_cache=1
8789 fi
8790
8791 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8792
8793 fi;
8794
8795 eval "$ac_cv_use_statline"
8796 if test "$no_cache" != 1; then
8797 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8798 fi
8799
8800 if test "$wxUSE_STATLINE" = yes; then
8801 echo "$as_me:$LINENO: result: yes" >&5
8802 echo "${ECHO_T}yes" >&6
8803 else
8804 echo "$as_me:$LINENO: result: no" >&5
8805 echo "${ECHO_T}no" >&6
8806 fi
8807
8808
8809 enablestring=
8810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8812 no_cache=0
8813 # Check whether --enable-stattext or --disable-stattext was given.
8814 if test "${enable_stattext+set}" = set; then
8815 enableval="$enable_stattext"
8816
8817 if test "$enableval" = yes; then
8818 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8819 else
8820 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8821 fi
8822
8823 else
8824
8825 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8828 else
8829 no_cache=1
8830 fi
8831
8832 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8833
8834 fi;
8835
8836 eval "$ac_cv_use_stattext"
8837 if test "$no_cache" != 1; then
8838 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8839 fi
8840
8841 if test "$wxUSE_STATTEXT" = yes; then
8842 echo "$as_me:$LINENO: result: yes" >&5
8843 echo "${ECHO_T}yes" >&6
8844 else
8845 echo "$as_me:$LINENO: result: no" >&5
8846 echo "${ECHO_T}no" >&6
8847 fi
8848
8849
8850 enablestring=
8851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8852 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8853 no_cache=0
8854 # Check whether --enable-statusbar or --disable-statusbar was given.
8855 if test "${enable_statusbar+set}" = set; then
8856 enableval="$enable_statusbar"
8857
8858 if test "$enableval" = yes; then
8859 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8860 else
8861 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8862 fi
8863
8864 else
8865
8866 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8867 if test "x$LINE" != x ; then
8868 eval "DEFAULT_$LINE"
8869 else
8870 no_cache=1
8871 fi
8872
8873 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8874
8875 fi;
8876
8877 eval "$ac_cv_use_statusbar"
8878 if test "$no_cache" != 1; then
8879 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8880 fi
8881
8882 if test "$wxUSE_STATUSBAR" = yes; then
8883 echo "$as_me:$LINENO: result: yes" >&5
8884 echo "${ECHO_T}yes" >&6
8885 else
8886 echo "$as_me:$LINENO: result: no" >&5
8887 echo "${ECHO_T}no" >&6
8888 fi
8889
8890
8891 enablestring=
8892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8894 no_cache=0
8895 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8896 if test "${enable_tabdialog+set}" = set; then
8897 enableval="$enable_tabdialog"
8898
8899 if test "$enableval" = yes; then
8900 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8901 else
8902 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8903 fi
8904
8905 else
8906
8907 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8908 if test "x$LINE" != x ; then
8909 eval "DEFAULT_$LINE"
8910 else
8911 no_cache=1
8912 fi
8913
8914 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8915
8916 fi;
8917
8918 eval "$ac_cv_use_tabdialog"
8919 if test "$no_cache" != 1; then
8920 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8921 fi
8922
8923 if test "$wxUSE_TABDIALOG" = yes; then
8924 echo "$as_me:$LINENO: result: yes" >&5
8925 echo "${ECHO_T}yes" >&6
8926 else
8927 echo "$as_me:$LINENO: result: no" >&5
8928 echo "${ECHO_T}no" >&6
8929 fi
8930
8931
8932 enablestring=
8933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8935 no_cache=0
8936 # Check whether --enable-textctrl or --disable-textctrl was given.
8937 if test "${enable_textctrl+set}" = set; then
8938 enableval="$enable_textctrl"
8939
8940 if test "$enableval" = yes; then
8941 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8942 else
8943 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8944 fi
8945
8946 else
8947
8948 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8951 else
8952 no_cache=1
8953 fi
8954
8955 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8956
8957 fi;
8958
8959 eval "$ac_cv_use_textctrl"
8960 if test "$no_cache" != 1; then
8961 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8962 fi
8963
8964 if test "$wxUSE_TEXTCTRL" = yes; then
8965 echo "$as_me:$LINENO: result: yes" >&5
8966 echo "${ECHO_T}yes" >&6
8967 else
8968 echo "$as_me:$LINENO: result: no" >&5
8969 echo "${ECHO_T}no" >&6
8970 fi
8971
8972
8973 enablestring=
8974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8975 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8976 no_cache=0
8977 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8978 if test "${enable_togglebtn+set}" = set; then
8979 enableval="$enable_togglebtn"
8980
8981 if test "$enableval" = yes; then
8982 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8983 else
8984 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8985 fi
8986
8987 else
8988
8989 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8990 if test "x$LINE" != x ; then
8991 eval "DEFAULT_$LINE"
8992 else
8993 no_cache=1
8994 fi
8995
8996 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8997
8998 fi;
8999
9000 eval "$ac_cv_use_togglebtn"
9001 if test "$no_cache" != 1; then
9002 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9003 fi
9004
9005 if test "$wxUSE_TOGGLEBTN" = yes; then
9006 echo "$as_me:$LINENO: result: yes" >&5
9007 echo "${ECHO_T}yes" >&6
9008 else
9009 echo "$as_me:$LINENO: result: no" >&5
9010 echo "${ECHO_T}no" >&6
9011 fi
9012
9013
9014 enablestring=
9015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9016 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9017 no_cache=0
9018 # Check whether --enable-toolbar or --disable-toolbar was given.
9019 if test "${enable_toolbar+set}" = set; then
9020 enableval="$enable_toolbar"
9021
9022 if test "$enableval" = yes; then
9023 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9024 else
9025 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9026 fi
9027
9028 else
9029
9030 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9031 if test "x$LINE" != x ; then
9032 eval "DEFAULT_$LINE"
9033 else
9034 no_cache=1
9035 fi
9036
9037 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9038
9039 fi;
9040
9041 eval "$ac_cv_use_toolbar"
9042 if test "$no_cache" != 1; then
9043 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9044 fi
9045
9046 if test "$wxUSE_TOOLBAR" = yes; then
9047 echo "$as_me:$LINENO: result: yes" >&5
9048 echo "${ECHO_T}yes" >&6
9049 else
9050 echo "$as_me:$LINENO: result: no" >&5
9051 echo "${ECHO_T}no" >&6
9052 fi
9053
9054
9055 enablestring=
9056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9057 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9058 no_cache=0
9059 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9060 if test "${enable_tbarnative+set}" = set; then
9061 enableval="$enable_tbarnative"
9062
9063 if test "$enableval" = yes; then
9064 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9065 else
9066 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9067 fi
9068
9069 else
9070
9071 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9072 if test "x$LINE" != x ; then
9073 eval "DEFAULT_$LINE"
9074 else
9075 no_cache=1
9076 fi
9077
9078 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9079
9080 fi;
9081
9082 eval "$ac_cv_use_tbarnative"
9083 if test "$no_cache" != 1; then
9084 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9085 fi
9086
9087 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9088 echo "$as_me:$LINENO: result: yes" >&5
9089 echo "${ECHO_T}yes" >&6
9090 else
9091 echo "$as_me:$LINENO: result: no" >&5
9092 echo "${ECHO_T}no" >&6
9093 fi
9094
9095
9096 enablestring=
9097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9098 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9099 no_cache=0
9100 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9101 if test "${enable_tbarsmpl+set}" = set; then
9102 enableval="$enable_tbarsmpl"
9103
9104 if test "$enableval" = yes; then
9105 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
9106 else
9107 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
9108 fi
9109
9110 else
9111
9112 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9113 if test "x$LINE" != x ; then
9114 eval "DEFAULT_$LINE"
9115 else
9116 no_cache=1
9117 fi
9118
9119 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9120
9121 fi;
9122
9123 eval "$ac_cv_use_tbarsmpl"
9124 if test "$no_cache" != 1; then
9125 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9126 fi
9127
9128 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9129 echo "$as_me:$LINENO: result: yes" >&5
9130 echo "${ECHO_T}yes" >&6
9131 else
9132 echo "$as_me:$LINENO: result: no" >&5
9133 echo "${ECHO_T}no" >&6
9134 fi
9135
9136
9137 enablestring=
9138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9139 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9140 no_cache=0
9141 # Check whether --enable-treebook or --disable-treebook was given.
9142 if test "${enable_treebook+set}" = set; then
9143 enableval="$enable_treebook"
9144
9145 if test "$enableval" = yes; then
9146 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9147 else
9148 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9149 fi
9150
9151 else
9152
9153 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9154 if test "x$LINE" != x ; then
9155 eval "DEFAULT_$LINE"
9156 else
9157 no_cache=1
9158 fi
9159
9160 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9161
9162 fi;
9163
9164 eval "$ac_cv_use_treebook"
9165 if test "$no_cache" != 1; then
9166 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9167 fi
9168
9169 if test "$wxUSE_TREEBOOK" = yes; then
9170 echo "$as_me:$LINENO: result: yes" >&5
9171 echo "${ECHO_T}yes" >&6
9172 else
9173 echo "$as_me:$LINENO: result: no" >&5
9174 echo "${ECHO_T}no" >&6
9175 fi
9176
9177
9178 enablestring=
9179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9180 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9181 no_cache=0
9182 # Check whether --enable-toolbook or --disable-toolbook was given.
9183 if test "${enable_toolbook+set}" = set; then
9184 enableval="$enable_toolbook"
9185
9186 if test "$enableval" = yes; then
9187 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9188 else
9189 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9190 fi
9191
9192 else
9193
9194 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9195 if test "x$LINE" != x ; then
9196 eval "DEFAULT_$LINE"
9197 else
9198 no_cache=1
9199 fi
9200
9201 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9202
9203 fi;
9204
9205 eval "$ac_cv_use_toolbook"
9206 if test "$no_cache" != 1; then
9207 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9208 fi
9209
9210 if test "$wxUSE_TOOLBOOK" = yes; then
9211 echo "$as_me:$LINENO: result: yes" >&5
9212 echo "${ECHO_T}yes" >&6
9213 else
9214 echo "$as_me:$LINENO: result: no" >&5
9215 echo "${ECHO_T}no" >&6
9216 fi
9217
9218
9219 enablestring=
9220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9221 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9222 no_cache=0
9223 # Check whether --enable-treectrl or --disable-treectrl was given.
9224 if test "${enable_treectrl+set}" = set; then
9225 enableval="$enable_treectrl"
9226
9227 if test "$enableval" = yes; then
9228 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9229 else
9230 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9231 fi
9232
9233 else
9234
9235 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9236 if test "x$LINE" != x ; then
9237 eval "DEFAULT_$LINE"
9238 else
9239 no_cache=1
9240 fi
9241
9242 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9243
9244 fi;
9245
9246 eval "$ac_cv_use_treectrl"
9247 if test "$no_cache" != 1; then
9248 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9249 fi
9250
9251 if test "$wxUSE_TREECTRL" = yes; then
9252 echo "$as_me:$LINENO: result: yes" >&5
9253 echo "${ECHO_T}yes" >&6
9254 else
9255 echo "$as_me:$LINENO: result: no" >&5
9256 echo "${ECHO_T}no" >&6
9257 fi
9258
9259
9260 enablestring=
9261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9262 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9263 no_cache=0
9264 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9265 if test "${enable_tipwindow+set}" = set; then
9266 enableval="$enable_tipwindow"
9267
9268 if test "$enableval" = yes; then
9269 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9270 else
9271 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9272 fi
9273
9274 else
9275
9276 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9277 if test "x$LINE" != x ; then
9278 eval "DEFAULT_$LINE"
9279 else
9280 no_cache=1
9281 fi
9282
9283 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9284
9285 fi;
9286
9287 eval "$ac_cv_use_tipwindow"
9288 if test "$no_cache" != 1; then
9289 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9290 fi
9291
9292 if test "$wxUSE_TIPWINDOW" = yes; then
9293 echo "$as_me:$LINENO: result: yes" >&5
9294 echo "${ECHO_T}yes" >&6
9295 else
9296 echo "$as_me:$LINENO: result: no" >&5
9297 echo "${ECHO_T}no" >&6
9298 fi
9299
9300
9301 enablestring=
9302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9304 no_cache=0
9305 # Check whether --enable-popupwin or --disable-popupwin was given.
9306 if test "${enable_popupwin+set}" = set; then
9307 enableval="$enable_popupwin"
9308
9309 if test "$enableval" = yes; then
9310 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9311 else
9312 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9313 fi
9314
9315 else
9316
9317 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9318 if test "x$LINE" != x ; then
9319 eval "DEFAULT_$LINE"
9320 else
9321 no_cache=1
9322 fi
9323
9324 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9325
9326 fi;
9327
9328 eval "$ac_cv_use_popupwin"
9329 if test "$no_cache" != 1; then
9330 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9331 fi
9332
9333 if test "$wxUSE_POPUPWIN" = yes; then
9334 echo "$as_me:$LINENO: result: yes" >&5
9335 echo "${ECHO_T}yes" >&6
9336 else
9337 echo "$as_me:$LINENO: result: no" >&5
9338 echo "${ECHO_T}no" >&6
9339 fi
9340
9341
9342
9343
9344 enablestring=
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9347 no_cache=0
9348 # Check whether --enable-commondlg or --disable-commondlg was given.
9349 if test "${enable_commondlg+set}" = set; then
9350 enableval="$enable_commondlg"
9351
9352 if test "$enableval" = yes; then
9353 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9354 else
9355 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9356 fi
9357
9358 else
9359
9360 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x ; then
9362 eval "DEFAULT_$LINE"
9363 else
9364 no_cache=1
9365 fi
9366
9367 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9368
9369 fi;
9370
9371 eval "$ac_cv_use_commondlg"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9374 fi
9375
9376 if test "$wxUSE_COMMONDLGS" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9379 else
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9382 fi
9383
9384
9385 enablestring=
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9388 no_cache=0
9389 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9390 if test "${enable_choicedlg+set}" = set; then
9391 enableval="$enable_choicedlg"
9392
9393 if test "$enableval" = yes; then
9394 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9395 else
9396 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9397 fi
9398
9399 else
9400
9401 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x ; then
9403 eval "DEFAULT_$LINE"
9404 else
9405 no_cache=1
9406 fi
9407
9408 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9409
9410 fi;
9411
9412 eval "$ac_cv_use_choicedlg"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9415 fi
9416
9417 if test "$wxUSE_CHOICEDLG" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9420 else
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9423 fi
9424
9425
9426 enablestring=
9427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9429 no_cache=0
9430 # Check whether --enable-coldlg or --disable-coldlg was given.
9431 if test "${enable_coldlg+set}" = set; then
9432 enableval="$enable_coldlg"
9433
9434 if test "$enableval" = yes; then
9435 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9436 else
9437 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9438 fi
9439
9440 else
9441
9442 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9443 if test "x$LINE" != x ; then
9444 eval "DEFAULT_$LINE"
9445 else
9446 no_cache=1
9447 fi
9448
9449 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9450
9451 fi;
9452
9453 eval "$ac_cv_use_coldlg"
9454 if test "$no_cache" != 1; then
9455 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9456 fi
9457
9458 if test "$wxUSE_COLOURDLG" = yes; then
9459 echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6
9461 else
9462 echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6
9464 fi
9465
9466
9467 enablestring=
9468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9470 no_cache=0
9471 # Check whether --enable-filedlg or --disable-filedlg was given.
9472 if test "${enable_filedlg+set}" = set; then
9473 enableval="$enable_filedlg"
9474
9475 if test "$enableval" = yes; then
9476 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9477 else
9478 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9479 fi
9480
9481 else
9482
9483 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9484 if test "x$LINE" != x ; then
9485 eval "DEFAULT_$LINE"
9486 else
9487 no_cache=1
9488 fi
9489
9490 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9491
9492 fi;
9493
9494 eval "$ac_cv_use_filedlg"
9495 if test "$no_cache" != 1; then
9496 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9497 fi
9498
9499 if test "$wxUSE_FILEDLG" = yes; then
9500 echo "$as_me:$LINENO: result: yes" >&5
9501 echo "${ECHO_T}yes" >&6
9502 else
9503 echo "$as_me:$LINENO: result: no" >&5
9504 echo "${ECHO_T}no" >&6
9505 fi
9506
9507
9508 enablestring=
9509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9510 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9511 no_cache=0
9512 # Check whether --enable-finddlg or --disable-finddlg was given.
9513 if test "${enable_finddlg+set}" = set; then
9514 enableval="$enable_finddlg"
9515
9516 if test "$enableval" = yes; then
9517 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9518 else
9519 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9520 fi
9521
9522 else
9523
9524 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9525 if test "x$LINE" != x ; then
9526 eval "DEFAULT_$LINE"
9527 else
9528 no_cache=1
9529 fi
9530
9531 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9532
9533 fi;
9534
9535 eval "$ac_cv_use_finddlg"
9536 if test "$no_cache" != 1; then
9537 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9538 fi
9539
9540 if test "$wxUSE_FINDREPLDLG" = yes; then
9541 echo "$as_me:$LINENO: result: yes" >&5
9542 echo "${ECHO_T}yes" >&6
9543 else
9544 echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6
9546 fi
9547
9548
9549 enablestring=
9550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9552 no_cache=0
9553 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9554 if test "${enable_fontdlg+set}" = set; then
9555 enableval="$enable_fontdlg"
9556
9557 if test "$enableval" = yes; then
9558 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9559 else
9560 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9561 fi
9562
9563 else
9564
9565 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9566 if test "x$LINE" != x ; then
9567 eval "DEFAULT_$LINE"
9568 else
9569 no_cache=1
9570 fi
9571
9572 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9573
9574 fi;
9575
9576 eval "$ac_cv_use_fontdlg"
9577 if test "$no_cache" != 1; then
9578 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9579 fi
9580
9581 if test "$wxUSE_FONTDLG" = yes; then
9582 echo "$as_me:$LINENO: result: yes" >&5
9583 echo "${ECHO_T}yes" >&6
9584 else
9585 echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6
9587 fi
9588
9589
9590 enablestring=
9591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9593 no_cache=0
9594 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9595 if test "${enable_dirdlg+set}" = set; then
9596 enableval="$enable_dirdlg"
9597
9598 if test "$enableval" = yes; then
9599 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9600 else
9601 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9602 fi
9603
9604 else
9605
9606 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9607 if test "x$LINE" != x ; then
9608 eval "DEFAULT_$LINE"
9609 else
9610 no_cache=1
9611 fi
9612
9613 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9614
9615 fi;
9616
9617 eval "$ac_cv_use_dirdlg"
9618 if test "$no_cache" != 1; then
9619 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9620 fi
9621
9622 if test "$wxUSE_DIRDLG" = yes; then
9623 echo "$as_me:$LINENO: result: yes" >&5
9624 echo "${ECHO_T}yes" >&6
9625 else
9626 echo "$as_me:$LINENO: result: no" >&5
9627 echo "${ECHO_T}no" >&6
9628 fi
9629
9630
9631 enablestring=
9632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9634 no_cache=0
9635 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9636 if test "${enable_msgdlg+set}" = set; then
9637 enableval="$enable_msgdlg"
9638
9639 if test "$enableval" = yes; then
9640 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9641 else
9642 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9643 fi
9644
9645 else
9646
9647 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9648 if test "x$LINE" != x ; then
9649 eval "DEFAULT_$LINE"
9650 else
9651 no_cache=1
9652 fi
9653
9654 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9655
9656 fi;
9657
9658 eval "$ac_cv_use_msgdlg"
9659 if test "$no_cache" != 1; then
9660 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9661 fi
9662
9663 if test "$wxUSE_MSGDLG" = yes; then
9664 echo "$as_me:$LINENO: result: yes" >&5
9665 echo "${ECHO_T}yes" >&6
9666 else
9667 echo "$as_me:$LINENO: result: no" >&5
9668 echo "${ECHO_T}no" >&6
9669 fi
9670
9671
9672 enablestring=
9673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9675 no_cache=0
9676 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9677 if test "${enable_numberdlg+set}" = set; then
9678 enableval="$enable_numberdlg"
9679
9680 if test "$enableval" = yes; then
9681 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9682 else
9683 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9684 fi
9685
9686 else
9687
9688 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9689 if test "x$LINE" != x ; then
9690 eval "DEFAULT_$LINE"
9691 else
9692 no_cache=1
9693 fi
9694
9695 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9696
9697 fi;
9698
9699 eval "$ac_cv_use_numberdlg"
9700 if test "$no_cache" != 1; then
9701 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9702 fi
9703
9704 if test "$wxUSE_NUMBERDLG" = yes; then
9705 echo "$as_me:$LINENO: result: yes" >&5
9706 echo "${ECHO_T}yes" >&6
9707 else
9708 echo "$as_me:$LINENO: result: no" >&5
9709 echo "${ECHO_T}no" >&6
9710 fi
9711
9712
9713 enablestring=
9714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9716 no_cache=0
9717 # Check whether --enable-splash or --disable-splash was given.
9718 if test "${enable_splash+set}" = set; then
9719 enableval="$enable_splash"
9720
9721 if test "$enableval" = yes; then
9722 ac_cv_use_splash='wxUSE_SPLASH=yes'
9723 else
9724 ac_cv_use_splash='wxUSE_SPLASH=no'
9725 fi
9726
9727 else
9728
9729 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9730 if test "x$LINE" != x ; then
9731 eval "DEFAULT_$LINE"
9732 else
9733 no_cache=1
9734 fi
9735
9736 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9737
9738 fi;
9739
9740 eval "$ac_cv_use_splash"
9741 if test "$no_cache" != 1; then
9742 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9743 fi
9744
9745 if test "$wxUSE_SPLASH" = yes; then
9746 echo "$as_me:$LINENO: result: yes" >&5
9747 echo "${ECHO_T}yes" >&6
9748 else
9749 echo "$as_me:$LINENO: result: no" >&5
9750 echo "${ECHO_T}no" >&6
9751 fi
9752
9753
9754 enablestring=
9755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9757 no_cache=0
9758 # Check whether --enable-textdlg or --disable-textdlg was given.
9759 if test "${enable_textdlg+set}" = set; then
9760 enableval="$enable_textdlg"
9761
9762 if test "$enableval" = yes; then
9763 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9764 else
9765 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9766 fi
9767
9768 else
9769
9770 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9771 if test "x$LINE" != x ; then
9772 eval "DEFAULT_$LINE"
9773 else
9774 no_cache=1
9775 fi
9776
9777 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9778
9779 fi;
9780
9781 eval "$ac_cv_use_textdlg"
9782 if test "$no_cache" != 1; then
9783 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9784 fi
9785
9786 if test "$wxUSE_TEXTDLG" = yes; then
9787 echo "$as_me:$LINENO: result: yes" >&5
9788 echo "${ECHO_T}yes" >&6
9789 else
9790 echo "$as_me:$LINENO: result: no" >&5
9791 echo "${ECHO_T}no" >&6
9792 fi
9793
9794
9795 enablestring=
9796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9797 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9798 no_cache=0
9799 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9800 if test "${enable_tipdlg+set}" = set; then
9801 enableval="$enable_tipdlg"
9802
9803 if test "$enableval" = yes; then
9804 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9805 else
9806 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9807 fi
9808
9809 else
9810
9811 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9812 if test "x$LINE" != x ; then
9813 eval "DEFAULT_$LINE"
9814 else
9815 no_cache=1
9816 fi
9817
9818 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9819
9820 fi;
9821
9822 eval "$ac_cv_use_tipdlg"
9823 if test "$no_cache" != 1; then
9824 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9825 fi
9826
9827 if test "$wxUSE_STARTUP_TIPS" = yes; then
9828 echo "$as_me:$LINENO: result: yes" >&5
9829 echo "${ECHO_T}yes" >&6
9830 else
9831 echo "$as_me:$LINENO: result: no" >&5
9832 echo "${ECHO_T}no" >&6
9833 fi
9834
9835
9836 enablestring=
9837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9839 no_cache=0
9840 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9841 if test "${enable_progressdlg+set}" = set; then
9842 enableval="$enable_progressdlg"
9843
9844 if test "$enableval" = yes; then
9845 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9846 else
9847 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9848 fi
9849
9850 else
9851
9852 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9853 if test "x$LINE" != x ; then
9854 eval "DEFAULT_$LINE"
9855 else
9856 no_cache=1
9857 fi
9858
9859 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9860
9861 fi;
9862
9863 eval "$ac_cv_use_progressdlg"
9864 if test "$no_cache" != 1; then
9865 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9866 fi
9867
9868 if test "$wxUSE_PROGRESSDLG" = yes; then
9869 echo "$as_me:$LINENO: result: yes" >&5
9870 echo "${ECHO_T}yes" >&6
9871 else
9872 echo "$as_me:$LINENO: result: no" >&5
9873 echo "${ECHO_T}no" >&6
9874 fi
9875
9876
9877 enablestring=
9878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9879 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9880 no_cache=0
9881 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9882 if test "${enable_wizarddlg+set}" = set; then
9883 enableval="$enable_wizarddlg"
9884
9885 if test "$enableval" = yes; then
9886 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9887 else
9888 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9889 fi
9890
9891 else
9892
9893 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9894 if test "x$LINE" != x ; then
9895 eval "DEFAULT_$LINE"
9896 else
9897 no_cache=1
9898 fi
9899
9900 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9901
9902 fi;
9903
9904 eval "$ac_cv_use_wizarddlg"
9905 if test "$no_cache" != 1; then
9906 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9907 fi
9908
9909 if test "$wxUSE_WIZARDDLG" = yes; then
9910 echo "$as_me:$LINENO: result: yes" >&5
9911 echo "${ECHO_T}yes" >&6
9912 else
9913 echo "$as_me:$LINENO: result: no" >&5
9914 echo "${ECHO_T}no" >&6
9915 fi
9916
9917
9918
9919
9920 enablestring=
9921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9922 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9923 no_cache=0
9924 # Check whether --enable-menus or --disable-menus was given.
9925 if test "${enable_menus+set}" = set; then
9926 enableval="$enable_menus"
9927
9928 if test "$enableval" = yes; then
9929 ac_cv_use_menus='wxUSE_MENUS=yes'
9930 else
9931 ac_cv_use_menus='wxUSE_MENUS=no'
9932 fi
9933
9934 else
9935
9936 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9937 if test "x$LINE" != x ; then
9938 eval "DEFAULT_$LINE"
9939 else
9940 no_cache=1
9941 fi
9942
9943 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9944
9945 fi;
9946
9947 eval "$ac_cv_use_menus"
9948 if test "$no_cache" != 1; then
9949 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9950 fi
9951
9952 if test "$wxUSE_MENUS" = yes; then
9953 echo "$as_me:$LINENO: result: yes" >&5
9954 echo "${ECHO_T}yes" >&6
9955 else
9956 echo "$as_me:$LINENO: result: no" >&5
9957 echo "${ECHO_T}no" >&6
9958 fi
9959
9960
9961 enablestring=
9962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9963 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9964 no_cache=0
9965 # Check whether --enable-miniframe or --disable-miniframe was given.
9966 if test "${enable_miniframe+set}" = set; then
9967 enableval="$enable_miniframe"
9968
9969 if test "$enableval" = yes; then
9970 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9971 else
9972 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9973 fi
9974
9975 else
9976
9977 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9978 if test "x$LINE" != x ; then
9979 eval "DEFAULT_$LINE"
9980 else
9981 no_cache=1
9982 fi
9983
9984 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9985
9986 fi;
9987
9988 eval "$ac_cv_use_miniframe"
9989 if test "$no_cache" != 1; then
9990 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9991 fi
9992
9993 if test "$wxUSE_MINIFRAME" = yes; then
9994 echo "$as_me:$LINENO: result: yes" >&5
9995 echo "${ECHO_T}yes" >&6
9996 else
9997 echo "$as_me:$LINENO: result: no" >&5
9998 echo "${ECHO_T}no" >&6
9999 fi
10000
10001
10002 enablestring=
10003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10004 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10005 no_cache=0
10006 # Check whether --enable-tooltips or --disable-tooltips was given.
10007 if test "${enable_tooltips+set}" = set; then
10008 enableval="$enable_tooltips"
10009
10010 if test "$enableval" = yes; then
10011 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10012 else
10013 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10014 fi
10015
10016 else
10017
10018 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10019 if test "x$LINE" != x ; then
10020 eval "DEFAULT_$LINE"
10021 else
10022 no_cache=1
10023 fi
10024
10025 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10026
10027 fi;
10028
10029 eval "$ac_cv_use_tooltips"
10030 if test "$no_cache" != 1; then
10031 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10032 fi
10033
10034 if test "$wxUSE_TOOLTIPS" = yes; then
10035 echo "$as_me:$LINENO: result: yes" >&5
10036 echo "${ECHO_T}yes" >&6
10037 else
10038 echo "$as_me:$LINENO: result: no" >&5
10039 echo "${ECHO_T}no" >&6
10040 fi
10041
10042
10043 enablestring=
10044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10045 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10046 no_cache=0
10047 # Check whether --enable-splines or --disable-splines was given.
10048 if test "${enable_splines+set}" = set; then
10049 enableval="$enable_splines"
10050
10051 if test "$enableval" = yes; then
10052 ac_cv_use_splines='wxUSE_SPLINES=yes'
10053 else
10054 ac_cv_use_splines='wxUSE_SPLINES=no'
10055 fi
10056
10057 else
10058
10059 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10060 if test "x$LINE" != x ; then
10061 eval "DEFAULT_$LINE"
10062 else
10063 no_cache=1
10064 fi
10065
10066 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10067
10068 fi;
10069
10070 eval "$ac_cv_use_splines"
10071 if test "$no_cache" != 1; then
10072 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10073 fi
10074
10075 if test "$wxUSE_SPLINES" = yes; then
10076 echo "$as_me:$LINENO: result: yes" >&5
10077 echo "${ECHO_T}yes" >&6
10078 else
10079 echo "$as_me:$LINENO: result: no" >&5
10080 echo "${ECHO_T}no" >&6
10081 fi
10082
10083
10084 enablestring=
10085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10086 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10087 no_cache=0
10088 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10089 if test "${enable_mousewheel+set}" = set; then
10090 enableval="$enable_mousewheel"
10091
10092 if test "$enableval" = yes; then
10093 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10094 else
10095 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10096 fi
10097
10098 else
10099
10100 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10101 if test "x$LINE" != x ; then
10102 eval "DEFAULT_$LINE"
10103 else
10104 no_cache=1
10105 fi
10106
10107 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10108
10109 fi;
10110
10111 eval "$ac_cv_use_mousewheel"
10112 if test "$no_cache" != 1; then
10113 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10114 fi
10115
10116 if test "$wxUSE_MOUSEWHEEL" = yes; then
10117 echo "$as_me:$LINENO: result: yes" >&5
10118 echo "${ECHO_T}yes" >&6
10119 else
10120 echo "$as_me:$LINENO: result: no" >&5
10121 echo "${ECHO_T}no" >&6
10122 fi
10123
10124
10125 enablestring=
10126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10127 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10128 no_cache=0
10129 # Check whether --enable-validators or --disable-validators was given.
10130 if test "${enable_validators+set}" = set; then
10131 enableval="$enable_validators"
10132
10133 if test "$enableval" = yes; then
10134 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10135 else
10136 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10137 fi
10138
10139 else
10140
10141 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10142 if test "x$LINE" != x ; then
10143 eval "DEFAULT_$LINE"
10144 else
10145 no_cache=1
10146 fi
10147
10148 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10149
10150 fi;
10151
10152 eval "$ac_cv_use_validators"
10153 if test "$no_cache" != 1; then
10154 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10155 fi
10156
10157 if test "$wxUSE_VALIDATORS" = yes; then
10158 echo "$as_me:$LINENO: result: yes" >&5
10159 echo "${ECHO_T}yes" >&6
10160 else
10161 echo "$as_me:$LINENO: result: no" >&5
10162 echo "${ECHO_T}no" >&6
10163 fi
10164
10165
10166 enablestring=
10167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10168 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10169 no_cache=0
10170 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10171 if test "${enable_busyinfo+set}" = set; then
10172 enableval="$enable_busyinfo"
10173
10174 if test "$enableval" = yes; then
10175 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10176 else
10177 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10178 fi
10179
10180 else
10181
10182 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10183 if test "x$LINE" != x ; then
10184 eval "DEFAULT_$LINE"
10185 else
10186 no_cache=1
10187 fi
10188
10189 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10190
10191 fi;
10192
10193 eval "$ac_cv_use_busyinfo"
10194 if test "$no_cache" != 1; then
10195 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10196 fi
10197
10198 if test "$wxUSE_BUSYINFO" = yes; then
10199 echo "$as_me:$LINENO: result: yes" >&5
10200 echo "${ECHO_T}yes" >&6
10201 else
10202 echo "$as_me:$LINENO: result: no" >&5
10203 echo "${ECHO_T}no" >&6
10204 fi
10205
10206
10207 enablestring=
10208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10209 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10210 no_cache=0
10211 # Check whether --enable-joystick or --disable-joystick was given.
10212 if test "${enable_joystick+set}" = set; then
10213 enableval="$enable_joystick"
10214
10215 if test "$enableval" = yes; then
10216 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10217 else
10218 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10219 fi
10220
10221 else
10222
10223 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10224 if test "x$LINE" != x ; then
10225 eval "DEFAULT_$LINE"
10226 else
10227 no_cache=1
10228 fi
10229
10230 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10231
10232 fi;
10233
10234 eval "$ac_cv_use_joystick"
10235 if test "$no_cache" != 1; then
10236 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10237 fi
10238
10239 if test "$wxUSE_JOYSTICK" = yes; then
10240 echo "$as_me:$LINENO: result: yes" >&5
10241 echo "${ECHO_T}yes" >&6
10242 else
10243 echo "$as_me:$LINENO: result: no" >&5
10244 echo "${ECHO_T}no" >&6
10245 fi
10246
10247
10248 enablestring=
10249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10250 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10251 no_cache=0
10252 # Check whether --enable-metafile or --disable-metafile was given.
10253 if test "${enable_metafile+set}" = set; then
10254 enableval="$enable_metafile"
10255
10256 if test "$enableval" = yes; then
10257 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10258 else
10259 ac_cv_use_metafile='wxUSE_METAFILE=no'
10260 fi
10261
10262 else
10263
10264 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10265 if test "x$LINE" != x ; then
10266 eval "DEFAULT_$LINE"
10267 else
10268 no_cache=1
10269 fi
10270
10271 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10272
10273 fi;
10274
10275 eval "$ac_cv_use_metafile"
10276 if test "$no_cache" != 1; then
10277 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10278 fi
10279
10280 if test "$wxUSE_METAFILE" = yes; then
10281 echo "$as_me:$LINENO: result: yes" >&5
10282 echo "${ECHO_T}yes" >&6
10283 else
10284 echo "$as_me:$LINENO: result: no" >&5
10285 echo "${ECHO_T}no" >&6
10286 fi
10287
10288
10289 enablestring=
10290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10292 no_cache=0
10293 # Check whether --enable-dragimage or --disable-dragimage was given.
10294 if test "${enable_dragimage+set}" = set; then
10295 enableval="$enable_dragimage"
10296
10297 if test "$enableval" = yes; then
10298 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10299 else
10300 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10301 fi
10302
10303 else
10304
10305 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10306 if test "x$LINE" != x ; then
10307 eval "DEFAULT_$LINE"
10308 else
10309 no_cache=1
10310 fi
10311
10312 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10313
10314 fi;
10315
10316 eval "$ac_cv_use_dragimage"
10317 if test "$no_cache" != 1; then
10318 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10319 fi
10320
10321 if test "$wxUSE_DRAGIMAGE" = yes; then
10322 echo "$as_me:$LINENO: result: yes" >&5
10323 echo "${ECHO_T}yes" >&6
10324 else
10325 echo "$as_me:$LINENO: result: no" >&5
10326 echo "${ECHO_T}no" >&6
10327 fi
10328
10329
10330 enablestring=
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10333 no_cache=0
10334 # Check whether --enable-accessibility or --disable-accessibility was given.
10335 if test "${enable_accessibility+set}" = set; then
10336 enableval="$enable_accessibility"
10337
10338 if test "$enableval" = yes; then
10339 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10340 else
10341 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10342 fi
10343
10344 else
10345
10346 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x ; then
10348 eval "DEFAULT_$LINE"
10349 else
10350 no_cache=1
10351 fi
10352
10353 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10354
10355 fi;
10356
10357 eval "$ac_cv_use_accessibility"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10360 fi
10361
10362 if test "$wxUSE_ACCESSIBILITY" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10365 else
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10368 fi
10369
10370
10371 if test "$wxUSE_MSW" = "1"; then
10372
10373 enablestring=
10374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10375 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10376 no_cache=0
10377 # Check whether --enable-dccache or --disable-dccache was given.
10378 if test "${enable_dccache+set}" = set; then
10379 enableval="$enable_dccache"
10380
10381 if test "$enableval" = yes; then
10382 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10383 else
10384 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10385 fi
10386
10387 else
10388
10389 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10390 if test "x$LINE" != x ; then
10391 eval "DEFAULT_$LINE"
10392 else
10393 no_cache=1
10394 fi
10395
10396 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10397
10398 fi;
10399
10400 eval "$ac_cv_use_dccache"
10401 if test "$no_cache" != 1; then
10402 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10403 fi
10404
10405 if test "$wxUSE_DC_CACHEING" = yes; then
10406 echo "$as_me:$LINENO: result: yes" >&5
10407 echo "${ECHO_T}yes" >&6
10408 else
10409 echo "$as_me:$LINENO: result: no" >&5
10410 echo "${ECHO_T}no" >&6
10411 fi
10412
10413 fi
10414
10415
10416
10417 enablestring=
10418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10419 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10420 no_cache=0
10421 # Check whether --enable-palette or --disable-palette was given.
10422 if test "${enable_palette+set}" = set; then
10423 enableval="$enable_palette"
10424
10425 if test "$enableval" = yes; then
10426 ac_cv_use_palette='wxUSE_PALETTE=yes'
10427 else
10428 ac_cv_use_palette='wxUSE_PALETTE=no'
10429 fi
10430
10431 else
10432
10433 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10434 if test "x$LINE" != x ; then
10435 eval "DEFAULT_$LINE"
10436 else
10437 no_cache=1
10438 fi
10439
10440 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10441
10442 fi;
10443
10444 eval "$ac_cv_use_palette"
10445 if test "$no_cache" != 1; then
10446 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10447 fi
10448
10449 if test "$wxUSE_PALETTE" = yes; then
10450 echo "$as_me:$LINENO: result: yes" >&5
10451 echo "${ECHO_T}yes" >&6
10452 else
10453 echo "$as_me:$LINENO: result: no" >&5
10454 echo "${ECHO_T}no" >&6
10455 fi
10456
10457
10458 enablestring=
10459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10460 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10461 no_cache=0
10462 # Check whether --enable-image or --disable-image was given.
10463 if test "${enable_image+set}" = set; then
10464 enableval="$enable_image"
10465
10466 if test "$enableval" = yes; then
10467 ac_cv_use_image='wxUSE_IMAGE=yes'
10468 else
10469 ac_cv_use_image='wxUSE_IMAGE=no'
10470 fi
10471
10472 else
10473
10474 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10475 if test "x$LINE" != x ; then
10476 eval "DEFAULT_$LINE"
10477 else
10478 no_cache=1
10479 fi
10480
10481 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10482
10483 fi;
10484
10485 eval "$ac_cv_use_image"
10486 if test "$no_cache" != 1; then
10487 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10488 fi
10489
10490 if test "$wxUSE_IMAGE" = yes; then
10491 echo "$as_me:$LINENO: result: yes" >&5
10492 echo "${ECHO_T}yes" >&6
10493 else
10494 echo "$as_me:$LINENO: result: no" >&5
10495 echo "${ECHO_T}no" >&6
10496 fi
10497
10498
10499 enablestring=
10500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10501 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10502 no_cache=0
10503 # Check whether --enable-gif or --disable-gif was given.
10504 if test "${enable_gif+set}" = set; then
10505 enableval="$enable_gif"
10506
10507 if test "$enableval" = yes; then
10508 ac_cv_use_gif='wxUSE_GIF=yes'
10509 else
10510 ac_cv_use_gif='wxUSE_GIF=no'
10511 fi
10512
10513 else
10514
10515 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10516 if test "x$LINE" != x ; then
10517 eval "DEFAULT_$LINE"
10518 else
10519 no_cache=1
10520 fi
10521
10522 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10523
10524 fi;
10525
10526 eval "$ac_cv_use_gif"
10527 if test "$no_cache" != 1; then
10528 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10529 fi
10530
10531 if test "$wxUSE_GIF" = yes; then
10532 echo "$as_me:$LINENO: result: yes" >&5
10533 echo "${ECHO_T}yes" >&6
10534 else
10535 echo "$as_me:$LINENO: result: no" >&5
10536 echo "${ECHO_T}no" >&6
10537 fi
10538
10539
10540 enablestring=
10541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10542 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10543 no_cache=0
10544 # Check whether --enable-pcx or --disable-pcx was given.
10545 if test "${enable_pcx+set}" = set; then
10546 enableval="$enable_pcx"
10547
10548 if test "$enableval" = yes; then
10549 ac_cv_use_pcx='wxUSE_PCX=yes'
10550 else
10551 ac_cv_use_pcx='wxUSE_PCX=no'
10552 fi
10553
10554 else
10555
10556 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10557 if test "x$LINE" != x ; then
10558 eval "DEFAULT_$LINE"
10559 else
10560 no_cache=1
10561 fi
10562
10563 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10564
10565 fi;
10566
10567 eval "$ac_cv_use_pcx"
10568 if test "$no_cache" != 1; then
10569 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10570 fi
10571
10572 if test "$wxUSE_PCX" = yes; then
10573 echo "$as_me:$LINENO: result: yes" >&5
10574 echo "${ECHO_T}yes" >&6
10575 else
10576 echo "$as_me:$LINENO: result: no" >&5
10577 echo "${ECHO_T}no" >&6
10578 fi
10579
10580
10581 enablestring=
10582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10583 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10584 no_cache=0
10585 # Check whether --enable-iff or --disable-iff was given.
10586 if test "${enable_iff+set}" = set; then
10587 enableval="$enable_iff"
10588
10589 if test "$enableval" = yes; then
10590 ac_cv_use_iff='wxUSE_IFF=yes'
10591 else
10592 ac_cv_use_iff='wxUSE_IFF=no'
10593 fi
10594
10595 else
10596
10597 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10598 if test "x$LINE" != x ; then
10599 eval "DEFAULT_$LINE"
10600 else
10601 no_cache=1
10602 fi
10603
10604 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10605
10606 fi;
10607
10608 eval "$ac_cv_use_iff"
10609 if test "$no_cache" != 1; then
10610 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10611 fi
10612
10613 if test "$wxUSE_IFF" = yes; then
10614 echo "$as_me:$LINENO: result: yes" >&5
10615 echo "${ECHO_T}yes" >&6
10616 else
10617 echo "$as_me:$LINENO: result: no" >&5
10618 echo "${ECHO_T}no" >&6
10619 fi
10620
10621
10622 enablestring=
10623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10624 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10625 no_cache=0
10626 # Check whether --enable-pnm or --disable-pnm was given.
10627 if test "${enable_pnm+set}" = set; then
10628 enableval="$enable_pnm"
10629
10630 if test "$enableval" = yes; then
10631 ac_cv_use_pnm='wxUSE_PNM=yes'
10632 else
10633 ac_cv_use_pnm='wxUSE_PNM=no'
10634 fi
10635
10636 else
10637
10638 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10639 if test "x$LINE" != x ; then
10640 eval "DEFAULT_$LINE"
10641 else
10642 no_cache=1
10643 fi
10644
10645 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10646
10647 fi;
10648
10649 eval "$ac_cv_use_pnm"
10650 if test "$no_cache" != 1; then
10651 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10652 fi
10653
10654 if test "$wxUSE_PNM" = yes; then
10655 echo "$as_me:$LINENO: result: yes" >&5
10656 echo "${ECHO_T}yes" >&6
10657 else
10658 echo "$as_me:$LINENO: result: no" >&5
10659 echo "${ECHO_T}no" >&6
10660 fi
10661
10662
10663 enablestring=
10664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10665 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10666 no_cache=0
10667 # Check whether --enable-xpm or --disable-xpm was given.
10668 if test "${enable_xpm+set}" = set; then
10669 enableval="$enable_xpm"
10670
10671 if test "$enableval" = yes; then
10672 ac_cv_use_xpm='wxUSE_XPM=yes'
10673 else
10674 ac_cv_use_xpm='wxUSE_XPM=no'
10675 fi
10676
10677 else
10678
10679 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10680 if test "x$LINE" != x ; then
10681 eval "DEFAULT_$LINE"
10682 else
10683 no_cache=1
10684 fi
10685
10686 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10687
10688 fi;
10689
10690 eval "$ac_cv_use_xpm"
10691 if test "$no_cache" != 1; then
10692 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10693 fi
10694
10695 if test "$wxUSE_XPM" = yes; then
10696 echo "$as_me:$LINENO: result: yes" >&5
10697 echo "${ECHO_T}yes" >&6
10698 else
10699 echo "$as_me:$LINENO: result: no" >&5
10700 echo "${ECHO_T}no" >&6
10701 fi
10702
10703
10704 enablestring=
10705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10706 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10707 no_cache=0
10708 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10709 if test "${enable_ico_cur+set}" = set; then
10710 enableval="$enable_ico_cur"
10711
10712 if test "$enableval" = yes; then
10713 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10714 else
10715 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10716 fi
10717
10718 else
10719
10720 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10721 if test "x$LINE" != x ; then
10722 eval "DEFAULT_$LINE"
10723 else
10724 no_cache=1
10725 fi
10726
10727 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10728
10729 fi;
10730
10731 eval "$ac_cv_use_ico_cur"
10732 if test "$no_cache" != 1; then
10733 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10734 fi
10735
10736 if test "$wxUSE_ICO_CUR" = yes; then
10737 echo "$as_me:$LINENO: result: yes" >&5
10738 echo "${ECHO_T}yes" >&6
10739 else
10740 echo "$as_me:$LINENO: result: no" >&5
10741 echo "${ECHO_T}no" >&6
10742 fi
10743
10744
10745 fi
10746
10747
10748
10749 # Check whether --with-flavour or --without-flavour was given.
10750 if test "${with_flavour+set}" = set; then
10751 withval="$with_flavour"
10752 WX_FLAVOUR="$withval"
10753 fi;
10754
10755
10756
10757 enablestring=
10758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10759 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10760 no_cache=0
10761 # Check whether --enable-official_build or --disable-official_build was given.
10762 if test "${enable_official_build+set}" = set; then
10763 enableval="$enable_official_build"
10764
10765 if test "$enableval" = yes; then
10766 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10767 else
10768 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10769 fi
10770
10771 else
10772
10773 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10774 if test "x$LINE" != x ; then
10775 eval "DEFAULT_$LINE"
10776 else
10777 no_cache=1
10778 fi
10779
10780 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10781
10782 fi;
10783
10784 eval "$ac_cv_use_official_build"
10785 if test "$no_cache" != 1; then
10786 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10787 fi
10788
10789 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10790 echo "$as_me:$LINENO: result: yes" >&5
10791 echo "${ECHO_T}yes" >&6
10792 else
10793 echo "$as_me:$LINENO: result: no" >&5
10794 echo "${ECHO_T}no" >&6
10795 fi
10796
10797 # Check whether --enable-vendor or --disable-vendor was given.
10798 if test "${enable_vendor+set}" = set; then
10799 enableval="$enable_vendor"
10800 VENDOR="$enableval"
10801 fi;
10802 if test "x$VENDOR" = "x"; then
10803 VENDOR="custom"
10804 fi
10805
10806
10807
10808
10809 echo "saving argument cache $wx_arg_cache_file"
10810 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10811
10812
10813
10814 echo "$as_me:$LINENO: checking for toolkit" >&5
10815 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10816
10817 # In Wine, we need to default to MSW, not GTK or MOTIF
10818 if test "$wxUSE_WINE" = "yes"; then
10819 DEFAULT_DEFAULT_wxUSE_GTK=0
10820 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10821 DEFAULT_DEFAULT_wxUSE_MSW=1
10822 wxUSE_SHARED=no
10823 fi
10824
10825
10826 if test "$wxUSE_GUI" = "yes"; then
10827
10828 if test "$USE_BEOS" = 1; then
10829 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10830 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10831 { (exit 1); exit 1; }; }
10832 fi
10833
10834 if test "$TOOLKIT_GIVEN" = 1; then
10835 for toolkit in `echo $ALL_TOOLKITS`; do
10836 var=wxUSE_$toolkit
10837 eval "value=\$${var}"
10838 if test "x$value" = "xno"; then
10839 eval "$var=0"
10840 elif test "x$value" != "x"; then
10841 eval "$var=1"
10842 fi
10843
10844 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10845 eval "wx${toolkit}_VERSION=$value"
10846 fi
10847 done
10848 else
10849 for toolkit in `echo $ALL_TOOLKITS`; do
10850 if test "$has_toolkit_in_cache" != 1; then
10851 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10852 else
10853 var=DEFAULT_wxUSE_$toolkit
10854
10855 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10856 if test "x$version" != "x"; then
10857 eval "wx${toolkit}_VERSION=$version"
10858 fi
10859 fi
10860 eval "wxUSE_$toolkit=\$${var}"
10861 done
10862 fi
10863
10864 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10865 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10866 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10867
10868 case "${host}" in
10869 *-pc-os2_emx | *-pc-os2-emx )
10870 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10871 esac
10872
10873 case "$NUM_TOOLKITS" in
10874 1)
10875 ;;
10876 0)
10877 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10878 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10879 { (exit 1); exit 1; }; }
10880 ;;
10881 *)
10882 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10883 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10884 { (exit 1); exit 1; }; }
10885 esac
10886
10887 # to be removed when --disable-gtk2 isn't needed
10888 if test "x$wxUSE_GTK2" = "xyes"; then
10889 wxGTK_VERSION=2
10890 elif test "x$wxUSE_GTK2" = "xno"; then
10891 wxGTK_VERSION=1
10892 fi
10893
10894 for toolkit in `echo $ALL_TOOLKITS`; do
10895 var=wxUSE_$toolkit
10896 eval "value=\$${var}"
10897 if test "x$value" != x; then
10898 cache_var=CACHE_$toolkit
10899 eval "cache=\$${cache_var}"
10900 if test "$cache" = 1; then
10901 echo "$var=$value" >> ${wx_arg_cache_file}
10902 eval "version=\$wx${toolkit}_VERSION"
10903 if test "x$version" != "x"; then
10904 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10905 fi
10906 fi
10907 if test "$value" = 1; then
10908 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10909 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10910 echo "${ECHO_T}$toolkit_echo" >&6
10911 fi
10912 fi
10913 done
10914 else
10915 if test "x$host_alias" != "x"; then
10916 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10917 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10918 else
10919 echo "$as_me:$LINENO: result: base only" >&5
10920 echo "${ECHO_T}base only" >&6
10921 fi
10922 fi
10923
10924 wants_win32=0
10925 doesnt_want_win32=0
10926 case "${host}" in
10927 *-*-cygwin*)
10928 if test "$wxUSE_MSW" = 1 ; then
10929 wants_win32=1
10930 BAKEFILE_FORCE_PLATFORM=win32
10931 else
10932 doesnt_want_win32=1
10933 fi
10934 ;;
10935 *-*-mingw*)
10936 wants_win32=1
10937 ;;
10938 esac
10939
10940 if test "$wxUSE_WINE" = "yes"; then
10941 wants_win32=1
10942 CC=winegcc
10943 CXX=wineg++
10944 LDFLAGS_GUI="-mwindows"
10945 fi
10946
10947 if test "$wants_win32" = 1 ; then
10948 USE_UNIX=0
10949 USE_WIN32=1
10950 cat >>confdefs.h <<\_ACEOF
10951 #define __WIN32__ 1
10952 _ACEOF
10953
10954 cat >>confdefs.h <<\_ACEOF
10955 #define __WIN95__ 1
10956 _ACEOF
10957
10958 cat >>confdefs.h <<\_ACEOF
10959 #define __WINDOWS__ 1
10960 _ACEOF
10961
10962 cat >>confdefs.h <<\_ACEOF
10963 #define __GNUWIN32__ 1
10964 _ACEOF
10965
10966 cat >>confdefs.h <<\_ACEOF
10967 #define STRICT 1
10968 _ACEOF
10969
10970 cat >>confdefs.h <<\_ACEOF
10971 #define WINVER 0x0400
10972 _ACEOF
10973
10974 fi
10975 if test "$doesnt_want_win32" = 1 ; then
10976 USE_UNIX=1
10977 USE_WIN32=0
10978 fi
10979
10980 if test "$USE_UNIX" = 1 ; then
10981 wxUSE_UNIX=yes
10982 cat >>confdefs.h <<\_ACEOF
10983 #define __UNIX__ 1
10984 _ACEOF
10985
10986 fi
10987
10988
10989 cat >confcache <<\_ACEOF
10990 # This file is a shell script that caches the results of configure
10991 # tests run on this system so they can be shared between configure
10992 # scripts and configure runs, see configure's option --config-cache.
10993 # It is not useful on other systems. If it contains results you don't
10994 # want to keep, you may remove or edit it.
10995 #
10996 # config.status only pays attention to the cache file if you give it
10997 # the --recheck option to rerun configure.
10998 #
10999 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11000 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11001 # following values.
11002
11003 _ACEOF
11004
11005 # The following way of writing the cache mishandles newlines in values,
11006 # but we know of no workaround that is simple, portable, and efficient.
11007 # So, don't put newlines in cache variables' values.
11008 # Ultrix sh set writes to stderr and can't be redirected directly,
11009 # and sets the high bit in the cache file unless we assign to the vars.
11010 {
11011 (set) 2>&1 |
11012 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11013 *ac_space=\ *)
11014 # `set' does not quote correctly, so add quotes (double-quote
11015 # substitution turns \\\\ into \\, and sed turns \\ into \).
11016 sed -n \
11017 "s/'/'\\\\''/g;
11018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11019 ;;
11020 *)
11021 # `set' quotes correctly as required by POSIX, so do not add quotes.
11022 sed -n \
11023 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11024 ;;
11025 esac;
11026 } |
11027 sed '
11028 t clear
11029 : clear
11030 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11031 t end
11032 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11033 : end' >>confcache
11034 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11035 if test -w $cache_file; then
11036 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11037 cat confcache >$cache_file
11038 else
11039 echo "not updating unwritable cache $cache_file"
11040 fi
11041 fi
11042 rm -f confcache
11043
11044 CFLAGS=${CFLAGS:=}
11045
11046
11047
11048 ac_ext=c
11049 ac_cpp='$CPP $CPPFLAGS'
11050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11053 if test -n "$ac_tool_prefix"; then
11054 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11055 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11056 echo "$as_me:$LINENO: checking for $ac_word" >&5
11057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11058 if test "${ac_cv_prog_CC+set}" = set; then
11059 echo $ECHO_N "(cached) $ECHO_C" >&6
11060 else
11061 if test -n "$CC"; then
11062 ac_cv_prog_CC="$CC" # Let the user override the test.
11063 else
11064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11065 for as_dir in $PATH
11066 do
11067 IFS=$as_save_IFS
11068 test -z "$as_dir" && as_dir=.
11069 for ac_exec_ext in '' $ac_executable_extensions; do
11070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11071 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11073 break 2
11074 fi
11075 done
11076 done
11077
11078 fi
11079 fi
11080 CC=$ac_cv_prog_CC
11081 if test -n "$CC"; then
11082 echo "$as_me:$LINENO: result: $CC" >&5
11083 echo "${ECHO_T}$CC" >&6
11084 else
11085 echo "$as_me:$LINENO: result: no" >&5
11086 echo "${ECHO_T}no" >&6
11087 fi
11088
11089 fi
11090 if test -z "$ac_cv_prog_CC"; then
11091 ac_ct_CC=$CC
11092 # Extract the first word of "gcc", so it can be a program name with args.
11093 set dummy gcc; ac_word=$2
11094 echo "$as_me:$LINENO: checking for $ac_word" >&5
11095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11097 echo $ECHO_N "(cached) $ECHO_C" >&6
11098 else
11099 if test -n "$ac_ct_CC"; then
11100 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11101 else
11102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11103 for as_dir in $PATH
11104 do
11105 IFS=$as_save_IFS
11106 test -z "$as_dir" && as_dir=.
11107 for ac_exec_ext in '' $ac_executable_extensions; do
11108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11109 ac_cv_prog_ac_ct_CC="gcc"
11110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11111 break 2
11112 fi
11113 done
11114 done
11115
11116 fi
11117 fi
11118 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11119 if test -n "$ac_ct_CC"; then
11120 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11121 echo "${ECHO_T}$ac_ct_CC" >&6
11122 else
11123 echo "$as_me:$LINENO: result: no" >&5
11124 echo "${ECHO_T}no" >&6
11125 fi
11126
11127 CC=$ac_ct_CC
11128 else
11129 CC="$ac_cv_prog_CC"
11130 fi
11131
11132 if test -z "$CC"; then
11133 if test -n "$ac_tool_prefix"; then
11134 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11135 set dummy ${ac_tool_prefix}cc; ac_word=$2
11136 echo "$as_me:$LINENO: checking for $ac_word" >&5
11137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11138 if test "${ac_cv_prog_CC+set}" = set; then
11139 echo $ECHO_N "(cached) $ECHO_C" >&6
11140 else
11141 if test -n "$CC"; then
11142 ac_cv_prog_CC="$CC" # Let the user override the test.
11143 else
11144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11145 for as_dir in $PATH
11146 do
11147 IFS=$as_save_IFS
11148 test -z "$as_dir" && as_dir=.
11149 for ac_exec_ext in '' $ac_executable_extensions; do
11150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11151 ac_cv_prog_CC="${ac_tool_prefix}cc"
11152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11153 break 2
11154 fi
11155 done
11156 done
11157
11158 fi
11159 fi
11160 CC=$ac_cv_prog_CC
11161 if test -n "$CC"; then
11162 echo "$as_me:$LINENO: result: $CC" >&5
11163 echo "${ECHO_T}$CC" >&6
11164 else
11165 echo "$as_me:$LINENO: result: no" >&5
11166 echo "${ECHO_T}no" >&6
11167 fi
11168
11169 fi
11170 if test -z "$ac_cv_prog_CC"; then
11171 ac_ct_CC=$CC
11172 # Extract the first word of "cc", so it can be a program name with args.
11173 set dummy cc; ac_word=$2
11174 echo "$as_me:$LINENO: checking for $ac_word" >&5
11175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11176 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11177 echo $ECHO_N "(cached) $ECHO_C" >&6
11178 else
11179 if test -n "$ac_ct_CC"; then
11180 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11181 else
11182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11183 for as_dir in $PATH
11184 do
11185 IFS=$as_save_IFS
11186 test -z "$as_dir" && as_dir=.
11187 for ac_exec_ext in '' $ac_executable_extensions; do
11188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11189 ac_cv_prog_ac_ct_CC="cc"
11190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11191 break 2
11192 fi
11193 done
11194 done
11195
11196 fi
11197 fi
11198 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11199 if test -n "$ac_ct_CC"; then
11200 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11201 echo "${ECHO_T}$ac_ct_CC" >&6
11202 else
11203 echo "$as_me:$LINENO: result: no" >&5
11204 echo "${ECHO_T}no" >&6
11205 fi
11206
11207 CC=$ac_ct_CC
11208 else
11209 CC="$ac_cv_prog_CC"
11210 fi
11211
11212 fi
11213 if test -z "$CC"; then
11214 # Extract the first word of "cc", so it can be a program name with args.
11215 set dummy cc; ac_word=$2
11216 echo "$as_me:$LINENO: checking for $ac_word" >&5
11217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11218 if test "${ac_cv_prog_CC+set}" = set; then
11219 echo $ECHO_N "(cached) $ECHO_C" >&6
11220 else
11221 if test -n "$CC"; then
11222 ac_cv_prog_CC="$CC" # Let the user override the test.
11223 else
11224 ac_prog_rejected=no
11225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11226 for as_dir in $PATH
11227 do
11228 IFS=$as_save_IFS
11229 test -z "$as_dir" && as_dir=.
11230 for ac_exec_ext in '' $ac_executable_extensions; do
11231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11232 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11233 ac_prog_rejected=yes
11234 continue
11235 fi
11236 ac_cv_prog_CC="cc"
11237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11238 break 2
11239 fi
11240 done
11241 done
11242
11243 if test $ac_prog_rejected = yes; then
11244 # We found a bogon in the path, so make sure we never use it.
11245 set dummy $ac_cv_prog_CC
11246 shift
11247 if test $# != 0; then
11248 # We chose a different compiler from the bogus one.
11249 # However, it has the same basename, so the bogon will be chosen
11250 # first if we set CC to just the basename; use the full file name.
11251 shift
11252 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11253 fi
11254 fi
11255 fi
11256 fi
11257 CC=$ac_cv_prog_CC
11258 if test -n "$CC"; then
11259 echo "$as_me:$LINENO: result: $CC" >&5
11260 echo "${ECHO_T}$CC" >&6
11261 else
11262 echo "$as_me:$LINENO: result: no" >&5
11263 echo "${ECHO_T}no" >&6
11264 fi
11265
11266 fi
11267 if test -z "$CC"; then
11268 if test -n "$ac_tool_prefix"; then
11269 for ac_prog in cl
11270 do
11271 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11273 echo "$as_me:$LINENO: checking for $ac_word" >&5
11274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11275 if test "${ac_cv_prog_CC+set}" = set; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6
11277 else
11278 if test -n "$CC"; then
11279 ac_cv_prog_CC="$CC" # Let the user override the test.
11280 else
11281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11282 for as_dir in $PATH
11283 do
11284 IFS=$as_save_IFS
11285 test -z "$as_dir" && as_dir=.
11286 for ac_exec_ext in '' $ac_executable_extensions; do
11287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11288 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11290 break 2
11291 fi
11292 done
11293 done
11294
11295 fi
11296 fi
11297 CC=$ac_cv_prog_CC
11298 if test -n "$CC"; then
11299 echo "$as_me:$LINENO: result: $CC" >&5
11300 echo "${ECHO_T}$CC" >&6
11301 else
11302 echo "$as_me:$LINENO: result: no" >&5
11303 echo "${ECHO_T}no" >&6
11304 fi
11305
11306 test -n "$CC" && break
11307 done
11308 fi
11309 if test -z "$CC"; then
11310 ac_ct_CC=$CC
11311 for ac_prog in cl
11312 do
11313 # Extract the first word of "$ac_prog", so it can be a program name with args.
11314 set dummy $ac_prog; ac_word=$2
11315 echo "$as_me:$LINENO: checking for $ac_word" >&5
11316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11318 echo $ECHO_N "(cached) $ECHO_C" >&6
11319 else
11320 if test -n "$ac_ct_CC"; then
11321 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11322 else
11323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11324 for as_dir in $PATH
11325 do
11326 IFS=$as_save_IFS
11327 test -z "$as_dir" && as_dir=.
11328 for ac_exec_ext in '' $ac_executable_extensions; do
11329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11330 ac_cv_prog_ac_ct_CC="$ac_prog"
11331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11332 break 2
11333 fi
11334 done
11335 done
11336
11337 fi
11338 fi
11339 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11340 if test -n "$ac_ct_CC"; then
11341 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11342 echo "${ECHO_T}$ac_ct_CC" >&6
11343 else
11344 echo "$as_me:$LINENO: result: no" >&5
11345 echo "${ECHO_T}no" >&6
11346 fi
11347
11348 test -n "$ac_ct_CC" && break
11349 done
11350
11351 CC=$ac_ct_CC
11352 fi
11353
11354 fi
11355
11356
11357 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11358 See \`config.log' for more details." >&5
11359 echo "$as_me: error: no acceptable C compiler found in \$PATH
11360 See \`config.log' for more details." >&2;}
11361 { (exit 1); exit 1; }; }
11362
11363 # Provide some information about the compiler.
11364 echo "$as_me:$LINENO:" \
11365 "checking for C compiler version" >&5
11366 ac_compiler=`set X $ac_compile; echo $2`
11367 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11368 (eval $ac_compiler --version </dev/null >&5) 2>&5
11369 ac_status=$?
11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371 (exit $ac_status); }
11372 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11373 (eval $ac_compiler -v </dev/null >&5) 2>&5
11374 ac_status=$?
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); }
11377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11378 (eval $ac_compiler -V </dev/null >&5) 2>&5
11379 ac_status=$?
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); }
11382
11383 cat >conftest.$ac_ext <<_ACEOF
11384 /* confdefs.h. */
11385 _ACEOF
11386 cat confdefs.h >>conftest.$ac_ext
11387 cat >>conftest.$ac_ext <<_ACEOF
11388 /* end confdefs.h. */
11389
11390 int
11391 main ()
11392 {
11393
11394 ;
11395 return 0;
11396 }
11397 _ACEOF
11398 ac_clean_files_save=$ac_clean_files
11399 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11400 # Try to create an executable without -o first, disregard a.out.
11401 # It will help us diagnose broken compilers, and finding out an intuition
11402 # of exeext.
11403 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11404 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11405 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11406 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11407 (eval $ac_link_default) 2>&5
11408 ac_status=$?
11409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410 (exit $ac_status); }; then
11411 # Find the output, starting from the most likely. This scheme is
11412 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11413 # resort.
11414
11415 # Be careful to initialize this variable, since it used to be cached.
11416 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11417 ac_cv_exeext=
11418 # b.out is created by i960 compilers.
11419 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11420 do
11421 test -f "$ac_file" || continue
11422 case $ac_file in
11423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11424 ;;
11425 conftest.$ac_ext )
11426 # This is the source file.
11427 ;;
11428 [ab].out )
11429 # We found the default executable, but exeext='' is most
11430 # certainly right.
11431 break;;
11432 *.* )
11433 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11434 # FIXME: I believe we export ac_cv_exeext for Libtool,
11435 # but it would be cool to find out if it's true. Does anybody
11436 # maintain Libtool? --akim.
11437 export ac_cv_exeext
11438 break;;
11439 * )
11440 break;;
11441 esac
11442 done
11443 else
11444 echo "$as_me: failed program was:" >&5
11445 sed 's/^/| /' conftest.$ac_ext >&5
11446
11447 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11448 See \`config.log' for more details." >&5
11449 echo "$as_me: error: C compiler cannot create executables
11450 See \`config.log' for more details." >&2;}
11451 { (exit 77); exit 77; }; }
11452 fi
11453
11454 ac_exeext=$ac_cv_exeext
11455 echo "$as_me:$LINENO: result: $ac_file" >&5
11456 echo "${ECHO_T}$ac_file" >&6
11457
11458 # Check the compiler produces executables we can run. If not, either
11459 # the compiler is broken, or we cross compile.
11460 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11461 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11462 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11463 # If not cross compiling, check that we can run a simple program.
11464 if test "$cross_compiling" != yes; then
11465 if { ac_try='./$ac_file'
11466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467 (eval $ac_try) 2>&5
11468 ac_status=$?
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); }; }; then
11471 cross_compiling=no
11472 else
11473 if test "$cross_compiling" = maybe; then
11474 cross_compiling=yes
11475 else
11476 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11477 If you meant to cross compile, use \`--host'.
11478 See \`config.log' for more details." >&5
11479 echo "$as_me: error: cannot run C compiled programs.
11480 If you meant to cross compile, use \`--host'.
11481 See \`config.log' for more details." >&2;}
11482 { (exit 1); exit 1; }; }
11483 fi
11484 fi
11485 fi
11486 echo "$as_me:$LINENO: result: yes" >&5
11487 echo "${ECHO_T}yes" >&6
11488
11489 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11490 ac_clean_files=$ac_clean_files_save
11491 # Check the compiler produces executables we can run. If not, either
11492 # the compiler is broken, or we cross compile.
11493 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11494 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11495 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11496 echo "${ECHO_T}$cross_compiling" >&6
11497
11498 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11499 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11501 (eval $ac_link) 2>&5
11502 ac_status=$?
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); }; then
11505 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11506 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11507 # work properly (i.e., refer to `conftest.exe'), while it won't with
11508 # `rm'.
11509 for ac_file in conftest.exe conftest conftest.*; do
11510 test -f "$ac_file" || continue
11511 case $ac_file in
11512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11513 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11514 export ac_cv_exeext
11515 break;;
11516 * ) break;;
11517 esac
11518 done
11519 else
11520 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11521 See \`config.log' for more details." >&5
11522 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11523 See \`config.log' for more details." >&2;}
11524 { (exit 1); exit 1; }; }
11525 fi
11526
11527 rm -f conftest$ac_cv_exeext
11528 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11529 echo "${ECHO_T}$ac_cv_exeext" >&6
11530
11531 rm -f conftest.$ac_ext
11532 EXEEXT=$ac_cv_exeext
11533 ac_exeext=$EXEEXT
11534 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11535 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11536 if test "${ac_cv_objext+set}" = set; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11538 else
11539 cat >conftest.$ac_ext <<_ACEOF
11540 /* confdefs.h. */
11541 _ACEOF
11542 cat confdefs.h >>conftest.$ac_ext
11543 cat >>conftest.$ac_ext <<_ACEOF
11544 /* end confdefs.h. */
11545
11546 int
11547 main ()
11548 {
11549
11550 ;
11551 return 0;
11552 }
11553 _ACEOF
11554 rm -f conftest.o conftest.obj
11555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11556 (eval $ac_compile) 2>&5
11557 ac_status=$?
11558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559 (exit $ac_status); }; then
11560 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11561 case $ac_file in
11562 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11563 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11564 break;;
11565 esac
11566 done
11567 else
11568 echo "$as_me: failed program was:" >&5
11569 sed 's/^/| /' conftest.$ac_ext >&5
11570
11571 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11572 See \`config.log' for more details." >&5
11573 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11574 See \`config.log' for more details." >&2;}
11575 { (exit 1); exit 1; }; }
11576 fi
11577
11578 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11579 fi
11580 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11581 echo "${ECHO_T}$ac_cv_objext" >&6
11582 OBJEXT=$ac_cv_objext
11583 ac_objext=$OBJEXT
11584 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11585 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11586 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11588 else
11589 cat >conftest.$ac_ext <<_ACEOF
11590 /* confdefs.h. */
11591 _ACEOF
11592 cat confdefs.h >>conftest.$ac_ext
11593 cat >>conftest.$ac_ext <<_ACEOF
11594 /* end confdefs.h. */
11595
11596 int
11597 main ()
11598 {
11599 #ifndef __GNUC__
11600 choke me
11601 #endif
11602
11603 ;
11604 return 0;
11605 }
11606 _ACEOF
11607 rm -f conftest.$ac_objext
11608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11609 (eval $ac_compile) 2>conftest.er1
11610 ac_status=$?
11611 grep -v '^ *+' conftest.er1 >conftest.err
11612 rm -f conftest.er1
11613 cat conftest.err >&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); } &&
11616 { ac_try='test -z "$ac_c_werror_flag"
11617 || test ! -s conftest.err'
11618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11619 (eval $ac_try) 2>&5
11620 ac_status=$?
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); }; } &&
11623 { ac_try='test -s conftest.$ac_objext'
11624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11625 (eval $ac_try) 2>&5
11626 ac_status=$?
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); }; }; then
11629 ac_compiler_gnu=yes
11630 else
11631 echo "$as_me: failed program was:" >&5
11632 sed 's/^/| /' conftest.$ac_ext >&5
11633
11634 ac_compiler_gnu=no
11635 fi
11636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11637 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11638
11639 fi
11640 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11641 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11642 GCC=`test $ac_compiler_gnu = yes && echo yes`
11643 ac_test_CFLAGS=${CFLAGS+set}
11644 ac_save_CFLAGS=$CFLAGS
11645 CFLAGS="-g"
11646 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11647 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11648 if test "${ac_cv_prog_cc_g+set}" = set; then
11649 echo $ECHO_N "(cached) $ECHO_C" >&6
11650 else
11651 cat >conftest.$ac_ext <<_ACEOF
11652 /* confdefs.h. */
11653 _ACEOF
11654 cat confdefs.h >>conftest.$ac_ext
11655 cat >>conftest.$ac_ext <<_ACEOF
11656 /* end confdefs.h. */
11657
11658 int
11659 main ()
11660 {
11661
11662 ;
11663 return 0;
11664 }
11665 _ACEOF
11666 rm -f conftest.$ac_objext
11667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11668 (eval $ac_compile) 2>conftest.er1
11669 ac_status=$?
11670 grep -v '^ *+' conftest.er1 >conftest.err
11671 rm -f conftest.er1
11672 cat conftest.err >&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); } &&
11675 { ac_try='test -z "$ac_c_werror_flag"
11676 || test ! -s conftest.err'
11677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11678 (eval $ac_try) 2>&5
11679 ac_status=$?
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); }; } &&
11682 { ac_try='test -s conftest.$ac_objext'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11685 ac_status=$?
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; }; then
11688 ac_cv_prog_cc_g=yes
11689 else
11690 echo "$as_me: failed program was:" >&5
11691 sed 's/^/| /' conftest.$ac_ext >&5
11692
11693 ac_cv_prog_cc_g=no
11694 fi
11695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11696 fi
11697 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11698 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11699 if test "$ac_test_CFLAGS" = set; then
11700 CFLAGS=$ac_save_CFLAGS
11701 elif test $ac_cv_prog_cc_g = yes; then
11702 if test "$GCC" = yes; then
11703 CFLAGS="-g -O2"
11704 else
11705 CFLAGS="-g"
11706 fi
11707 else
11708 if test "$GCC" = yes; then
11709 CFLAGS="-O2"
11710 else
11711 CFLAGS=
11712 fi
11713 fi
11714 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11715 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11716 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11717 echo $ECHO_N "(cached) $ECHO_C" >&6
11718 else
11719 ac_cv_prog_cc_stdc=no
11720 ac_save_CC=$CC
11721 cat >conftest.$ac_ext <<_ACEOF
11722 /* confdefs.h. */
11723 _ACEOF
11724 cat confdefs.h >>conftest.$ac_ext
11725 cat >>conftest.$ac_ext <<_ACEOF
11726 /* end confdefs.h. */
11727 #include <stdarg.h>
11728 #include <stdio.h>
11729 #include <sys/types.h>
11730 #include <sys/stat.h>
11731 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11732 struct buf { int x; };
11733 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11734 static char *e (p, i)
11735 char **p;
11736 int i;
11737 {
11738 return p[i];
11739 }
11740 static char *f (char * (*g) (char **, int), char **p, ...)
11741 {
11742 char *s;
11743 va_list v;
11744 va_start (v,p);
11745 s = g (p, va_arg (v,int));
11746 va_end (v);
11747 return s;
11748 }
11749
11750 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11751 function prototypes and stuff, but not '\xHH' hex character constants.
11752 These don't provoke an error unfortunately, instead are silently treated
11753 as 'x'. The following induces an error, until -std1 is added to get
11754 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11755 array size at least. It's necessary to write '\x00'==0 to get something
11756 that's true only with -std1. */
11757 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11758
11759 int test (int i, double x);
11760 struct s1 {int (*f) (int a);};
11761 struct s2 {int (*f) (double a);};
11762 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11763 int argc;
11764 char **argv;
11765 int
11766 main ()
11767 {
11768 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11769 ;
11770 return 0;
11771 }
11772 _ACEOF
11773 # Don't try gcc -ansi; that turns off useful extensions and
11774 # breaks some systems' header files.
11775 # AIX -qlanglvl=ansi
11776 # Ultrix and OSF/1 -std1
11777 # HP-UX 10.20 and later -Ae
11778 # HP-UX older versions -Aa -D_HPUX_SOURCE
11779 # SVR4 -Xc -D__EXTENSIONS__
11780 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11781 do
11782 CC="$ac_save_CC $ac_arg"
11783 rm -f conftest.$ac_objext
11784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11785 (eval $ac_compile) 2>conftest.er1
11786 ac_status=$?
11787 grep -v '^ *+' conftest.er1 >conftest.err
11788 rm -f conftest.er1
11789 cat conftest.err >&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); } &&
11792 { ac_try='test -z "$ac_c_werror_flag"
11793 || test ! -s conftest.err'
11794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11795 (eval $ac_try) 2>&5
11796 ac_status=$?
11797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11798 (exit $ac_status); }; } &&
11799 { ac_try='test -s conftest.$ac_objext'
11800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11801 (eval $ac_try) 2>&5
11802 ac_status=$?
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); }; }; then
11805 ac_cv_prog_cc_stdc=$ac_arg
11806 break
11807 else
11808 echo "$as_me: failed program was:" >&5
11809 sed 's/^/| /' conftest.$ac_ext >&5
11810
11811 fi
11812 rm -f conftest.err conftest.$ac_objext
11813 done
11814 rm -f conftest.$ac_ext conftest.$ac_objext
11815 CC=$ac_save_CC
11816
11817 fi
11818
11819 case "x$ac_cv_prog_cc_stdc" in
11820 x|xno)
11821 echo "$as_me:$LINENO: result: none needed" >&5
11822 echo "${ECHO_T}none needed" >&6 ;;
11823 *)
11824 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11825 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11826 CC="$CC $ac_cv_prog_cc_stdc" ;;
11827 esac
11828
11829 # Some people use a C++ compiler to compile C. Since we use `exit',
11830 # in C++ we need to declare it. In case someone uses the same compiler
11831 # for both compiling C and C++ we need to have the C++ compiler decide
11832 # the declaration of exit, since it's the most demanding environment.
11833 cat >conftest.$ac_ext <<_ACEOF
11834 #ifndef __cplusplus
11835 choke me
11836 #endif
11837 _ACEOF
11838 rm -f conftest.$ac_objext
11839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11840 (eval $ac_compile) 2>conftest.er1
11841 ac_status=$?
11842 grep -v '^ *+' conftest.er1 >conftest.err
11843 rm -f conftest.er1
11844 cat conftest.err >&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); } &&
11847 { ac_try='test -z "$ac_c_werror_flag"
11848 || test ! -s conftest.err'
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11850 (eval $ac_try) 2>&5
11851 ac_status=$?
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; } &&
11854 { ac_try='test -s conftest.$ac_objext'
11855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11856 (eval $ac_try) 2>&5
11857 ac_status=$?
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); }; }; then
11860 for ac_declaration in \
11861 '' \
11862 'extern "C" void std::exit (int) throw (); using std::exit;' \
11863 'extern "C" void std::exit (int); using std::exit;' \
11864 'extern "C" void exit (int) throw ();' \
11865 'extern "C" void exit (int);' \
11866 'void exit (int);'
11867 do
11868 cat >conftest.$ac_ext <<_ACEOF
11869 /* confdefs.h. */
11870 _ACEOF
11871 cat confdefs.h >>conftest.$ac_ext
11872 cat >>conftest.$ac_ext <<_ACEOF
11873 /* end confdefs.h. */
11874 $ac_declaration
11875 #include <stdlib.h>
11876 int
11877 main ()
11878 {
11879 exit (42);
11880 ;
11881 return 0;
11882 }
11883 _ACEOF
11884 rm -f conftest.$ac_objext
11885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11886 (eval $ac_compile) 2>conftest.er1
11887 ac_status=$?
11888 grep -v '^ *+' conftest.er1 >conftest.err
11889 rm -f conftest.er1
11890 cat conftest.err >&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); } &&
11893 { ac_try='test -z "$ac_c_werror_flag"
11894 || test ! -s conftest.err'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11897 ac_status=$?
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; } &&
11900 { ac_try='test -s conftest.$ac_objext'
11901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11902 (eval $ac_try) 2>&5
11903 ac_status=$?
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }; }; then
11906 :
11907 else
11908 echo "$as_me: failed program was:" >&5
11909 sed 's/^/| /' conftest.$ac_ext >&5
11910
11911 continue
11912 fi
11913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11914 cat >conftest.$ac_ext <<_ACEOF
11915 /* confdefs.h. */
11916 _ACEOF
11917 cat confdefs.h >>conftest.$ac_ext
11918 cat >>conftest.$ac_ext <<_ACEOF
11919 /* end confdefs.h. */
11920 $ac_declaration
11921 int
11922 main ()
11923 {
11924 exit (42);
11925 ;
11926 return 0;
11927 }
11928 _ACEOF
11929 rm -f conftest.$ac_objext
11930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11931 (eval $ac_compile) 2>conftest.er1
11932 ac_status=$?
11933 grep -v '^ *+' conftest.er1 >conftest.err
11934 rm -f conftest.er1
11935 cat conftest.err >&5
11936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11937 (exit $ac_status); } &&
11938 { ac_try='test -z "$ac_c_werror_flag"
11939 || test ! -s conftest.err'
11940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11941 (eval $ac_try) 2>&5
11942 ac_status=$?
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); }; } &&
11945 { ac_try='test -s conftest.$ac_objext'
11946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11947 (eval $ac_try) 2>&5
11948 ac_status=$?
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); }; }; then
11951 break
11952 else
11953 echo "$as_me: failed program was:" >&5
11954 sed 's/^/| /' conftest.$ac_ext >&5
11955
11956 fi
11957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11958 done
11959 rm -f conftest*
11960 if test -n "$ac_declaration"; then
11961 echo '#ifdef __cplusplus' >>confdefs.h
11962 echo $ac_declaration >>confdefs.h
11963 echo '#endif' >>confdefs.h
11964 fi
11965
11966 else
11967 echo "$as_me: failed program was:" >&5
11968 sed 's/^/| /' conftest.$ac_ext >&5
11969
11970 fi
11971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11972 ac_ext=c
11973 ac_cpp='$CPP $CPPFLAGS'
11974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11977
11978
11979
11980 ac_ext=c
11981 ac_cpp='$CPP $CPPFLAGS'
11982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11985
11986 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11987 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11988 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6
11990 else
11991 cat >conftest.$ac_ext <<_ACEOF
11992 /* confdefs.h. */
11993 _ACEOF
11994 cat confdefs.h >>conftest.$ac_ext
11995 cat >>conftest.$ac_ext <<_ACEOF
11996 /* end confdefs.h. */
11997
11998 int
11999 main ()
12000 {
12001
12002 #ifndef __INTEL_COMPILER
12003 choke me
12004 #endif
12005
12006 ;
12007 return 0;
12008 }
12009 _ACEOF
12010 rm -f conftest.$ac_objext
12011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12012 (eval $ac_compile) 2>conftest.er1
12013 ac_status=$?
12014 grep -v '^ *+' conftest.er1 >conftest.err
12015 rm -f conftest.er1
12016 cat conftest.err >&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); } &&
12019 { ac_try='test -z "$ac_c_werror_flag"
12020 || test ! -s conftest.err'
12021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12022 (eval $ac_try) 2>&5
12023 ac_status=$?
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); }; } &&
12026 { ac_try='test -s conftest.$ac_objext'
12027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028 (eval $ac_try) 2>&5
12029 ac_status=$?
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); }; }; then
12032 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12033 else
12034 echo "$as_me: failed program was:" >&5
12035 sed 's/^/| /' conftest.$ac_ext >&5
12036
12037 bakefile_cv_c_compiler___INTEL_COMPILER=no
12038
12039 fi
12040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12041
12042
12043 fi
12044 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12045 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12046 ac_ext=c
12047 ac_cpp='$CPP $CPPFLAGS'
12048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12051
12052 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12053 :; INTELCC=yes
12054 else
12055 :;
12056 fi
12057
12058
12059 if test "x$GCC" != "xyes"; then
12060 if test "xCC" = "xC"; then
12061 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12062 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12063 if test "${bakefile_cv_c_exto+set}" = set; then
12064 echo $ECHO_N "(cached) $ECHO_C" >&6
12065 else
12066 cat >conftest.$ac_ext <<_ACEOF
12067 /* confdefs.h. */
12068 _ACEOF
12069 cat confdefs.h >>conftest.$ac_ext
12070 cat >>conftest.$ac_ext <<_ACEOF
12071 /* end confdefs.h. */
12072
12073 int
12074 main ()
12075 {
12076
12077 ;
12078 return 0;
12079 }
12080 _ACEOF
12081 rm -f conftest.$ac_objext conftest.$ac_ext.o
12082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12083 (eval $ac_compile) 2>&5
12084 ac_status=$?
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); }; then
12087 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12088 case $ac_file in
12089 conftest.$ac_ext.o)
12090 bakefile_cv_c_exto="-ext o"
12091 ;;
12092 *)
12093 ;;
12094 esac
12095 done
12096 else
12097 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12098 See \`config.log' for more details." >&5
12099 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12100 See \`config.log' for more details." >&2;}
12101 { (exit 1); exit 1; }; }
12102
12103 fi
12104
12105 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12106
12107 fi
12108 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12109 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12110 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12111 if test "c" = "c"; then
12112 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12113 fi
12114 if test "c" = "cxx"; then
12115 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12116 fi
12117 fi
12118
12119 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12120 unset ac_cv_prog_cc_g
12121 ac_test_CFLAGS=${CFLAGS+set}
12122 ac_save_CFLAGS=$CFLAGS
12123 CFLAGS="-g"
12124 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12125 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12126 if test "${ac_cv_prog_cc_g+set}" = set; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6
12128 else
12129 cat >conftest.$ac_ext <<_ACEOF
12130 /* confdefs.h. */
12131 _ACEOF
12132 cat confdefs.h >>conftest.$ac_ext
12133 cat >>conftest.$ac_ext <<_ACEOF
12134 /* end confdefs.h. */
12135
12136 int
12137 main ()
12138 {
12139
12140 ;
12141 return 0;
12142 }
12143 _ACEOF
12144 rm -f conftest.$ac_objext
12145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12146 (eval $ac_compile) 2>conftest.er1
12147 ac_status=$?
12148 grep -v '^ *+' conftest.er1 >conftest.err
12149 rm -f conftest.er1
12150 cat conftest.err >&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); } &&
12153 { ac_try='test -z "$ac_c_werror_flag"
12154 || test ! -s conftest.err'
12155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12156 (eval $ac_try) 2>&5
12157 ac_status=$?
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); }; } &&
12160 { ac_try='test -s conftest.$ac_objext'
12161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12162 (eval $ac_try) 2>&5
12163 ac_status=$?
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); }; }; then
12166 ac_cv_prog_cc_g=yes
12167 else
12168 echo "$as_me: failed program was:" >&5
12169 sed 's/^/| /' conftest.$ac_ext >&5
12170
12171 ac_cv_prog_cc_g=no
12172 fi
12173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12174 fi
12175 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12176 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12177 if test "$ac_test_CFLAGS" = set; then
12178 CFLAGS=$ac_save_CFLAGS
12179 elif test $ac_cv_prog_cc_g = yes; then
12180 if test "$GCC" = yes; then
12181 CFLAGS="-g -O2"
12182 else
12183 CFLAGS="-g"
12184 fi
12185 else
12186 if test "$GCC" = yes; then
12187 CFLAGS="-O2"
12188 else
12189 CFLAGS=
12190 fi
12191 fi
12192 fi
12193 fi
12194
12195 case `uname -s` in
12196 AIX*)
12197 ac_ext=c
12198 ac_cpp='$CPP $CPPFLAGS'
12199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12202
12203 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12204 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12205 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12206 echo $ECHO_N "(cached) $ECHO_C" >&6
12207 else
12208 cat >conftest.$ac_ext <<_ACEOF
12209 /* confdefs.h. */
12210 _ACEOF
12211 cat confdefs.h >>conftest.$ac_ext
12212 cat >>conftest.$ac_ext <<_ACEOF
12213 /* end confdefs.h. */
12214
12215 int
12216 main ()
12217 {
12218 #ifndef __xlC__
12219 choke me
12220 #endif
12221
12222 ;
12223 return 0;
12224 }
12225 _ACEOF
12226 rm -f conftest.$ac_objext
12227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12228 (eval $ac_compile) 2>conftest.er1
12229 ac_status=$?
12230 grep -v '^ *+' conftest.er1 >conftest.err
12231 rm -f conftest.er1
12232 cat conftest.err >&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); } &&
12235 { ac_try='test -z "$ac_c_werror_flag"
12236 || test ! -s conftest.err'
12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5
12239 ac_status=$?
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; } &&
12242 { ac_try='test -s conftest.$ac_objext'
12243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12244 (eval $ac_try) 2>&5
12245 ac_status=$?
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; }; then
12248 bakefile_compiler_xlc=yes
12249 else
12250 echo "$as_me: failed program was:" >&5
12251 sed 's/^/| /' conftest.$ac_ext >&5
12252
12253 bakefile_compiler_xlc=no
12254 fi
12255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12256 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12257
12258 fi
12259 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12260 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12261
12262 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12263 ac_ext=c
12264 ac_cpp='$CPP $CPPFLAGS'
12265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12268
12269
12270 ;;
12271
12272 Darwin)
12273 ac_ext=c
12274 ac_cpp='$CPP $CPPFLAGS'
12275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12278
12279 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12280 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12281 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12282 echo $ECHO_N "(cached) $ECHO_C" >&6
12283 else
12284 cat >conftest.$ac_ext <<_ACEOF
12285 /* confdefs.h. */
12286 _ACEOF
12287 cat confdefs.h >>conftest.$ac_ext
12288 cat >>conftest.$ac_ext <<_ACEOF
12289 /* end confdefs.h. */
12290
12291 int
12292 main ()
12293 {
12294 #ifndef __MWERKS__
12295 choke me
12296 #endif
12297
12298 ;
12299 return 0;
12300 }
12301 _ACEOF
12302 rm -f conftest.$ac_objext
12303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12304 (eval $ac_compile) 2>conftest.er1
12305 ac_status=$?
12306 grep -v '^ *+' conftest.er1 >conftest.err
12307 rm -f conftest.er1
12308 cat conftest.err >&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); } &&
12311 { ac_try='test -z "$ac_c_werror_flag"
12312 || test ! -s conftest.err'
12313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5
12315 ac_status=$?
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; } &&
12318 { ac_try='test -s conftest.$ac_objext'
12319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12320 (eval $ac_try) 2>&5
12321 ac_status=$?
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }; }; then
12324 bakefile_compiler_mwerks=yes
12325 else
12326 echo "$as_me: failed program was:" >&5
12327 sed 's/^/| /' conftest.$ac_ext >&5
12328
12329 bakefile_compiler_mwerks=no
12330 fi
12331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12332 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12333
12334 fi
12335 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12336 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12337
12338 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12339 ac_ext=c
12340 ac_cpp='$CPP $CPPFLAGS'
12341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12344
12345
12346 ac_ext=c
12347 ac_cpp='$CPP $CPPFLAGS'
12348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12351
12352 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12353 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12354 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12355 echo $ECHO_N "(cached) $ECHO_C" >&6
12356 else
12357 cat >conftest.$ac_ext <<_ACEOF
12358 /* confdefs.h. */
12359 _ACEOF
12360 cat confdefs.h >>conftest.$ac_ext
12361 cat >>conftest.$ac_ext <<_ACEOF
12362 /* end confdefs.h. */
12363
12364 int
12365 main ()
12366 {
12367 #ifndef __xlC__
12368 choke me
12369 #endif
12370
12371 ;
12372 return 0;
12373 }
12374 _ACEOF
12375 rm -f conftest.$ac_objext
12376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12377 (eval $ac_compile) 2>conftest.er1
12378 ac_status=$?
12379 grep -v '^ *+' conftest.er1 >conftest.err
12380 rm -f conftest.er1
12381 cat conftest.err >&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); } &&
12384 { ac_try='test -z "$ac_c_werror_flag"
12385 || test ! -s conftest.err'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12388 ac_status=$?
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; } &&
12391 { ac_try='test -s conftest.$ac_objext'
12392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12393 (eval $ac_try) 2>&5
12394 ac_status=$?
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); }; }; then
12397 bakefile_compiler_xlc=yes
12398 else
12399 echo "$as_me: failed program was:" >&5
12400 sed 's/^/| /' conftest.$ac_ext >&5
12401
12402 bakefile_compiler_xlc=no
12403 fi
12404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12405 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12406
12407 fi
12408 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12409 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12410
12411 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12412 ac_ext=c
12413 ac_cpp='$CPP $CPPFLAGS'
12414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12417
12418
12419 ;;
12420
12421 IRIX*)
12422
12423
12424 ac_ext=c
12425 ac_cpp='$CPP $CPPFLAGS'
12426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12429
12430 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12431 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12432 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12433 echo $ECHO_N "(cached) $ECHO_C" >&6
12434 else
12435 cat >conftest.$ac_ext <<_ACEOF
12436 /* confdefs.h. */
12437 _ACEOF
12438 cat confdefs.h >>conftest.$ac_ext
12439 cat >>conftest.$ac_ext <<_ACEOF
12440 /* end confdefs.h. */
12441
12442 int
12443 main ()
12444 {
12445
12446 #ifndef _SGI_COMPILER_VERSION
12447 choke me
12448 #endif
12449
12450 ;
12451 return 0;
12452 }
12453 _ACEOF
12454 rm -f conftest.$ac_objext
12455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12456 (eval $ac_compile) 2>conftest.er1
12457 ac_status=$?
12458 grep -v '^ *+' conftest.er1 >conftest.err
12459 rm -f conftest.er1
12460 cat conftest.err >&5
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); } &&
12463 { ac_try='test -z "$ac_c_werror_flag"
12464 || test ! -s conftest.err'
12465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12466 (eval $ac_try) 2>&5
12467 ac_status=$?
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); }; } &&
12470 { ac_try='test -s conftest.$ac_objext'
12471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12472 (eval $ac_try) 2>&5
12473 ac_status=$?
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; }; then
12476 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12477 else
12478 echo "$as_me: failed program was:" >&5
12479 sed 's/^/| /' conftest.$ac_ext >&5
12480
12481 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12482
12483 fi
12484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12485
12486
12487 fi
12488 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12489 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12490 ac_ext=c
12491 ac_cpp='$CPP $CPPFLAGS'
12492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12495
12496 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12497 :; SGICC=yes
12498 else
12499 :;
12500 fi
12501
12502
12503 ;;
12504
12505 HP-UX*)
12506
12507
12508 ac_ext=c
12509 ac_cpp='$CPP $CPPFLAGS'
12510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12513
12514 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12515 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12516 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12517 echo $ECHO_N "(cached) $ECHO_C" >&6
12518 else
12519 cat >conftest.$ac_ext <<_ACEOF
12520 /* confdefs.h. */
12521 _ACEOF
12522 cat confdefs.h >>conftest.$ac_ext
12523 cat >>conftest.$ac_ext <<_ACEOF
12524 /* end confdefs.h. */
12525
12526 int
12527 main ()
12528 {
12529
12530 #ifndef __HP_cc
12531 choke me
12532 #endif
12533
12534 ;
12535 return 0;
12536 }
12537 _ACEOF
12538 rm -f conftest.$ac_objext
12539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12540 (eval $ac_compile) 2>conftest.er1
12541 ac_status=$?
12542 grep -v '^ *+' conftest.er1 >conftest.err
12543 rm -f conftest.er1
12544 cat conftest.err >&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); } &&
12547 { ac_try='test -z "$ac_c_werror_flag"
12548 || test ! -s conftest.err'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12551 ac_status=$?
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; } &&
12554 { ac_try='test -s conftest.$ac_objext'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12557 ac_status=$?
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560 bakefile_cv_c_compiler___HP_cc=yes
12561 else
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.$ac_ext >&5
12564
12565 bakefile_cv_c_compiler___HP_cc=no
12566
12567 fi
12568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12569
12570
12571 fi
12572 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12573 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12574 ac_ext=c
12575 ac_cpp='$CPP $CPPFLAGS'
12576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12579
12580 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12581 :; HPCC=yes
12582 else
12583 :;
12584 fi
12585
12586
12587 ;;
12588
12589 OSF1)
12590
12591
12592 ac_ext=c
12593 ac_cpp='$CPP $CPPFLAGS'
12594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12597
12598 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12599 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12600 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12601 echo $ECHO_N "(cached) $ECHO_C" >&6
12602 else
12603 cat >conftest.$ac_ext <<_ACEOF
12604 /* confdefs.h. */
12605 _ACEOF
12606 cat confdefs.h >>conftest.$ac_ext
12607 cat >>conftest.$ac_ext <<_ACEOF
12608 /* end confdefs.h. */
12609
12610 int
12611 main ()
12612 {
12613
12614 #ifndef __DECC
12615 choke me
12616 #endif
12617
12618 ;
12619 return 0;
12620 }
12621 _ACEOF
12622 rm -f conftest.$ac_objext
12623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12624 (eval $ac_compile) 2>conftest.er1
12625 ac_status=$?
12626 grep -v '^ *+' conftest.er1 >conftest.err
12627 rm -f conftest.er1
12628 cat conftest.err >&5
12629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12630 (exit $ac_status); } &&
12631 { ac_try='test -z "$ac_c_werror_flag"
12632 || test ! -s conftest.err'
12633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12634 (eval $ac_try) 2>&5
12635 ac_status=$?
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); }; } &&
12638 { ac_try='test -s conftest.$ac_objext'
12639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12640 (eval $ac_try) 2>&5
12641 ac_status=$?
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); }; }; then
12644 bakefile_cv_c_compiler___DECC=yes
12645 else
12646 echo "$as_me: failed program was:" >&5
12647 sed 's/^/| /' conftest.$ac_ext >&5
12648
12649 bakefile_cv_c_compiler___DECC=no
12650
12651 fi
12652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12653
12654
12655 fi
12656 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12657 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12658 ac_ext=c
12659 ac_cpp='$CPP $CPPFLAGS'
12660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12663
12664 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12665 :; COMPAQCC=yes
12666 else
12667 :;
12668 fi
12669
12670
12671 ;;
12672
12673 SunOS)
12674
12675
12676 ac_ext=c
12677 ac_cpp='$CPP $CPPFLAGS'
12678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12681
12682 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12683 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12684 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12685 echo $ECHO_N "(cached) $ECHO_C" >&6
12686 else
12687 cat >conftest.$ac_ext <<_ACEOF
12688 /* confdefs.h. */
12689 _ACEOF
12690 cat confdefs.h >>conftest.$ac_ext
12691 cat >>conftest.$ac_ext <<_ACEOF
12692 /* end confdefs.h. */
12693
12694 int
12695 main ()
12696 {
12697
12698 #ifndef __SUNPRO_C
12699 choke me
12700 #endif
12701
12702 ;
12703 return 0;
12704 }
12705 _ACEOF
12706 rm -f conftest.$ac_objext
12707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12708 (eval $ac_compile) 2>conftest.er1
12709 ac_status=$?
12710 grep -v '^ *+' conftest.er1 >conftest.err
12711 rm -f conftest.er1
12712 cat conftest.err >&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); } &&
12715 { ac_try='test -z "$ac_c_werror_flag"
12716 || test ! -s conftest.err'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12719 ac_status=$?
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; } &&
12722 { ac_try='test -s conftest.$ac_objext'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12725 ac_status=$?
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; }; then
12728 bakefile_cv_c_compiler___SUNPRO_C=yes
12729 else
12730 echo "$as_me: failed program was:" >&5
12731 sed 's/^/| /' conftest.$ac_ext >&5
12732
12733 bakefile_cv_c_compiler___SUNPRO_C=no
12734
12735 fi
12736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12737
12738
12739 fi
12740 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12741 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12742 ac_ext=c
12743 ac_cpp='$CPP $CPPFLAGS'
12744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12747
12748 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12749 :; SUNCC=yes
12750 else
12751 :;
12752 fi
12753
12754
12755 ;;
12756 esac
12757 fi
12758
12759
12760
12761 ac_ext=c
12762 ac_cpp='$CPP $CPPFLAGS'
12763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12766 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12767 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12768 # On Suns, sometimes $CPP names a directory.
12769 if test -n "$CPP" && test -d "$CPP"; then
12770 CPP=
12771 fi
12772 if test -z "$CPP"; then
12773 if test "${ac_cv_prog_CPP+set}" = set; then
12774 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 else
12776 # Double quotes because CPP needs to be expanded
12777 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12778 do
12779 ac_preproc_ok=false
12780 for ac_c_preproc_warn_flag in '' yes
12781 do
12782 # Use a header file that comes with gcc, so configuring glibc
12783 # with a fresh cross-compiler works.
12784 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12785 # <limits.h> exists even on freestanding compilers.
12786 # On the NeXT, cc -E runs the code through the compiler's parser,
12787 # not just through cpp. "Syntax error" is here to catch this case.
12788 cat >conftest.$ac_ext <<_ACEOF
12789 /* confdefs.h. */
12790 _ACEOF
12791 cat confdefs.h >>conftest.$ac_ext
12792 cat >>conftest.$ac_ext <<_ACEOF
12793 /* end confdefs.h. */
12794 #ifdef __STDC__
12795 # include <limits.h>
12796 #else
12797 # include <assert.h>
12798 #endif
12799 Syntax error
12800 _ACEOF
12801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12802 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12803 ac_status=$?
12804 grep -v '^ *+' conftest.er1 >conftest.err
12805 rm -f conftest.er1
12806 cat conftest.err >&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } >/dev/null; then
12809 if test -s conftest.err; then
12810 ac_cpp_err=$ac_c_preproc_warn_flag
12811 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12812 else
12813 ac_cpp_err=
12814 fi
12815 else
12816 ac_cpp_err=yes
12817 fi
12818 if test -z "$ac_cpp_err"; then
12819 :
12820 else
12821 echo "$as_me: failed program was:" >&5
12822 sed 's/^/| /' conftest.$ac_ext >&5
12823
12824 # Broken: fails on valid input.
12825 continue
12826 fi
12827 rm -f conftest.err conftest.$ac_ext
12828
12829 # OK, works on sane cases. Now check whether non-existent headers
12830 # can be detected and how.
12831 cat >conftest.$ac_ext <<_ACEOF
12832 /* confdefs.h. */
12833 _ACEOF
12834 cat confdefs.h >>conftest.$ac_ext
12835 cat >>conftest.$ac_ext <<_ACEOF
12836 /* end confdefs.h. */
12837 #include <ac_nonexistent.h>
12838 _ACEOF
12839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12840 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12841 ac_status=$?
12842 grep -v '^ *+' conftest.er1 >conftest.err
12843 rm -f conftest.er1
12844 cat conftest.err >&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); } >/dev/null; then
12847 if test -s conftest.err; then
12848 ac_cpp_err=$ac_c_preproc_warn_flag
12849 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12850 else
12851 ac_cpp_err=
12852 fi
12853 else
12854 ac_cpp_err=yes
12855 fi
12856 if test -z "$ac_cpp_err"; then
12857 # Broken: success on invalid input.
12858 continue
12859 else
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.$ac_ext >&5
12862
12863 # Passes both tests.
12864 ac_preproc_ok=:
12865 break
12866 fi
12867 rm -f conftest.err conftest.$ac_ext
12868
12869 done
12870 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12871 rm -f conftest.err conftest.$ac_ext
12872 if $ac_preproc_ok; then
12873 break
12874 fi
12875
12876 done
12877 ac_cv_prog_CPP=$CPP
12878
12879 fi
12880 CPP=$ac_cv_prog_CPP
12881 else
12882 ac_cv_prog_CPP=$CPP
12883 fi
12884 echo "$as_me:$LINENO: result: $CPP" >&5
12885 echo "${ECHO_T}$CPP" >&6
12886 ac_preproc_ok=false
12887 for ac_c_preproc_warn_flag in '' yes
12888 do
12889 # Use a header file that comes with gcc, so configuring glibc
12890 # with a fresh cross-compiler works.
12891 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12892 # <limits.h> exists even on freestanding compilers.
12893 # On the NeXT, cc -E runs the code through the compiler's parser,
12894 # not just through cpp. "Syntax error" is here to catch this case.
12895 cat >conftest.$ac_ext <<_ACEOF
12896 /* confdefs.h. */
12897 _ACEOF
12898 cat confdefs.h >>conftest.$ac_ext
12899 cat >>conftest.$ac_ext <<_ACEOF
12900 /* end confdefs.h. */
12901 #ifdef __STDC__
12902 # include <limits.h>
12903 #else
12904 # include <assert.h>
12905 #endif
12906 Syntax error
12907 _ACEOF
12908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12910 ac_status=$?
12911 grep -v '^ *+' conftest.er1 >conftest.err
12912 rm -f conftest.er1
12913 cat conftest.err >&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); } >/dev/null; then
12916 if test -s conftest.err; then
12917 ac_cpp_err=$ac_c_preproc_warn_flag
12918 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12919 else
12920 ac_cpp_err=
12921 fi
12922 else
12923 ac_cpp_err=yes
12924 fi
12925 if test -z "$ac_cpp_err"; then
12926 :
12927 else
12928 echo "$as_me: failed program was:" >&5
12929 sed 's/^/| /' conftest.$ac_ext >&5
12930
12931 # Broken: fails on valid input.
12932 continue
12933 fi
12934 rm -f conftest.err conftest.$ac_ext
12935
12936 # OK, works on sane cases. Now check whether non-existent headers
12937 # can be detected and how.
12938 cat >conftest.$ac_ext <<_ACEOF
12939 /* confdefs.h. */
12940 _ACEOF
12941 cat confdefs.h >>conftest.$ac_ext
12942 cat >>conftest.$ac_ext <<_ACEOF
12943 /* end confdefs.h. */
12944 #include <ac_nonexistent.h>
12945 _ACEOF
12946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12948 ac_status=$?
12949 grep -v '^ *+' conftest.er1 >conftest.err
12950 rm -f conftest.er1
12951 cat conftest.err >&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); } >/dev/null; then
12954 if test -s conftest.err; then
12955 ac_cpp_err=$ac_c_preproc_warn_flag
12956 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12957 else
12958 ac_cpp_err=
12959 fi
12960 else
12961 ac_cpp_err=yes
12962 fi
12963 if test -z "$ac_cpp_err"; then
12964 # Broken: success on invalid input.
12965 continue
12966 else
12967 echo "$as_me: failed program was:" >&5
12968 sed 's/^/| /' conftest.$ac_ext >&5
12969
12970 # Passes both tests.
12971 ac_preproc_ok=:
12972 break
12973 fi
12974 rm -f conftest.err conftest.$ac_ext
12975
12976 done
12977 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12978 rm -f conftest.err conftest.$ac_ext
12979 if $ac_preproc_ok; then
12980 :
12981 else
12982 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12983 See \`config.log' for more details." >&5
12984 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12985 See \`config.log' for more details." >&2;}
12986 { (exit 1); exit 1; }; }
12987 fi
12988
12989 ac_ext=c
12990 ac_cpp='$CPP $CPPFLAGS'
12991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12994
12995
12996 echo "$as_me:$LINENO: checking for egrep" >&5
12997 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12998 if test "${ac_cv_prog_egrep+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13000 else
13001 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13002 then ac_cv_prog_egrep='grep -E'
13003 else ac_cv_prog_egrep='egrep'
13004 fi
13005 fi
13006 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13007 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13008 EGREP=$ac_cv_prog_egrep
13009
13010
13011 if test $ac_cv_c_compiler_gnu = yes; then
13012 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13013 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13014 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13015 echo $ECHO_N "(cached) $ECHO_C" >&6
13016 else
13017 ac_pattern="Autoconf.*'x'"
13018 cat >conftest.$ac_ext <<_ACEOF
13019 /* confdefs.h. */
13020 _ACEOF
13021 cat confdefs.h >>conftest.$ac_ext
13022 cat >>conftest.$ac_ext <<_ACEOF
13023 /* end confdefs.h. */
13024 #include <sgtty.h>
13025 Autoconf TIOCGETP
13026 _ACEOF
13027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13028 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13029 ac_cv_prog_gcc_traditional=yes
13030 else
13031 ac_cv_prog_gcc_traditional=no
13032 fi
13033 rm -f conftest*
13034
13035
13036 if test $ac_cv_prog_gcc_traditional = no; then
13037 cat >conftest.$ac_ext <<_ACEOF
13038 /* confdefs.h. */
13039 _ACEOF
13040 cat confdefs.h >>conftest.$ac_ext
13041 cat >>conftest.$ac_ext <<_ACEOF
13042 /* end confdefs.h. */
13043 #include <termio.h>
13044 Autoconf TCGETA
13045 _ACEOF
13046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13047 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13048 ac_cv_prog_gcc_traditional=yes
13049 fi
13050 rm -f conftest*
13051
13052 fi
13053 fi
13054 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13055 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13056 if test $ac_cv_prog_gcc_traditional = yes; then
13057 CC="$CC -traditional"
13058 fi
13059 fi
13060
13061
13062 ac_ext=cc
13063 ac_cpp='$CXXCPP $CPPFLAGS'
13064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13067
13068
13069 CXXFLAGS=${CXXFLAGS:=}
13070
13071
13072
13073 ac_ext=cc
13074 ac_cpp='$CXXCPP $CPPFLAGS'
13075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13078 if test -n "$ac_tool_prefix"; then
13079 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13080 do
13081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13083 echo "$as_me:$LINENO: checking for $ac_word" >&5
13084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13085 if test "${ac_cv_prog_CXX+set}" = set; then
13086 echo $ECHO_N "(cached) $ECHO_C" >&6
13087 else
13088 if test -n "$CXX"; then
13089 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13090 else
13091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13092 for as_dir in $PATH
13093 do
13094 IFS=$as_save_IFS
13095 test -z "$as_dir" && as_dir=.
13096 for ac_exec_ext in '' $ac_executable_extensions; do
13097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13098 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13100 break 2
13101 fi
13102 done
13103 done
13104
13105 fi
13106 fi
13107 CXX=$ac_cv_prog_CXX
13108 if test -n "$CXX"; then
13109 echo "$as_me:$LINENO: result: $CXX" >&5
13110 echo "${ECHO_T}$CXX" >&6
13111 else
13112 echo "$as_me:$LINENO: result: no" >&5
13113 echo "${ECHO_T}no" >&6
13114 fi
13115
13116 test -n "$CXX" && break
13117 done
13118 fi
13119 if test -z "$CXX"; then
13120 ac_ct_CXX=$CXX
13121 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13122 do
13123 # Extract the first word of "$ac_prog", so it can be a program name with args.
13124 set dummy $ac_prog; ac_word=$2
13125 echo "$as_me:$LINENO: checking for $ac_word" >&5
13126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13127 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13128 echo $ECHO_N "(cached) $ECHO_C" >&6
13129 else
13130 if test -n "$ac_ct_CXX"; then
13131 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13132 else
13133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13134 for as_dir in $PATH
13135 do
13136 IFS=$as_save_IFS
13137 test -z "$as_dir" && as_dir=.
13138 for ac_exec_ext in '' $ac_executable_extensions; do
13139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13140 ac_cv_prog_ac_ct_CXX="$ac_prog"
13141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13142 break 2
13143 fi
13144 done
13145 done
13146
13147 fi
13148 fi
13149 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13150 if test -n "$ac_ct_CXX"; then
13151 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13152 echo "${ECHO_T}$ac_ct_CXX" >&6
13153 else
13154 echo "$as_me:$LINENO: result: no" >&5
13155 echo "${ECHO_T}no" >&6
13156 fi
13157
13158 test -n "$ac_ct_CXX" && break
13159 done
13160 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13161
13162 CXX=$ac_ct_CXX
13163 fi
13164
13165
13166 # Provide some information about the compiler.
13167 echo "$as_me:$LINENO:" \
13168 "checking for C++ compiler version" >&5
13169 ac_compiler=`set X $ac_compile; echo $2`
13170 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13171 (eval $ac_compiler --version </dev/null >&5) 2>&5
13172 ac_status=$?
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }
13175 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13176 (eval $ac_compiler -v </dev/null >&5) 2>&5
13177 ac_status=$?
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); }
13180 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13181 (eval $ac_compiler -V </dev/null >&5) 2>&5
13182 ac_status=$?
13183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184 (exit $ac_status); }
13185
13186 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13187 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13188 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13189 echo $ECHO_N "(cached) $ECHO_C" >&6
13190 else
13191 cat >conftest.$ac_ext <<_ACEOF
13192 /* confdefs.h. */
13193 _ACEOF
13194 cat confdefs.h >>conftest.$ac_ext
13195 cat >>conftest.$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13197
13198 int
13199 main ()
13200 {
13201 #ifndef __GNUC__
13202 choke me
13203 #endif
13204
13205 ;
13206 return 0;
13207 }
13208 _ACEOF
13209 rm -f conftest.$ac_objext
13210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13211 (eval $ac_compile) 2>conftest.er1
13212 ac_status=$?
13213 grep -v '^ *+' conftest.er1 >conftest.err
13214 rm -f conftest.er1
13215 cat conftest.err >&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try='test -z "$ac_cxx_werror_flag"
13219 || test ! -s conftest.err'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13222 ac_status=$?
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; } &&
13225 { ac_try='test -s conftest.$ac_objext'
13226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13227 (eval $ac_try) 2>&5
13228 ac_status=$?
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; }; then
13231 ac_compiler_gnu=yes
13232 else
13233 echo "$as_me: failed program was:" >&5
13234 sed 's/^/| /' conftest.$ac_ext >&5
13235
13236 ac_compiler_gnu=no
13237 fi
13238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13239 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13240
13241 fi
13242 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13243 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13244 GXX=`test $ac_compiler_gnu = yes && echo yes`
13245 ac_test_CXXFLAGS=${CXXFLAGS+set}
13246 ac_save_CXXFLAGS=$CXXFLAGS
13247 CXXFLAGS="-g"
13248 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13249 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13250 if test "${ac_cv_prog_cxx_g+set}" = set; then
13251 echo $ECHO_N "(cached) $ECHO_C" >&6
13252 else
13253 cat >conftest.$ac_ext <<_ACEOF
13254 /* confdefs.h. */
13255 _ACEOF
13256 cat confdefs.h >>conftest.$ac_ext
13257 cat >>conftest.$ac_ext <<_ACEOF
13258 /* end confdefs.h. */
13259
13260 int
13261 main ()
13262 {
13263
13264 ;
13265 return 0;
13266 }
13267 _ACEOF
13268 rm -f conftest.$ac_objext
13269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13270 (eval $ac_compile) 2>conftest.er1
13271 ac_status=$?
13272 grep -v '^ *+' conftest.er1 >conftest.err
13273 rm -f conftest.er1
13274 cat conftest.err >&5
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); } &&
13277 { ac_try='test -z "$ac_cxx_werror_flag"
13278 || test ! -s conftest.err'
13279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13280 (eval $ac_try) 2>&5
13281 ac_status=$?
13282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13283 (exit $ac_status); }; } &&
13284 { ac_try='test -s conftest.$ac_objext'
13285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13286 (eval $ac_try) 2>&5
13287 ac_status=$?
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); }; }; then
13290 ac_cv_prog_cxx_g=yes
13291 else
13292 echo "$as_me: failed program was:" >&5
13293 sed 's/^/| /' conftest.$ac_ext >&5
13294
13295 ac_cv_prog_cxx_g=no
13296 fi
13297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13298 fi
13299 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13300 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13301 if test "$ac_test_CXXFLAGS" = set; then
13302 CXXFLAGS=$ac_save_CXXFLAGS
13303 elif test $ac_cv_prog_cxx_g = yes; then
13304 if test "$GXX" = yes; then
13305 CXXFLAGS="-g -O2"
13306 else
13307 CXXFLAGS="-g"
13308 fi
13309 else
13310 if test "$GXX" = yes; then
13311 CXXFLAGS="-O2"
13312 else
13313 CXXFLAGS=
13314 fi
13315 fi
13316 for ac_declaration in \
13317 '' \
13318 'extern "C" void std::exit (int) throw (); using std::exit;' \
13319 'extern "C" void std::exit (int); using std::exit;' \
13320 'extern "C" void exit (int) throw ();' \
13321 'extern "C" void exit (int);' \
13322 'void exit (int);'
13323 do
13324 cat >conftest.$ac_ext <<_ACEOF
13325 /* confdefs.h. */
13326 _ACEOF
13327 cat confdefs.h >>conftest.$ac_ext
13328 cat >>conftest.$ac_ext <<_ACEOF
13329 /* end confdefs.h. */
13330 $ac_declaration
13331 #include <stdlib.h>
13332 int
13333 main ()
13334 {
13335 exit (42);
13336 ;
13337 return 0;
13338 }
13339 _ACEOF
13340 rm -f conftest.$ac_objext
13341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13342 (eval $ac_compile) 2>conftest.er1
13343 ac_status=$?
13344 grep -v '^ *+' conftest.er1 >conftest.err
13345 rm -f conftest.er1
13346 cat conftest.err >&5
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); } &&
13349 { ac_try='test -z "$ac_cxx_werror_flag"
13350 || test ! -s conftest.err'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13353 ac_status=$?
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; } &&
13356 { ac_try='test -s conftest.$ac_objext'
13357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13358 (eval $ac_try) 2>&5
13359 ac_status=$?
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; }; then
13362 :
13363 else
13364 echo "$as_me: failed program was:" >&5
13365 sed 's/^/| /' conftest.$ac_ext >&5
13366
13367 continue
13368 fi
13369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13370 cat >conftest.$ac_ext <<_ACEOF
13371 /* confdefs.h. */
13372 _ACEOF
13373 cat confdefs.h >>conftest.$ac_ext
13374 cat >>conftest.$ac_ext <<_ACEOF
13375 /* end confdefs.h. */
13376 $ac_declaration
13377 int
13378 main ()
13379 {
13380 exit (42);
13381 ;
13382 return 0;
13383 }
13384 _ACEOF
13385 rm -f conftest.$ac_objext
13386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13387 (eval $ac_compile) 2>conftest.er1
13388 ac_status=$?
13389 grep -v '^ *+' conftest.er1 >conftest.err
13390 rm -f conftest.er1
13391 cat conftest.err >&5
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); } &&
13394 { ac_try='test -z "$ac_cxx_werror_flag"
13395 || test ! -s conftest.err'
13396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13397 (eval $ac_try) 2>&5
13398 ac_status=$?
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); }; } &&
13401 { ac_try='test -s conftest.$ac_objext'
13402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13403 (eval $ac_try) 2>&5
13404 ac_status=$?
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); }; }; then
13407 break
13408 else
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.$ac_ext >&5
13411
13412 fi
13413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13414 done
13415 rm -f conftest*
13416 if test -n "$ac_declaration"; then
13417 echo '#ifdef __cplusplus' >>confdefs.h
13418 echo $ac_declaration >>confdefs.h
13419 echo '#endif' >>confdefs.h
13420 fi
13421
13422 ac_ext=cc
13423 ac_cpp='$CXXCPP $CPPFLAGS'
13424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13427
13428
13429
13430 ac_ext=cc
13431 ac_cpp='$CXXCPP $CPPFLAGS'
13432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13435
13436 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13437 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13438 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13439 echo $ECHO_N "(cached) $ECHO_C" >&6
13440 else
13441 cat >conftest.$ac_ext <<_ACEOF
13442 /* confdefs.h. */
13443 _ACEOF
13444 cat confdefs.h >>conftest.$ac_ext
13445 cat >>conftest.$ac_ext <<_ACEOF
13446 /* end confdefs.h. */
13447
13448 int
13449 main ()
13450 {
13451
13452 #ifndef __INTEL_COMPILER
13453 choke me
13454 #endif
13455
13456 ;
13457 return 0;
13458 }
13459 _ACEOF
13460 rm -f conftest.$ac_objext
13461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13462 (eval $ac_compile) 2>conftest.er1
13463 ac_status=$?
13464 grep -v '^ *+' conftest.er1 >conftest.err
13465 rm -f conftest.er1
13466 cat conftest.err >&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } &&
13469 { ac_try='test -z "$ac_cxx_werror_flag"
13470 || test ! -s conftest.err'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13473 ac_status=$?
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; } &&
13476 { ac_try='test -s conftest.$ac_objext'
13477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13478 (eval $ac_try) 2>&5
13479 ac_status=$?
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); }; }; then
13482 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
13483 else
13484 echo "$as_me: failed program was:" >&5
13485 sed 's/^/| /' conftest.$ac_ext >&5
13486
13487 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
13488
13489 fi
13490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13491
13492
13493 fi
13494 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13495 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13496 ac_ext=cc
13497 ac_cpp='$CXXCPP $CPPFLAGS'
13498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13501
13502 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13503 :; INTELCXX=yes
13504 else
13505 :;
13506 fi
13507
13508
13509 if test "x$GCXX" != "xyes"; then
13510 if test "xCXX" = "xC"; then
13511 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13512 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13513 if test "${bakefile_cv_cxx_exto+set}" = set; then
13514 echo $ECHO_N "(cached) $ECHO_C" >&6
13515 else
13516 cat >conftest.$ac_ext <<_ACEOF
13517 /* confdefs.h. */
13518 _ACEOF
13519 cat confdefs.h >>conftest.$ac_ext
13520 cat >>conftest.$ac_ext <<_ACEOF
13521 /* end confdefs.h. */
13522
13523 int
13524 main ()
13525 {
13526
13527 ;
13528 return 0;
13529 }
13530 _ACEOF
13531 rm -f conftest.$ac_objext conftest.$ac_ext.o
13532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13533 (eval $ac_compile) 2>&5
13534 ac_status=$?
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); }; then
13537 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13538 case $ac_file in
13539 conftest.$ac_ext.o)
13540 bakefile_cv_cxx_exto="-ext o"
13541 ;;
13542 *)
13543 ;;
13544 esac
13545 done
13546 else
13547 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13548 See \`config.log' for more details." >&5
13549 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13550 See \`config.log' for more details." >&2;}
13551 { (exit 1); exit 1; }; }
13552
13553 fi
13554
13555 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13556
13557 fi
13558 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13559 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13560 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13561 if test "cxx" = "c"; then
13562 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
13563 fi
13564 if test "cxx" = "cxx"; then
13565 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
13566 fi
13567 fi
13568
13569 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13570 unset ac_cv_prog_cc_g
13571 ac_test_CFLAGS=${CFLAGS+set}
13572 ac_save_CFLAGS=$CFLAGS
13573 CFLAGS="-g"
13574 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13575 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13576 if test "${ac_cv_prog_cc_g+set}" = set; then
13577 echo $ECHO_N "(cached) $ECHO_C" >&6
13578 else
13579 cat >conftest.$ac_ext <<_ACEOF
13580 /* confdefs.h. */
13581 _ACEOF
13582 cat confdefs.h >>conftest.$ac_ext
13583 cat >>conftest.$ac_ext <<_ACEOF
13584 /* end confdefs.h. */
13585
13586 int
13587 main ()
13588 {
13589
13590 ;
13591 return 0;
13592 }
13593 _ACEOF
13594 rm -f conftest.$ac_objext
13595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13596 (eval $ac_compile) 2>conftest.er1
13597 ac_status=$?
13598 grep -v '^ *+' conftest.er1 >conftest.err
13599 rm -f conftest.er1
13600 cat conftest.err >&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); } &&
13603 { ac_try='test -z "$ac_cxx_werror_flag"
13604 || test ! -s conftest.err'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606 (eval $ac_try) 2>&5
13607 ac_status=$?
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; } &&
13610 { ac_try='test -s conftest.$ac_objext'
13611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13612 (eval $ac_try) 2>&5
13613 ac_status=$?
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); }; }; then
13616 ac_cv_prog_cc_g=yes
13617 else
13618 echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.$ac_ext >&5
13620
13621 ac_cv_prog_cc_g=no
13622 fi
13623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13624 fi
13625 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13626 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13627 if test "$ac_test_CFLAGS" = set; then
13628 CFLAGS=$ac_save_CFLAGS
13629 elif test $ac_cv_prog_cc_g = yes; then
13630 if test "$GCC" = yes; then
13631 CFLAGS="-g -O2"
13632 else
13633 CFLAGS="-g"
13634 fi
13635 else
13636 if test "$GCC" = yes; then
13637 CFLAGS="-O2"
13638 else
13639 CFLAGS=
13640 fi
13641 fi
13642 fi
13643 fi
13644
13645 case `uname -s` in
13646 AIX*)
13647 ac_ext=cc
13648 ac_cpp='$CXXCPP $CPPFLAGS'
13649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13652
13653 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13654 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13655 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13656 echo $ECHO_N "(cached) $ECHO_C" >&6
13657 else
13658 cat >conftest.$ac_ext <<_ACEOF
13659 /* confdefs.h. */
13660 _ACEOF
13661 cat confdefs.h >>conftest.$ac_ext
13662 cat >>conftest.$ac_ext <<_ACEOF
13663 /* end confdefs.h. */
13664
13665 int
13666 main ()
13667 {
13668 #ifndef __xlC__
13669 choke me
13670 #endif
13671
13672 ;
13673 return 0;
13674 }
13675 _ACEOF
13676 rm -f conftest.$ac_objext
13677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13678 (eval $ac_compile) 2>conftest.er1
13679 ac_status=$?
13680 grep -v '^ *+' conftest.er1 >conftest.err
13681 rm -f conftest.er1
13682 cat conftest.err >&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } &&
13685 { ac_try='test -z "$ac_cxx_werror_flag"
13686 || test ! -s conftest.err'
13687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688 (eval $ac_try) 2>&5
13689 ac_status=$?
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); }; } &&
13692 { ac_try='test -s conftest.$ac_objext'
13693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13694 (eval $ac_try) 2>&5
13695 ac_status=$?
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); }; }; then
13698 bakefile_compiler_xlc=yes
13699 else
13700 echo "$as_me: failed program was:" >&5
13701 sed 's/^/| /' conftest.$ac_ext >&5
13702
13703 bakefile_compiler_xlc=no
13704 fi
13705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13706 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13707
13708 fi
13709 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13710 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13711
13712 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13713 ac_ext=cc
13714 ac_cpp='$CXXCPP $CPPFLAGS'
13715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13718
13719
13720 ;;
13721
13722 Darwin)
13723 ac_ext=cc
13724 ac_cpp='$CXXCPP $CPPFLAGS'
13725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13728
13729 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13730 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13731 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13732 echo $ECHO_N "(cached) $ECHO_C" >&6
13733 else
13734 cat >conftest.$ac_ext <<_ACEOF
13735 /* confdefs.h. */
13736 _ACEOF
13737 cat confdefs.h >>conftest.$ac_ext
13738 cat >>conftest.$ac_ext <<_ACEOF
13739 /* end confdefs.h. */
13740
13741 int
13742 main ()
13743 {
13744 #ifndef __MWERKS__
13745 choke me
13746 #endif
13747
13748 ;
13749 return 0;
13750 }
13751 _ACEOF
13752 rm -f conftest.$ac_objext
13753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13754 (eval $ac_compile) 2>conftest.er1
13755 ac_status=$?
13756 grep -v '^ *+' conftest.er1 >conftest.err
13757 rm -f conftest.er1
13758 cat conftest.err >&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); } &&
13761 { ac_try='test -z "$ac_cxx_werror_flag"
13762 || test ! -s conftest.err'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13765 ac_status=$?
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; } &&
13768 { ac_try='test -s conftest.$ac_objext'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13771 ac_status=$?
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; }; then
13774 bakefile_compiler_mwerks=yes
13775 else
13776 echo "$as_me: failed program was:" >&5
13777 sed 's/^/| /' conftest.$ac_ext >&5
13778
13779 bakefile_compiler_mwerks=no
13780 fi
13781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13782 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
13783
13784 fi
13785 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13786 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13787
13788 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13789 ac_ext=cc
13790 ac_cpp='$CXXCPP $CPPFLAGS'
13791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13794
13795
13796 ac_ext=cc
13797 ac_cpp='$CXXCPP $CPPFLAGS'
13798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13801
13802 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13803 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13804 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13805 echo $ECHO_N "(cached) $ECHO_C" >&6
13806 else
13807 cat >conftest.$ac_ext <<_ACEOF
13808 /* confdefs.h. */
13809 _ACEOF
13810 cat confdefs.h >>conftest.$ac_ext
13811 cat >>conftest.$ac_ext <<_ACEOF
13812 /* end confdefs.h. */
13813
13814 int
13815 main ()
13816 {
13817 #ifndef __xlC__
13818 choke me
13819 #endif
13820
13821 ;
13822 return 0;
13823 }
13824 _ACEOF
13825 rm -f conftest.$ac_objext
13826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13827 (eval $ac_compile) 2>conftest.er1
13828 ac_status=$?
13829 grep -v '^ *+' conftest.er1 >conftest.err
13830 rm -f conftest.er1
13831 cat conftest.err >&5
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); } &&
13834 { ac_try='test -z "$ac_cxx_werror_flag"
13835 || test ! -s conftest.err'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13838 ac_status=$?
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; } &&
13841 { ac_try='test -s conftest.$ac_objext'
13842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13843 (eval $ac_try) 2>&5
13844 ac_status=$?
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); }; }; then
13847 bakefile_compiler_xlc=yes
13848 else
13849 echo "$as_me: failed program was:" >&5
13850 sed 's/^/| /' conftest.$ac_ext >&5
13851
13852 bakefile_compiler_xlc=no
13853 fi
13854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13855 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13856
13857 fi
13858 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13859 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13860
13861 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13862 ac_ext=cc
13863 ac_cpp='$CXXCPP $CPPFLAGS'
13864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13867
13868
13869 ;;
13870
13871 IRIX*)
13872
13873
13874 ac_ext=cc
13875 ac_cpp='$CXXCPP $CPPFLAGS'
13876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13879
13880 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13881 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13882 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13883 echo $ECHO_N "(cached) $ECHO_C" >&6
13884 else
13885 cat >conftest.$ac_ext <<_ACEOF
13886 /* confdefs.h. */
13887 _ACEOF
13888 cat confdefs.h >>conftest.$ac_ext
13889 cat >>conftest.$ac_ext <<_ACEOF
13890 /* end confdefs.h. */
13891
13892 int
13893 main ()
13894 {
13895
13896 #ifndef _SGI_COMPILER_VERSION
13897 choke me
13898 #endif
13899
13900 ;
13901 return 0;
13902 }
13903 _ACEOF
13904 rm -f conftest.$ac_objext
13905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13906 (eval $ac_compile) 2>conftest.er1
13907 ac_status=$?
13908 grep -v '^ *+' conftest.er1 >conftest.err
13909 rm -f conftest.er1
13910 cat conftest.err >&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); } &&
13913 { ac_try='test -z "$ac_cxx_werror_flag"
13914 || test ! -s conftest.err'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13917 ac_status=$?
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; } &&
13920 { ac_try='test -s conftest.$ac_objext'
13921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13922 (eval $ac_try) 2>&5
13923 ac_status=$?
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); }; }; then
13926 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
13927 else
13928 echo "$as_me: failed program was:" >&5
13929 sed 's/^/| /' conftest.$ac_ext >&5
13930
13931 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
13932
13933 fi
13934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13935
13936
13937 fi
13938 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13939 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13940 ac_ext=cc
13941 ac_cpp='$CXXCPP $CPPFLAGS'
13942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13945
13946 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13947 :; SGICXX=yes
13948 else
13949 :;
13950 fi
13951
13952
13953 ;;
13954
13955 HP-UX*)
13956
13957
13958 ac_ext=cc
13959 ac_cpp='$CXXCPP $CPPFLAGS'
13960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13963
13964 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13965 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13966 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13967 echo $ECHO_N "(cached) $ECHO_C" >&6
13968 else
13969 cat >conftest.$ac_ext <<_ACEOF
13970 /* confdefs.h. */
13971 _ACEOF
13972 cat confdefs.h >>conftest.$ac_ext
13973 cat >>conftest.$ac_ext <<_ACEOF
13974 /* end confdefs.h. */
13975
13976 int
13977 main ()
13978 {
13979
13980 #ifndef __HP_aCC
13981 choke me
13982 #endif
13983
13984 ;
13985 return 0;
13986 }
13987 _ACEOF
13988 rm -f conftest.$ac_objext
13989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13990 (eval $ac_compile) 2>conftest.er1
13991 ac_status=$?
13992 grep -v '^ *+' conftest.er1 >conftest.err
13993 rm -f conftest.er1
13994 cat conftest.err >&5
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); } &&
13997 { ac_try='test -z "$ac_cxx_werror_flag"
13998 || test ! -s conftest.err'
13999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14000 (eval $ac_try) 2>&5
14001 ac_status=$?
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); }; } &&
14004 { ac_try='test -s conftest.$ac_objext'
14005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14006 (eval $ac_try) 2>&5
14007 ac_status=$?
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); }; }; then
14010 bakefile_cv_cxx_compiler___HP_aCC=yes
14011 else
14012 echo "$as_me: failed program was:" >&5
14013 sed 's/^/| /' conftest.$ac_ext >&5
14014
14015 bakefile_cv_cxx_compiler___HP_aCC=no
14016
14017 fi
14018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14019
14020
14021 fi
14022 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14023 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14024 ac_ext=cc
14025 ac_cpp='$CXXCPP $CPPFLAGS'
14026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14029
14030 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14031 :; HPCXX=yes
14032 else
14033 :;
14034 fi
14035
14036
14037 ;;
14038
14039 OSF1)
14040
14041
14042 ac_ext=cc
14043 ac_cpp='$CXXCPP $CPPFLAGS'
14044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14047
14048 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14049 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14050 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14051 echo $ECHO_N "(cached) $ECHO_C" >&6
14052 else
14053 cat >conftest.$ac_ext <<_ACEOF
14054 /* confdefs.h. */
14055 _ACEOF
14056 cat confdefs.h >>conftest.$ac_ext
14057 cat >>conftest.$ac_ext <<_ACEOF
14058 /* end confdefs.h. */
14059
14060 int
14061 main ()
14062 {
14063
14064 #ifndef __DECCXX
14065 choke me
14066 #endif
14067
14068 ;
14069 return 0;
14070 }
14071 _ACEOF
14072 rm -f conftest.$ac_objext
14073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14074 (eval $ac_compile) 2>conftest.er1
14075 ac_status=$?
14076 grep -v '^ *+' conftest.er1 >conftest.err
14077 rm -f conftest.er1
14078 cat conftest.err >&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } &&
14081 { ac_try='test -z "$ac_cxx_werror_flag"
14082 || test ! -s conftest.err'
14083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14084 (eval $ac_try) 2>&5
14085 ac_status=$?
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); }; } &&
14088 { ac_try='test -s conftest.$ac_objext'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14091 ac_status=$?
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; }; then
14094 bakefile_cv_cxx_compiler___DECCXX=yes
14095 else
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.$ac_ext >&5
14098
14099 bakefile_cv_cxx_compiler___DECCXX=no
14100
14101 fi
14102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14103
14104
14105 fi
14106 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14107 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14108 ac_ext=cc
14109 ac_cpp='$CXXCPP $CPPFLAGS'
14110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14113
14114 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14115 :; COMPAQCXX=yes
14116 else
14117 :;
14118 fi
14119
14120
14121 ;;
14122
14123 SunOS)
14124
14125
14126 ac_ext=cc
14127 ac_cpp='$CXXCPP $CPPFLAGS'
14128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14131
14132 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14133 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14134 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14135 echo $ECHO_N "(cached) $ECHO_C" >&6
14136 else
14137 cat >conftest.$ac_ext <<_ACEOF
14138 /* confdefs.h. */
14139 _ACEOF
14140 cat confdefs.h >>conftest.$ac_ext
14141 cat >>conftest.$ac_ext <<_ACEOF
14142 /* end confdefs.h. */
14143
14144 int
14145 main ()
14146 {
14147
14148 #ifndef __SUNPRO_CC
14149 choke me
14150 #endif
14151
14152 ;
14153 return 0;
14154 }
14155 _ACEOF
14156 rm -f conftest.$ac_objext
14157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14158 (eval $ac_compile) 2>conftest.er1
14159 ac_status=$?
14160 grep -v '^ *+' conftest.er1 >conftest.err
14161 rm -f conftest.er1
14162 cat conftest.err >&5
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); } &&
14165 { ac_try='test -z "$ac_cxx_werror_flag"
14166 || test ! -s conftest.err'
14167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14168 (eval $ac_try) 2>&5
14169 ac_status=$?
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); }; } &&
14172 { ac_try='test -s conftest.$ac_objext'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14175 ac_status=$?
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; }; then
14178 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14179 else
14180 echo "$as_me: failed program was:" >&5
14181 sed 's/^/| /' conftest.$ac_ext >&5
14182
14183 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14184
14185 fi
14186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14187
14188
14189 fi
14190 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14191 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14192 ac_ext=cc
14193 ac_cpp='$CXXCPP $CPPFLAGS'
14194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14197
14198 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14199 :; SUNCXX=yes
14200 else
14201 :;
14202 fi
14203
14204
14205 ;;
14206 esac
14207 fi
14208
14209
14210
14211 ac_ext=c
14212 ac_cpp='$CPP $CPPFLAGS'
14213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14216
14217
14218 if test -n "$ac_tool_prefix"; then
14219 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14220 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14221 echo "$as_me:$LINENO: checking for $ac_word" >&5
14222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14223 if test "${ac_cv_prog_RANLIB+set}" = set; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14225 else
14226 if test -n "$RANLIB"; then
14227 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14228 else
14229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14230 for as_dir in $PATH
14231 do
14232 IFS=$as_save_IFS
14233 test -z "$as_dir" && as_dir=.
14234 for ac_exec_ext in '' $ac_executable_extensions; do
14235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14236 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14238 break 2
14239 fi
14240 done
14241 done
14242
14243 fi
14244 fi
14245 RANLIB=$ac_cv_prog_RANLIB
14246 if test -n "$RANLIB"; then
14247 echo "$as_me:$LINENO: result: $RANLIB" >&5
14248 echo "${ECHO_T}$RANLIB" >&6
14249 else
14250 echo "$as_me:$LINENO: result: no" >&5
14251 echo "${ECHO_T}no" >&6
14252 fi
14253
14254 fi
14255 if test -z "$ac_cv_prog_RANLIB"; then
14256 ac_ct_RANLIB=$RANLIB
14257 # Extract the first word of "ranlib", so it can be a program name with args.
14258 set dummy ranlib; ac_word=$2
14259 echo "$as_me:$LINENO: checking for $ac_word" >&5
14260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14261 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 else
14264 if test -n "$ac_ct_RANLIB"; then
14265 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14266 else
14267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14268 for as_dir in $PATH
14269 do
14270 IFS=$as_save_IFS
14271 test -z "$as_dir" && as_dir=.
14272 for ac_exec_ext in '' $ac_executable_extensions; do
14273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14274 ac_cv_prog_ac_ct_RANLIB="ranlib"
14275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14276 break 2
14277 fi
14278 done
14279 done
14280
14281 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14282 fi
14283 fi
14284 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14285 if test -n "$ac_ct_RANLIB"; then
14286 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14287 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14288 else
14289 echo "$as_me:$LINENO: result: no" >&5
14290 echo "${ECHO_T}no" >&6
14291 fi
14292
14293 RANLIB=$ac_ct_RANLIB
14294 else
14295 RANLIB="$ac_cv_prog_RANLIB"
14296 fi
14297
14298
14299 if test -n "$ac_tool_prefix"; then
14300 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14301 set dummy ${ac_tool_prefix}ar; ac_word=$2
14302 echo "$as_me:$LINENO: checking for $ac_word" >&5
14303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14304 if test "${ac_cv_prog_AR+set}" = set; then
14305 echo $ECHO_N "(cached) $ECHO_C" >&6
14306 else
14307 if test -n "$AR"; then
14308 ac_cv_prog_AR="$AR" # Let the user override the test.
14309 else
14310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14311 for as_dir in $PATH
14312 do
14313 IFS=$as_save_IFS
14314 test -z "$as_dir" && as_dir=.
14315 for ac_exec_ext in '' $ac_executable_extensions; do
14316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14317 ac_cv_prog_AR="${ac_tool_prefix}ar"
14318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14319 break 2
14320 fi
14321 done
14322 done
14323
14324 fi
14325 fi
14326 AR=$ac_cv_prog_AR
14327 if test -n "$AR"; then
14328 echo "$as_me:$LINENO: result: $AR" >&5
14329 echo "${ECHO_T}$AR" >&6
14330 else
14331 echo "$as_me:$LINENO: result: no" >&5
14332 echo "${ECHO_T}no" >&6
14333 fi
14334
14335 fi
14336 if test -z "$ac_cv_prog_AR"; then
14337 ac_ct_AR=$AR
14338 # Extract the first word of "ar", so it can be a program name with args.
14339 set dummy ar; ac_word=$2
14340 echo "$as_me:$LINENO: checking for $ac_word" >&5
14341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14342 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14343 echo $ECHO_N "(cached) $ECHO_C" >&6
14344 else
14345 if test -n "$ac_ct_AR"; then
14346 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14347 else
14348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14349 for as_dir in $PATH
14350 do
14351 IFS=$as_save_IFS
14352 test -z "$as_dir" && as_dir=.
14353 for ac_exec_ext in '' $ac_executable_extensions; do
14354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14355 ac_cv_prog_ac_ct_AR="ar"
14356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14357 break 2
14358 fi
14359 done
14360 done
14361
14362 fi
14363 fi
14364 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14365 if test -n "$ac_ct_AR"; then
14366 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14367 echo "${ECHO_T}$ac_ct_AR" >&6
14368 else
14369 echo "$as_me:$LINENO: result: no" >&5
14370 echo "${ECHO_T}no" >&6
14371 fi
14372
14373 AR=$ac_ct_AR
14374 else
14375 AR="$ac_cv_prog_AR"
14376 fi
14377
14378 if test "x$AR" = "x" ; then
14379 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14380 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14381 { (exit 1); exit 1; }; }
14382 fi
14383
14384 # Find a good install program. We prefer a C program (faster),
14385 # so one script is as good as another. But avoid the broken or
14386 # incompatible versions:
14387 # SysV /etc/install, /usr/sbin/install
14388 # SunOS /usr/etc/install
14389 # IRIX /sbin/install
14390 # AIX /bin/install
14391 # AmigaOS /C/install, which installs bootblocks on floppy discs
14392 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14393 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14394 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14395 # OS/2's system install, which has a completely different semantic
14396 # ./install, which can be erroneously created by make from ./install.sh.
14397 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14398 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14399 if test -z "$INSTALL"; then
14400 if test "${ac_cv_path_install+set}" = set; then
14401 echo $ECHO_N "(cached) $ECHO_C" >&6
14402 else
14403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14404 for as_dir in $PATH
14405 do
14406 IFS=$as_save_IFS
14407 test -z "$as_dir" && as_dir=.
14408 # Account for people who put trailing slashes in PATH elements.
14409 case $as_dir/ in
14410 ./ | .// | /cC/* | \
14411 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14412 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14413 /usr/ucb/* ) ;;
14414 *)
14415 # OSF1 and SCO ODT 3.0 have their own names for install.
14416 # Don't use installbsd from OSF since it installs stuff as root
14417 # by default.
14418 for ac_prog in ginstall scoinst install; do
14419 for ac_exec_ext in '' $ac_executable_extensions; do
14420 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14421 if test $ac_prog = install &&
14422 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14423 # AIX install. It has an incompatible calling convention.
14424 :
14425 elif test $ac_prog = install &&
14426 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14427 # program-specific install script used by HP pwplus--don't use.
14428 :
14429 else
14430 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14431 break 3
14432 fi
14433 fi
14434 done
14435 done
14436 ;;
14437 esac
14438 done
14439
14440
14441 fi
14442 if test "${ac_cv_path_install+set}" = set; then
14443 INSTALL=$ac_cv_path_install
14444 else
14445 # As a last resort, use the slow shell script. We don't cache a
14446 # path for INSTALL within a source directory, because that will
14447 # break other packages using the cache if that directory is
14448 # removed, or if the path is relative.
14449 INSTALL=$ac_install_sh
14450 fi
14451 fi
14452 echo "$as_me:$LINENO: result: $INSTALL" >&5
14453 echo "${ECHO_T}$INSTALL" >&6
14454
14455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14456 # It thinks the first close brace ends the variable substitution.
14457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14458
14459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14460
14461 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14462
14463
14464 case ${INSTALL} in
14465 /* ) # Absolute
14466 ;;
14467 ?:* ) # Drive letter, considered as absolute.
14468 ;;
14469 *)
14470 INSTALL=`pwd`/${INSTALL} ;;
14471 esac
14472
14473
14474 case "${host}" in
14475
14476 *-*-darwin* )
14477 INSTALL_PROGRAM="cp -fp"
14478 INSTALL_DATA="cp -fp"
14479 ;;
14480 *)
14481 ;;
14482 esac
14483
14484 if test -n "$ac_tool_prefix"; then
14485 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14486 set dummy ${ac_tool_prefix}strip; ac_word=$2
14487 echo "$as_me:$LINENO: checking for $ac_word" >&5
14488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14489 if test "${ac_cv_prog_STRIP+set}" = set; then
14490 echo $ECHO_N "(cached) $ECHO_C" >&6
14491 else
14492 if test -n "$STRIP"; then
14493 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14494 else
14495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14496 for as_dir in $PATH
14497 do
14498 IFS=$as_save_IFS
14499 test -z "$as_dir" && as_dir=.
14500 for ac_exec_ext in '' $ac_executable_extensions; do
14501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14502 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14504 break 2
14505 fi
14506 done
14507 done
14508
14509 fi
14510 fi
14511 STRIP=$ac_cv_prog_STRIP
14512 if test -n "$STRIP"; then
14513 echo "$as_me:$LINENO: result: $STRIP" >&5
14514 echo "${ECHO_T}$STRIP" >&6
14515 else
14516 echo "$as_me:$LINENO: result: no" >&5
14517 echo "${ECHO_T}no" >&6
14518 fi
14519
14520 fi
14521 if test -z "$ac_cv_prog_STRIP"; then
14522 ac_ct_STRIP=$STRIP
14523 # Extract the first word of "strip", so it can be a program name with args.
14524 set dummy strip; ac_word=$2
14525 echo "$as_me:$LINENO: checking for $ac_word" >&5
14526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14527 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14528 echo $ECHO_N "(cached) $ECHO_C" >&6
14529 else
14530 if test -n "$ac_ct_STRIP"; then
14531 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14532 else
14533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14534 for as_dir in $PATH
14535 do
14536 IFS=$as_save_IFS
14537 test -z "$as_dir" && as_dir=.
14538 for ac_exec_ext in '' $ac_executable_extensions; do
14539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14540 ac_cv_prog_ac_ct_STRIP="strip"
14541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14542 break 2
14543 fi
14544 done
14545 done
14546
14547 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
14548 fi
14549 fi
14550 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14551 if test -n "$ac_ct_STRIP"; then
14552 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14553 echo "${ECHO_T}$ac_ct_STRIP" >&6
14554 else
14555 echo "$as_me:$LINENO: result: no" >&5
14556 echo "${ECHO_T}no" >&6
14557 fi
14558
14559 STRIP=$ac_ct_STRIP
14560 else
14561 STRIP="$ac_cv_prog_STRIP"
14562 fi
14563
14564
14565 if test "$wxUSE_WINE" = "yes"; then
14566 if test -n "$ac_tool_prefix"; then
14567 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14568 set dummy ${ac_tool_prefix}wrc; ac_word=$2
14569 echo "$as_me:$LINENO: checking for $ac_word" >&5
14570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14571 if test "${ac_cv_prog_WINDRES+set}" = set; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6
14573 else
14574 if test -n "$WINDRES"; then
14575 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
14576 else
14577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14578 for as_dir in $PATH
14579 do
14580 IFS=$as_save_IFS
14581 test -z "$as_dir" && as_dir=.
14582 for ac_exec_ext in '' $ac_executable_extensions; do
14583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14584 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
14585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14586 break 2
14587 fi
14588 done
14589 done
14590
14591 fi
14592 fi
14593 WINDRES=$ac_cv_prog_WINDRES
14594 if test -n "$WINDRES"; then
14595 echo "$as_me:$LINENO: result: $WINDRES" >&5
14596 echo "${ECHO_T}$WINDRES" >&6
14597 else
14598 echo "$as_me:$LINENO: result: no" >&5
14599 echo "${ECHO_T}no" >&6
14600 fi
14601
14602 fi
14603 if test -z "$ac_cv_prog_WINDRES"; then
14604 ac_ct_WINDRES=$WINDRES
14605 # Extract the first word of "wrc", so it can be a program name with args.
14606 set dummy wrc; ac_word=$2
14607 echo "$as_me:$LINENO: checking for $ac_word" >&5
14608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14609 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14610 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 else
14612 if test -n "$ac_ct_WINDRES"; then
14613 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
14614 else
14615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14616 for as_dir in $PATH
14617 do
14618 IFS=$as_save_IFS
14619 test -z "$as_dir" && as_dir=.
14620 for ac_exec_ext in '' $ac_executable_extensions; do
14621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14622 ac_cv_prog_ac_ct_WINDRES="wrc"
14623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14624 break 2
14625 fi
14626 done
14627 done
14628
14629 fi
14630 fi
14631 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
14632 if test -n "$ac_ct_WINDRES"; then
14633 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14634 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14635 else
14636 echo "$as_me:$LINENO: result: no" >&5
14637 echo "${ECHO_T}no" >&6
14638 fi
14639
14640 WINDRES=$ac_ct_WINDRES
14641 else
14642 WINDRES="$ac_cv_prog_WINDRES"
14643 fi
14644
14645 RESCOMP="$WINDRES"
14646 else
14647 case "${host}" in
14648 *-*-cygwin* | *-*-mingw32* )
14649 if test -n "$ac_tool_prefix"; then
14650 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14651 set dummy ${ac_tool_prefix}windres; ac_word=$2
14652 echo "$as_me:$LINENO: checking for $ac_word" >&5
14653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14654 if test "${ac_cv_prog_WINDRES+set}" = set; then
14655 echo $ECHO_N "(cached) $ECHO_C" >&6
14656 else
14657 if test -n "$WINDRES"; then
14658 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
14659 else
14660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14661 for as_dir in $PATH
14662 do
14663 IFS=$as_save_IFS
14664 test -z "$as_dir" && as_dir=.
14665 for ac_exec_ext in '' $ac_executable_extensions; do
14666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14667 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
14668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14669 break 2
14670 fi
14671 done
14672 done
14673
14674 fi
14675 fi
14676 WINDRES=$ac_cv_prog_WINDRES
14677 if test -n "$WINDRES"; then
14678 echo "$as_me:$LINENO: result: $WINDRES" >&5
14679 echo "${ECHO_T}$WINDRES" >&6
14680 else
14681 echo "$as_me:$LINENO: result: no" >&5
14682 echo "${ECHO_T}no" >&6
14683 fi
14684
14685 fi
14686 if test -z "$ac_cv_prog_WINDRES"; then
14687 ac_ct_WINDRES=$WINDRES
14688 # Extract the first word of "windres", so it can be a program name with args.
14689 set dummy windres; ac_word=$2
14690 echo "$as_me:$LINENO: checking for $ac_word" >&5
14691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14692 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14693 echo $ECHO_N "(cached) $ECHO_C" >&6
14694 else
14695 if test -n "$ac_ct_WINDRES"; then
14696 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
14697 else
14698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14699 for as_dir in $PATH
14700 do
14701 IFS=$as_save_IFS
14702 test -z "$as_dir" && as_dir=.
14703 for ac_exec_ext in '' $ac_executable_extensions; do
14704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14705 ac_cv_prog_ac_ct_WINDRES="windres"
14706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14707 break 2
14708 fi
14709 done
14710 done
14711
14712 fi
14713 fi
14714 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
14715 if test -n "$ac_ct_WINDRES"; then
14716 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14717 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14718 else
14719 echo "$as_me:$LINENO: result: no" >&5
14720 echo "${ECHO_T}no" >&6
14721 fi
14722
14723 WINDRES=$ac_ct_WINDRES
14724 else
14725 WINDRES="$ac_cv_prog_WINDRES"
14726 fi
14727
14728 RESCOMP="$WINDRES"
14729 if test -n "$ac_tool_prefix"; then
14730 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14731 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
14732 echo "$as_me:$LINENO: checking for $ac_word" >&5
14733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14734 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14735 echo $ECHO_N "(cached) $ECHO_C" >&6
14736 else
14737 if test -n "$DLLTOOL"; then
14738 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14739 else
14740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14741 for as_dir in $PATH
14742 do
14743 IFS=$as_save_IFS
14744 test -z "$as_dir" && as_dir=.
14745 for ac_exec_ext in '' $ac_executable_extensions; do
14746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14747 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
14748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14749 break 2
14750 fi
14751 done
14752 done
14753
14754 fi
14755 fi
14756 DLLTOOL=$ac_cv_prog_DLLTOOL
14757 if test -n "$DLLTOOL"; then
14758 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14759 echo "${ECHO_T}$DLLTOOL" >&6
14760 else
14761 echo "$as_me:$LINENO: result: no" >&5
14762 echo "${ECHO_T}no" >&6
14763 fi
14764
14765 fi
14766 if test -z "$ac_cv_prog_DLLTOOL"; then
14767 ac_ct_DLLTOOL=$DLLTOOL
14768 # Extract the first word of "dlltool", so it can be a program name with args.
14769 set dummy dlltool; ac_word=$2
14770 echo "$as_me:$LINENO: checking for $ac_word" >&5
14771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14772 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 else
14775 if test -n "$ac_ct_DLLTOOL"; then
14776 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
14777 else
14778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14779 for as_dir in $PATH
14780 do
14781 IFS=$as_save_IFS
14782 test -z "$as_dir" && as_dir=.
14783 for ac_exec_ext in '' $ac_executable_extensions; do
14784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14785 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
14786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14787 break 2
14788 fi
14789 done
14790 done
14791
14792 fi
14793 fi
14794 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
14795 if test -n "$ac_ct_DLLTOOL"; then
14796 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14797 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14798 else
14799 echo "$as_me:$LINENO: result: no" >&5
14800 echo "${ECHO_T}no" >&6
14801 fi
14802
14803 DLLTOOL=$ac_ct_DLLTOOL
14804 else
14805 DLLTOOL="$ac_cv_prog_DLLTOOL"
14806 fi
14807
14808 ;;
14809 esac
14810 fi
14811
14812 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14813 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14814 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14815 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 else
14817
14818 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
14819 egrep -s GNU > /dev/null); then
14820 wx_cv_prog_makeisgnu="yes"
14821 else
14822 wx_cv_prog_makeisgnu="no"
14823 fi
14824
14825 fi
14826 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14827 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14828
14829 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14830 IF_GNU_MAKE=""
14831 else
14832 IF_GNU_MAKE="#"
14833 fi
14834
14835
14836
14837 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14838 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14839 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14840 if test "${wx_cv_prog_makevpath+set}" = set; then
14841 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 else
14843
14844 cat - << EOF > confMake
14845 check : file
14846 cp \$? \$@
14847 cp \$? final_file
14848 EOF
14849
14850 if test ! -d sub ; then
14851 mkdir sub
14852 fi
14853 echo dummy > sub/file
14854 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
14855 RESULT=$?
14856 rm -f sub/file check final_file confMake
14857 rmdir sub
14858 if test "$RESULT" = 0; then
14859 wx_cv_prog_makevpath="yes"
14860 else
14861 wx_cv_prog_makevpath="no"
14862 fi
14863
14864 fi
14865 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14866 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14867
14868 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14869 { { echo "$as_me:$LINENO: error:
14870 You need a make-utility that is able to use the variable
14871 VPATH correctly.
14872 If your version of make does not support VPATH correctly,
14873 please install GNU-make (possibly as gmake), and start
14874 configure with the following command:
14875 export MAKE=gmake; ./configure for sh-type shells
14876 setenv MAKE gmake; ./configure for csh-type shells
14877 Also please do remember to use gmake in this case every time
14878 you are trying to compile.
14879 " >&5
14880 echo "$as_me: error:
14881 You need a make-utility that is able to use the variable
14882 VPATH correctly.
14883 If your version of make does not support VPATH correctly,
14884 please install GNU-make (possibly as gmake), and start
14885 configure with the following command:
14886 export MAKE=gmake; ./configure for sh-type shells
14887 setenv MAKE gmake; ./configure for csh-type shells
14888 Also please do remember to use gmake in this case every time
14889 you are trying to compile.
14890 " >&2;}
14891 { (exit 1); exit 1; }; }
14892 fi fi
14893 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14894 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14895 LN_S=$as_ln_s
14896 if test "$LN_S" = "ln -s"; then
14897 echo "$as_me:$LINENO: result: yes" >&5
14898 echo "${ECHO_T}yes" >&6
14899 else
14900 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14901 echo "${ECHO_T}no, using $LN_S" >&6
14902 fi
14903
14904
14905
14906
14907 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14908 CXXFLAGS="-qunique $CXXFLAGS"
14909 fi
14910
14911 case "${host}" in
14912 powerpc-*-darwin* )
14913 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14914 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14915 cat >conftest.$ac_ext <<_ACEOF
14916 /* confdefs.h. */
14917 _ACEOF
14918 cat confdefs.h >>conftest.$ac_ext
14919 cat >>conftest.$ac_ext <<_ACEOF
14920 /* end confdefs.h. */
14921
14922 int
14923 main ()
14924 {
14925 #ifndef __POWERPC__
14926 choke me for lack of PowerPC
14927 #endif
14928
14929 ;
14930 return 0;
14931 }
14932 _ACEOF
14933 rm -f conftest.$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>conftest.er1
14936 ac_status=$?
14937 grep -v '^ *+' conftest.er1 >conftest.err
14938 rm -f conftest.er1
14939 cat conftest.err >&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try='test -z "$ac_c_werror_flag"
14943 || test ! -s conftest.err'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14946 ac_status=$?
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; } &&
14949 { ac_try='test -s conftest.$ac_objext'
14950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14951 (eval $ac_try) 2>&5
14952 ac_status=$?
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); }; }; then
14955 echo "$as_me:$LINENO: result: yes" >&5
14956 echo "${ECHO_T}yes" >&6
14957 else
14958 echo "$as_me: failed program was:" >&5
14959 sed 's/^/| /' conftest.$ac_ext >&5
14960
14961 echo "$as_me:$LINENO: result: no" >&5
14962 echo "${ECHO_T}no" >&6
14963 cat >>confdefs.h <<\_ACEOF
14964 #define __POWERPC__ 1
14965 _ACEOF
14966
14967
14968 fi
14969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14970 ;;
14971 esac
14972
14973 case "${host}" in
14974 *-*-darwin* )
14975 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14976 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14977 cat >conftest.$ac_ext <<_ACEOF
14978 /* confdefs.h. */
14979 _ACEOF
14980 cat confdefs.h >>conftest.$ac_ext
14981 cat >>conftest.$ac_ext <<_ACEOF
14982 /* end confdefs.h. */
14983 #include <CoreFoundation/CFBase.h>
14984
14985 int
14986 main ()
14987 {
14988
14989 ;
14990 return 0;
14991 }
14992 _ACEOF
14993 rm -f conftest.$ac_objext
14994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14995 (eval $ac_compile) 2>conftest.er1
14996 ac_status=$?
14997 grep -v '^ *+' conftest.er1 >conftest.err
14998 rm -f conftest.er1
14999 cat conftest.err >&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); } &&
15002 { ac_try='test -z "$ac_c_werror_flag"
15003 || test ! -s conftest.err'
15004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15005 (eval $ac_try) 2>&5
15006 ac_status=$?
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); }; } &&
15009 { ac_try='test -s conftest.$ac_objext'
15010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15011 (eval $ac_try) 2>&5
15012 ac_status=$?
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; }; then
15015 echo "$as_me:$LINENO: result: yes" >&5
15016 echo "${ECHO_T}yes" >&6
15017 else
15018 echo "$as_me: failed program was:" >&5
15019 sed 's/^/| /' conftest.$ac_ext >&5
15020
15021 echo "$as_me:$LINENO: result: no" >&5
15022 echo "${ECHO_T}no" >&6
15023 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15024 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15025 cat >conftest.$ac_ext <<_ACEOF
15026 /* confdefs.h. */
15027 _ACEOF
15028 cat confdefs.h >>conftest.$ac_ext
15029 cat >>conftest.$ac_ext <<_ACEOF
15030 /* end confdefs.h. */
15031 #define __CF_USE_FRAMEWORK_INCLUDES__
15032 #include <CoreFoundation/CFBase.h>
15033
15034 int
15035 main ()
15036 {
15037
15038 ;
15039 return 0;
15040 }
15041 _ACEOF
15042 rm -f conftest.$ac_objext
15043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15044 (eval $ac_compile) 2>conftest.er1
15045 ac_status=$?
15046 grep -v '^ *+' conftest.er1 >conftest.err
15047 rm -f conftest.er1
15048 cat conftest.err >&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); } &&
15051 { ac_try='test -z "$ac_c_werror_flag"
15052 || test ! -s conftest.err'
15053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15054 (eval $ac_try) 2>&5
15055 ac_status=$?
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); }; } &&
15058 { ac_try='test -s conftest.$ac_objext'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15061 ac_status=$?
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; }; then
15064 echo "$as_me:$LINENO: result: yes" >&5
15065 echo "${ECHO_T}yes" >&6
15066 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15067 else
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5
15070
15071 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15072 See \`config.log' for more details." >&5
15073 echo "$as_me: error: no. CoreFoundation not available.
15074 See \`config.log' for more details." >&2;}
15075 { (exit 1); exit 1; }; }
15076
15077 fi
15078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15079
15080
15081 fi
15082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15083 ;;
15084 esac
15085
15086 case "${host}" in
15087 *-pc-os2_emx | *-pc-os2-emx )
15088 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15089 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15090 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15091 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15092 echo $ECHO_N "(cached) $ECHO_C" >&6
15093 else
15094 ac_check_lib_save_LIBS=$LIBS
15095 LIBS="-lcExt $LIBS"
15096 cat >conftest.$ac_ext <<_ACEOF
15097 /* confdefs.h. */
15098 _ACEOF
15099 cat confdefs.h >>conftest.$ac_ext
15100 cat >>conftest.$ac_ext <<_ACEOF
15101 /* end confdefs.h. */
15102
15103 /* Override any gcc2 internal prototype to avoid an error. */
15104 #ifdef __cplusplus
15105 extern "C"
15106 #endif
15107 /* We use char because int might match the return type of a gcc2
15108 builtin and then its argument prototype would still apply. */
15109 char drand48 ();
15110 int
15111 main ()
15112 {
15113 drand48 ();
15114 ;
15115 return 0;
15116 }
15117 _ACEOF
15118 rm -f conftest.$ac_objext conftest$ac_exeext
15119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15120 (eval $ac_link) 2>conftest.er1
15121 ac_status=$?
15122 grep -v '^ *+' conftest.er1 >conftest.err
15123 rm -f conftest.er1
15124 cat conftest.err >&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); } &&
15127 { ac_try='test -z "$ac_c_werror_flag"
15128 || test ! -s conftest.err'
15129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15130 (eval $ac_try) 2>&5
15131 ac_status=$?
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }; } &&
15134 { ac_try='test -s conftest$ac_exeext'
15135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15136 (eval $ac_try) 2>&5
15137 ac_status=$?
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); }; }; then
15140 ac_cv_lib_cExt_drand48=yes
15141 else
15142 echo "$as_me: failed program was:" >&5
15143 sed 's/^/| /' conftest.$ac_ext >&5
15144
15145 ac_cv_lib_cExt_drand48=no
15146 fi
15147 rm -f conftest.err conftest.$ac_objext \
15148 conftest$ac_exeext conftest.$ac_ext
15149 LIBS=$ac_check_lib_save_LIBS
15150 fi
15151 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15152 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15153 if test $ac_cv_lib_cExt_drand48 = yes; then
15154 LIBS="$LIBS -lcExt"
15155 fi
15156
15157 else
15158 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15159 fi
15160 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15161 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15162 if test "${wx_cv_gccversion+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 else
15165
15166 if test "$cross_compiling" = yes; then
15167 wx_cv_gccversion="EMX2"
15168
15169 else
15170 cat >conftest.$ac_ext <<_ACEOF
15171 /* confdefs.h. */
15172 _ACEOF
15173 cat confdefs.h >>conftest.$ac_ext
15174 cat >>conftest.$ac_ext <<_ACEOF
15175 /* end confdefs.h. */
15176
15177 #include <stdio.h>
15178
15179 int main()
15180 {
15181 FILE *f=fopen("conftestval", "w");
15182 if (!f) exit(1);
15183 fprintf(f,
15184 #if (__GNUC__ < 3)
15185 "EMX2"
15186 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15187 "EMX3"
15188 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15189 "Innotek5"
15190 #else
15191 "Innotek6"
15192 #endif
15193 );
15194 exit(0);
15195 }
15196
15197 _ACEOF
15198 rm -f conftest$ac_exeext
15199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15200 (eval $ac_link) 2>&5
15201 ac_status=$?
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15205 (eval $ac_try) 2>&5
15206 ac_status=$?
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); }; }; then
15209 wx_cv_gccversion=`cat conftestval`
15210 else
15211 echo "$as_me: program exited with status $ac_status" >&5
15212 echo "$as_me: failed program was:" >&5
15213 sed 's/^/| /' conftest.$ac_ext >&5
15214
15215 ( exit $ac_status )
15216 wx_cv_gccversion="EMX2"
15217 fi
15218 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15219 fi
15220
15221 fi
15222 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15223 echo "${ECHO_T}$wx_cv_gccversion" >&6
15224 if test "$wx_cv_gccversion" = "EMX2"; then
15225 LIBS="$LIBS -lstdcpp"
15226 LDFLAGS="$LDFLAGS -Zsysv-signals"
15227 else
15228 if test "$wx_cv_gccversion" = "EMX3"; then
15229 LIBS="$LIBS -lstdcxx -lgcc"
15230 LDFLAGS="$LDFLAGS -Zsysv-signals"
15231 else
15232 LIBS="$LIBS -lstdc++"
15233 fi
15234 fi
15235 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15236 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15237 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15238 wxUSE_OMF=yes
15239 enable_omf=yes
15240 fi
15241 ;;
15242 *)
15243
15244 ac_ext=cc
15245 ac_cpp='$CXXCPP $CPPFLAGS'
15246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15249
15250
15251 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15252 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15253 if test "${ac_cv_string_strcasecmp+set}" = set; then
15254 echo $ECHO_N "(cached) $ECHO_C" >&6
15255 else
15256
15257 cat >conftest.$ac_ext <<_ACEOF
15258 /* confdefs.h. */
15259 _ACEOF
15260 cat confdefs.h >>conftest.$ac_ext
15261 cat >>conftest.$ac_ext <<_ACEOF
15262 /* end confdefs.h. */
15263
15264 #include <string.h>
15265
15266 int
15267 main ()
15268 {
15269
15270 strcasecmp("foo", "bar");
15271
15272 ;
15273 return 0;
15274 }
15275 _ACEOF
15276 rm -f conftest.$ac_objext conftest$ac_exeext
15277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15278 (eval $ac_link) 2>conftest.er1
15279 ac_status=$?
15280 grep -v '^ *+' conftest.er1 >conftest.err
15281 rm -f conftest.er1
15282 cat conftest.err >&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); } &&
15285 { ac_try='test -z "$ac_cxx_werror_flag"
15286 || test ! -s conftest.err'
15287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15288 (eval $ac_try) 2>&5
15289 ac_status=$?
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); }; } &&
15292 { ac_try='test -s conftest$ac_exeext'
15293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294 (eval $ac_try) 2>&5
15295 ac_status=$?
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); }; }; then
15298 ac_cv_string_strcasecmp=yes
15299 else
15300 echo "$as_me: failed program was:" >&5
15301 sed 's/^/| /' conftest.$ac_ext >&5
15302
15303 ac_cv_string_strcasecmp=no
15304
15305 fi
15306 rm -f conftest.err conftest.$ac_objext \
15307 conftest$ac_exeext conftest.$ac_ext
15308
15309 fi
15310 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15311 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15312
15313 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15314 cat >>confdefs.h <<\_ACEOF
15315 #define HAVE_STRCASECMP_IN_STRING_H 1
15316 _ACEOF
15317
15318 else
15319 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15320 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15321 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15322 echo $ECHO_N "(cached) $ECHO_C" >&6
15323 else
15324
15325 cat >conftest.$ac_ext <<_ACEOF
15326 /* confdefs.h. */
15327 _ACEOF
15328 cat confdefs.h >>conftest.$ac_ext
15329 cat >>conftest.$ac_ext <<_ACEOF
15330 /* end confdefs.h. */
15331
15332 #include <strings.h>
15333
15334 int
15335 main ()
15336 {
15337
15338 strcasecmp("foo", "bar");
15339
15340 ;
15341 return 0;
15342 }
15343 _ACEOF
15344 rm -f conftest.$ac_objext conftest$ac_exeext
15345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15346 (eval $ac_link) 2>conftest.er1
15347 ac_status=$?
15348 grep -v '^ *+' conftest.er1 >conftest.err
15349 rm -f conftest.er1
15350 cat conftest.err >&5
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); } &&
15353 { ac_try='test -z "$ac_cxx_werror_flag"
15354 || test ! -s conftest.err'
15355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356 (eval $ac_try) 2>&5
15357 ac_status=$?
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); }; } &&
15360 { ac_try='test -s conftest$ac_exeext'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15363 ac_status=$?
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; }; then
15366 ac_cv_strings_strcasecmp=yes
15367 else
15368 echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.$ac_ext >&5
15370
15371 ac_cv_strings_strcasecmp=no
15372
15373 fi
15374 rm -f conftest.err conftest.$ac_objext \
15375 conftest$ac_exeext conftest.$ac_ext
15376
15377 fi
15378 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15379 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15380
15381 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15382 cat >>confdefs.h <<\_ACEOF
15383 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15384 _ACEOF
15385
15386 else
15387 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15388 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15389 { (exit 1); exit 1; }; }
15390 fi
15391 fi
15392
15393 ac_ext=c
15394 ac_cpp='$CPP $CPPFLAGS'
15395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15398
15399 ;;
15400 esac
15401
15402
15403 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15404 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15405 if test "${ac_cv_header_stdc+set}" = set; then
15406 echo $ECHO_N "(cached) $ECHO_C" >&6
15407 else
15408 cat >conftest.$ac_ext <<_ACEOF
15409 /* confdefs.h. */
15410 _ACEOF
15411 cat confdefs.h >>conftest.$ac_ext
15412 cat >>conftest.$ac_ext <<_ACEOF
15413 /* end confdefs.h. */
15414 #include <stdlib.h>
15415 #include <stdarg.h>
15416 #include <string.h>
15417 #include <float.h>
15418
15419 int
15420 main ()
15421 {
15422
15423 ;
15424 return 0;
15425 }
15426 _ACEOF
15427 rm -f conftest.$ac_objext
15428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15429 (eval $ac_compile) 2>conftest.er1
15430 ac_status=$?
15431 grep -v '^ *+' conftest.er1 >conftest.err
15432 rm -f conftest.er1
15433 cat conftest.err >&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } &&
15436 { ac_try='test -z "$ac_c_werror_flag"
15437 || test ! -s conftest.err'
15438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15439 (eval $ac_try) 2>&5
15440 ac_status=$?
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); }; } &&
15443 { ac_try='test -s conftest.$ac_objext'
15444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15445 (eval $ac_try) 2>&5
15446 ac_status=$?
15447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); }; }; then
15449 ac_cv_header_stdc=yes
15450 else
15451 echo "$as_me: failed program was:" >&5
15452 sed 's/^/| /' conftest.$ac_ext >&5
15453
15454 ac_cv_header_stdc=no
15455 fi
15456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15457
15458 if test $ac_cv_header_stdc = yes; then
15459 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15460 cat >conftest.$ac_ext <<_ACEOF
15461 /* confdefs.h. */
15462 _ACEOF
15463 cat confdefs.h >>conftest.$ac_ext
15464 cat >>conftest.$ac_ext <<_ACEOF
15465 /* end confdefs.h. */
15466 #include <string.h>
15467
15468 _ACEOF
15469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15470 $EGREP "memchr" >/dev/null 2>&1; then
15471 :
15472 else
15473 ac_cv_header_stdc=no
15474 fi
15475 rm -f conftest*
15476
15477 fi
15478
15479 if test $ac_cv_header_stdc = yes; then
15480 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15481 cat >conftest.$ac_ext <<_ACEOF
15482 /* confdefs.h. */
15483 _ACEOF
15484 cat confdefs.h >>conftest.$ac_ext
15485 cat >>conftest.$ac_ext <<_ACEOF
15486 /* end confdefs.h. */
15487 #include <stdlib.h>
15488
15489 _ACEOF
15490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15491 $EGREP "free" >/dev/null 2>&1; then
15492 :
15493 else
15494 ac_cv_header_stdc=no
15495 fi
15496 rm -f conftest*
15497
15498 fi
15499
15500 if test $ac_cv_header_stdc = yes; then
15501 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15502 if test "$cross_compiling" = yes; then
15503 :
15504 else
15505 cat >conftest.$ac_ext <<_ACEOF
15506 /* confdefs.h. */
15507 _ACEOF
15508 cat confdefs.h >>conftest.$ac_ext
15509 cat >>conftest.$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511 #include <ctype.h>
15512 #if ((' ' & 0x0FF) == 0x020)
15513 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15514 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15515 #else
15516 # define ISLOWER(c) \
15517 (('a' <= (c) && (c) <= 'i') \
15518 || ('j' <= (c) && (c) <= 'r') \
15519 || ('s' <= (c) && (c) <= 'z'))
15520 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15521 #endif
15522
15523 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15524 int
15525 main ()
15526 {
15527 int i;
15528 for (i = 0; i < 256; i++)
15529 if (XOR (islower (i), ISLOWER (i))
15530 || toupper (i) != TOUPPER (i))
15531 exit(2);
15532 exit (0);
15533 }
15534 _ACEOF
15535 rm -f conftest$ac_exeext
15536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15537 (eval $ac_link) 2>&5
15538 ac_status=$?
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15543 ac_status=$?
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; }; then
15546 :
15547 else
15548 echo "$as_me: program exited with status $ac_status" >&5
15549 echo "$as_me: failed program was:" >&5
15550 sed 's/^/| /' conftest.$ac_ext >&5
15551
15552 ( exit $ac_status )
15553 ac_cv_header_stdc=no
15554 fi
15555 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15556 fi
15557 fi
15558 fi
15559 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15560 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15561 if test $ac_cv_header_stdc = yes; then
15562
15563 cat >>confdefs.h <<\_ACEOF
15564 #define STDC_HEADERS 1
15565 _ACEOF
15566
15567 fi
15568
15569 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
15580 inttypes.h stdint.h unistd.h
15581 do
15582 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15583 echo "$as_me:$LINENO: checking for $ac_header" >&5
15584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15586 echo $ECHO_N "(cached) $ECHO_C" >&6
15587 else
15588 cat >conftest.$ac_ext <<_ACEOF
15589 /* confdefs.h. */
15590 _ACEOF
15591 cat confdefs.h >>conftest.$ac_ext
15592 cat >>conftest.$ac_ext <<_ACEOF
15593 /* end confdefs.h. */
15594 $ac_includes_default
15595
15596 #include <$ac_header>
15597 _ACEOF
15598 rm -f conftest.$ac_objext
15599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15600 (eval $ac_compile) 2>conftest.er1
15601 ac_status=$?
15602 grep -v '^ *+' conftest.er1 >conftest.err
15603 rm -f conftest.er1
15604 cat conftest.err >&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); } &&
15607 { ac_try='test -z "$ac_c_werror_flag"
15608 || test ! -s conftest.err'
15609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15610 (eval $ac_try) 2>&5
15611 ac_status=$?
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); }; } &&
15614 { ac_try='test -s conftest.$ac_objext'
15615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15616 (eval $ac_try) 2>&5
15617 ac_status=$?
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); }; }; then
15620 eval "$as_ac_Header=yes"
15621 else
15622 echo "$as_me: failed program was:" >&5
15623 sed 's/^/| /' conftest.$ac_ext >&5
15624
15625 eval "$as_ac_Header=no"
15626 fi
15627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15628 fi
15629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15632 cat >>confdefs.h <<_ACEOF
15633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15634 _ACEOF
15635
15636 fi
15637
15638 done
15639
15640
15641
15642 for ac_header in stdlib.h
15643 do
15644 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15646 echo "$as_me:$LINENO: checking for $ac_header" >&5
15647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15650 fi
15651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15653 else
15654 # Is the header compilable?
15655 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15657 cat >conftest.$ac_ext <<_ACEOF
15658 /* confdefs.h. */
15659 _ACEOF
15660 cat confdefs.h >>conftest.$ac_ext
15661 cat >>conftest.$ac_ext <<_ACEOF
15662 /* end confdefs.h. */
15663 $ac_includes_default
15664 #include <$ac_header>
15665 _ACEOF
15666 rm -f conftest.$ac_objext
15667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15668 (eval $ac_compile) 2>conftest.er1
15669 ac_status=$?
15670 grep -v '^ *+' conftest.er1 >conftest.err
15671 rm -f conftest.er1
15672 cat conftest.err >&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); } &&
15675 { ac_try='test -z "$ac_c_werror_flag"
15676 || test ! -s conftest.err'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15679 ac_status=$?
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; } &&
15682 { ac_try='test -s conftest.$ac_objext'
15683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15684 (eval $ac_try) 2>&5
15685 ac_status=$?
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); }; }; then
15688 ac_header_compiler=yes
15689 else
15690 echo "$as_me: failed program was:" >&5
15691 sed 's/^/| /' conftest.$ac_ext >&5
15692
15693 ac_header_compiler=no
15694 fi
15695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15696 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15697 echo "${ECHO_T}$ac_header_compiler" >&6
15698
15699 # Is the header present?
15700 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15701 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15702 cat >conftest.$ac_ext <<_ACEOF
15703 /* confdefs.h. */
15704 _ACEOF
15705 cat confdefs.h >>conftest.$ac_ext
15706 cat >>conftest.$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15708 #include <$ac_header>
15709 _ACEOF
15710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15711 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15712 ac_status=$?
15713 grep -v '^ *+' conftest.er1 >conftest.err
15714 rm -f conftest.er1
15715 cat conftest.err >&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); } >/dev/null; then
15718 if test -s conftest.err; then
15719 ac_cpp_err=$ac_c_preproc_warn_flag
15720 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15721 else
15722 ac_cpp_err=
15723 fi
15724 else
15725 ac_cpp_err=yes
15726 fi
15727 if test -z "$ac_cpp_err"; then
15728 ac_header_preproc=yes
15729 else
15730 echo "$as_me: failed program was:" >&5
15731 sed 's/^/| /' conftest.$ac_ext >&5
15732
15733 ac_header_preproc=no
15734 fi
15735 rm -f conftest.err conftest.$ac_ext
15736 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15737 echo "${ECHO_T}$ac_header_preproc" >&6
15738
15739 # So? What about this header?
15740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15741 yes:no: )
15742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15745 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15746 ac_header_preproc=yes
15747 ;;
15748 no:yes:* )
15749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15753 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15754 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15755 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15756 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15759 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15760 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15761 (
15762 cat <<\_ASBOX
15763 ## ----------------------------------------- ##
15764 ## Report this to wx-dev@lists.wxwidgets.org ##
15765 ## ----------------------------------------- ##
15766 _ASBOX
15767 ) |
15768 sed "s/^/$as_me: WARNING: /" >&2
15769 ;;
15770 esac
15771 echo "$as_me:$LINENO: checking for $ac_header" >&5
15772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15775 else
15776 eval "$as_ac_Header=\$ac_header_preproc"
15777 fi
15778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15780
15781 fi
15782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15783 cat >>confdefs.h <<_ACEOF
15784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15785 _ACEOF
15786
15787 fi
15788
15789 done
15790
15791
15792 for ac_header in malloc.h
15793 do
15794 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15796 echo "$as_me:$LINENO: checking for $ac_header" >&5
15797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15799 echo $ECHO_N "(cached) $ECHO_C" >&6
15800 fi
15801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15803 else
15804 # Is the header compilable?
15805 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15806 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15807 cat >conftest.$ac_ext <<_ACEOF
15808 /* confdefs.h. */
15809 _ACEOF
15810 cat confdefs.h >>conftest.$ac_ext
15811 cat >>conftest.$ac_ext <<_ACEOF
15812 /* end confdefs.h. */
15813 $ac_includes_default
15814 #include <$ac_header>
15815 _ACEOF
15816 rm -f conftest.$ac_objext
15817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15818 (eval $ac_compile) 2>conftest.er1
15819 ac_status=$?
15820 grep -v '^ *+' conftest.er1 >conftest.err
15821 rm -f conftest.er1
15822 cat conftest.err >&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); } &&
15825 { ac_try='test -z "$ac_c_werror_flag"
15826 || test ! -s conftest.err'
15827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15828 (eval $ac_try) 2>&5
15829 ac_status=$?
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); }; } &&
15832 { ac_try='test -s conftest.$ac_objext'
15833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 (eval $ac_try) 2>&5
15835 ac_status=$?
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); }; }; then
15838 ac_header_compiler=yes
15839 else
15840 echo "$as_me: failed program was:" >&5
15841 sed 's/^/| /' conftest.$ac_ext >&5
15842
15843 ac_header_compiler=no
15844 fi
15845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15846 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15847 echo "${ECHO_T}$ac_header_compiler" >&6
15848
15849 # Is the header present?
15850 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15851 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15852 cat >conftest.$ac_ext <<_ACEOF
15853 /* confdefs.h. */
15854 _ACEOF
15855 cat confdefs.h >>conftest.$ac_ext
15856 cat >>conftest.$ac_ext <<_ACEOF
15857 /* end confdefs.h. */
15858 #include <$ac_header>
15859 _ACEOF
15860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15861 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15862 ac_status=$?
15863 grep -v '^ *+' conftest.er1 >conftest.err
15864 rm -f conftest.er1
15865 cat conftest.err >&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); } >/dev/null; then
15868 if test -s conftest.err; then
15869 ac_cpp_err=$ac_c_preproc_warn_flag
15870 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15871 else
15872 ac_cpp_err=
15873 fi
15874 else
15875 ac_cpp_err=yes
15876 fi
15877 if test -z "$ac_cpp_err"; then
15878 ac_header_preproc=yes
15879 else
15880 echo "$as_me: failed program was:" >&5
15881 sed 's/^/| /' conftest.$ac_ext >&5
15882
15883 ac_header_preproc=no
15884 fi
15885 rm -f conftest.err conftest.$ac_ext
15886 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15887 echo "${ECHO_T}$ac_header_preproc" >&6
15888
15889 # So? What about this header?
15890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15891 yes:no: )
15892 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15893 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15895 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15896 ac_header_preproc=yes
15897 ;;
15898 no:yes:* )
15899 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15900 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15901 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15902 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15903 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15904 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15905 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15906 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15909 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15910 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15911 (
15912 cat <<\_ASBOX
15913 ## ----------------------------------------- ##
15914 ## Report this to wx-dev@lists.wxwidgets.org ##
15915 ## ----------------------------------------- ##
15916 _ASBOX
15917 ) |
15918 sed "s/^/$as_me: WARNING: /" >&2
15919 ;;
15920 esac
15921 echo "$as_me:$LINENO: checking for $ac_header" >&5
15922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15924 echo $ECHO_N "(cached) $ECHO_C" >&6
15925 else
15926 eval "$as_ac_Header=\$ac_header_preproc"
15927 fi
15928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15930
15931 fi
15932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15933 cat >>confdefs.h <<_ACEOF
15934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15935 _ACEOF
15936
15937 fi
15938
15939 done
15940
15941
15942 for ac_header in unistd.h
15943 do
15944 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15946 echo "$as_me:$LINENO: checking for $ac_header" >&5
15947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15949 echo $ECHO_N "(cached) $ECHO_C" >&6
15950 fi
15951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15953 else
15954 # Is the header compilable?
15955 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15956 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15957 cat >conftest.$ac_ext <<_ACEOF
15958 /* confdefs.h. */
15959 _ACEOF
15960 cat confdefs.h >>conftest.$ac_ext
15961 cat >>conftest.$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15963 $ac_includes_default
15964 #include <$ac_header>
15965 _ACEOF
15966 rm -f conftest.$ac_objext
15967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15968 (eval $ac_compile) 2>conftest.er1
15969 ac_status=$?
15970 grep -v '^ *+' conftest.er1 >conftest.err
15971 rm -f conftest.er1
15972 cat conftest.err >&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } &&
15975 { ac_try='test -z "$ac_c_werror_flag"
15976 || test ! -s conftest.err'
15977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978 (eval $ac_try) 2>&5
15979 ac_status=$?
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); }; } &&
15982 { ac_try='test -s conftest.$ac_objext'
15983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15984 (eval $ac_try) 2>&5
15985 ac_status=$?
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }; }; then
15988 ac_header_compiler=yes
15989 else
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15992
15993 ac_header_compiler=no
15994 fi
15995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15997 echo "${ECHO_T}$ac_header_compiler" >&6
15998
15999 # Is the header present?
16000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16002 cat >conftest.$ac_ext <<_ACEOF
16003 /* confdefs.h. */
16004 _ACEOF
16005 cat confdefs.h >>conftest.$ac_ext
16006 cat >>conftest.$ac_ext <<_ACEOF
16007 /* end confdefs.h. */
16008 #include <$ac_header>
16009 _ACEOF
16010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16012 ac_status=$?
16013 grep -v '^ *+' conftest.er1 >conftest.err
16014 rm -f conftest.er1
16015 cat conftest.err >&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); } >/dev/null; then
16018 if test -s conftest.err; then
16019 ac_cpp_err=$ac_c_preproc_warn_flag
16020 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16021 else
16022 ac_cpp_err=
16023 fi
16024 else
16025 ac_cpp_err=yes
16026 fi
16027 if test -z "$ac_cpp_err"; then
16028 ac_header_preproc=yes
16029 else
16030 echo "$as_me: failed program was:" >&5
16031 sed 's/^/| /' conftest.$ac_ext >&5
16032
16033 ac_header_preproc=no
16034 fi
16035 rm -f conftest.err conftest.$ac_ext
16036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16037 echo "${ECHO_T}$ac_header_preproc" >&6
16038
16039 # So? What about this header?
16040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16041 yes:no: )
16042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16045 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16046 ac_header_preproc=yes
16047 ;;
16048 no:yes:* )
16049 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16051 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16052 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16053 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16054 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16055 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16056 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16059 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16060 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16061 (
16062 cat <<\_ASBOX
16063 ## ----------------------------------------- ##
16064 ## Report this to wx-dev@lists.wxwidgets.org ##
16065 ## ----------------------------------------- ##
16066 _ASBOX
16067 ) |
16068 sed "s/^/$as_me: WARNING: /" >&2
16069 ;;
16070 esac
16071 echo "$as_me:$LINENO: checking for $ac_header" >&5
16072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16074 echo $ECHO_N "(cached) $ECHO_C" >&6
16075 else
16076 eval "$as_ac_Header=\$ac_header_preproc"
16077 fi
16078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16080
16081 fi
16082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16083 cat >>confdefs.h <<_ACEOF
16084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16085 _ACEOF
16086
16087 fi
16088
16089 done
16090
16091
16092 for ac_header in wchar.h
16093 do
16094 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16096 echo "$as_me:$LINENO: checking for $ac_header" >&5
16097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16099 echo $ECHO_N "(cached) $ECHO_C" >&6
16100 fi
16101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16103 else
16104 # Is the header compilable?
16105 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16106 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16107 cat >conftest.$ac_ext <<_ACEOF
16108 /* confdefs.h. */
16109 _ACEOF
16110 cat confdefs.h >>conftest.$ac_ext
16111 cat >>conftest.$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16113 $ac_includes_default
16114 #include <$ac_header>
16115 _ACEOF
16116 rm -f conftest.$ac_objext
16117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16118 (eval $ac_compile) 2>conftest.er1
16119 ac_status=$?
16120 grep -v '^ *+' conftest.er1 >conftest.err
16121 rm -f conftest.er1
16122 cat conftest.err >&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } &&
16125 { ac_try='test -z "$ac_c_werror_flag"
16126 || test ! -s conftest.err'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16129 ac_status=$?
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; } &&
16132 { ac_try='test -s conftest.$ac_objext'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16135 ac_status=$?
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; }; then
16138 ac_header_compiler=yes
16139 else
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.$ac_ext >&5
16142
16143 ac_header_compiler=no
16144 fi
16145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16147 echo "${ECHO_T}$ac_header_compiler" >&6
16148
16149 # Is the header present?
16150 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16152 cat >conftest.$ac_ext <<_ACEOF
16153 /* confdefs.h. */
16154 _ACEOF
16155 cat confdefs.h >>conftest.$ac_ext
16156 cat >>conftest.$ac_ext <<_ACEOF
16157 /* end confdefs.h. */
16158 #include <$ac_header>
16159 _ACEOF
16160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16161 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16162 ac_status=$?
16163 grep -v '^ *+' conftest.er1 >conftest.err
16164 rm -f conftest.er1
16165 cat conftest.err >&5
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); } >/dev/null; then
16168 if test -s conftest.err; then
16169 ac_cpp_err=$ac_c_preproc_warn_flag
16170 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16171 else
16172 ac_cpp_err=
16173 fi
16174 else
16175 ac_cpp_err=yes
16176 fi
16177 if test -z "$ac_cpp_err"; then
16178 ac_header_preproc=yes
16179 else
16180 echo "$as_me: failed program was:" >&5
16181 sed 's/^/| /' conftest.$ac_ext >&5
16182
16183 ac_header_preproc=no
16184 fi
16185 rm -f conftest.err conftest.$ac_ext
16186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16187 echo "${ECHO_T}$ac_header_preproc" >&6
16188
16189 # So? What about this header?
16190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16191 yes:no: )
16192 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16193 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16195 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16196 ac_header_preproc=yes
16197 ;;
16198 no:yes:* )
16199 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16200 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16201 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16202 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16203 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16204 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16205 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16206 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16208 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16209 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16210 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16211 (
16212 cat <<\_ASBOX
16213 ## ----------------------------------------- ##
16214 ## Report this to wx-dev@lists.wxwidgets.org ##
16215 ## ----------------------------------------- ##
16216 _ASBOX
16217 ) |
16218 sed "s/^/$as_me: WARNING: /" >&2
16219 ;;
16220 esac
16221 echo "$as_me:$LINENO: checking for $ac_header" >&5
16222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16224 echo $ECHO_N "(cached) $ECHO_C" >&6
16225 else
16226 eval "$as_ac_Header=\$ac_header_preproc"
16227 fi
16228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16230
16231 fi
16232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16233 cat >>confdefs.h <<_ACEOF
16234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16235 _ACEOF
16236
16237 fi
16238
16239 done
16240
16241
16242 if test "$ac_cv_header_wchar_h" != "yes"; then
16243
16244 for ac_header in wcstr.h
16245 do
16246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16248 echo "$as_me:$LINENO: checking for $ac_header" >&5
16249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16251 echo $ECHO_N "(cached) $ECHO_C" >&6
16252 fi
16253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16255 else
16256 # Is the header compilable?
16257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16259 cat >conftest.$ac_ext <<_ACEOF
16260 /* confdefs.h. */
16261 _ACEOF
16262 cat confdefs.h >>conftest.$ac_ext
16263 cat >>conftest.$ac_ext <<_ACEOF
16264 /* end confdefs.h. */
16265 $ac_includes_default
16266 #include <$ac_header>
16267 _ACEOF
16268 rm -f conftest.$ac_objext
16269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16270 (eval $ac_compile) 2>conftest.er1
16271 ac_status=$?
16272 grep -v '^ *+' conftest.er1 >conftest.err
16273 rm -f conftest.er1
16274 cat conftest.err >&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } &&
16277 { ac_try='test -z "$ac_c_werror_flag"
16278 || test ! -s conftest.err'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16281 ac_status=$?
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; } &&
16284 { ac_try='test -s conftest.$ac_objext'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16287 ac_status=$?
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; }; then
16290 ac_header_compiler=yes
16291 else
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.$ac_ext >&5
16294
16295 ac_header_compiler=no
16296 fi
16297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16299 echo "${ECHO_T}$ac_header_compiler" >&6
16300
16301 # Is the header present?
16302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16304 cat >conftest.$ac_ext <<_ACEOF
16305 /* confdefs.h. */
16306 _ACEOF
16307 cat confdefs.h >>conftest.$ac_ext
16308 cat >>conftest.$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16310 #include <$ac_header>
16311 _ACEOF
16312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16313 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16314 ac_status=$?
16315 grep -v '^ *+' conftest.er1 >conftest.err
16316 rm -f conftest.er1
16317 cat conftest.err >&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } >/dev/null; then
16320 if test -s conftest.err; then
16321 ac_cpp_err=$ac_c_preproc_warn_flag
16322 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16323 else
16324 ac_cpp_err=
16325 fi
16326 else
16327 ac_cpp_err=yes
16328 fi
16329 if test -z "$ac_cpp_err"; then
16330 ac_header_preproc=yes
16331 else
16332 echo "$as_me: failed program was:" >&5
16333 sed 's/^/| /' conftest.$ac_ext >&5
16334
16335 ac_header_preproc=no
16336 fi
16337 rm -f conftest.err conftest.$ac_ext
16338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16339 echo "${ECHO_T}$ac_header_preproc" >&6
16340
16341 # So? What about this header?
16342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16343 yes:no: )
16344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16348 ac_header_preproc=yes
16349 ;;
16350 no:yes:* )
16351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16363 (
16364 cat <<\_ASBOX
16365 ## ----------------------------------------- ##
16366 ## Report this to wx-dev@lists.wxwidgets.org ##
16367 ## ----------------------------------------- ##
16368 _ASBOX
16369 ) |
16370 sed "s/^/$as_me: WARNING: /" >&2
16371 ;;
16372 esac
16373 echo "$as_me:$LINENO: checking for $ac_header" >&5
16374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16376 echo $ECHO_N "(cached) $ECHO_C" >&6
16377 else
16378 eval "$as_ac_Header=\$ac_header_preproc"
16379 fi
16380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16382
16383 fi
16384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16385 cat >>confdefs.h <<_ACEOF
16386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16387 _ACEOF
16388
16389 fi
16390
16391 done
16392
16393 fi
16394
16395
16396 for ac_header in fnmatch.h
16397 do
16398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16400 echo "$as_me:$LINENO: checking for $ac_header" >&5
16401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16404 fi
16405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16407 else
16408 # Is the header compilable?
16409 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16411 cat >conftest.$ac_ext <<_ACEOF
16412 /* confdefs.h. */
16413 _ACEOF
16414 cat confdefs.h >>conftest.$ac_ext
16415 cat >>conftest.$ac_ext <<_ACEOF
16416 /* end confdefs.h. */
16417 $ac_includes_default
16418 #include <$ac_header>
16419 _ACEOF
16420 rm -f conftest.$ac_objext
16421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16422 (eval $ac_compile) 2>conftest.er1
16423 ac_status=$?
16424 grep -v '^ *+' conftest.er1 >conftest.err
16425 rm -f conftest.er1
16426 cat conftest.err >&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } &&
16429 { ac_try='test -z "$ac_c_werror_flag"
16430 || test ! -s conftest.err'
16431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16432 (eval $ac_try) 2>&5
16433 ac_status=$?
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); }; } &&
16436 { ac_try='test -s conftest.$ac_objext'
16437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16438 (eval $ac_try) 2>&5
16439 ac_status=$?
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); }; }; then
16442 ac_header_compiler=yes
16443 else
16444 echo "$as_me: failed program was:" >&5
16445 sed 's/^/| /' conftest.$ac_ext >&5
16446
16447 ac_header_compiler=no
16448 fi
16449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16451 echo "${ECHO_T}$ac_header_compiler" >&6
16452
16453 # Is the header present?
16454 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16456 cat >conftest.$ac_ext <<_ACEOF
16457 /* confdefs.h. */
16458 _ACEOF
16459 cat confdefs.h >>conftest.$ac_ext
16460 cat >>conftest.$ac_ext <<_ACEOF
16461 /* end confdefs.h. */
16462 #include <$ac_header>
16463 _ACEOF
16464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16466 ac_status=$?
16467 grep -v '^ *+' conftest.er1 >conftest.err
16468 rm -f conftest.er1
16469 cat conftest.err >&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } >/dev/null; then
16472 if test -s conftest.err; then
16473 ac_cpp_err=$ac_c_preproc_warn_flag
16474 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16475 else
16476 ac_cpp_err=
16477 fi
16478 else
16479 ac_cpp_err=yes
16480 fi
16481 if test -z "$ac_cpp_err"; then
16482 ac_header_preproc=yes
16483 else
16484 echo "$as_me: failed program was:" >&5
16485 sed 's/^/| /' conftest.$ac_ext >&5
16486
16487 ac_header_preproc=no
16488 fi
16489 rm -f conftest.err conftest.$ac_ext
16490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16491 echo "${ECHO_T}$ac_header_preproc" >&6
16492
16493 # So? What about this header?
16494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16495 yes:no: )
16496 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16499 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16500 ac_header_preproc=yes
16501 ;;
16502 no:yes:* )
16503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16507 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16508 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16509 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16510 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16512 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16513 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16514 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16515 (
16516 cat <<\_ASBOX
16517 ## ----------------------------------------- ##
16518 ## Report this to wx-dev@lists.wxwidgets.org ##
16519 ## ----------------------------------------- ##
16520 _ASBOX
16521 ) |
16522 sed "s/^/$as_me: WARNING: /" >&2
16523 ;;
16524 esac
16525 echo "$as_me:$LINENO: checking for $ac_header" >&5
16526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16528 echo $ECHO_N "(cached) $ECHO_C" >&6
16529 else
16530 eval "$as_ac_Header=\$ac_header_preproc"
16531 fi
16532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16534
16535 fi
16536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16537 cat >>confdefs.h <<_ACEOF
16538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16539 _ACEOF
16540
16541 fi
16542
16543 done
16544
16545
16546
16547 for ac_header in langinfo.h
16548 do
16549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16551 echo "$as_me:$LINENO: checking for $ac_header" >&5
16552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16554 echo $ECHO_N "(cached) $ECHO_C" >&6
16555 fi
16556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16558 else
16559 # Is the header compilable?
16560 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16562 cat >conftest.$ac_ext <<_ACEOF
16563 /* confdefs.h. */
16564 _ACEOF
16565 cat confdefs.h >>conftest.$ac_ext
16566 cat >>conftest.$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16568 $ac_includes_default
16569 #include <$ac_header>
16570 _ACEOF
16571 rm -f conftest.$ac_objext
16572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16573 (eval $ac_compile) 2>conftest.er1
16574 ac_status=$?
16575 grep -v '^ *+' conftest.er1 >conftest.err
16576 rm -f conftest.er1
16577 cat conftest.err >&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); } &&
16580 { ac_try='test -z "$ac_c_werror_flag"
16581 || test ! -s conftest.err'
16582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16583 (eval $ac_try) 2>&5
16584 ac_status=$?
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); }; } &&
16587 { ac_try='test -s conftest.$ac_objext'
16588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16589 (eval $ac_try) 2>&5
16590 ac_status=$?
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); }; }; then
16593 ac_header_compiler=yes
16594 else
16595 echo "$as_me: failed program was:" >&5
16596 sed 's/^/| /' conftest.$ac_ext >&5
16597
16598 ac_header_compiler=no
16599 fi
16600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16601 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16602 echo "${ECHO_T}$ac_header_compiler" >&6
16603
16604 # Is the header present?
16605 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16606 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16607 cat >conftest.$ac_ext <<_ACEOF
16608 /* confdefs.h. */
16609 _ACEOF
16610 cat confdefs.h >>conftest.$ac_ext
16611 cat >>conftest.$ac_ext <<_ACEOF
16612 /* end confdefs.h. */
16613 #include <$ac_header>
16614 _ACEOF
16615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16616 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16617 ac_status=$?
16618 grep -v '^ *+' conftest.er1 >conftest.err
16619 rm -f conftest.er1
16620 cat conftest.err >&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); } >/dev/null; then
16623 if test -s conftest.err; then
16624 ac_cpp_err=$ac_c_preproc_warn_flag
16625 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16626 else
16627 ac_cpp_err=
16628 fi
16629 else
16630 ac_cpp_err=yes
16631 fi
16632 if test -z "$ac_cpp_err"; then
16633 ac_header_preproc=yes
16634 else
16635 echo "$as_me: failed program was:" >&5
16636 sed 's/^/| /' conftest.$ac_ext >&5
16637
16638 ac_header_preproc=no
16639 fi
16640 rm -f conftest.err conftest.$ac_ext
16641 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16642 echo "${ECHO_T}$ac_header_preproc" >&6
16643
16644 # So? What about this header?
16645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16646 yes:no: )
16647 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16648 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16649 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16650 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16651 ac_header_preproc=yes
16652 ;;
16653 no:yes:* )
16654 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16655 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16656 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16657 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16658 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16659 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16660 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16661 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16663 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16664 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16665 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16666 (
16667 cat <<\_ASBOX
16668 ## ----------------------------------------- ##
16669 ## Report this to wx-dev@lists.wxwidgets.org ##
16670 ## ----------------------------------------- ##
16671 _ASBOX
16672 ) |
16673 sed "s/^/$as_me: WARNING: /" >&2
16674 ;;
16675 esac
16676 echo "$as_me:$LINENO: checking for $ac_header" >&5
16677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 else
16681 eval "$as_ac_Header=\$ac_header_preproc"
16682 fi
16683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16685
16686 fi
16687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16688 cat >>confdefs.h <<_ACEOF
16689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16690 _ACEOF
16691
16692 fi
16693
16694 done
16695
16696
16697 case "${host}" in
16698 *-pc-os2_emx | *-pc-os2-emx )
16699 if test $ac_cv_header_langinfo_h = "yes" \
16700 -a \( "$wx_cv_gccversion" = "EMX2" \
16701 -o "$wx_cv_gccversion" = "EMX3" \
16702 -o "$wx_cv_gccversion" = "Innotek5" \); then
16703 LIBS="$LIBS -lintl"
16704 fi
16705 ;;
16706 esac
16707
16708
16709 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16710 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16711 if test "${ac_cv_c_const+set}" = set; then
16712 echo $ECHO_N "(cached) $ECHO_C" >&6
16713 else
16714 cat >conftest.$ac_ext <<_ACEOF
16715 /* confdefs.h. */
16716 _ACEOF
16717 cat confdefs.h >>conftest.$ac_ext
16718 cat >>conftest.$ac_ext <<_ACEOF
16719 /* end confdefs.h. */
16720
16721 int
16722 main ()
16723 {
16724 /* FIXME: Include the comments suggested by Paul. */
16725 #ifndef __cplusplus
16726 /* Ultrix mips cc rejects this. */
16727 typedef int charset[2];
16728 const charset x;
16729 /* SunOS 4.1.1 cc rejects this. */
16730 char const *const *ccp;
16731 char **p;
16732 /* NEC SVR4.0.2 mips cc rejects this. */
16733 struct point {int x, y;};
16734 static struct point const zero = {0,0};
16735 /* AIX XL C 1.02.0.0 rejects this.
16736 It does not let you subtract one const X* pointer from another in
16737 an arm of an if-expression whose if-part is not a constant
16738 expression */
16739 const char *g = "string";
16740 ccp = &g + (g ? g-g : 0);
16741 /* HPUX 7.0 cc rejects these. */
16742 ++ccp;
16743 p = (char**) ccp;
16744 ccp = (char const *const *) p;
16745 { /* SCO 3.2v4 cc rejects this. */
16746 char *t;
16747 char const *s = 0 ? (char *) 0 : (char const *) 0;
16748
16749 *t++ = 0;
16750 }
16751 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16752 int x[] = {25, 17};
16753 const int *foo = &x[0];
16754 ++foo;
16755 }
16756 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16757 typedef const int *iptr;
16758 iptr p = 0;
16759 ++p;
16760 }
16761 { /* AIX XL C 1.02.0.0 rejects this saying
16762 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16763 struct s { int j; const int *ap[3]; };
16764 struct s *b; b->j = 5;
16765 }
16766 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16767 const int foo = 10;
16768 }
16769 #endif
16770
16771 ;
16772 return 0;
16773 }
16774 _ACEOF
16775 rm -f conftest.$ac_objext
16776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16777 (eval $ac_compile) 2>conftest.er1
16778 ac_status=$?
16779 grep -v '^ *+' conftest.er1 >conftest.err
16780 rm -f conftest.er1
16781 cat conftest.err >&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } &&
16784 { ac_try='test -z "$ac_c_werror_flag"
16785 || test ! -s conftest.err'
16786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787 (eval $ac_try) 2>&5
16788 ac_status=$?
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); }; } &&
16791 { ac_try='test -s conftest.$ac_objext'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16794 ac_status=$?
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; }; then
16797 ac_cv_c_const=yes
16798 else
16799 echo "$as_me: failed program was:" >&5
16800 sed 's/^/| /' conftest.$ac_ext >&5
16801
16802 ac_cv_c_const=no
16803 fi
16804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16805 fi
16806 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16807 echo "${ECHO_T}$ac_cv_c_const" >&6
16808 if test $ac_cv_c_const = no; then
16809
16810 cat >>confdefs.h <<\_ACEOF
16811 #define const
16812 _ACEOF
16813
16814 fi
16815
16816 echo "$as_me:$LINENO: checking for inline" >&5
16817 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16818 if test "${ac_cv_c_inline+set}" = set; then
16819 echo $ECHO_N "(cached) $ECHO_C" >&6
16820 else
16821 ac_cv_c_inline=no
16822 for ac_kw in inline __inline__ __inline; do
16823 cat >conftest.$ac_ext <<_ACEOF
16824 /* confdefs.h. */
16825 _ACEOF
16826 cat confdefs.h >>conftest.$ac_ext
16827 cat >>conftest.$ac_ext <<_ACEOF
16828 /* end confdefs.h. */
16829 #ifndef __cplusplus
16830 typedef int foo_t;
16831 static $ac_kw foo_t static_foo () {return 0; }
16832 $ac_kw foo_t foo () {return 0; }
16833 #endif
16834
16835 _ACEOF
16836 rm -f conftest.$ac_objext
16837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16838 (eval $ac_compile) 2>conftest.er1
16839 ac_status=$?
16840 grep -v '^ *+' conftest.er1 >conftest.err
16841 rm -f conftest.er1
16842 cat conftest.err >&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); } &&
16845 { ac_try='test -z "$ac_c_werror_flag"
16846 || test ! -s conftest.err'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16849 ac_status=$?
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; } &&
16852 { ac_try='test -s conftest.$ac_objext'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16855 ac_status=$?
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; }; then
16858 ac_cv_c_inline=$ac_kw; break
16859 else
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.$ac_ext >&5
16862
16863 fi
16864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16865 done
16866
16867 fi
16868 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16869 echo "${ECHO_T}$ac_cv_c_inline" >&6
16870
16871
16872 case $ac_cv_c_inline in
16873 inline | yes) ;;
16874 *)
16875 case $ac_cv_c_inline in
16876 no) ac_val=;;
16877 *) ac_val=$ac_cv_c_inline;;
16878 esac
16879 cat >>confdefs.h <<_ACEOF
16880 #ifndef __cplusplus
16881 #define inline $ac_val
16882 #endif
16883 _ACEOF
16884 ;;
16885 esac
16886
16887
16888 echo "$as_me:$LINENO: checking for char" >&5
16889 echo $ECHO_N "checking for char... $ECHO_C" >&6
16890 if test "${ac_cv_type_char+set}" = set; then
16891 echo $ECHO_N "(cached) $ECHO_C" >&6
16892 else
16893 cat >conftest.$ac_ext <<_ACEOF
16894 /* confdefs.h. */
16895 _ACEOF
16896 cat confdefs.h >>conftest.$ac_ext
16897 cat >>conftest.$ac_ext <<_ACEOF
16898 /* end confdefs.h. */
16899 $ac_includes_default
16900 int
16901 main ()
16902 {
16903 if ((char *) 0)
16904 return 0;
16905 if (sizeof (char))
16906 return 0;
16907 ;
16908 return 0;
16909 }
16910 _ACEOF
16911 rm -f conftest.$ac_objext
16912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16913 (eval $ac_compile) 2>conftest.er1
16914 ac_status=$?
16915 grep -v '^ *+' conftest.er1 >conftest.err
16916 rm -f conftest.er1
16917 cat conftest.err >&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } &&
16920 { ac_try='test -z "$ac_c_werror_flag"
16921 || test ! -s conftest.err'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16924 ac_status=$?
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; } &&
16927 { ac_try='test -s conftest.$ac_objext'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16930 ac_status=$?
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; }; then
16933 ac_cv_type_char=yes
16934 else
16935 echo "$as_me: failed program was:" >&5
16936 sed 's/^/| /' conftest.$ac_ext >&5
16937
16938 ac_cv_type_char=no
16939 fi
16940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16941 fi
16942 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16943 echo "${ECHO_T}$ac_cv_type_char" >&6
16944
16945 echo "$as_me:$LINENO: checking size of char" >&5
16946 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16947 if test "${ac_cv_sizeof_char+set}" = set; then
16948 echo $ECHO_N "(cached) $ECHO_C" >&6
16949 else
16950 if test "$ac_cv_type_char" = yes; then
16951 # The cast to unsigned long works around a bug in the HP C Compiler
16952 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16953 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16954 # This bug is HP SR number 8606223364.
16955 if test "$cross_compiling" = yes; then
16956 # Depending upon the size, compute the lo and hi bounds.
16957 cat >conftest.$ac_ext <<_ACEOF
16958 /* confdefs.h. */
16959 _ACEOF
16960 cat confdefs.h >>conftest.$ac_ext
16961 cat >>conftest.$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 $ac_includes_default
16964 int
16965 main ()
16966 {
16967 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16968 test_array [0] = 0
16969
16970 ;
16971 return 0;
16972 }
16973 _ACEOF
16974 rm -f conftest.$ac_objext
16975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16976 (eval $ac_compile) 2>conftest.er1
16977 ac_status=$?
16978 grep -v '^ *+' conftest.er1 >conftest.err
16979 rm -f conftest.er1
16980 cat conftest.err >&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } &&
16983 { ac_try='test -z "$ac_c_werror_flag"
16984 || test ! -s conftest.err'
16985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16986 (eval $ac_try) 2>&5
16987 ac_status=$?
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); }; } &&
16990 { ac_try='test -s conftest.$ac_objext'
16991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16992 (eval $ac_try) 2>&5
16993 ac_status=$?
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); }; }; then
16996 ac_lo=0 ac_mid=0
16997 while :; do
16998 cat >conftest.$ac_ext <<_ACEOF
16999 /* confdefs.h. */
17000 _ACEOF
17001 cat confdefs.h >>conftest.$ac_ext
17002 cat >>conftest.$ac_ext <<_ACEOF
17003 /* end confdefs.h. */
17004 $ac_includes_default
17005 int
17006 main ()
17007 {
17008 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17009 test_array [0] = 0
17010
17011 ;
17012 return 0;
17013 }
17014 _ACEOF
17015 rm -f conftest.$ac_objext
17016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17017 (eval $ac_compile) 2>conftest.er1
17018 ac_status=$?
17019 grep -v '^ *+' conftest.er1 >conftest.err
17020 rm -f conftest.er1
17021 cat conftest.err >&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); } &&
17024 { ac_try='test -z "$ac_c_werror_flag"
17025 || test ! -s conftest.err'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17028 ac_status=$?
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; } &&
17031 { ac_try='test -s conftest.$ac_objext'
17032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17033 (eval $ac_try) 2>&5
17034 ac_status=$?
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }; }; then
17037 ac_hi=$ac_mid; break
17038 else
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.$ac_ext >&5
17041
17042 ac_lo=`expr $ac_mid + 1`
17043 if test $ac_lo -le $ac_mid; then
17044 ac_lo= ac_hi=
17045 break
17046 fi
17047 ac_mid=`expr 2 '*' $ac_mid + 1`
17048 fi
17049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17050 done
17051 else
17052 echo "$as_me: failed program was:" >&5
17053 sed 's/^/| /' conftest.$ac_ext >&5
17054
17055 cat >conftest.$ac_ext <<_ACEOF
17056 /* confdefs.h. */
17057 _ACEOF
17058 cat confdefs.h >>conftest.$ac_ext
17059 cat >>conftest.$ac_ext <<_ACEOF
17060 /* end confdefs.h. */
17061 $ac_includes_default
17062 int
17063 main ()
17064 {
17065 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17066 test_array [0] = 0
17067
17068 ;
17069 return 0;
17070 }
17071 _ACEOF
17072 rm -f conftest.$ac_objext
17073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17074 (eval $ac_compile) 2>conftest.er1
17075 ac_status=$?
17076 grep -v '^ *+' conftest.er1 >conftest.err
17077 rm -f conftest.er1
17078 cat conftest.err >&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); } &&
17081 { ac_try='test -z "$ac_c_werror_flag"
17082 || test ! -s conftest.err'
17083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084 (eval $ac_try) 2>&5
17085 ac_status=$?
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; } &&
17088 { ac_try='test -s conftest.$ac_objext'
17089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17090 (eval $ac_try) 2>&5
17091 ac_status=$?
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); }; }; then
17094 ac_hi=-1 ac_mid=-1
17095 while :; do
17096 cat >conftest.$ac_ext <<_ACEOF
17097 /* confdefs.h. */
17098 _ACEOF
17099 cat confdefs.h >>conftest.$ac_ext
17100 cat >>conftest.$ac_ext <<_ACEOF
17101 /* end confdefs.h. */
17102 $ac_includes_default
17103 int
17104 main ()
17105 {
17106 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17107 test_array [0] = 0
17108
17109 ;
17110 return 0;
17111 }
17112 _ACEOF
17113 rm -f conftest.$ac_objext
17114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17115 (eval $ac_compile) 2>conftest.er1
17116 ac_status=$?
17117 grep -v '^ *+' conftest.er1 >conftest.err
17118 rm -f conftest.er1
17119 cat conftest.err >&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } &&
17122 { ac_try='test -z "$ac_c_werror_flag"
17123 || test ! -s conftest.err'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17126 ac_status=$?
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; } &&
17129 { ac_try='test -s conftest.$ac_objext'
17130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17131 (eval $ac_try) 2>&5
17132 ac_status=$?
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); }; }; then
17135 ac_lo=$ac_mid; break
17136 else
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.$ac_ext >&5
17139
17140 ac_hi=`expr '(' $ac_mid ')' - 1`
17141 if test $ac_mid -le $ac_hi; then
17142 ac_lo= ac_hi=
17143 break
17144 fi
17145 ac_mid=`expr 2 '*' $ac_mid`
17146 fi
17147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17148 done
17149 else
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17152
17153 ac_lo= ac_hi=
17154 fi
17155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17156 fi
17157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17158 # Binary search between lo and hi bounds.
17159 while test "x$ac_lo" != "x$ac_hi"; do
17160 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17161 cat >conftest.$ac_ext <<_ACEOF
17162 /* confdefs.h. */
17163 _ACEOF
17164 cat confdefs.h >>conftest.$ac_ext
17165 cat >>conftest.$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17167 $ac_includes_default
17168 int
17169 main ()
17170 {
17171 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17172 test_array [0] = 0
17173
17174 ;
17175 return 0;
17176 }
17177 _ACEOF
17178 rm -f conftest.$ac_objext
17179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17180 (eval $ac_compile) 2>conftest.er1
17181 ac_status=$?
17182 grep -v '^ *+' conftest.er1 >conftest.err
17183 rm -f conftest.er1
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } &&
17187 { ac_try='test -z "$ac_c_werror_flag"
17188 || test ! -s conftest.err'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17191 ac_status=$?
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; } &&
17194 { ac_try='test -s conftest.$ac_objext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17197 ac_status=$?
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17200 ac_hi=$ac_mid
17201 else
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17204
17205 ac_lo=`expr '(' $ac_mid ')' + 1`
17206 fi
17207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17208 done
17209 case $ac_lo in
17210 ?*) ac_cv_sizeof_char=$ac_lo;;
17211 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17212 See \`config.log' for more details." >&5
17213 echo "$as_me: error: cannot compute sizeof (char), 77
17214 See \`config.log' for more details." >&2;}
17215 { (exit 1); exit 1; }; } ;;
17216 esac
17217 else
17218 if test "$cross_compiling" = yes; then
17219 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17220 See \`config.log' for more details." >&5
17221 echo "$as_me: error: cannot run test program while cross compiling
17222 See \`config.log' for more details." >&2;}
17223 { (exit 1); exit 1; }; }
17224 else
17225 cat >conftest.$ac_ext <<_ACEOF
17226 /* confdefs.h. */
17227 _ACEOF
17228 cat confdefs.h >>conftest.$ac_ext
17229 cat >>conftest.$ac_ext <<_ACEOF
17230 /* end confdefs.h. */
17231 $ac_includes_default
17232 long longval () { return (long) (sizeof (char)); }
17233 unsigned long ulongval () { return (long) (sizeof (char)); }
17234 #include <stdio.h>
17235 #include <stdlib.h>
17236 int
17237 main ()
17238 {
17239
17240 FILE *f = fopen ("conftest.val", "w");
17241 if (! f)
17242 exit (1);
17243 if (((long) (sizeof (char))) < 0)
17244 {
17245 long i = longval ();
17246 if (i != ((long) (sizeof (char))))
17247 exit (1);
17248 fprintf (f, "%ld\n", i);
17249 }
17250 else
17251 {
17252 unsigned long i = ulongval ();
17253 if (i != ((long) (sizeof (char))))
17254 exit (1);
17255 fprintf (f, "%lu\n", i);
17256 }
17257 exit (ferror (f) || fclose (f) != 0);
17258
17259 ;
17260 return 0;
17261 }
17262 _ACEOF
17263 rm -f conftest$ac_exeext
17264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17265 (eval $ac_link) 2>&5
17266 ac_status=$?
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17271 ac_status=$?
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; }; then
17274 ac_cv_sizeof_char=`cat conftest.val`
17275 else
17276 echo "$as_me: program exited with status $ac_status" >&5
17277 echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.$ac_ext >&5
17279
17280 ( exit $ac_status )
17281 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17282 See \`config.log' for more details." >&5
17283 echo "$as_me: error: cannot compute sizeof (char), 77
17284 See \`config.log' for more details." >&2;}
17285 { (exit 1); exit 1; }; }
17286 fi
17287 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17288 fi
17289 fi
17290 rm -f conftest.val
17291 else
17292 ac_cv_sizeof_char=0
17293 fi
17294 fi
17295 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17296 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17297 cat >>confdefs.h <<_ACEOF
17298 #define SIZEOF_CHAR $ac_cv_sizeof_char
17299 _ACEOF
17300
17301
17302 echo "$as_me:$LINENO: checking for short" >&5
17303 echo $ECHO_N "checking for short... $ECHO_C" >&6
17304 if test "${ac_cv_type_short+set}" = set; then
17305 echo $ECHO_N "(cached) $ECHO_C" >&6
17306 else
17307 cat >conftest.$ac_ext <<_ACEOF
17308 /* confdefs.h. */
17309 _ACEOF
17310 cat confdefs.h >>conftest.$ac_ext
17311 cat >>conftest.$ac_ext <<_ACEOF
17312 /* end confdefs.h. */
17313 $ac_includes_default
17314 int
17315 main ()
17316 {
17317 if ((short *) 0)
17318 return 0;
17319 if (sizeof (short))
17320 return 0;
17321 ;
17322 return 0;
17323 }
17324 _ACEOF
17325 rm -f conftest.$ac_objext
17326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17327 (eval $ac_compile) 2>conftest.er1
17328 ac_status=$?
17329 grep -v '^ *+' conftest.er1 >conftest.err
17330 rm -f conftest.er1
17331 cat conftest.err >&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } &&
17334 { ac_try='test -z "$ac_c_werror_flag"
17335 || test ! -s conftest.err'
17336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17337 (eval $ac_try) 2>&5
17338 ac_status=$?
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); }; } &&
17341 { ac_try='test -s conftest.$ac_objext'
17342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17343 (eval $ac_try) 2>&5
17344 ac_status=$?
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); }; }; then
17347 ac_cv_type_short=yes
17348 else
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17351
17352 ac_cv_type_short=no
17353 fi
17354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17355 fi
17356 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17357 echo "${ECHO_T}$ac_cv_type_short" >&6
17358
17359 echo "$as_me:$LINENO: checking size of short" >&5
17360 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17361 if test "${ac_cv_sizeof_short+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 else
17364 if test "$ac_cv_type_short" = yes; then
17365 # The cast to unsigned long works around a bug in the HP C Compiler
17366 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17367 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17368 # This bug is HP SR number 8606223364.
17369 if test "$cross_compiling" = yes; then
17370 # Depending upon the size, compute the lo and hi bounds.
17371 cat >conftest.$ac_ext <<_ACEOF
17372 /* confdefs.h. */
17373 _ACEOF
17374 cat confdefs.h >>conftest.$ac_ext
17375 cat >>conftest.$ac_ext <<_ACEOF
17376 /* end confdefs.h. */
17377 $ac_includes_default
17378 int
17379 main ()
17380 {
17381 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17382 test_array [0] = 0
17383
17384 ;
17385 return 0;
17386 }
17387 _ACEOF
17388 rm -f conftest.$ac_objext
17389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17390 (eval $ac_compile) 2>conftest.er1
17391 ac_status=$?
17392 grep -v '^ *+' conftest.er1 >conftest.err
17393 rm -f conftest.er1
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } &&
17397 { ac_try='test -z "$ac_c_werror_flag"
17398 || test ! -s conftest.err'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17401 ac_status=$?
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; } &&
17404 { ac_try='test -s conftest.$ac_objext'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17407 ac_status=$?
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; }; then
17410 ac_lo=0 ac_mid=0
17411 while :; do
17412 cat >conftest.$ac_ext <<_ACEOF
17413 /* confdefs.h. */
17414 _ACEOF
17415 cat confdefs.h >>conftest.$ac_ext
17416 cat >>conftest.$ac_ext <<_ACEOF
17417 /* end confdefs.h. */
17418 $ac_includes_default
17419 int
17420 main ()
17421 {
17422 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17423 test_array [0] = 0
17424
17425 ;
17426 return 0;
17427 }
17428 _ACEOF
17429 rm -f conftest.$ac_objext
17430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17431 (eval $ac_compile) 2>conftest.er1
17432 ac_status=$?
17433 grep -v '^ *+' conftest.er1 >conftest.err
17434 rm -f conftest.er1
17435 cat conftest.err >&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); } &&
17438 { ac_try='test -z "$ac_c_werror_flag"
17439 || test ! -s conftest.err'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17442 ac_status=$?
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; } &&
17445 { ac_try='test -s conftest.$ac_objext'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17448 ac_status=$?
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; }; then
17451 ac_hi=$ac_mid; break
17452 else
17453 echo "$as_me: failed program was:" >&5
17454 sed 's/^/| /' conftest.$ac_ext >&5
17455
17456 ac_lo=`expr $ac_mid + 1`
17457 if test $ac_lo -le $ac_mid; then
17458 ac_lo= ac_hi=
17459 break
17460 fi
17461 ac_mid=`expr 2 '*' $ac_mid + 1`
17462 fi
17463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17464 done
17465 else
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.$ac_ext >&5
17468
17469 cat >conftest.$ac_ext <<_ACEOF
17470 /* confdefs.h. */
17471 _ACEOF
17472 cat confdefs.h >>conftest.$ac_ext
17473 cat >>conftest.$ac_ext <<_ACEOF
17474 /* end confdefs.h. */
17475 $ac_includes_default
17476 int
17477 main ()
17478 {
17479 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17480 test_array [0] = 0
17481
17482 ;
17483 return 0;
17484 }
17485 _ACEOF
17486 rm -f conftest.$ac_objext
17487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17488 (eval $ac_compile) 2>conftest.er1
17489 ac_status=$?
17490 grep -v '^ *+' conftest.er1 >conftest.err
17491 rm -f conftest.er1
17492 cat conftest.err >&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); } &&
17495 { ac_try='test -z "$ac_c_werror_flag"
17496 || test ! -s conftest.err'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17499 ac_status=$?
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; } &&
17502 { ac_try='test -s conftest.$ac_objext'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17505 ac_status=$?
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; }; then
17508 ac_hi=-1 ac_mid=-1
17509 while :; do
17510 cat >conftest.$ac_ext <<_ACEOF
17511 /* confdefs.h. */
17512 _ACEOF
17513 cat confdefs.h >>conftest.$ac_ext
17514 cat >>conftest.$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516 $ac_includes_default
17517 int
17518 main ()
17519 {
17520 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17521 test_array [0] = 0
17522
17523 ;
17524 return 0;
17525 }
17526 _ACEOF
17527 rm -f conftest.$ac_objext
17528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17529 (eval $ac_compile) 2>conftest.er1
17530 ac_status=$?
17531 grep -v '^ *+' conftest.er1 >conftest.err
17532 rm -f conftest.er1
17533 cat conftest.err >&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } &&
17536 { ac_try='test -z "$ac_c_werror_flag"
17537 || test ! -s conftest.err'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17540 ac_status=$?
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; } &&
17543 { ac_try='test -s conftest.$ac_objext'
17544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17545 (eval $ac_try) 2>&5
17546 ac_status=$?
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); }; }; then
17549 ac_lo=$ac_mid; break
17550 else
17551 echo "$as_me: failed program was:" >&5
17552 sed 's/^/| /' conftest.$ac_ext >&5
17553
17554 ac_hi=`expr '(' $ac_mid ')' - 1`
17555 if test $ac_mid -le $ac_hi; then
17556 ac_lo= ac_hi=
17557 break
17558 fi
17559 ac_mid=`expr 2 '*' $ac_mid`
17560 fi
17561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17562 done
17563 else
17564 echo "$as_me: failed program was:" >&5
17565 sed 's/^/| /' conftest.$ac_ext >&5
17566
17567 ac_lo= ac_hi=
17568 fi
17569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17570 fi
17571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17572 # Binary search between lo and hi bounds.
17573 while test "x$ac_lo" != "x$ac_hi"; do
17574 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17575 cat >conftest.$ac_ext <<_ACEOF
17576 /* confdefs.h. */
17577 _ACEOF
17578 cat confdefs.h >>conftest.$ac_ext
17579 cat >>conftest.$ac_ext <<_ACEOF
17580 /* end confdefs.h. */
17581 $ac_includes_default
17582 int
17583 main ()
17584 {
17585 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17586 test_array [0] = 0
17587
17588 ;
17589 return 0;
17590 }
17591 _ACEOF
17592 rm -f conftest.$ac_objext
17593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17594 (eval $ac_compile) 2>conftest.er1
17595 ac_status=$?
17596 grep -v '^ *+' conftest.er1 >conftest.err
17597 rm -f conftest.er1
17598 cat conftest.err >&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } &&
17601 { ac_try='test -z "$ac_c_werror_flag"
17602 || test ! -s conftest.err'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17605 ac_status=$?
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; } &&
17608 { ac_try='test -s conftest.$ac_objext'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17611 ac_status=$?
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; }; then
17614 ac_hi=$ac_mid
17615 else
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.$ac_ext >&5
17618
17619 ac_lo=`expr '(' $ac_mid ')' + 1`
17620 fi
17621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17622 done
17623 case $ac_lo in
17624 ?*) ac_cv_sizeof_short=$ac_lo;;
17625 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17626 See \`config.log' for more details." >&5
17627 echo "$as_me: error: cannot compute sizeof (short), 77
17628 See \`config.log' for more details." >&2;}
17629 { (exit 1); exit 1; }; } ;;
17630 esac
17631 else
17632 if test "$cross_compiling" = yes; then
17633 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17634 See \`config.log' for more details." >&5
17635 echo "$as_me: error: cannot run test program while cross compiling
17636 See \`config.log' for more details." >&2;}
17637 { (exit 1); exit 1; }; }
17638 else
17639 cat >conftest.$ac_ext <<_ACEOF
17640 /* confdefs.h. */
17641 _ACEOF
17642 cat confdefs.h >>conftest.$ac_ext
17643 cat >>conftest.$ac_ext <<_ACEOF
17644 /* end confdefs.h. */
17645 $ac_includes_default
17646 long longval () { return (long) (sizeof (short)); }
17647 unsigned long ulongval () { return (long) (sizeof (short)); }
17648 #include <stdio.h>
17649 #include <stdlib.h>
17650 int
17651 main ()
17652 {
17653
17654 FILE *f = fopen ("conftest.val", "w");
17655 if (! f)
17656 exit (1);
17657 if (((long) (sizeof (short))) < 0)
17658 {
17659 long i = longval ();
17660 if (i != ((long) (sizeof (short))))
17661 exit (1);
17662 fprintf (f, "%ld\n", i);
17663 }
17664 else
17665 {
17666 unsigned long i = ulongval ();
17667 if (i != ((long) (sizeof (short))))
17668 exit (1);
17669 fprintf (f, "%lu\n", i);
17670 }
17671 exit (ferror (f) || fclose (f) != 0);
17672
17673 ;
17674 return 0;
17675 }
17676 _ACEOF
17677 rm -f conftest$ac_exeext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17679 (eval $ac_link) 2>&5
17680 ac_status=$?
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17684 (eval $ac_try) 2>&5
17685 ac_status=$?
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); }; }; then
17688 ac_cv_sizeof_short=`cat conftest.val`
17689 else
17690 echo "$as_me: program exited with status $ac_status" >&5
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.$ac_ext >&5
17693
17694 ( exit $ac_status )
17695 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17696 See \`config.log' for more details." >&5
17697 echo "$as_me: error: cannot compute sizeof (short), 77
17698 See \`config.log' for more details." >&2;}
17699 { (exit 1); exit 1; }; }
17700 fi
17701 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17702 fi
17703 fi
17704 rm -f conftest.val
17705 else
17706 ac_cv_sizeof_short=0
17707 fi
17708 fi
17709 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17710 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17711 cat >>confdefs.h <<_ACEOF
17712 #define SIZEOF_SHORT $ac_cv_sizeof_short
17713 _ACEOF
17714
17715
17716 echo "$as_me:$LINENO: checking for void *" >&5
17717 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17718 if test "${ac_cv_type_void_p+set}" = set; then
17719 echo $ECHO_N "(cached) $ECHO_C" >&6
17720 else
17721 cat >conftest.$ac_ext <<_ACEOF
17722 /* confdefs.h. */
17723 _ACEOF
17724 cat confdefs.h >>conftest.$ac_ext
17725 cat >>conftest.$ac_ext <<_ACEOF
17726 /* end confdefs.h. */
17727 $ac_includes_default
17728 int
17729 main ()
17730 {
17731 if ((void * *) 0)
17732 return 0;
17733 if (sizeof (void *))
17734 return 0;
17735 ;
17736 return 0;
17737 }
17738 _ACEOF
17739 rm -f conftest.$ac_objext
17740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17741 (eval $ac_compile) 2>conftest.er1
17742 ac_status=$?
17743 grep -v '^ *+' conftest.er1 >conftest.err
17744 rm -f conftest.er1
17745 cat conftest.err >&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); } &&
17748 { ac_try='test -z "$ac_c_werror_flag"
17749 || test ! -s conftest.err'
17750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751 (eval $ac_try) 2>&5
17752 ac_status=$?
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; } &&
17755 { ac_try='test -s conftest.$ac_objext'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17758 ac_status=$?
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; }; then
17761 ac_cv_type_void_p=yes
17762 else
17763 echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.$ac_ext >&5
17765
17766 ac_cv_type_void_p=no
17767 fi
17768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17769 fi
17770 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17771 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17772
17773 echo "$as_me:$LINENO: checking size of void *" >&5
17774 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17775 if test "${ac_cv_sizeof_void_p+set}" = set; then
17776 echo $ECHO_N "(cached) $ECHO_C" >&6
17777 else
17778 if test "$ac_cv_type_void_p" = yes; then
17779 # The cast to unsigned long works around a bug in the HP C Compiler
17780 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17781 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17782 # This bug is HP SR number 8606223364.
17783 if test "$cross_compiling" = yes; then
17784 # Depending upon the size, compute the lo and hi bounds.
17785 cat >conftest.$ac_ext <<_ACEOF
17786 /* confdefs.h. */
17787 _ACEOF
17788 cat confdefs.h >>conftest.$ac_ext
17789 cat >>conftest.$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17791 $ac_includes_default
17792 int
17793 main ()
17794 {
17795 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17796 test_array [0] = 0
17797
17798 ;
17799 return 0;
17800 }
17801 _ACEOF
17802 rm -f conftest.$ac_objext
17803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17804 (eval $ac_compile) 2>conftest.er1
17805 ac_status=$?
17806 grep -v '^ *+' conftest.er1 >conftest.err
17807 rm -f conftest.er1
17808 cat conftest.err >&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } &&
17811 { ac_try='test -z "$ac_c_werror_flag"
17812 || test ! -s conftest.err'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17815 ac_status=$?
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; } &&
17818 { ac_try='test -s conftest.$ac_objext'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17821 ac_status=$?
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; }; then
17824 ac_lo=0 ac_mid=0
17825 while :; do
17826 cat >conftest.$ac_ext <<_ACEOF
17827 /* confdefs.h. */
17828 _ACEOF
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17832 $ac_includes_default
17833 int
17834 main ()
17835 {
17836 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17837 test_array [0] = 0
17838
17839 ;
17840 return 0;
17841 }
17842 _ACEOF
17843 rm -f conftest.$ac_objext
17844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17845 (eval $ac_compile) 2>conftest.er1
17846 ac_status=$?
17847 grep -v '^ *+' conftest.er1 >conftest.err
17848 rm -f conftest.er1
17849 cat conftest.err >&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } &&
17852 { ac_try='test -z "$ac_c_werror_flag"
17853 || test ! -s conftest.err'
17854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17855 (eval $ac_try) 2>&5
17856 ac_status=$?
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); }; } &&
17859 { ac_try='test -s conftest.$ac_objext'
17860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17861 (eval $ac_try) 2>&5
17862 ac_status=$?
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); }; }; then
17865 ac_hi=$ac_mid; break
17866 else
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.$ac_ext >&5
17869
17870 ac_lo=`expr $ac_mid + 1`
17871 if test $ac_lo -le $ac_mid; then
17872 ac_lo= ac_hi=
17873 break
17874 fi
17875 ac_mid=`expr 2 '*' $ac_mid + 1`
17876 fi
17877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17878 done
17879 else
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17882
17883 cat >conftest.$ac_ext <<_ACEOF
17884 /* confdefs.h. */
17885 _ACEOF
17886 cat confdefs.h >>conftest.$ac_ext
17887 cat >>conftest.$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17889 $ac_includes_default
17890 int
17891 main ()
17892 {
17893 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17894 test_array [0] = 0
17895
17896 ;
17897 return 0;
17898 }
17899 _ACEOF
17900 rm -f conftest.$ac_objext
17901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17902 (eval $ac_compile) 2>conftest.er1
17903 ac_status=$?
17904 grep -v '^ *+' conftest.er1 >conftest.err
17905 rm -f conftest.er1
17906 cat conftest.err >&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); } &&
17909 { ac_try='test -z "$ac_c_werror_flag"
17910 || test ! -s conftest.err'
17911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912 (eval $ac_try) 2>&5
17913 ac_status=$?
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; } &&
17916 { ac_try='test -s conftest.$ac_objext'
17917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918 (eval $ac_try) 2>&5
17919 ac_status=$?
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); }; }; then
17922 ac_hi=-1 ac_mid=-1
17923 while :; do
17924 cat >conftest.$ac_ext <<_ACEOF
17925 /* confdefs.h. */
17926 _ACEOF
17927 cat confdefs.h >>conftest.$ac_ext
17928 cat >>conftest.$ac_ext <<_ACEOF
17929 /* end confdefs.h. */
17930 $ac_includes_default
17931 int
17932 main ()
17933 {
17934 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17935 test_array [0] = 0
17936
17937 ;
17938 return 0;
17939 }
17940 _ACEOF
17941 rm -f conftest.$ac_objext
17942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17943 (eval $ac_compile) 2>conftest.er1
17944 ac_status=$?
17945 grep -v '^ *+' conftest.er1 >conftest.err
17946 rm -f conftest.er1
17947 cat conftest.err >&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } &&
17950 { ac_try='test -z "$ac_c_werror_flag"
17951 || test ! -s conftest.err'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17954 ac_status=$?
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; } &&
17957 { ac_try='test -s conftest.$ac_objext'
17958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959 (eval $ac_try) 2>&5
17960 ac_status=$?
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); }; }; then
17963 ac_lo=$ac_mid; break
17964 else
17965 echo "$as_me: failed program was:" >&5
17966 sed 's/^/| /' conftest.$ac_ext >&5
17967
17968 ac_hi=`expr '(' $ac_mid ')' - 1`
17969 if test $ac_mid -le $ac_hi; then
17970 ac_lo= ac_hi=
17971 break
17972 fi
17973 ac_mid=`expr 2 '*' $ac_mid`
17974 fi
17975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17976 done
17977 else
17978 echo "$as_me: failed program was:" >&5
17979 sed 's/^/| /' conftest.$ac_ext >&5
17980
17981 ac_lo= ac_hi=
17982 fi
17983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17984 fi
17985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17986 # Binary search between lo and hi bounds.
17987 while test "x$ac_lo" != "x$ac_hi"; do
17988 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17989 cat >conftest.$ac_ext <<_ACEOF
17990 /* confdefs.h. */
17991 _ACEOF
17992 cat confdefs.h >>conftest.$ac_ext
17993 cat >>conftest.$ac_ext <<_ACEOF
17994 /* end confdefs.h. */
17995 $ac_includes_default
17996 int
17997 main ()
17998 {
17999 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18000 test_array [0] = 0
18001
18002 ;
18003 return 0;
18004 }
18005 _ACEOF
18006 rm -f conftest.$ac_objext
18007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18008 (eval $ac_compile) 2>conftest.er1
18009 ac_status=$?
18010 grep -v '^ *+' conftest.er1 >conftest.err
18011 rm -f conftest.er1
18012 cat conftest.err >&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } &&
18015 { ac_try='test -z "$ac_c_werror_flag"
18016 || test ! -s conftest.err'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18019 ac_status=$?
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; } &&
18022 { ac_try='test -s conftest.$ac_objext'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18025 ac_status=$?
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; }; then
18028 ac_hi=$ac_mid
18029 else
18030 echo "$as_me: failed program was:" >&5
18031 sed 's/^/| /' conftest.$ac_ext >&5
18032
18033 ac_lo=`expr '(' $ac_mid ')' + 1`
18034 fi
18035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18036 done
18037 case $ac_lo in
18038 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18039 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18040 See \`config.log' for more details." >&5
18041 echo "$as_me: error: cannot compute sizeof (void *), 77
18042 See \`config.log' for more details." >&2;}
18043 { (exit 1); exit 1; }; } ;;
18044 esac
18045 else
18046 if test "$cross_compiling" = yes; then
18047 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18048 See \`config.log' for more details." >&5
18049 echo "$as_me: error: cannot run test program while cross compiling
18050 See \`config.log' for more details." >&2;}
18051 { (exit 1); exit 1; }; }
18052 else
18053 cat >conftest.$ac_ext <<_ACEOF
18054 /* confdefs.h. */
18055 _ACEOF
18056 cat confdefs.h >>conftest.$ac_ext
18057 cat >>conftest.$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18059 $ac_includes_default
18060 long longval () { return (long) (sizeof (void *)); }
18061 unsigned long ulongval () { return (long) (sizeof (void *)); }
18062 #include <stdio.h>
18063 #include <stdlib.h>
18064 int
18065 main ()
18066 {
18067
18068 FILE *f = fopen ("conftest.val", "w");
18069 if (! f)
18070 exit (1);
18071 if (((long) (sizeof (void *))) < 0)
18072 {
18073 long i = longval ();
18074 if (i != ((long) (sizeof (void *))))
18075 exit (1);
18076 fprintf (f, "%ld\n", i);
18077 }
18078 else
18079 {
18080 unsigned long i = ulongval ();
18081 if (i != ((long) (sizeof (void *))))
18082 exit (1);
18083 fprintf (f, "%lu\n", i);
18084 }
18085 exit (ferror (f) || fclose (f) != 0);
18086
18087 ;
18088 return 0;
18089 }
18090 _ACEOF
18091 rm -f conftest$ac_exeext
18092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18093 (eval $ac_link) 2>&5
18094 ac_status=$?
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18099 ac_status=$?
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18102 ac_cv_sizeof_void_p=`cat conftest.val`
18103 else
18104 echo "$as_me: program exited with status $ac_status" >&5
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.$ac_ext >&5
18107
18108 ( exit $ac_status )
18109 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18110 See \`config.log' for more details." >&5
18111 echo "$as_me: error: cannot compute sizeof (void *), 77
18112 See \`config.log' for more details." >&2;}
18113 { (exit 1); exit 1; }; }
18114 fi
18115 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18116 fi
18117 fi
18118 rm -f conftest.val
18119 else
18120 ac_cv_sizeof_void_p=0
18121 fi
18122 fi
18123 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18124 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18125 cat >>confdefs.h <<_ACEOF
18126 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18127 _ACEOF
18128
18129
18130 echo "$as_me:$LINENO: checking for int" >&5
18131 echo $ECHO_N "checking for int... $ECHO_C" >&6
18132 if test "${ac_cv_type_int+set}" = set; then
18133 echo $ECHO_N "(cached) $ECHO_C" >&6
18134 else
18135 cat >conftest.$ac_ext <<_ACEOF
18136 /* confdefs.h. */
18137 _ACEOF
18138 cat confdefs.h >>conftest.$ac_ext
18139 cat >>conftest.$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18141 $ac_includes_default
18142 int
18143 main ()
18144 {
18145 if ((int *) 0)
18146 return 0;
18147 if (sizeof (int))
18148 return 0;
18149 ;
18150 return 0;
18151 }
18152 _ACEOF
18153 rm -f conftest.$ac_objext
18154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18155 (eval $ac_compile) 2>conftest.er1
18156 ac_status=$?
18157 grep -v '^ *+' conftest.er1 >conftest.err
18158 rm -f conftest.er1
18159 cat conftest.err >&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } &&
18162 { ac_try='test -z "$ac_c_werror_flag"
18163 || test ! -s conftest.err'
18164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18165 (eval $ac_try) 2>&5
18166 ac_status=$?
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); }; } &&
18169 { ac_try='test -s conftest.$ac_objext'
18170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18171 (eval $ac_try) 2>&5
18172 ac_status=$?
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); }; }; then
18175 ac_cv_type_int=yes
18176 else
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.$ac_ext >&5
18179
18180 ac_cv_type_int=no
18181 fi
18182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18183 fi
18184 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18185 echo "${ECHO_T}$ac_cv_type_int" >&6
18186
18187 echo "$as_me:$LINENO: checking size of int" >&5
18188 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18189 if test "${ac_cv_sizeof_int+set}" = set; then
18190 echo $ECHO_N "(cached) $ECHO_C" >&6
18191 else
18192 if test "$ac_cv_type_int" = yes; then
18193 # The cast to unsigned long works around a bug in the HP C Compiler
18194 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18195 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18196 # This bug is HP SR number 8606223364.
18197 if test "$cross_compiling" = yes; then
18198 # Depending upon the size, compute the lo and hi bounds.
18199 cat >conftest.$ac_ext <<_ACEOF
18200 /* confdefs.h. */
18201 _ACEOF
18202 cat confdefs.h >>conftest.$ac_ext
18203 cat >>conftest.$ac_ext <<_ACEOF
18204 /* end confdefs.h. */
18205 $ac_includes_default
18206 int
18207 main ()
18208 {
18209 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18210 test_array [0] = 0
18211
18212 ;
18213 return 0;
18214 }
18215 _ACEOF
18216 rm -f conftest.$ac_objext
18217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18218 (eval $ac_compile) 2>conftest.er1
18219 ac_status=$?
18220 grep -v '^ *+' conftest.er1 >conftest.err
18221 rm -f conftest.er1
18222 cat conftest.err >&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } &&
18225 { ac_try='test -z "$ac_c_werror_flag"
18226 || test ! -s conftest.err'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18229 ac_status=$?
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; } &&
18232 { ac_try='test -s conftest.$ac_objext'
18233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18234 (eval $ac_try) 2>&5
18235 ac_status=$?
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }; }; then
18238 ac_lo=0 ac_mid=0
18239 while :; do
18240 cat >conftest.$ac_ext <<_ACEOF
18241 /* confdefs.h. */
18242 _ACEOF
18243 cat confdefs.h >>conftest.$ac_ext
18244 cat >>conftest.$ac_ext <<_ACEOF
18245 /* end confdefs.h. */
18246 $ac_includes_default
18247 int
18248 main ()
18249 {
18250 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18251 test_array [0] = 0
18252
18253 ;
18254 return 0;
18255 }
18256 _ACEOF
18257 rm -f conftest.$ac_objext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259 (eval $ac_compile) 2>conftest.er1
18260 ac_status=$?
18261 grep -v '^ *+' conftest.er1 >conftest.err
18262 rm -f conftest.er1
18263 cat conftest.err >&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); } &&
18266 { ac_try='test -z "$ac_c_werror_flag"
18267 || test ! -s conftest.err'
18268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18269 (eval $ac_try) 2>&5
18270 ac_status=$?
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); }; } &&
18273 { ac_try='test -s conftest.$ac_objext'
18274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18275 (eval $ac_try) 2>&5
18276 ac_status=$?
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }; }; then
18279 ac_hi=$ac_mid; break
18280 else
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.$ac_ext >&5
18283
18284 ac_lo=`expr $ac_mid + 1`
18285 if test $ac_lo -le $ac_mid; then
18286 ac_lo= ac_hi=
18287 break
18288 fi
18289 ac_mid=`expr 2 '*' $ac_mid + 1`
18290 fi
18291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18292 done
18293 else
18294 echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.$ac_ext >&5
18296
18297 cat >conftest.$ac_ext <<_ACEOF
18298 /* confdefs.h. */
18299 _ACEOF
18300 cat confdefs.h >>conftest.$ac_ext
18301 cat >>conftest.$ac_ext <<_ACEOF
18302 /* end confdefs.h. */
18303 $ac_includes_default
18304 int
18305 main ()
18306 {
18307 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18308 test_array [0] = 0
18309
18310 ;
18311 return 0;
18312 }
18313 _ACEOF
18314 rm -f conftest.$ac_objext
18315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18316 (eval $ac_compile) 2>conftest.er1
18317 ac_status=$?
18318 grep -v '^ *+' conftest.er1 >conftest.err
18319 rm -f conftest.er1
18320 cat conftest.err >&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); } &&
18323 { ac_try='test -z "$ac_c_werror_flag"
18324 || test ! -s conftest.err'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18327 ac_status=$?
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; } &&
18330 { ac_try='test -s conftest.$ac_objext'
18331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18332 (eval $ac_try) 2>&5
18333 ac_status=$?
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); }; }; then
18336 ac_hi=-1 ac_mid=-1
18337 while :; do
18338 cat >conftest.$ac_ext <<_ACEOF
18339 /* confdefs.h. */
18340 _ACEOF
18341 cat confdefs.h >>conftest.$ac_ext
18342 cat >>conftest.$ac_ext <<_ACEOF
18343 /* end confdefs.h. */
18344 $ac_includes_default
18345 int
18346 main ()
18347 {
18348 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18349 test_array [0] = 0
18350
18351 ;
18352 return 0;
18353 }
18354 _ACEOF
18355 rm -f conftest.$ac_objext
18356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18357 (eval $ac_compile) 2>conftest.er1
18358 ac_status=$?
18359 grep -v '^ *+' conftest.er1 >conftest.err
18360 rm -f conftest.er1
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } &&
18364 { ac_try='test -z "$ac_c_werror_flag"
18365 || test ! -s conftest.err'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18368 ac_status=$?
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; } &&
18371 { ac_try='test -s conftest.$ac_objext'
18372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18373 (eval $ac_try) 2>&5
18374 ac_status=$?
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); }; }; then
18377 ac_lo=$ac_mid; break
18378 else
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.$ac_ext >&5
18381
18382 ac_hi=`expr '(' $ac_mid ')' - 1`
18383 if test $ac_mid -le $ac_hi; then
18384 ac_lo= ac_hi=
18385 break
18386 fi
18387 ac_mid=`expr 2 '*' $ac_mid`
18388 fi
18389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18390 done
18391 else
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18394
18395 ac_lo= ac_hi=
18396 fi
18397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18398 fi
18399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18400 # Binary search between lo and hi bounds.
18401 while test "x$ac_lo" != "x$ac_hi"; do
18402 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18403 cat >conftest.$ac_ext <<_ACEOF
18404 /* confdefs.h. */
18405 _ACEOF
18406 cat confdefs.h >>conftest.$ac_ext
18407 cat >>conftest.$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409 $ac_includes_default
18410 int
18411 main ()
18412 {
18413 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18414 test_array [0] = 0
18415
18416 ;
18417 return 0;
18418 }
18419 _ACEOF
18420 rm -f conftest.$ac_objext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18422 (eval $ac_compile) 2>conftest.er1
18423 ac_status=$?
18424 grep -v '^ *+' conftest.er1 >conftest.err
18425 rm -f conftest.er1
18426 cat conftest.err >&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try='test -z "$ac_c_werror_flag"
18430 || test ! -s conftest.err'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18433 ac_status=$?
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; } &&
18436 { ac_try='test -s conftest.$ac_objext'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18439 ac_status=$?
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18442 ac_hi=$ac_mid
18443 else
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.$ac_ext >&5
18446
18447 ac_lo=`expr '(' $ac_mid ')' + 1`
18448 fi
18449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18450 done
18451 case $ac_lo in
18452 ?*) ac_cv_sizeof_int=$ac_lo;;
18453 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18454 See \`config.log' for more details." >&5
18455 echo "$as_me: error: cannot compute sizeof (int), 77
18456 See \`config.log' for more details." >&2;}
18457 { (exit 1); exit 1; }; } ;;
18458 esac
18459 else
18460 if test "$cross_compiling" = yes; then
18461 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18462 See \`config.log' for more details." >&5
18463 echo "$as_me: error: cannot run test program while cross compiling
18464 See \`config.log' for more details." >&2;}
18465 { (exit 1); exit 1; }; }
18466 else
18467 cat >conftest.$ac_ext <<_ACEOF
18468 /* confdefs.h. */
18469 _ACEOF
18470 cat confdefs.h >>conftest.$ac_ext
18471 cat >>conftest.$ac_ext <<_ACEOF
18472 /* end confdefs.h. */
18473 $ac_includes_default
18474 long longval () { return (long) (sizeof (int)); }
18475 unsigned long ulongval () { return (long) (sizeof (int)); }
18476 #include <stdio.h>
18477 #include <stdlib.h>
18478 int
18479 main ()
18480 {
18481
18482 FILE *f = fopen ("conftest.val", "w");
18483 if (! f)
18484 exit (1);
18485 if (((long) (sizeof (int))) < 0)
18486 {
18487 long i = longval ();
18488 if (i != ((long) (sizeof (int))))
18489 exit (1);
18490 fprintf (f, "%ld\n", i);
18491 }
18492 else
18493 {
18494 unsigned long i = ulongval ();
18495 if (i != ((long) (sizeof (int))))
18496 exit (1);
18497 fprintf (f, "%lu\n", i);
18498 }
18499 exit (ferror (f) || fclose (f) != 0);
18500
18501 ;
18502 return 0;
18503 }
18504 _ACEOF
18505 rm -f conftest$ac_exeext
18506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18507 (eval $ac_link) 2>&5
18508 ac_status=$?
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18513 ac_status=$?
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; }; then
18516 ac_cv_sizeof_int=`cat conftest.val`
18517 else
18518 echo "$as_me: program exited with status $ac_status" >&5
18519 echo "$as_me: failed program was:" >&5
18520 sed 's/^/| /' conftest.$ac_ext >&5
18521
18522 ( exit $ac_status )
18523 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18524 See \`config.log' for more details." >&5
18525 echo "$as_me: error: cannot compute sizeof (int), 77
18526 See \`config.log' for more details." >&2;}
18527 { (exit 1); exit 1; }; }
18528 fi
18529 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18530 fi
18531 fi
18532 rm -f conftest.val
18533 else
18534 ac_cv_sizeof_int=0
18535 fi
18536 fi
18537 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18538 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18539 cat >>confdefs.h <<_ACEOF
18540 #define SIZEOF_INT $ac_cv_sizeof_int
18541 _ACEOF
18542
18543
18544 echo "$as_me:$LINENO: checking for long" >&5
18545 echo $ECHO_N "checking for long... $ECHO_C" >&6
18546 if test "${ac_cv_type_long+set}" = set; then
18547 echo $ECHO_N "(cached) $ECHO_C" >&6
18548 else
18549 cat >conftest.$ac_ext <<_ACEOF
18550 /* confdefs.h. */
18551 _ACEOF
18552 cat confdefs.h >>conftest.$ac_ext
18553 cat >>conftest.$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18555 $ac_includes_default
18556 int
18557 main ()
18558 {
18559 if ((long *) 0)
18560 return 0;
18561 if (sizeof (long))
18562 return 0;
18563 ;
18564 return 0;
18565 }
18566 _ACEOF
18567 rm -f conftest.$ac_objext
18568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18569 (eval $ac_compile) 2>conftest.er1
18570 ac_status=$?
18571 grep -v '^ *+' conftest.er1 >conftest.err
18572 rm -f conftest.er1
18573 cat conftest.err >&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } &&
18576 { ac_try='test -z "$ac_c_werror_flag"
18577 || test ! -s conftest.err'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18580 ac_status=$?
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; } &&
18583 { ac_try='test -s conftest.$ac_objext'
18584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18585 (eval $ac_try) 2>&5
18586 ac_status=$?
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); }; }; then
18589 ac_cv_type_long=yes
18590 else
18591 echo "$as_me: failed program was:" >&5
18592 sed 's/^/| /' conftest.$ac_ext >&5
18593
18594 ac_cv_type_long=no
18595 fi
18596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18597 fi
18598 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18599 echo "${ECHO_T}$ac_cv_type_long" >&6
18600
18601 echo "$as_me:$LINENO: checking size of long" >&5
18602 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18603 if test "${ac_cv_sizeof_long+set}" = set; then
18604 echo $ECHO_N "(cached) $ECHO_C" >&6
18605 else
18606 if test "$ac_cv_type_long" = yes; then
18607 # The cast to unsigned long works around a bug in the HP C Compiler
18608 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18609 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18610 # This bug is HP SR number 8606223364.
18611 if test "$cross_compiling" = yes; then
18612 # Depending upon the size, compute the lo and hi bounds.
18613 cat >conftest.$ac_ext <<_ACEOF
18614 /* confdefs.h. */
18615 _ACEOF
18616 cat confdefs.h >>conftest.$ac_ext
18617 cat >>conftest.$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18619 $ac_includes_default
18620 int
18621 main ()
18622 {
18623 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18624 test_array [0] = 0
18625
18626 ;
18627 return 0;
18628 }
18629 _ACEOF
18630 rm -f conftest.$ac_objext
18631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18632 (eval $ac_compile) 2>conftest.er1
18633 ac_status=$?
18634 grep -v '^ *+' conftest.er1 >conftest.err
18635 rm -f conftest.er1
18636 cat conftest.err >&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); } &&
18639 { ac_try='test -z "$ac_c_werror_flag"
18640 || test ! -s conftest.err'
18641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18642 (eval $ac_try) 2>&5
18643 ac_status=$?
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); }; } &&
18646 { ac_try='test -s conftest.$ac_objext'
18647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18648 (eval $ac_try) 2>&5
18649 ac_status=$?
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); }; }; then
18652 ac_lo=0 ac_mid=0
18653 while :; do
18654 cat >conftest.$ac_ext <<_ACEOF
18655 /* confdefs.h. */
18656 _ACEOF
18657 cat confdefs.h >>conftest.$ac_ext
18658 cat >>conftest.$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 $ac_includes_default
18661 int
18662 main ()
18663 {
18664 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18665 test_array [0] = 0
18666
18667 ;
18668 return 0;
18669 }
18670 _ACEOF
18671 rm -f conftest.$ac_objext
18672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18673 (eval $ac_compile) 2>conftest.er1
18674 ac_status=$?
18675 grep -v '^ *+' conftest.er1 >conftest.err
18676 rm -f conftest.er1
18677 cat conftest.err >&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } &&
18680 { ac_try='test -z "$ac_c_werror_flag"
18681 || test ! -s conftest.err'
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18684 ac_status=$?
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; } &&
18687 { ac_try='test -s conftest.$ac_objext'
18688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689 (eval $ac_try) 2>&5
18690 ac_status=$?
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; }; then
18693 ac_hi=$ac_mid; break
18694 else
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.$ac_ext >&5
18697
18698 ac_lo=`expr $ac_mid + 1`
18699 if test $ac_lo -le $ac_mid; then
18700 ac_lo= ac_hi=
18701 break
18702 fi
18703 ac_mid=`expr 2 '*' $ac_mid + 1`
18704 fi
18705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18706 done
18707 else
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.$ac_ext >&5
18710
18711 cat >conftest.$ac_ext <<_ACEOF
18712 /* confdefs.h. */
18713 _ACEOF
18714 cat confdefs.h >>conftest.$ac_ext
18715 cat >>conftest.$ac_ext <<_ACEOF
18716 /* end confdefs.h. */
18717 $ac_includes_default
18718 int
18719 main ()
18720 {
18721 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18722 test_array [0] = 0
18723
18724 ;
18725 return 0;
18726 }
18727 _ACEOF
18728 rm -f conftest.$ac_objext
18729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18730 (eval $ac_compile) 2>conftest.er1
18731 ac_status=$?
18732 grep -v '^ *+' conftest.er1 >conftest.err
18733 rm -f conftest.er1
18734 cat conftest.err >&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); } &&
18737 { ac_try='test -z "$ac_c_werror_flag"
18738 || test ! -s conftest.err'
18739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18740 (eval $ac_try) 2>&5
18741 ac_status=$?
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; } &&
18744 { ac_try='test -s conftest.$ac_objext'
18745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18746 (eval $ac_try) 2>&5
18747 ac_status=$?
18748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749 (exit $ac_status); }; }; then
18750 ac_hi=-1 ac_mid=-1
18751 while :; do
18752 cat >conftest.$ac_ext <<_ACEOF
18753 /* confdefs.h. */
18754 _ACEOF
18755 cat confdefs.h >>conftest.$ac_ext
18756 cat >>conftest.$ac_ext <<_ACEOF
18757 /* end confdefs.h. */
18758 $ac_includes_default
18759 int
18760 main ()
18761 {
18762 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18763 test_array [0] = 0
18764
18765 ;
18766 return 0;
18767 }
18768 _ACEOF
18769 rm -f conftest.$ac_objext
18770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18771 (eval $ac_compile) 2>conftest.er1
18772 ac_status=$?
18773 grep -v '^ *+' conftest.er1 >conftest.err
18774 rm -f conftest.er1
18775 cat conftest.err >&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } &&
18778 { ac_try='test -z "$ac_c_werror_flag"
18779 || test ! -s conftest.err'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18782 ac_status=$?
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; } &&
18785 { ac_try='test -s conftest.$ac_objext'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18788 ac_status=$?
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 ac_lo=$ac_mid; break
18792 else
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18795
18796 ac_hi=`expr '(' $ac_mid ')' - 1`
18797 if test $ac_mid -le $ac_hi; then
18798 ac_lo= ac_hi=
18799 break
18800 fi
18801 ac_mid=`expr 2 '*' $ac_mid`
18802 fi
18803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18804 done
18805 else
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18808
18809 ac_lo= ac_hi=
18810 fi
18811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18812 fi
18813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18814 # Binary search between lo and hi bounds.
18815 while test "x$ac_lo" != "x$ac_hi"; do
18816 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18817 cat >conftest.$ac_ext <<_ACEOF
18818 /* confdefs.h. */
18819 _ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18823 $ac_includes_default
18824 int
18825 main ()
18826 {
18827 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18828 test_array [0] = 0
18829
18830 ;
18831 return 0;
18832 }
18833 _ACEOF
18834 rm -f conftest.$ac_objext
18835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18836 (eval $ac_compile) 2>conftest.er1
18837 ac_status=$?
18838 grep -v '^ *+' conftest.er1 >conftest.err
18839 rm -f conftest.er1
18840 cat conftest.err >&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } &&
18843 { ac_try='test -z "$ac_c_werror_flag"
18844 || test ! -s conftest.err'
18845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18846 (eval $ac_try) 2>&5
18847 ac_status=$?
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); }; } &&
18850 { ac_try='test -s conftest.$ac_objext'
18851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18852 (eval $ac_try) 2>&5
18853 ac_status=$?
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); }; }; then
18856 ac_hi=$ac_mid
18857 else
18858 echo "$as_me: failed program was:" >&5
18859 sed 's/^/| /' conftest.$ac_ext >&5
18860
18861 ac_lo=`expr '(' $ac_mid ')' + 1`
18862 fi
18863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18864 done
18865 case $ac_lo in
18866 ?*) ac_cv_sizeof_long=$ac_lo;;
18867 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18868 See \`config.log' for more details." >&5
18869 echo "$as_me: error: cannot compute sizeof (long), 77
18870 See \`config.log' for more details." >&2;}
18871 { (exit 1); exit 1; }; } ;;
18872 esac
18873 else
18874 if test "$cross_compiling" = yes; then
18875 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18876 See \`config.log' for more details." >&5
18877 echo "$as_me: error: cannot run test program while cross compiling
18878 See \`config.log' for more details." >&2;}
18879 { (exit 1); exit 1; }; }
18880 else
18881 cat >conftest.$ac_ext <<_ACEOF
18882 /* confdefs.h. */
18883 _ACEOF
18884 cat confdefs.h >>conftest.$ac_ext
18885 cat >>conftest.$ac_ext <<_ACEOF
18886 /* end confdefs.h. */
18887 $ac_includes_default
18888 long longval () { return (long) (sizeof (long)); }
18889 unsigned long ulongval () { return (long) (sizeof (long)); }
18890 #include <stdio.h>
18891 #include <stdlib.h>
18892 int
18893 main ()
18894 {
18895
18896 FILE *f = fopen ("conftest.val", "w");
18897 if (! f)
18898 exit (1);
18899 if (((long) (sizeof (long))) < 0)
18900 {
18901 long i = longval ();
18902 if (i != ((long) (sizeof (long))))
18903 exit (1);
18904 fprintf (f, "%ld\n", i);
18905 }
18906 else
18907 {
18908 unsigned long i = ulongval ();
18909 if (i != ((long) (sizeof (long))))
18910 exit (1);
18911 fprintf (f, "%lu\n", i);
18912 }
18913 exit (ferror (f) || fclose (f) != 0);
18914
18915 ;
18916 return 0;
18917 }
18918 _ACEOF
18919 rm -f conftest$ac_exeext
18920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18921 (eval $ac_link) 2>&5
18922 ac_status=$?
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18927 ac_status=$?
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; }; then
18930 ac_cv_sizeof_long=`cat conftest.val`
18931 else
18932 echo "$as_me: program exited with status $ac_status" >&5
18933 echo "$as_me: failed program was:" >&5
18934 sed 's/^/| /' conftest.$ac_ext >&5
18935
18936 ( exit $ac_status )
18937 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18938 See \`config.log' for more details." >&5
18939 echo "$as_me: error: cannot compute sizeof (long), 77
18940 See \`config.log' for more details." >&2;}
18941 { (exit 1); exit 1; }; }
18942 fi
18943 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18944 fi
18945 fi
18946 rm -f conftest.val
18947 else
18948 ac_cv_sizeof_long=0
18949 fi
18950 fi
18951 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18952 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18953 cat >>confdefs.h <<_ACEOF
18954 #define SIZEOF_LONG $ac_cv_sizeof_long
18955 _ACEOF
18956
18957
18958 echo "$as_me:$LINENO: checking for size_t" >&5
18959 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18960 if test "${ac_cv_type_size_t+set}" = set; then
18961 echo $ECHO_N "(cached) $ECHO_C" >&6
18962 else
18963 cat >conftest.$ac_ext <<_ACEOF
18964 /* confdefs.h. */
18965 _ACEOF
18966 cat confdefs.h >>conftest.$ac_ext
18967 cat >>conftest.$ac_ext <<_ACEOF
18968 /* end confdefs.h. */
18969 $ac_includes_default
18970 int
18971 main ()
18972 {
18973 if ((size_t *) 0)
18974 return 0;
18975 if (sizeof (size_t))
18976 return 0;
18977 ;
18978 return 0;
18979 }
18980 _ACEOF
18981 rm -f conftest.$ac_objext
18982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18983 (eval $ac_compile) 2>conftest.er1
18984 ac_status=$?
18985 grep -v '^ *+' conftest.er1 >conftest.err
18986 rm -f conftest.er1
18987 cat conftest.err >&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } &&
18990 { ac_try='test -z "$ac_c_werror_flag"
18991 || test ! -s conftest.err'
18992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993 (eval $ac_try) 2>&5
18994 ac_status=$?
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; } &&
18997 { ac_try='test -s conftest.$ac_objext'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19000 ac_status=$?
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; }; then
19003 ac_cv_type_size_t=yes
19004 else
19005 echo "$as_me: failed program was:" >&5
19006 sed 's/^/| /' conftest.$ac_ext >&5
19007
19008 ac_cv_type_size_t=no
19009 fi
19010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19011 fi
19012 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19013 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19014
19015 echo "$as_me:$LINENO: checking size of size_t" >&5
19016 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19017 if test "${ac_cv_sizeof_size_t+set}" = set; then
19018 echo $ECHO_N "(cached) $ECHO_C" >&6
19019 else
19020 if test "$ac_cv_type_size_t" = yes; then
19021 # The cast to unsigned long works around a bug in the HP C Compiler
19022 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19023 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19024 # This bug is HP SR number 8606223364.
19025 if test "$cross_compiling" = yes; then
19026 # Depending upon the size, compute the lo and hi bounds.
19027 cat >conftest.$ac_ext <<_ACEOF
19028 /* confdefs.h. */
19029 _ACEOF
19030 cat confdefs.h >>conftest.$ac_ext
19031 cat >>conftest.$ac_ext <<_ACEOF
19032 /* end confdefs.h. */
19033 $ac_includes_default
19034 int
19035 main ()
19036 {
19037 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19038 test_array [0] = 0
19039
19040 ;
19041 return 0;
19042 }
19043 _ACEOF
19044 rm -f conftest.$ac_objext
19045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19046 (eval $ac_compile) 2>conftest.er1
19047 ac_status=$?
19048 grep -v '^ *+' conftest.er1 >conftest.err
19049 rm -f conftest.er1
19050 cat conftest.err >&5
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); } &&
19053 { ac_try='test -z "$ac_c_werror_flag"
19054 || test ! -s conftest.err'
19055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19056 (eval $ac_try) 2>&5
19057 ac_status=$?
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); }; } &&
19060 { ac_try='test -s conftest.$ac_objext'
19061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19062 (eval $ac_try) 2>&5
19063 ac_status=$?
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); }; }; then
19066 ac_lo=0 ac_mid=0
19067 while :; do
19068 cat >conftest.$ac_ext <<_ACEOF
19069 /* confdefs.h. */
19070 _ACEOF
19071 cat confdefs.h >>conftest.$ac_ext
19072 cat >>conftest.$ac_ext <<_ACEOF
19073 /* end confdefs.h. */
19074 $ac_includes_default
19075 int
19076 main ()
19077 {
19078 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19079 test_array [0] = 0
19080
19081 ;
19082 return 0;
19083 }
19084 _ACEOF
19085 rm -f conftest.$ac_objext
19086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19087 (eval $ac_compile) 2>conftest.er1
19088 ac_status=$?
19089 grep -v '^ *+' conftest.er1 >conftest.err
19090 rm -f conftest.er1
19091 cat conftest.err >&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); } &&
19094 { ac_try='test -z "$ac_c_werror_flag"
19095 || test ! -s conftest.err'
19096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19097 (eval $ac_try) 2>&5
19098 ac_status=$?
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); }; } &&
19101 { ac_try='test -s conftest.$ac_objext'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19104 ac_status=$?
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; }; then
19107 ac_hi=$ac_mid; break
19108 else
19109 echo "$as_me: failed program was:" >&5
19110 sed 's/^/| /' conftest.$ac_ext >&5
19111
19112 ac_lo=`expr $ac_mid + 1`
19113 if test $ac_lo -le $ac_mid; then
19114 ac_lo= ac_hi=
19115 break
19116 fi
19117 ac_mid=`expr 2 '*' $ac_mid + 1`
19118 fi
19119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19120 done
19121 else
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.$ac_ext >&5
19124
19125 cat >conftest.$ac_ext <<_ACEOF
19126 /* confdefs.h. */
19127 _ACEOF
19128 cat confdefs.h >>conftest.$ac_ext
19129 cat >>conftest.$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19131 $ac_includes_default
19132 int
19133 main ()
19134 {
19135 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19136 test_array [0] = 0
19137
19138 ;
19139 return 0;
19140 }
19141 _ACEOF
19142 rm -f conftest.$ac_objext
19143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19144 (eval $ac_compile) 2>conftest.er1
19145 ac_status=$?
19146 grep -v '^ *+' conftest.er1 >conftest.err
19147 rm -f conftest.er1
19148 cat conftest.err >&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); } &&
19151 { ac_try='test -z "$ac_c_werror_flag"
19152 || test ! -s conftest.err'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19155 ac_status=$?
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; } &&
19158 { ac_try='test -s conftest.$ac_objext'
19159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160 (eval $ac_try) 2>&5
19161 ac_status=$?
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); }; }; then
19164 ac_hi=-1 ac_mid=-1
19165 while :; do
19166 cat >conftest.$ac_ext <<_ACEOF
19167 /* confdefs.h. */
19168 _ACEOF
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19172 $ac_includes_default
19173 int
19174 main ()
19175 {
19176 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19177 test_array [0] = 0
19178
19179 ;
19180 return 0;
19181 }
19182 _ACEOF
19183 rm -f conftest.$ac_objext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19185 (eval $ac_compile) 2>conftest.er1
19186 ac_status=$?
19187 grep -v '^ *+' conftest.er1 >conftest.err
19188 rm -f conftest.er1
19189 cat conftest.err >&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } &&
19192 { ac_try='test -z "$ac_c_werror_flag"
19193 || test ! -s conftest.err'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19196 ac_status=$?
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; } &&
19199 { ac_try='test -s conftest.$ac_objext'
19200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19201 (eval $ac_try) 2>&5
19202 ac_status=$?
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); }; }; then
19205 ac_lo=$ac_mid; break
19206 else
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19209
19210 ac_hi=`expr '(' $ac_mid ')' - 1`
19211 if test $ac_mid -le $ac_hi; then
19212 ac_lo= ac_hi=
19213 break
19214 fi
19215 ac_mid=`expr 2 '*' $ac_mid`
19216 fi
19217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19218 done
19219 else
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19222
19223 ac_lo= ac_hi=
19224 fi
19225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19226 fi
19227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19228 # Binary search between lo and hi bounds.
19229 while test "x$ac_lo" != "x$ac_hi"; do
19230 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19231 cat >conftest.$ac_ext <<_ACEOF
19232 /* confdefs.h. */
19233 _ACEOF
19234 cat confdefs.h >>conftest.$ac_ext
19235 cat >>conftest.$ac_ext <<_ACEOF
19236 /* end confdefs.h. */
19237 $ac_includes_default
19238 int
19239 main ()
19240 {
19241 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19242 test_array [0] = 0
19243
19244 ;
19245 return 0;
19246 }
19247 _ACEOF
19248 rm -f conftest.$ac_objext
19249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19250 (eval $ac_compile) 2>conftest.er1
19251 ac_status=$?
19252 grep -v '^ *+' conftest.er1 >conftest.err
19253 rm -f conftest.er1
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } &&
19257 { ac_try='test -z "$ac_c_werror_flag"
19258 || test ! -s conftest.err'
19259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19260 (eval $ac_try) 2>&5
19261 ac_status=$?
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); }; } &&
19264 { ac_try='test -s conftest.$ac_objext'
19265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19266 (eval $ac_try) 2>&5
19267 ac_status=$?
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); }; }; then
19270 ac_hi=$ac_mid
19271 else
19272 echo "$as_me: failed program was:" >&5
19273 sed 's/^/| /' conftest.$ac_ext >&5
19274
19275 ac_lo=`expr '(' $ac_mid ')' + 1`
19276 fi
19277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19278 done
19279 case $ac_lo in
19280 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19281 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19282 See \`config.log' for more details." >&5
19283 echo "$as_me: error: cannot compute sizeof (size_t), 77
19284 See \`config.log' for more details." >&2;}
19285 { (exit 1); exit 1; }; } ;;
19286 esac
19287 else
19288 if test "$cross_compiling" = yes; then
19289 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19290 See \`config.log' for more details." >&5
19291 echo "$as_me: error: cannot run test program while cross compiling
19292 See \`config.log' for more details." >&2;}
19293 { (exit 1); exit 1; }; }
19294 else
19295 cat >conftest.$ac_ext <<_ACEOF
19296 /* confdefs.h. */
19297 _ACEOF
19298 cat confdefs.h >>conftest.$ac_ext
19299 cat >>conftest.$ac_ext <<_ACEOF
19300 /* end confdefs.h. */
19301 $ac_includes_default
19302 long longval () { return (long) (sizeof (size_t)); }
19303 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19304 #include <stdio.h>
19305 #include <stdlib.h>
19306 int
19307 main ()
19308 {
19309
19310 FILE *f = fopen ("conftest.val", "w");
19311 if (! f)
19312 exit (1);
19313 if (((long) (sizeof (size_t))) < 0)
19314 {
19315 long i = longval ();
19316 if (i != ((long) (sizeof (size_t))))
19317 exit (1);
19318 fprintf (f, "%ld\n", i);
19319 }
19320 else
19321 {
19322 unsigned long i = ulongval ();
19323 if (i != ((long) (sizeof (size_t))))
19324 exit (1);
19325 fprintf (f, "%lu\n", i);
19326 }
19327 exit (ferror (f) || fclose (f) != 0);
19328
19329 ;
19330 return 0;
19331 }
19332 _ACEOF
19333 rm -f conftest$ac_exeext
19334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19335 (eval $ac_link) 2>&5
19336 ac_status=$?
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19340 (eval $ac_try) 2>&5
19341 ac_status=$?
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); }; }; then
19344 ac_cv_sizeof_size_t=`cat conftest.val`
19345 else
19346 echo "$as_me: program exited with status $ac_status" >&5
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.$ac_ext >&5
19349
19350 ( exit $ac_status )
19351 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19352 See \`config.log' for more details." >&5
19353 echo "$as_me: error: cannot compute sizeof (size_t), 77
19354 See \`config.log' for more details." >&2;}
19355 { (exit 1); exit 1; }; }
19356 fi
19357 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19358 fi
19359 fi
19360 rm -f conftest.val
19361 else
19362 ac_cv_sizeof_size_t=0
19363 fi
19364 fi
19365 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19366 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19367 cat >>confdefs.h <<_ACEOF
19368 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19369 _ACEOF
19370
19371
19372
19373 case "${host}" in
19374 arm-*-linux* )
19375 echo "$as_me:$LINENO: checking for long long" >&5
19376 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19377 if test "${ac_cv_type_long_long+set}" = set; then
19378 echo $ECHO_N "(cached) $ECHO_C" >&6
19379 else
19380 cat >conftest.$ac_ext <<_ACEOF
19381 /* confdefs.h. */
19382 _ACEOF
19383 cat confdefs.h >>conftest.$ac_ext
19384 cat >>conftest.$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19386 $ac_includes_default
19387 int
19388 main ()
19389 {
19390 if ((long long *) 0)
19391 return 0;
19392 if (sizeof (long long))
19393 return 0;
19394 ;
19395 return 0;
19396 }
19397 _ACEOF
19398 rm -f conftest.$ac_objext
19399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19400 (eval $ac_compile) 2>conftest.er1
19401 ac_status=$?
19402 grep -v '^ *+' conftest.er1 >conftest.err
19403 rm -f conftest.er1
19404 cat conftest.err >&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); } &&
19407 { ac_try='test -z "$ac_c_werror_flag"
19408 || test ! -s conftest.err'
19409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19410 (eval $ac_try) 2>&5
19411 ac_status=$?
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); }; } &&
19414 { ac_try='test -s conftest.$ac_objext'
19415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19416 (eval $ac_try) 2>&5
19417 ac_status=$?
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); }; }; then
19420 ac_cv_type_long_long=yes
19421 else
19422 echo "$as_me: failed program was:" >&5
19423 sed 's/^/| /' conftest.$ac_ext >&5
19424
19425 ac_cv_type_long_long=no
19426 fi
19427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19428 fi
19429 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19430 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19431
19432 echo "$as_me:$LINENO: checking size of long long" >&5
19433 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19434 if test "${ac_cv_sizeof_long_long+set}" = set; then
19435 echo $ECHO_N "(cached) $ECHO_C" >&6
19436 else
19437 if test "$ac_cv_type_long_long" = yes; then
19438 # The cast to unsigned long works around a bug in the HP C Compiler
19439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19441 # This bug is HP SR number 8606223364.
19442 if test "$cross_compiling" = yes; then
19443 # Depending upon the size, compute the lo and hi bounds.
19444 cat >conftest.$ac_ext <<_ACEOF
19445 /* confdefs.h. */
19446 _ACEOF
19447 cat confdefs.h >>conftest.$ac_ext
19448 cat >>conftest.$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19450 $ac_includes_default
19451 int
19452 main ()
19453 {
19454 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19455 test_array [0] = 0
19456
19457 ;
19458 return 0;
19459 }
19460 _ACEOF
19461 rm -f conftest.$ac_objext
19462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19463 (eval $ac_compile) 2>conftest.er1
19464 ac_status=$?
19465 grep -v '^ *+' conftest.er1 >conftest.err
19466 rm -f conftest.er1
19467 cat conftest.err >&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try='test -z "$ac_c_werror_flag"
19471 || test ! -s conftest.err'
19472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19473 (eval $ac_try) 2>&5
19474 ac_status=$?
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); }; } &&
19477 { ac_try='test -s conftest.$ac_objext'
19478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19479 (eval $ac_try) 2>&5
19480 ac_status=$?
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); }; }; then
19483 ac_lo=0 ac_mid=0
19484 while :; do
19485 cat >conftest.$ac_ext <<_ACEOF
19486 /* confdefs.h. */
19487 _ACEOF
19488 cat confdefs.h >>conftest.$ac_ext
19489 cat >>conftest.$ac_ext <<_ACEOF
19490 /* end confdefs.h. */
19491 $ac_includes_default
19492 int
19493 main ()
19494 {
19495 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19496 test_array [0] = 0
19497
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_c_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_hi=$ac_mid; break
19525 else
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.$ac_ext >&5
19528
19529 ac_lo=`expr $ac_mid + 1`
19530 if test $ac_lo -le $ac_mid; then
19531 ac_lo= ac_hi=
19532 break
19533 fi
19534 ac_mid=`expr 2 '*' $ac_mid + 1`
19535 fi
19536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19537 done
19538 else
19539 echo "$as_me: failed program was:" >&5
19540 sed 's/^/| /' conftest.$ac_ext >&5
19541
19542 cat >conftest.$ac_ext <<_ACEOF
19543 /* confdefs.h. */
19544 _ACEOF
19545 cat confdefs.h >>conftest.$ac_ext
19546 cat >>conftest.$ac_ext <<_ACEOF
19547 /* end confdefs.h. */
19548 $ac_includes_default
19549 int
19550 main ()
19551 {
19552 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19553 test_array [0] = 0
19554
19555 ;
19556 return 0;
19557 }
19558 _ACEOF
19559 rm -f conftest.$ac_objext
19560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19561 (eval $ac_compile) 2>conftest.er1
19562 ac_status=$?
19563 grep -v '^ *+' conftest.er1 >conftest.err
19564 rm -f conftest.er1
19565 cat conftest.err >&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } &&
19568 { ac_try='test -z "$ac_c_werror_flag"
19569 || test ! -s conftest.err'
19570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19571 (eval $ac_try) 2>&5
19572 ac_status=$?
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); }; } &&
19575 { ac_try='test -s conftest.$ac_objext'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19578 ac_status=$?
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; }; then
19581 ac_hi=-1 ac_mid=-1
19582 while :; do
19583 cat >conftest.$ac_ext <<_ACEOF
19584 /* confdefs.h. */
19585 _ACEOF
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19590 int
19591 main ()
19592 {
19593 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19594 test_array [0] = 0
19595
19596 ;
19597 return 0;
19598 }
19599 _ACEOF
19600 rm -f conftest.$ac_objext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19602 (eval $ac_compile) 2>conftest.er1
19603 ac_status=$?
19604 grep -v '^ *+' conftest.er1 >conftest.err
19605 rm -f conftest.er1
19606 cat conftest.err >&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); } &&
19609 { ac_try='test -z "$ac_c_werror_flag"
19610 || test ! -s conftest.err'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19613 ac_status=$?
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; } &&
19616 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19622 ac_lo=$ac_mid; break
19623 else
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19626
19627 ac_hi=`expr '(' $ac_mid ')' - 1`
19628 if test $ac_mid -le $ac_hi; then
19629 ac_lo= ac_hi=
19630 break
19631 fi
19632 ac_mid=`expr 2 '*' $ac_mid`
19633 fi
19634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19635 done
19636 else
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19639
19640 ac_lo= ac_hi=
19641 fi
19642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19643 fi
19644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19645 # Binary search between lo and hi bounds.
19646 while test "x$ac_lo" != "x$ac_hi"; do
19647 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19648 cat >conftest.$ac_ext <<_ACEOF
19649 /* confdefs.h. */
19650 _ACEOF
19651 cat confdefs.h >>conftest.$ac_ext
19652 cat >>conftest.$ac_ext <<_ACEOF
19653 /* end confdefs.h. */
19654 $ac_includes_default
19655 int
19656 main ()
19657 {
19658 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19659 test_array [0] = 0
19660
19661 ;
19662 return 0;
19663 }
19664 _ACEOF
19665 rm -f conftest.$ac_objext
19666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19667 (eval $ac_compile) 2>conftest.er1
19668 ac_status=$?
19669 grep -v '^ *+' conftest.er1 >conftest.err
19670 rm -f conftest.er1
19671 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } &&
19674 { ac_try='test -z "$ac_c_werror_flag"
19675 || test ! -s conftest.err'
19676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19677 (eval $ac_try) 2>&5
19678 ac_status=$?
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; } &&
19681 { ac_try='test -s conftest.$ac_objext'
19682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19683 (eval $ac_try) 2>&5
19684 ac_status=$?
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); }; }; then
19687 ac_hi=$ac_mid
19688 else
19689 echo "$as_me: failed program was:" >&5
19690 sed 's/^/| /' conftest.$ac_ext >&5
19691
19692 ac_lo=`expr '(' $ac_mid ')' + 1`
19693 fi
19694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19695 done
19696 case $ac_lo in
19697 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19698 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19699 See \`config.log' for more details." >&5
19700 echo "$as_me: error: cannot compute sizeof (long long), 77
19701 See \`config.log' for more details." >&2;}
19702 { (exit 1); exit 1; }; } ;;
19703 esac
19704 else
19705 if test "$cross_compiling" = yes; then
19706 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19707 See \`config.log' for more details." >&5
19708 echo "$as_me: error: cannot run test program while cross compiling
19709 See \`config.log' for more details." >&2;}
19710 { (exit 1); exit 1; }; }
19711 else
19712 cat >conftest.$ac_ext <<_ACEOF
19713 /* confdefs.h. */
19714 _ACEOF
19715 cat confdefs.h >>conftest.$ac_ext
19716 cat >>conftest.$ac_ext <<_ACEOF
19717 /* end confdefs.h. */
19718 $ac_includes_default
19719 long longval () { return (long) (sizeof (long long)); }
19720 unsigned long ulongval () { return (long) (sizeof (long long)); }
19721 #include <stdio.h>
19722 #include <stdlib.h>
19723 int
19724 main ()
19725 {
19726
19727 FILE *f = fopen ("conftest.val", "w");
19728 if (! f)
19729 exit (1);
19730 if (((long) (sizeof (long long))) < 0)
19731 {
19732 long i = longval ();
19733 if (i != ((long) (sizeof (long long))))
19734 exit (1);
19735 fprintf (f, "%ld\n", i);
19736 }
19737 else
19738 {
19739 unsigned long i = ulongval ();
19740 if (i != ((long) (sizeof (long long))))
19741 exit (1);
19742 fprintf (f, "%lu\n", i);
19743 }
19744 exit (ferror (f) || fclose (f) != 0);
19745
19746 ;
19747 return 0;
19748 }
19749 _ACEOF
19750 rm -f conftest$ac_exeext
19751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19752 (eval $ac_link) 2>&5
19753 ac_status=$?
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19757 (eval $ac_try) 2>&5
19758 ac_status=$?
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); }; }; then
19761 ac_cv_sizeof_long_long=`cat conftest.val`
19762 else
19763 echo "$as_me: program exited with status $ac_status" >&5
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19766
19767 ( exit $ac_status )
19768 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19769 See \`config.log' for more details." >&5
19770 echo "$as_me: error: cannot compute sizeof (long long), 77
19771 See \`config.log' for more details." >&2;}
19772 { (exit 1); exit 1; }; }
19773 fi
19774 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19775 fi
19776 fi
19777 rm -f conftest.val
19778 else
19779 ac_cv_sizeof_long_long=0
19780 fi
19781 fi
19782 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19783 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19784 cat >>confdefs.h <<_ACEOF
19785 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19786 _ACEOF
19787
19788
19789 ;;
19790 *-hp-hpux* )
19791 echo "$as_me:$LINENO: checking for long long" >&5
19792 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19793 if test "${ac_cv_type_long_long+set}" = set; then
19794 echo $ECHO_N "(cached) $ECHO_C" >&6
19795 else
19796 cat >conftest.$ac_ext <<_ACEOF
19797 /* confdefs.h. */
19798 _ACEOF
19799 cat confdefs.h >>conftest.$ac_ext
19800 cat >>conftest.$ac_ext <<_ACEOF
19801 /* end confdefs.h. */
19802 $ac_includes_default
19803 int
19804 main ()
19805 {
19806 if ((long long *) 0)
19807 return 0;
19808 if (sizeof (long long))
19809 return 0;
19810 ;
19811 return 0;
19812 }
19813 _ACEOF
19814 rm -f conftest.$ac_objext
19815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19816 (eval $ac_compile) 2>conftest.er1
19817 ac_status=$?
19818 grep -v '^ *+' conftest.er1 >conftest.err
19819 rm -f conftest.er1
19820 cat conftest.err >&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } &&
19823 { ac_try='test -z "$ac_c_werror_flag"
19824 || test ! -s conftest.err'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19827 ac_status=$?
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; } &&
19830 { ac_try='test -s conftest.$ac_objext'
19831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19832 (eval $ac_try) 2>&5
19833 ac_status=$?
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); }; }; then
19836 ac_cv_type_long_long=yes
19837 else
19838 echo "$as_me: failed program was:" >&5
19839 sed 's/^/| /' conftest.$ac_ext >&5
19840
19841 ac_cv_type_long_long=no
19842 fi
19843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19844 fi
19845 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19846 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19847
19848 echo "$as_me:$LINENO: checking size of long long" >&5
19849 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19850 if test "${ac_cv_sizeof_long_long+set}" = set; then
19851 echo $ECHO_N "(cached) $ECHO_C" >&6
19852 else
19853 if test "$ac_cv_type_long_long" = yes; then
19854 # The cast to unsigned long works around a bug in the HP C Compiler
19855 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19856 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19857 # This bug is HP SR number 8606223364.
19858 if test "$cross_compiling" = yes; then
19859 # Depending upon the size, compute the lo and hi bounds.
19860 cat >conftest.$ac_ext <<_ACEOF
19861 /* confdefs.h. */
19862 _ACEOF
19863 cat confdefs.h >>conftest.$ac_ext
19864 cat >>conftest.$ac_ext <<_ACEOF
19865 /* end confdefs.h. */
19866 $ac_includes_default
19867 int
19868 main ()
19869 {
19870 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19871 test_array [0] = 0
19872
19873 ;
19874 return 0;
19875 }
19876 _ACEOF
19877 rm -f conftest.$ac_objext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19879 (eval $ac_compile) 2>conftest.er1
19880 ac_status=$?
19881 grep -v '^ *+' conftest.er1 >conftest.err
19882 rm -f conftest.er1
19883 cat conftest.err >&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } &&
19886 { ac_try='test -z "$ac_c_werror_flag"
19887 || test ! -s conftest.err'
19888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889 (eval $ac_try) 2>&5
19890 ac_status=$?
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); }; } &&
19893 { ac_try='test -s conftest.$ac_objext'
19894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895 (eval $ac_try) 2>&5
19896 ac_status=$?
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); }; }; then
19899 ac_lo=0 ac_mid=0
19900 while :; do
19901 cat >conftest.$ac_ext <<_ACEOF
19902 /* confdefs.h. */
19903 _ACEOF
19904 cat confdefs.h >>conftest.$ac_ext
19905 cat >>conftest.$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19907 $ac_includes_default
19908 int
19909 main ()
19910 {
19911 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19912 test_array [0] = 0
19913
19914 ;
19915 return 0;
19916 }
19917 _ACEOF
19918 rm -f conftest.$ac_objext
19919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19920 (eval $ac_compile) 2>conftest.er1
19921 ac_status=$?
19922 grep -v '^ *+' conftest.er1 >conftest.err
19923 rm -f conftest.er1
19924 cat conftest.err >&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); } &&
19927 { ac_try='test -z "$ac_c_werror_flag"
19928 || test ! -s conftest.err'
19929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930 (eval $ac_try) 2>&5
19931 ac_status=$?
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); }; } &&
19934 { ac_try='test -s conftest.$ac_objext'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19937 ac_status=$?
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; }; then
19940 ac_hi=$ac_mid; break
19941 else
19942 echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.$ac_ext >&5
19944
19945 ac_lo=`expr $ac_mid + 1`
19946 if test $ac_lo -le $ac_mid; then
19947 ac_lo= ac_hi=
19948 break
19949 fi
19950 ac_mid=`expr 2 '*' $ac_mid + 1`
19951 fi
19952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19953 done
19954 else
19955 echo "$as_me: failed program was:" >&5
19956 sed 's/^/| /' conftest.$ac_ext >&5
19957
19958 cat >conftest.$ac_ext <<_ACEOF
19959 /* confdefs.h. */
19960 _ACEOF
19961 cat confdefs.h >>conftest.$ac_ext
19962 cat >>conftest.$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964 $ac_includes_default
19965 int
19966 main ()
19967 {
19968 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19969 test_array [0] = 0
19970
19971 ;
19972 return 0;
19973 }
19974 _ACEOF
19975 rm -f conftest.$ac_objext
19976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19977 (eval $ac_compile) 2>conftest.er1
19978 ac_status=$?
19979 grep -v '^ *+' conftest.er1 >conftest.err
19980 rm -f conftest.er1
19981 cat conftest.err >&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); } &&
19984 { ac_try='test -z "$ac_c_werror_flag"
19985 || test ! -s conftest.err'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19988 ac_status=$?
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; } &&
19991 { ac_try='test -s conftest.$ac_objext'
19992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19993 (eval $ac_try) 2>&5
19994 ac_status=$?
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; }; then
19997 ac_hi=-1 ac_mid=-1
19998 while :; do
19999 cat >conftest.$ac_ext <<_ACEOF
20000 /* confdefs.h. */
20001 _ACEOF
20002 cat confdefs.h >>conftest.$ac_ext
20003 cat >>conftest.$ac_ext <<_ACEOF
20004 /* end confdefs.h. */
20005 $ac_includes_default
20006 int
20007 main ()
20008 {
20009 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20010 test_array [0] = 0
20011
20012 ;
20013 return 0;
20014 }
20015 _ACEOF
20016 rm -f conftest.$ac_objext
20017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20018 (eval $ac_compile) 2>conftest.er1
20019 ac_status=$?
20020 grep -v '^ *+' conftest.er1 >conftest.err
20021 rm -f conftest.er1
20022 cat conftest.err >&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); } &&
20025 { ac_try='test -z "$ac_c_werror_flag"
20026 || test ! -s conftest.err'
20027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20028 (eval $ac_try) 2>&5
20029 ac_status=$?
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; } &&
20032 { ac_try='test -s conftest.$ac_objext'
20033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20034 (eval $ac_try) 2>&5
20035 ac_status=$?
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); }; }; then
20038 ac_lo=$ac_mid; break
20039 else
20040 echo "$as_me: failed program was:" >&5
20041 sed 's/^/| /' conftest.$ac_ext >&5
20042
20043 ac_hi=`expr '(' $ac_mid ')' - 1`
20044 if test $ac_mid -le $ac_hi; then
20045 ac_lo= ac_hi=
20046 break
20047 fi
20048 ac_mid=`expr 2 '*' $ac_mid`
20049 fi
20050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20051 done
20052 else
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.$ac_ext >&5
20055
20056 ac_lo= ac_hi=
20057 fi
20058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20059 fi
20060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20061 # Binary search between lo and hi bounds.
20062 while test "x$ac_lo" != "x$ac_hi"; do
20063 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20064 cat >conftest.$ac_ext <<_ACEOF
20065 /* confdefs.h. */
20066 _ACEOF
20067 cat confdefs.h >>conftest.$ac_ext
20068 cat >>conftest.$ac_ext <<_ACEOF
20069 /* end confdefs.h. */
20070 $ac_includes_default
20071 int
20072 main ()
20073 {
20074 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20075 test_array [0] = 0
20076
20077 ;
20078 return 0;
20079 }
20080 _ACEOF
20081 rm -f conftest.$ac_objext
20082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20083 (eval $ac_compile) 2>conftest.er1
20084 ac_status=$?
20085 grep -v '^ *+' conftest.er1 >conftest.err
20086 rm -f conftest.er1
20087 cat conftest.err >&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); } &&
20090 { ac_try='test -z "$ac_c_werror_flag"
20091 || test ! -s conftest.err'
20092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093 (eval $ac_try) 2>&5
20094 ac_status=$?
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); }; } &&
20097 { ac_try='test -s conftest.$ac_objext'
20098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20099 (eval $ac_try) 2>&5
20100 ac_status=$?
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; }; then
20103 ac_hi=$ac_mid
20104 else
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20107
20108 ac_lo=`expr '(' $ac_mid ')' + 1`
20109 fi
20110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20111 done
20112 case $ac_lo in
20113 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20114 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20115 See \`config.log' for more details." >&5
20116 echo "$as_me: error: cannot compute sizeof (long long), 77
20117 See \`config.log' for more details." >&2;}
20118 { (exit 1); exit 1; }; } ;;
20119 esac
20120 else
20121 if test "$cross_compiling" = yes; then
20122 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20123 See \`config.log' for more details." >&5
20124 echo "$as_me: error: cannot run test program while cross compiling
20125 See \`config.log' for more details." >&2;}
20126 { (exit 1); exit 1; }; }
20127 else
20128 cat >conftest.$ac_ext <<_ACEOF
20129 /* confdefs.h. */
20130 _ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20134 $ac_includes_default
20135 long longval () { return (long) (sizeof (long long)); }
20136 unsigned long ulongval () { return (long) (sizeof (long long)); }
20137 #include <stdio.h>
20138 #include <stdlib.h>
20139 int
20140 main ()
20141 {
20142
20143 FILE *f = fopen ("conftest.val", "w");
20144 if (! f)
20145 exit (1);
20146 if (((long) (sizeof (long long))) < 0)
20147 {
20148 long i = longval ();
20149 if (i != ((long) (sizeof (long long))))
20150 exit (1);
20151 fprintf (f, "%ld\n", i);
20152 }
20153 else
20154 {
20155 unsigned long i = ulongval ();
20156 if (i != ((long) (sizeof (long long))))
20157 exit (1);
20158 fprintf (f, "%lu\n", i);
20159 }
20160 exit (ferror (f) || fclose (f) != 0);
20161
20162 ;
20163 return 0;
20164 }
20165 _ACEOF
20166 rm -f conftest$ac_exeext
20167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20168 (eval $ac_link) 2>&5
20169 ac_status=$?
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20173 (eval $ac_try) 2>&5
20174 ac_status=$?
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); }; }; then
20177 ac_cv_sizeof_long_long=`cat conftest.val`
20178 else
20179 echo "$as_me: program exited with status $ac_status" >&5
20180 echo "$as_me: failed program was:" >&5
20181 sed 's/^/| /' conftest.$ac_ext >&5
20182
20183 ( exit $ac_status )
20184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20185 See \`config.log' for more details." >&5
20186 echo "$as_me: error: cannot compute sizeof (long long), 77
20187 See \`config.log' for more details." >&2;}
20188 { (exit 1); exit 1; }; }
20189 fi
20190 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20191 fi
20192 fi
20193 rm -f conftest.val
20194 else
20195 ac_cv_sizeof_long_long=0
20196 fi
20197 fi
20198 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20199 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20200 cat >>confdefs.h <<_ACEOF
20201 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20202 _ACEOF
20203
20204
20205 if test "$ac_cv_sizeof_long_long" != "0"; then
20206 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20207 fi
20208 ;;
20209 * )
20210 echo "$as_me:$LINENO: checking for long long" >&5
20211 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20212 if test "${ac_cv_type_long_long+set}" = set; then
20213 echo $ECHO_N "(cached) $ECHO_C" >&6
20214 else
20215 cat >conftest.$ac_ext <<_ACEOF
20216 /* confdefs.h. */
20217 _ACEOF
20218 cat confdefs.h >>conftest.$ac_ext
20219 cat >>conftest.$ac_ext <<_ACEOF
20220 /* end confdefs.h. */
20221 $ac_includes_default
20222 int
20223 main ()
20224 {
20225 if ((long long *) 0)
20226 return 0;
20227 if (sizeof (long long))
20228 return 0;
20229 ;
20230 return 0;
20231 }
20232 _ACEOF
20233 rm -f conftest.$ac_objext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20235 (eval $ac_compile) 2>conftest.er1
20236 ac_status=$?
20237 grep -v '^ *+' conftest.er1 >conftest.err
20238 rm -f conftest.er1
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try='test -z "$ac_c_werror_flag"
20243 || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20246 ac_status=$?
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try='test -s conftest.$ac_objext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20252 ac_status=$?
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 ac_cv_type_long_long=yes
20256 else
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.$ac_ext >&5
20259
20260 ac_cv_type_long_long=no
20261 fi
20262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20263 fi
20264 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20265 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20266
20267 echo "$as_me:$LINENO: checking size of long long" >&5
20268 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20269 if test "${ac_cv_sizeof_long_long+set}" = set; then
20270 echo $ECHO_N "(cached) $ECHO_C" >&6
20271 else
20272 if test "$ac_cv_type_long_long" = yes; then
20273 # The cast to unsigned long works around a bug in the HP C Compiler
20274 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20275 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20276 # This bug is HP SR number 8606223364.
20277 if test "$cross_compiling" = yes; then
20278 # Depending upon the size, compute the lo and hi bounds.
20279 cat >conftest.$ac_ext <<_ACEOF
20280 /* confdefs.h. */
20281 _ACEOF
20282 cat confdefs.h >>conftest.$ac_ext
20283 cat >>conftest.$ac_ext <<_ACEOF
20284 /* end confdefs.h. */
20285 $ac_includes_default
20286 int
20287 main ()
20288 {
20289 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20290 test_array [0] = 0
20291
20292 ;
20293 return 0;
20294 }
20295 _ACEOF
20296 rm -f conftest.$ac_objext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20298 (eval $ac_compile) 2>conftest.er1
20299 ac_status=$?
20300 grep -v '^ *+' conftest.er1 >conftest.err
20301 rm -f conftest.er1
20302 cat conftest.err >&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } &&
20305 { ac_try='test -z "$ac_c_werror_flag"
20306 || test ! -s conftest.err'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20309 ac_status=$?
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; } &&
20312 { ac_try='test -s conftest.$ac_objext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20315 ac_status=$?
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20318 ac_lo=0 ac_mid=0
20319 while :; do
20320 cat >conftest.$ac_ext <<_ACEOF
20321 /* confdefs.h. */
20322 _ACEOF
20323 cat confdefs.h >>conftest.$ac_ext
20324 cat >>conftest.$ac_ext <<_ACEOF
20325 /* end confdefs.h. */
20326 $ac_includes_default
20327 int
20328 main ()
20329 {
20330 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20331 test_array [0] = 0
20332
20333 ;
20334 return 0;
20335 }
20336 _ACEOF
20337 rm -f conftest.$ac_objext
20338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20339 (eval $ac_compile) 2>conftest.er1
20340 ac_status=$?
20341 grep -v '^ *+' conftest.er1 >conftest.err
20342 rm -f conftest.er1
20343 cat conftest.err >&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } &&
20346 { ac_try='test -z "$ac_c_werror_flag"
20347 || test ! -s conftest.err'
20348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20349 (eval $ac_try) 2>&5
20350 ac_status=$?
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); }; } &&
20353 { ac_try='test -s conftest.$ac_objext'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20356 ac_status=$?
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; }; then
20359 ac_hi=$ac_mid; break
20360 else
20361 echo "$as_me: failed program was:" >&5
20362 sed 's/^/| /' conftest.$ac_ext >&5
20363
20364 ac_lo=`expr $ac_mid + 1`
20365 if test $ac_lo -le $ac_mid; then
20366 ac_lo= ac_hi=
20367 break
20368 fi
20369 ac_mid=`expr 2 '*' $ac_mid + 1`
20370 fi
20371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20372 done
20373 else
20374 echo "$as_me: failed program was:" >&5
20375 sed 's/^/| /' conftest.$ac_ext >&5
20376
20377 cat >conftest.$ac_ext <<_ACEOF
20378 /* confdefs.h. */
20379 _ACEOF
20380 cat confdefs.h >>conftest.$ac_ext
20381 cat >>conftest.$ac_ext <<_ACEOF
20382 /* end confdefs.h. */
20383 $ac_includes_default
20384 int
20385 main ()
20386 {
20387 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20388 test_array [0] = 0
20389
20390 ;
20391 return 0;
20392 }
20393 _ACEOF
20394 rm -f conftest.$ac_objext
20395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20396 (eval $ac_compile) 2>conftest.er1
20397 ac_status=$?
20398 grep -v '^ *+' conftest.er1 >conftest.err
20399 rm -f conftest.er1
20400 cat conftest.err >&5
20401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402 (exit $ac_status); } &&
20403 { ac_try='test -z "$ac_c_werror_flag"
20404 || test ! -s conftest.err'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20407 ac_status=$?
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; } &&
20410 { ac_try='test -s conftest.$ac_objext'
20411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412 (eval $ac_try) 2>&5
20413 ac_status=$?
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); }; }; then
20416 ac_hi=-1 ac_mid=-1
20417 while :; do
20418 cat >conftest.$ac_ext <<_ACEOF
20419 /* confdefs.h. */
20420 _ACEOF
20421 cat confdefs.h >>conftest.$ac_ext
20422 cat >>conftest.$ac_ext <<_ACEOF
20423 /* end confdefs.h. */
20424 $ac_includes_default
20425 int
20426 main ()
20427 {
20428 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20429 test_array [0] = 0
20430
20431 ;
20432 return 0;
20433 }
20434 _ACEOF
20435 rm -f conftest.$ac_objext
20436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20437 (eval $ac_compile) 2>conftest.er1
20438 ac_status=$?
20439 grep -v '^ *+' conftest.er1 >conftest.err
20440 rm -f conftest.er1
20441 cat conftest.err >&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); } &&
20444 { ac_try='test -z "$ac_c_werror_flag"
20445 || test ! -s conftest.err'
20446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20447 (eval $ac_try) 2>&5
20448 ac_status=$?
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); }; } &&
20451 { ac_try='test -s conftest.$ac_objext'
20452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453 (eval $ac_try) 2>&5
20454 ac_status=$?
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; }; then
20457 ac_lo=$ac_mid; break
20458 else
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.$ac_ext >&5
20461
20462 ac_hi=`expr '(' $ac_mid ')' - 1`
20463 if test $ac_mid -le $ac_hi; then
20464 ac_lo= ac_hi=
20465 break
20466 fi
20467 ac_mid=`expr 2 '*' $ac_mid`
20468 fi
20469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20470 done
20471 else
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.$ac_ext >&5
20474
20475 ac_lo= ac_hi=
20476 fi
20477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20478 fi
20479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20480 # Binary search between lo and hi bounds.
20481 while test "x$ac_lo" != "x$ac_hi"; do
20482 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20483 cat >conftest.$ac_ext <<_ACEOF
20484 /* confdefs.h. */
20485 _ACEOF
20486 cat confdefs.h >>conftest.$ac_ext
20487 cat >>conftest.$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20489 $ac_includes_default
20490 int
20491 main ()
20492 {
20493 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20494 test_array [0] = 0
20495
20496 ;
20497 return 0;
20498 }
20499 _ACEOF
20500 rm -f conftest.$ac_objext
20501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20502 (eval $ac_compile) 2>conftest.er1
20503 ac_status=$?
20504 grep -v '^ *+' conftest.er1 >conftest.err
20505 rm -f conftest.er1
20506 cat conftest.err >&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); } &&
20509 { ac_try='test -z "$ac_c_werror_flag"
20510 || test ! -s conftest.err'
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); }; } &&
20516 { ac_try='test -s conftest.$ac_objext'
20517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20518 (eval $ac_try) 2>&5
20519 ac_status=$?
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); }; }; then
20522 ac_hi=$ac_mid
20523 else
20524 echo "$as_me: failed program was:" >&5
20525 sed 's/^/| /' conftest.$ac_ext >&5
20526
20527 ac_lo=`expr '(' $ac_mid ')' + 1`
20528 fi
20529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20530 done
20531 case $ac_lo in
20532 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20533 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20534 See \`config.log' for more details." >&5
20535 echo "$as_me: error: cannot compute sizeof (long long), 77
20536 See \`config.log' for more details." >&2;}
20537 { (exit 1); exit 1; }; } ;;
20538 esac
20539 else
20540 if test "$cross_compiling" = yes; then
20541 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20542 See \`config.log' for more details." >&5
20543 echo "$as_me: error: cannot run test program while cross compiling
20544 See \`config.log' for more details." >&2;}
20545 { (exit 1); exit 1; }; }
20546 else
20547 cat >conftest.$ac_ext <<_ACEOF
20548 /* confdefs.h. */
20549 _ACEOF
20550 cat confdefs.h >>conftest.$ac_ext
20551 cat >>conftest.$ac_ext <<_ACEOF
20552 /* end confdefs.h. */
20553 $ac_includes_default
20554 long longval () { return (long) (sizeof (long long)); }
20555 unsigned long ulongval () { return (long) (sizeof (long long)); }
20556 #include <stdio.h>
20557 #include <stdlib.h>
20558 int
20559 main ()
20560 {
20561
20562 FILE *f = fopen ("conftest.val", "w");
20563 if (! f)
20564 exit (1);
20565 if (((long) (sizeof (long long))) < 0)
20566 {
20567 long i = longval ();
20568 if (i != ((long) (sizeof (long long))))
20569 exit (1);
20570 fprintf (f, "%ld\n", i);
20571 }
20572 else
20573 {
20574 unsigned long i = ulongval ();
20575 if (i != ((long) (sizeof (long long))))
20576 exit (1);
20577 fprintf (f, "%lu\n", i);
20578 }
20579 exit (ferror (f) || fclose (f) != 0);
20580
20581 ;
20582 return 0;
20583 }
20584 _ACEOF
20585 rm -f conftest$ac_exeext
20586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20587 (eval $ac_link) 2>&5
20588 ac_status=$?
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20592 (eval $ac_try) 2>&5
20593 ac_status=$?
20594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); }; }; then
20596 ac_cv_sizeof_long_long=`cat conftest.val`
20597 else
20598 echo "$as_me: program exited with status $ac_status" >&5
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20601
20602 ( exit $ac_status )
20603 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20604 See \`config.log' for more details." >&5
20605 echo "$as_me: error: cannot compute sizeof (long long), 77
20606 See \`config.log' for more details." >&2;}
20607 { (exit 1); exit 1; }; }
20608 fi
20609 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20610 fi
20611 fi
20612 rm -f conftest.val
20613 else
20614 ac_cv_sizeof_long_long=0
20615 fi
20616 fi
20617 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20618 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20619 cat >>confdefs.h <<_ACEOF
20620 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20621 _ACEOF
20622
20623
20624 esac
20625
20626 echo "$as_me:$LINENO: checking for wchar_t" >&5
20627 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20628 if test "${ac_cv_type_wchar_t+set}" = set; then
20629 echo $ECHO_N "(cached) $ECHO_C" >&6
20630 else
20631 cat >conftest.$ac_ext <<_ACEOF
20632 /* confdefs.h. */
20633 _ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637
20638 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20639 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20640 # error "fake wchar_t"
20641 #endif
20642 #ifdef HAVE_WCHAR_H
20643 # ifdef __CYGWIN__
20644 # include <stddef.h>
20645 # endif
20646 # include <wchar.h>
20647 #endif
20648 #ifdef HAVE_STDLIB_H
20649 # include <stdlib.h>
20650 #endif
20651 #include <stdio.h>
20652
20653
20654
20655 int
20656 main ()
20657 {
20658 if ((wchar_t *) 0)
20659 return 0;
20660 if (sizeof (wchar_t))
20661 return 0;
20662 ;
20663 return 0;
20664 }
20665 _ACEOF
20666 rm -f conftest.$ac_objext
20667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20668 (eval $ac_compile) 2>conftest.er1
20669 ac_status=$?
20670 grep -v '^ *+' conftest.er1 >conftest.err
20671 rm -f conftest.er1
20672 cat conftest.err >&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); } &&
20675 { ac_try='test -z "$ac_c_werror_flag"
20676 || test ! -s conftest.err'
20677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20678 (eval $ac_try) 2>&5
20679 ac_status=$?
20680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681 (exit $ac_status); }; } &&
20682 { ac_try='test -s conftest.$ac_objext'
20683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20684 (eval $ac_try) 2>&5
20685 ac_status=$?
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); }; }; then
20688 ac_cv_type_wchar_t=yes
20689 else
20690 echo "$as_me: failed program was:" >&5
20691 sed 's/^/| /' conftest.$ac_ext >&5
20692
20693 ac_cv_type_wchar_t=no
20694 fi
20695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20696 fi
20697 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20698 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20699
20700 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20701 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20702 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20703 echo $ECHO_N "(cached) $ECHO_C" >&6
20704 else
20705 if test "$ac_cv_type_wchar_t" = yes; then
20706 # The cast to unsigned long works around a bug in the HP C Compiler
20707 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20708 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20709 # This bug is HP SR number 8606223364.
20710 if test "$cross_compiling" = yes; then
20711 # Depending upon the size, compute the lo and hi bounds.
20712 cat >conftest.$ac_ext <<_ACEOF
20713 /* confdefs.h. */
20714 _ACEOF
20715 cat confdefs.h >>conftest.$ac_ext
20716 cat >>conftest.$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20718
20719 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20720 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20721 # error "fake wchar_t"
20722 #endif
20723 #ifdef HAVE_WCHAR_H
20724 # ifdef __CYGWIN__
20725 # include <stddef.h>
20726 # endif
20727 # include <wchar.h>
20728 #endif
20729 #ifdef HAVE_STDLIB_H
20730 # include <stdlib.h>
20731 #endif
20732 #include <stdio.h>
20733
20734
20735
20736 int
20737 main ()
20738 {
20739 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20740 test_array [0] = 0
20741
20742 ;
20743 return 0;
20744 }
20745 _ACEOF
20746 rm -f conftest.$ac_objext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>conftest.er1
20749 ac_status=$?
20750 grep -v '^ *+' conftest.er1 >conftest.err
20751 rm -f conftest.er1
20752 cat conftest.err >&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try='test -z "$ac_c_werror_flag"
20756 || test ! -s conftest.err'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20759 ac_status=$?
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try='test -s conftest.$ac_objext'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20765 ac_status=$?
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; }; then
20768 ac_lo=0 ac_mid=0
20769 while :; do
20770 cat >conftest.$ac_ext <<_ACEOF
20771 /* confdefs.h. */
20772 _ACEOF
20773 cat confdefs.h >>conftest.$ac_ext
20774 cat >>conftest.$ac_ext <<_ACEOF
20775 /* end confdefs.h. */
20776
20777 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20778 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20779 # error "fake wchar_t"
20780 #endif
20781 #ifdef HAVE_WCHAR_H
20782 # ifdef __CYGWIN__
20783 # include <stddef.h>
20784 # endif
20785 # include <wchar.h>
20786 #endif
20787 #ifdef HAVE_STDLIB_H
20788 # include <stdlib.h>
20789 #endif
20790 #include <stdio.h>
20791
20792
20793
20794 int
20795 main ()
20796 {
20797 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20798 test_array [0] = 0
20799
20800 ;
20801 return 0;
20802 }
20803 _ACEOF
20804 rm -f conftest.$ac_objext
20805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20806 (eval $ac_compile) 2>conftest.er1
20807 ac_status=$?
20808 grep -v '^ *+' conftest.er1 >conftest.err
20809 rm -f conftest.er1
20810 cat conftest.err >&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } &&
20813 { ac_try='test -z "$ac_c_werror_flag"
20814 || test ! -s conftest.err'
20815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816 (eval $ac_try) 2>&5
20817 ac_status=$?
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); }; } &&
20820 { ac_try='test -s conftest.$ac_objext'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20823 ac_status=$?
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; }; then
20826 ac_hi=$ac_mid; break
20827 else
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.$ac_ext >&5
20830
20831 ac_lo=`expr $ac_mid + 1`
20832 if test $ac_lo -le $ac_mid; then
20833 ac_lo= ac_hi=
20834 break
20835 fi
20836 ac_mid=`expr 2 '*' $ac_mid + 1`
20837 fi
20838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20839 done
20840 else
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20843
20844 cat >conftest.$ac_ext <<_ACEOF
20845 /* confdefs.h. */
20846 _ACEOF
20847 cat confdefs.h >>conftest.$ac_ext
20848 cat >>conftest.$ac_ext <<_ACEOF
20849 /* end confdefs.h. */
20850
20851 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20852 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20853 # error "fake wchar_t"
20854 #endif
20855 #ifdef HAVE_WCHAR_H
20856 # ifdef __CYGWIN__
20857 # include <stddef.h>
20858 # endif
20859 # include <wchar.h>
20860 #endif
20861 #ifdef HAVE_STDLIB_H
20862 # include <stdlib.h>
20863 #endif
20864 #include <stdio.h>
20865
20866
20867
20868 int
20869 main ()
20870 {
20871 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20872 test_array [0] = 0
20873
20874 ;
20875 return 0;
20876 }
20877 _ACEOF
20878 rm -f conftest.$ac_objext
20879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20880 (eval $ac_compile) 2>conftest.er1
20881 ac_status=$?
20882 grep -v '^ *+' conftest.er1 >conftest.err
20883 rm -f conftest.er1
20884 cat conftest.err >&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } &&
20887 { ac_try='test -z "$ac_c_werror_flag"
20888 || test ! -s conftest.err'
20889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20890 (eval $ac_try) 2>&5
20891 ac_status=$?
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); }; } &&
20894 { ac_try='test -s conftest.$ac_objext'
20895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20896 (eval $ac_try) 2>&5
20897 ac_status=$?
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); }; }; then
20900 ac_hi=-1 ac_mid=-1
20901 while :; do
20902 cat >conftest.$ac_ext <<_ACEOF
20903 /* confdefs.h. */
20904 _ACEOF
20905 cat confdefs.h >>conftest.$ac_ext
20906 cat >>conftest.$ac_ext <<_ACEOF
20907 /* end confdefs.h. */
20908
20909 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20910 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20911 # error "fake wchar_t"
20912 #endif
20913 #ifdef HAVE_WCHAR_H
20914 # ifdef __CYGWIN__
20915 # include <stddef.h>
20916 # endif
20917 # include <wchar.h>
20918 #endif
20919 #ifdef HAVE_STDLIB_H
20920 # include <stdlib.h>
20921 #endif
20922 #include <stdio.h>
20923
20924
20925
20926 int
20927 main ()
20928 {
20929 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20930 test_array [0] = 0
20931
20932 ;
20933 return 0;
20934 }
20935 _ACEOF
20936 rm -f conftest.$ac_objext
20937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20938 (eval $ac_compile) 2>conftest.er1
20939 ac_status=$?
20940 grep -v '^ *+' conftest.er1 >conftest.err
20941 rm -f conftest.er1
20942 cat conftest.err >&5
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); } &&
20945 { ac_try='test -z "$ac_c_werror_flag"
20946 || test ! -s conftest.err'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20949 ac_status=$?
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; } &&
20952 { ac_try='test -s conftest.$ac_objext'
20953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954 (eval $ac_try) 2>&5
20955 ac_status=$?
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); }; }; then
20958 ac_lo=$ac_mid; break
20959 else
20960 echo "$as_me: failed program was:" >&5
20961 sed 's/^/| /' conftest.$ac_ext >&5
20962
20963 ac_hi=`expr '(' $ac_mid ')' - 1`
20964 if test $ac_mid -le $ac_hi; then
20965 ac_lo= ac_hi=
20966 break
20967 fi
20968 ac_mid=`expr 2 '*' $ac_mid`
20969 fi
20970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20971 done
20972 else
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.$ac_ext >&5
20975
20976 ac_lo= ac_hi=
20977 fi
20978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20979 fi
20980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20981 # Binary search between lo and hi bounds.
20982 while test "x$ac_lo" != "x$ac_hi"; do
20983 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20984 cat >conftest.$ac_ext <<_ACEOF
20985 /* confdefs.h. */
20986 _ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990
20991 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20992 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20993 # error "fake wchar_t"
20994 #endif
20995 #ifdef HAVE_WCHAR_H
20996 # ifdef __CYGWIN__
20997 # include <stddef.h>
20998 # endif
20999 # include <wchar.h>
21000 #endif
21001 #ifdef HAVE_STDLIB_H
21002 # include <stdlib.h>
21003 #endif
21004 #include <stdio.h>
21005
21006
21007
21008 int
21009 main ()
21010 {
21011 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21012 test_array [0] = 0
21013
21014 ;
21015 return 0;
21016 }
21017 _ACEOF
21018 rm -f conftest.$ac_objext
21019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21020 (eval $ac_compile) 2>conftest.er1
21021 ac_status=$?
21022 grep -v '^ *+' conftest.er1 >conftest.err
21023 rm -f conftest.er1
21024 cat conftest.err >&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); } &&
21027 { ac_try='test -z "$ac_c_werror_flag"
21028 || test ! -s conftest.err'
21029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21030 (eval $ac_try) 2>&5
21031 ac_status=$?
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; } &&
21034 { ac_try='test -s conftest.$ac_objext'
21035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21036 (eval $ac_try) 2>&5
21037 ac_status=$?
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); }; }; then
21040 ac_hi=$ac_mid
21041 else
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.$ac_ext >&5
21044
21045 ac_lo=`expr '(' $ac_mid ')' + 1`
21046 fi
21047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21048 done
21049 case $ac_lo in
21050 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21051 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21052 See \`config.log' for more details." >&5
21053 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21054 See \`config.log' for more details." >&2;}
21055 { (exit 1); exit 1; }; } ;;
21056 esac
21057 else
21058 if test "$cross_compiling" = yes; then
21059 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21060 See \`config.log' for more details." >&5
21061 echo "$as_me: error: cannot run test program while cross compiling
21062 See \`config.log' for more details." >&2;}
21063 { (exit 1); exit 1; }; }
21064 else
21065 cat >conftest.$ac_ext <<_ACEOF
21066 /* confdefs.h. */
21067 _ACEOF
21068 cat confdefs.h >>conftest.$ac_ext
21069 cat >>conftest.$ac_ext <<_ACEOF
21070 /* end confdefs.h. */
21071
21072 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21073 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21074 # error "fake wchar_t"
21075 #endif
21076 #ifdef HAVE_WCHAR_H
21077 # ifdef __CYGWIN__
21078 # include <stddef.h>
21079 # endif
21080 # include <wchar.h>
21081 #endif
21082 #ifdef HAVE_STDLIB_H
21083 # include <stdlib.h>
21084 #endif
21085 #include <stdio.h>
21086
21087
21088
21089 long longval () { return (long) (sizeof (wchar_t)); }
21090 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21091 #include <stdio.h>
21092 #include <stdlib.h>
21093 int
21094 main ()
21095 {
21096
21097 FILE *f = fopen ("conftest.val", "w");
21098 if (! f)
21099 exit (1);
21100 if (((long) (sizeof (wchar_t))) < 0)
21101 {
21102 long i = longval ();
21103 if (i != ((long) (sizeof (wchar_t))))
21104 exit (1);
21105 fprintf (f, "%ld\n", i);
21106 }
21107 else
21108 {
21109 unsigned long i = ulongval ();
21110 if (i != ((long) (sizeof (wchar_t))))
21111 exit (1);
21112 fprintf (f, "%lu\n", i);
21113 }
21114 exit (ferror (f) || fclose (f) != 0);
21115
21116 ;
21117 return 0;
21118 }
21119 _ACEOF
21120 rm -f conftest$ac_exeext
21121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21122 (eval $ac_link) 2>&5
21123 ac_status=$?
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21127 (eval $ac_try) 2>&5
21128 ac_status=$?
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); }; }; then
21131 ac_cv_sizeof_wchar_t=`cat conftest.val`
21132 else
21133 echo "$as_me: program exited with status $ac_status" >&5
21134 echo "$as_me: failed program was:" >&5
21135 sed 's/^/| /' conftest.$ac_ext >&5
21136
21137 ( exit $ac_status )
21138 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21139 See \`config.log' for more details." >&5
21140 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21141 See \`config.log' for more details." >&2;}
21142 { (exit 1); exit 1; }; }
21143 fi
21144 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21145 fi
21146 fi
21147 rm -f conftest.val
21148 else
21149 ac_cv_sizeof_wchar_t=0
21150 fi
21151 fi
21152 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21153 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21154 cat >>confdefs.h <<_ACEOF
21155 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21156 _ACEOF
21157
21158
21159 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21160 wxUSE_WCHAR_T=yes
21161 else
21162 wxUSE_WCHAR_T=no
21163 fi
21164
21165 echo "$as_me:$LINENO: checking for va_copy" >&5
21166 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21167 if test "${wx_cv_func_va_copy+set}" = set; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21169 else
21170
21171 cat >conftest.$ac_ext <<_ACEOF
21172
21173 #include <stdarg.h>
21174 void foo(char *f, ...)
21175 {
21176 va_list ap1, ap2;
21177 va_start(ap1, f);
21178 va_copy(ap2, ap1);
21179 va_end(ap2);
21180 va_end(ap1);
21181 }
21182 int main()
21183 {
21184 foo("hi", 17);
21185 return 0;
21186 }
21187 _ACEOF
21188 rm -f conftest.$ac_objext conftest$ac_exeext
21189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21190 (eval $ac_link) 2>conftest.er1
21191 ac_status=$?
21192 grep -v '^ *+' conftest.er1 >conftest.err
21193 rm -f conftest.er1
21194 cat conftest.err >&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); } &&
21197 { ac_try='test -z "$ac_c_werror_flag"
21198 || test ! -s conftest.err'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21201 ac_status=$?
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; } &&
21204 { ac_try='test -s conftest$ac_exeext'
21205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206 (eval $ac_try) 2>&5
21207 ac_status=$?
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; }; then
21210 wx_cv_func_va_copy=yes
21211 else
21212 echo "$as_me: failed program was:" >&5
21213 sed 's/^/| /' conftest.$ac_ext >&5
21214
21215 wx_cv_func_va_copy=no
21216
21217 fi
21218 rm -f conftest.err conftest.$ac_objext \
21219 conftest$ac_exeext conftest.$ac_ext
21220
21221
21222 fi
21223 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21224 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21225
21226 if test $wx_cv_func_va_copy = "yes"; then
21227 cat >>confdefs.h <<\_ACEOF
21228 #define HAVE_VA_COPY 1
21229 _ACEOF
21230
21231 else
21232 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21233 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21234 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21236 else
21237
21238 if test "$cross_compiling" = yes; then
21239 wx_cv_type_va_list_lvalue=yes
21240
21241 else
21242 cat >conftest.$ac_ext <<_ACEOF
21243
21244 #include <stdarg.h>
21245 int foo(char *f, ...)
21246 {
21247 va_list ap1, ap2;
21248 va_start(ap1, f);
21249 ap2 = ap1;
21250 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21251 return 1;
21252 va_end(ap2);
21253 va_end(ap1);
21254 return 0;
21255 }
21256 int main()
21257 {
21258 return foo("hi", 17);
21259 }
21260 _ACEOF
21261 rm -f conftest$ac_exeext
21262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21263 (eval $ac_link) 2>&5
21264 ac_status=$?
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21268 (eval $ac_try) 2>&5
21269 ac_status=$?
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); }; }; then
21272 wx_cv_type_va_list_lvalue=yes
21273 else
21274 echo "$as_me: program exited with status $ac_status" >&5
21275 echo "$as_me: failed program was:" >&5
21276 sed 's/^/| /' conftest.$ac_ext >&5
21277
21278 ( exit $ac_status )
21279 wx_cv_type_va_list_lvalue=no
21280 fi
21281 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21282 fi
21283
21284
21285 fi
21286 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21287 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21288
21289 if test $wx_cv_type_va_list_lvalue != "yes"; then
21290 cat >>confdefs.h <<\_ACEOF
21291 #define VA_LIST_IS_ARRAY 1
21292 _ACEOF
21293
21294 fi
21295 fi
21296
21297 # Check whether --enable-largefile or --disable-largefile was given.
21298 if test "${enable_largefile+set}" = set; then
21299 enableval="$enable_largefile"
21300
21301 fi;
21302 if test "$enable_largefile" != no; then
21303 wx_largefile=no
21304
21305 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21306 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21307 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21308 echo $ECHO_N "(cached) $ECHO_C" >&6
21309 else
21310
21311 cat >conftest.$ac_ext <<_ACEOF
21312 /* confdefs.h. */
21313 _ACEOF
21314 cat confdefs.h >>conftest.$ac_ext
21315 cat >>conftest.$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21317 #define _FILE_OFFSET_BITS 64
21318 #include <sys/types.h>
21319 int
21320 main ()
21321 {
21322 typedef struct {
21323 unsigned int field: sizeof(off_t) == 8;
21324 } wxlf;
21325
21326 ;
21327 return 0;
21328 }
21329 _ACEOF
21330 rm -f conftest.$ac_objext
21331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21332 (eval $ac_compile) 2>conftest.er1
21333 ac_status=$?
21334 grep -v '^ *+' conftest.er1 >conftest.err
21335 rm -f conftest.er1
21336 cat conftest.err >&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); } &&
21339 { ac_try='test -z "$ac_c_werror_flag"
21340 || test ! -s conftest.err'
21341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21342 (eval $ac_try) 2>&5
21343 ac_status=$?
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); }; } &&
21346 { ac_try='test -s conftest.$ac_objext'
21347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21348 (eval $ac_try) 2>&5
21349 ac_status=$?
21350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21351 (exit $ac_status); }; }; then
21352 ac_cv_sys_file_offset_bits=64
21353 else
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.$ac_ext >&5
21356
21357 ac_cv_sys_file_offset_bits=no
21358 fi
21359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21360
21361
21362 fi
21363 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21364 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21365
21366 if test "$ac_cv_sys_file_offset_bits" != no; then
21367 wx_largefile=yes
21368 cat >>confdefs.h <<_ACEOF
21369 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21370 _ACEOF
21371
21372 fi
21373
21374 if test "x$wx_largefile" != "xyes"; then
21375
21376 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21377 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21378 if test "${ac_cv_sys_large_files+set}" = set; then
21379 echo $ECHO_N "(cached) $ECHO_C" >&6
21380 else
21381
21382 cat >conftest.$ac_ext <<_ACEOF
21383 /* confdefs.h. */
21384 _ACEOF
21385 cat confdefs.h >>conftest.$ac_ext
21386 cat >>conftest.$ac_ext <<_ACEOF
21387 /* end confdefs.h. */
21388 #define _LARGE_FILES 1
21389 #include <sys/types.h>
21390 int
21391 main ()
21392 {
21393 typedef struct {
21394 unsigned int field: sizeof(off_t) == 8;
21395 } wxlf;
21396
21397 ;
21398 return 0;
21399 }
21400 _ACEOF
21401 rm -f conftest.$ac_objext
21402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21403 (eval $ac_compile) 2>conftest.er1
21404 ac_status=$?
21405 grep -v '^ *+' conftest.er1 >conftest.err
21406 rm -f conftest.er1
21407 cat conftest.err >&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } &&
21410 { ac_try='test -z "$ac_c_werror_flag"
21411 || test ! -s conftest.err'
21412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21413 (eval $ac_try) 2>&5
21414 ac_status=$?
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); }; } &&
21417 { ac_try='test -s conftest.$ac_objext'
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21420 ac_status=$?
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; }; then
21423 ac_cv_sys_large_files=1
21424 else
21425 echo "$as_me: failed program was:" >&5
21426 sed 's/^/| /' conftest.$ac_ext >&5
21427
21428 ac_cv_sys_large_files=no
21429 fi
21430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21431
21432
21433 fi
21434 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21435 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21436
21437 if test "$ac_cv_sys_large_files" != no; then
21438 wx_largefile=yes
21439 cat >>confdefs.h <<_ACEOF
21440 #define _LARGE_FILES $ac_cv_sys_large_files
21441 _ACEOF
21442
21443 fi
21444
21445 fi
21446
21447 echo "$as_me:$LINENO: checking if large file support is available" >&5
21448 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21449 if test "x$wx_largefile" = "xyes"; then
21450 cat >>confdefs.h <<\_ACEOF
21451 #define HAVE_LARGEFILE_SUPPORT 1
21452 _ACEOF
21453
21454 fi
21455 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21456 echo "${ECHO_T}$wx_largefile" >&6
21457 fi
21458
21459
21460 if test "x$wx_largefile" = "xyes"; then
21461 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21462 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21463
21464 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21465 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21466 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21467 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21468 echo $ECHO_N "(cached) $ECHO_C" >&6
21469 else
21470
21471 ac_ext=cc
21472 ac_cpp='$CXXCPP $CPPFLAGS'
21473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21476
21477 cat >conftest.$ac_ext <<_ACEOF
21478 /* confdefs.h. */
21479 _ACEOF
21480 cat confdefs.h >>conftest.$ac_ext
21481 cat >>conftest.$ac_ext <<_ACEOF
21482 /* end confdefs.h. */
21483
21484 int
21485 main ()
21486 {
21487
21488 #ifndef __STDC_EXT__
21489 choke me
21490 #endif
21491
21492 ;
21493 return 0;
21494 }
21495 _ACEOF
21496 rm -f conftest.$ac_objext
21497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21498 (eval $ac_compile) 2>conftest.er1
21499 ac_status=$?
21500 grep -v '^ *+' conftest.er1 >conftest.err
21501 rm -f conftest.er1
21502 cat conftest.err >&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } &&
21505 { ac_try='test -z "$ac_cxx_werror_flag"
21506 || test ! -s conftest.err'
21507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21508 (eval $ac_try) 2>&5
21509 ac_status=$?
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); }; } &&
21512 { ac_try='test -s conftest.$ac_objext'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21515 ac_status=$?
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 wx_cv_STDC_EXT_required=no
21519 else
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.$ac_ext >&5
21522
21523 wx_cv_STDC_EXT_required=yes
21524
21525 fi
21526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21527 ac_ext=c
21528 ac_cpp='$CPP $CPPFLAGS'
21529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21532
21533
21534
21535 fi
21536 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21537 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21538 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21539 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21540 fi
21541 fi
21542 else
21543 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21544 fi
21545 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21546 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21547 if test "${ac_cv_sys_largefile_source+set}" = set; then
21548 echo $ECHO_N "(cached) $ECHO_C" >&6
21549 else
21550 while :; do
21551 ac_cv_sys_largefile_source=no
21552 cat >conftest.$ac_ext <<_ACEOF
21553 /* confdefs.h. */
21554 _ACEOF
21555 cat confdefs.h >>conftest.$ac_ext
21556 cat >>conftest.$ac_ext <<_ACEOF
21557 /* end confdefs.h. */
21558 #include <stdio.h>
21559 int
21560 main ()
21561 {
21562 return !fseeko;
21563 ;
21564 return 0;
21565 }
21566 _ACEOF
21567 rm -f conftest.$ac_objext
21568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21569 (eval $ac_compile) 2>conftest.er1
21570 ac_status=$?
21571 grep -v '^ *+' conftest.er1 >conftest.err
21572 rm -f conftest.er1
21573 cat conftest.err >&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); } &&
21576 { ac_try='test -z "$ac_c_werror_flag"
21577 || test ! -s conftest.err'
21578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21579 (eval $ac_try) 2>&5
21580 ac_status=$?
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); }; } &&
21583 { ac_try='test -s conftest.$ac_objext'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21586 ac_status=$?
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; }; then
21589 break
21590 else
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.$ac_ext >&5
21593
21594 fi
21595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21596 cat >conftest.$ac_ext <<_ACEOF
21597 /* confdefs.h. */
21598 _ACEOF
21599 cat confdefs.h >>conftest.$ac_ext
21600 cat >>conftest.$ac_ext <<_ACEOF
21601 /* end confdefs.h. */
21602 #define _LARGEFILE_SOURCE 1
21603 #include <stdio.h>
21604 int
21605 main ()
21606 {
21607 return !fseeko;
21608 ;
21609 return 0;
21610 }
21611 _ACEOF
21612 rm -f conftest.$ac_objext
21613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21614 (eval $ac_compile) 2>conftest.er1
21615 ac_status=$?
21616 grep -v '^ *+' conftest.er1 >conftest.err
21617 rm -f conftest.er1
21618 cat conftest.err >&5
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); } &&
21621 { ac_try='test -z "$ac_c_werror_flag"
21622 || test ! -s conftest.err'
21623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21624 (eval $ac_try) 2>&5
21625 ac_status=$?
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); }; } &&
21628 { ac_try='test -s conftest.$ac_objext'
21629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21630 (eval $ac_try) 2>&5
21631 ac_status=$?
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); }; }; then
21634 ac_cv_sys_largefile_source=1; break
21635 else
21636 echo "$as_me: failed program was:" >&5
21637 sed 's/^/| /' conftest.$ac_ext >&5
21638
21639 fi
21640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21641 break
21642 done
21643 fi
21644 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21645 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21646 if test "$ac_cv_sys_largefile_source" != no; then
21647
21648 cat >>confdefs.h <<_ACEOF
21649 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21650 _ACEOF
21651
21652 fi
21653 rm -f conftest*
21654
21655 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21656 # in glibc 2.1.3, but that breaks too many other things.
21657 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21658 echo "$as_me:$LINENO: checking for fseeko" >&5
21659 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21660 if test "${ac_cv_func_fseeko+set}" = set; then
21661 echo $ECHO_N "(cached) $ECHO_C" >&6
21662 else
21663 cat >conftest.$ac_ext <<_ACEOF
21664 /* confdefs.h. */
21665 _ACEOF
21666 cat confdefs.h >>conftest.$ac_ext
21667 cat >>conftest.$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21669 #include <stdio.h>
21670 int
21671 main ()
21672 {
21673 return fseeko && fseeko (stdin, 0, 0);
21674 ;
21675 return 0;
21676 }
21677 _ACEOF
21678 rm -f conftest.$ac_objext conftest$ac_exeext
21679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21680 (eval $ac_link) 2>conftest.er1
21681 ac_status=$?
21682 grep -v '^ *+' conftest.er1 >conftest.err
21683 rm -f conftest.er1
21684 cat conftest.err >&5
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); } &&
21687 { ac_try='test -z "$ac_c_werror_flag"
21688 || test ! -s conftest.err'
21689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21690 (eval $ac_try) 2>&5
21691 ac_status=$?
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; } &&
21694 { ac_try='test -s conftest$ac_exeext'
21695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21696 (eval $ac_try) 2>&5
21697 ac_status=$?
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); }; }; then
21700 ac_cv_func_fseeko=yes
21701 else
21702 echo "$as_me: failed program was:" >&5
21703 sed 's/^/| /' conftest.$ac_ext >&5
21704
21705 ac_cv_func_fseeko=no
21706 fi
21707 rm -f conftest.err conftest.$ac_objext \
21708 conftest$ac_exeext conftest.$ac_ext
21709 fi
21710 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21711 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21712 if test $ac_cv_func_fseeko = yes; then
21713
21714 cat >>confdefs.h <<\_ACEOF
21715 #define HAVE_FSEEKO 1
21716 _ACEOF
21717
21718 fi
21719
21720 if test "$ac_cv_sys_largefile_source" != no; then
21721 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21722 fi
21723 fi
21724
21725 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21726 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21727 if test "${ac_cv_c_bigendian+set}" = set; then
21728 echo $ECHO_N "(cached) $ECHO_C" >&6
21729 else
21730 ac_cv_c_bigendian=unknown
21731 # See if sys/param.h defines the BYTE_ORDER macro.
21732 cat >conftest.$ac_ext <<_ACEOF
21733 /* confdefs.h. */
21734 _ACEOF
21735 cat confdefs.h >>conftest.$ac_ext
21736 cat >>conftest.$ac_ext <<_ACEOF
21737 /* end confdefs.h. */
21738 #include <sys/types.h>
21739 #include <sys/param.h>
21740 int
21741 main ()
21742 {
21743
21744 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21745 bogus endian macros
21746 #endif
21747 ;
21748 return 0;
21749 }
21750 _ACEOF
21751 rm -f conftest.$ac_objext
21752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21753 (eval $ac_compile) 2>conftest.er1
21754 ac_status=$?
21755 grep -v '^ *+' conftest.er1 >conftest.err
21756 rm -f conftest.er1
21757 cat conftest.err >&5
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); } &&
21760 { ac_try='test -z "$ac_c_werror_flag"
21761 || test ! -s conftest.err'
21762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21763 (eval $ac_try) 2>&5
21764 ac_status=$?
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); }; } &&
21767 { ac_try='test -s conftest.$ac_objext'
21768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21769 (eval $ac_try) 2>&5
21770 ac_status=$?
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); }; }; then
21773 # It does; now see whether it defined to BIG_ENDIAN or not.
21774 cat >conftest.$ac_ext <<_ACEOF
21775 /* confdefs.h. */
21776 _ACEOF
21777 cat confdefs.h >>conftest.$ac_ext
21778 cat >>conftest.$ac_ext <<_ACEOF
21779 /* end confdefs.h. */
21780 #include <sys/types.h>
21781 #include <sys/param.h>
21782 int
21783 main ()
21784 {
21785
21786 #if BYTE_ORDER != BIG_ENDIAN
21787 not big endian
21788 #endif
21789 ;
21790 return 0;
21791 }
21792 _ACEOF
21793 rm -f conftest.$ac_objext
21794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21795 (eval $ac_compile) 2>conftest.er1
21796 ac_status=$?
21797 grep -v '^ *+' conftest.er1 >conftest.err
21798 rm -f conftest.er1
21799 cat conftest.err >&5
21800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801 (exit $ac_status); } &&
21802 { ac_try='test -z "$ac_c_werror_flag"
21803 || test ! -s conftest.err'
21804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21805 (eval $ac_try) 2>&5
21806 ac_status=$?
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); }; } &&
21809 { ac_try='test -s conftest.$ac_objext'
21810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21811 (eval $ac_try) 2>&5
21812 ac_status=$?
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); }; }; then
21815 ac_cv_c_bigendian=yes
21816 else
21817 echo "$as_me: failed program was:" >&5
21818 sed 's/^/| /' conftest.$ac_ext >&5
21819
21820 ac_cv_c_bigendian=no
21821 fi
21822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21823 else
21824 echo "$as_me: failed program was:" >&5
21825 sed 's/^/| /' conftest.$ac_ext >&5
21826
21827 fi
21828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21829 if test $ac_cv_c_bigendian = unknown; then
21830 if test "$cross_compiling" = yes; then
21831 ac_cv_c_bigendian=unknown
21832 else
21833 cat >conftest.$ac_ext <<_ACEOF
21834 /* confdefs.h. */
21835 _ACEOF
21836 cat confdefs.h >>conftest.$ac_ext
21837 cat >>conftest.$ac_ext <<_ACEOF
21838 /* end confdefs.h. */
21839 main () {
21840 /* Are we little or big endian? From Harbison&Steele. */
21841 union
21842 {
21843 long l;
21844 char c[sizeof (long)];
21845 } u;
21846 u.l = 1;
21847 exit (u.c[sizeof (long) - 1] == 1);
21848 }
21849 _ACEOF
21850 rm -f conftest$ac_exeext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21852 (eval $ac_link) 2>&5
21853 ac_status=$?
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21857 (eval $ac_try) 2>&5
21858 ac_status=$?
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); }; }; then
21861 ac_cv_c_bigendian=no
21862 else
21863 echo "$as_me: program exited with status $ac_status" >&5
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.$ac_ext >&5
21866
21867 ( exit $ac_status )
21868 ac_cv_c_bigendian=yes
21869 fi
21870 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21871 fi
21872 fi
21873 fi
21874 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21875 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21876 if test $ac_cv_c_bigendian = unknown; then
21877 { 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
21878 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;}
21879 fi
21880 if test $ac_cv_c_bigendian = yes; then
21881 cat >>confdefs.h <<\_ACEOF
21882 #define WORDS_BIGENDIAN 1
21883 _ACEOF
21884
21885 fi
21886
21887
21888 ac_ext=cc
21889 ac_cpp='$CXXCPP $CPPFLAGS'
21890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21893 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21894 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21895 if test -z "$CXXCPP"; then
21896 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21897 echo $ECHO_N "(cached) $ECHO_C" >&6
21898 else
21899 # Double quotes because CXXCPP needs to be expanded
21900 for CXXCPP in "$CXX -E" "/lib/cpp"
21901 do
21902 ac_preproc_ok=false
21903 for ac_cxx_preproc_warn_flag in '' yes
21904 do
21905 # Use a header file that comes with gcc, so configuring glibc
21906 # with a fresh cross-compiler works.
21907 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21908 # <limits.h> exists even on freestanding compilers.
21909 # On the NeXT, cc -E runs the code through the compiler's parser,
21910 # not just through cpp. "Syntax error" is here to catch this case.
21911 cat >conftest.$ac_ext <<_ACEOF
21912 /* confdefs.h. */
21913 _ACEOF
21914 cat confdefs.h >>conftest.$ac_ext
21915 cat >>conftest.$ac_ext <<_ACEOF
21916 /* end confdefs.h. */
21917 #ifdef __STDC__
21918 # include <limits.h>
21919 #else
21920 # include <assert.h>
21921 #endif
21922 Syntax error
21923 _ACEOF
21924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21925 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21926 ac_status=$?
21927 grep -v '^ *+' conftest.er1 >conftest.err
21928 rm -f conftest.er1
21929 cat conftest.err >&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); } >/dev/null; then
21932 if test -s conftest.err; then
21933 ac_cpp_err=$ac_cxx_preproc_warn_flag
21934 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21935 else
21936 ac_cpp_err=
21937 fi
21938 else
21939 ac_cpp_err=yes
21940 fi
21941 if test -z "$ac_cpp_err"; then
21942 :
21943 else
21944 echo "$as_me: failed program was:" >&5
21945 sed 's/^/| /' conftest.$ac_ext >&5
21946
21947 # Broken: fails on valid input.
21948 continue
21949 fi
21950 rm -f conftest.err conftest.$ac_ext
21951
21952 # OK, works on sane cases. Now check whether non-existent headers
21953 # can be detected and how.
21954 cat >conftest.$ac_ext <<_ACEOF
21955 /* confdefs.h. */
21956 _ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 #include <ac_nonexistent.h>
21961 _ACEOF
21962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21964 ac_status=$?
21965 grep -v '^ *+' conftest.er1 >conftest.err
21966 rm -f conftest.er1
21967 cat conftest.err >&5
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); } >/dev/null; then
21970 if test -s conftest.err; then
21971 ac_cpp_err=$ac_cxx_preproc_warn_flag
21972 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21973 else
21974 ac_cpp_err=
21975 fi
21976 else
21977 ac_cpp_err=yes
21978 fi
21979 if test -z "$ac_cpp_err"; then
21980 # Broken: success on invalid input.
21981 continue
21982 else
21983 echo "$as_me: failed program was:" >&5
21984 sed 's/^/| /' conftest.$ac_ext >&5
21985
21986 # Passes both tests.
21987 ac_preproc_ok=:
21988 break
21989 fi
21990 rm -f conftest.err conftest.$ac_ext
21991
21992 done
21993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21994 rm -f conftest.err conftest.$ac_ext
21995 if $ac_preproc_ok; then
21996 break
21997 fi
21998
21999 done
22000 ac_cv_prog_CXXCPP=$CXXCPP
22001
22002 fi
22003 CXXCPP=$ac_cv_prog_CXXCPP
22004 else
22005 ac_cv_prog_CXXCPP=$CXXCPP
22006 fi
22007 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22008 echo "${ECHO_T}$CXXCPP" >&6
22009 ac_preproc_ok=false
22010 for ac_cxx_preproc_warn_flag in '' yes
22011 do
22012 # Use a header file that comes with gcc, so configuring glibc
22013 # with a fresh cross-compiler works.
22014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22015 # <limits.h> exists even on freestanding compilers.
22016 # On the NeXT, cc -E runs the code through the compiler's parser,
22017 # not just through cpp. "Syntax error" is here to catch this case.
22018 cat >conftest.$ac_ext <<_ACEOF
22019 /* confdefs.h. */
22020 _ACEOF
22021 cat confdefs.h >>conftest.$ac_ext
22022 cat >>conftest.$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22024 #ifdef __STDC__
22025 # include <limits.h>
22026 #else
22027 # include <assert.h>
22028 #endif
22029 Syntax error
22030 _ACEOF
22031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22033 ac_status=$?
22034 grep -v '^ *+' conftest.er1 >conftest.err
22035 rm -f conftest.er1
22036 cat conftest.err >&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); } >/dev/null; then
22039 if test -s conftest.err; then
22040 ac_cpp_err=$ac_cxx_preproc_warn_flag
22041 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22042 else
22043 ac_cpp_err=
22044 fi
22045 else
22046 ac_cpp_err=yes
22047 fi
22048 if test -z "$ac_cpp_err"; then
22049 :
22050 else
22051 echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.$ac_ext >&5
22053
22054 # Broken: fails on valid input.
22055 continue
22056 fi
22057 rm -f conftest.err conftest.$ac_ext
22058
22059 # OK, works on sane cases. Now check whether non-existent headers
22060 # can be detected and how.
22061 cat >conftest.$ac_ext <<_ACEOF
22062 /* confdefs.h. */
22063 _ACEOF
22064 cat confdefs.h >>conftest.$ac_ext
22065 cat >>conftest.$ac_ext <<_ACEOF
22066 /* end confdefs.h. */
22067 #include <ac_nonexistent.h>
22068 _ACEOF
22069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22071 ac_status=$?
22072 grep -v '^ *+' conftest.er1 >conftest.err
22073 rm -f conftest.er1
22074 cat conftest.err >&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } >/dev/null; then
22077 if test -s conftest.err; then
22078 ac_cpp_err=$ac_cxx_preproc_warn_flag
22079 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22080 else
22081 ac_cpp_err=
22082 fi
22083 else
22084 ac_cpp_err=yes
22085 fi
22086 if test -z "$ac_cpp_err"; then
22087 # Broken: success on invalid input.
22088 continue
22089 else
22090 echo "$as_me: failed program was:" >&5
22091 sed 's/^/| /' conftest.$ac_ext >&5
22092
22093 # Passes both tests.
22094 ac_preproc_ok=:
22095 break
22096 fi
22097 rm -f conftest.err conftest.$ac_ext
22098
22099 done
22100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22101 rm -f conftest.err conftest.$ac_ext
22102 if $ac_preproc_ok; then
22103 :
22104 else
22105 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22106 See \`config.log' for more details." >&5
22107 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22108 See \`config.log' for more details." >&2;}
22109 { (exit 1); exit 1; }; }
22110 fi
22111
22112 ac_ext=cc
22113 ac_cpp='$CXXCPP $CPPFLAGS'
22114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22117
22118
22119
22120
22121
22122 ac_ext=cc
22123 ac_cpp='$CXXCPP $CPPFLAGS'
22124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22127
22128
22129
22130 for ac_header in iostream
22131 do
22132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22134 echo "$as_me:$LINENO: checking for $ac_header" >&5
22135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22137 echo $ECHO_N "(cached) $ECHO_C" >&6
22138 fi
22139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22141 else
22142 # Is the header compilable?
22143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22145 cat >conftest.$ac_ext <<_ACEOF
22146 /* confdefs.h. */
22147 _ACEOF
22148 cat confdefs.h >>conftest.$ac_ext
22149 cat >>conftest.$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22151 $ac_includes_default
22152 #include <$ac_header>
22153 _ACEOF
22154 rm -f conftest.$ac_objext
22155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22156 (eval $ac_compile) 2>conftest.er1
22157 ac_status=$?
22158 grep -v '^ *+' conftest.er1 >conftest.err
22159 rm -f conftest.er1
22160 cat conftest.err >&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); } &&
22163 { ac_try='test -z "$ac_cxx_werror_flag"
22164 || test ! -s conftest.err'
22165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22166 (eval $ac_try) 2>&5
22167 ac_status=$?
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); }; } &&
22170 { ac_try='test -s conftest.$ac_objext'
22171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22172 (eval $ac_try) 2>&5
22173 ac_status=$?
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); }; }; then
22176 ac_header_compiler=yes
22177 else
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.$ac_ext >&5
22180
22181 ac_header_compiler=no
22182 fi
22183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22185 echo "${ECHO_T}$ac_header_compiler" >&6
22186
22187 # Is the header present?
22188 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22190 cat >conftest.$ac_ext <<_ACEOF
22191 /* confdefs.h. */
22192 _ACEOF
22193 cat confdefs.h >>conftest.$ac_ext
22194 cat >>conftest.$ac_ext <<_ACEOF
22195 /* end confdefs.h. */
22196 #include <$ac_header>
22197 _ACEOF
22198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22200 ac_status=$?
22201 grep -v '^ *+' conftest.er1 >conftest.err
22202 rm -f conftest.er1
22203 cat conftest.err >&5
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); } >/dev/null; then
22206 if test -s conftest.err; then
22207 ac_cpp_err=$ac_cxx_preproc_warn_flag
22208 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22209 else
22210 ac_cpp_err=
22211 fi
22212 else
22213 ac_cpp_err=yes
22214 fi
22215 if test -z "$ac_cpp_err"; then
22216 ac_header_preproc=yes
22217 else
22218 echo "$as_me: failed program was:" >&5
22219 sed 's/^/| /' conftest.$ac_ext >&5
22220
22221 ac_header_preproc=no
22222 fi
22223 rm -f conftest.err conftest.$ac_ext
22224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22225 echo "${ECHO_T}$ac_header_preproc" >&6
22226
22227 # So? What about this header?
22228 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22229 yes:no: )
22230 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22234 ac_header_preproc=yes
22235 ;;
22236 no:yes:* )
22237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22240 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22241 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22243 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22244 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22247 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22249 (
22250 cat <<\_ASBOX
22251 ## ----------------------------------------- ##
22252 ## Report this to wx-dev@lists.wxwidgets.org ##
22253 ## ----------------------------------------- ##
22254 _ASBOX
22255 ) |
22256 sed "s/^/$as_me: WARNING: /" >&2
22257 ;;
22258 esac
22259 echo "$as_me:$LINENO: checking for $ac_header" >&5
22260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22263 else
22264 eval "$as_ac_Header=\$ac_header_preproc"
22265 fi
22266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22268
22269 fi
22270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22271 cat >>confdefs.h <<_ACEOF
22272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22273 _ACEOF
22274
22275 fi
22276
22277 done
22278
22279
22280 if test "$ac_cv_header_iostream" = "yes" ; then
22281 :
22282 else
22283 cat >>confdefs.h <<\_ACEOF
22284 #define wxUSE_IOSTREAMH 1
22285 _ACEOF
22286
22287 fi
22288
22289 ac_ext=c
22290 ac_cpp='$CPP $CPPFLAGS'
22291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22294
22295
22296
22297
22298 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22299 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22300 if test "${wx_cv_cpp_bool+set}" = set; then
22301 echo $ECHO_N "(cached) $ECHO_C" >&6
22302 else
22303
22304
22305
22306 ac_ext=cc
22307 ac_cpp='$CXXCPP $CPPFLAGS'
22308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22311
22312
22313 cat >conftest.$ac_ext <<_ACEOF
22314 /* confdefs.h. */
22315 _ACEOF
22316 cat confdefs.h >>conftest.$ac_ext
22317 cat >>conftest.$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22319
22320
22321 int
22322 main ()
22323 {
22324
22325 bool b = true;
22326
22327 return 0;
22328
22329 ;
22330 return 0;
22331 }
22332 _ACEOF
22333 rm -f conftest.$ac_objext
22334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22335 (eval $ac_compile) 2>conftest.er1
22336 ac_status=$?
22337 grep -v '^ *+' conftest.er1 >conftest.err
22338 rm -f conftest.er1
22339 cat conftest.err >&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); } &&
22342 { ac_try='test -z "$ac_cxx_werror_flag"
22343 || test ! -s conftest.err'
22344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345 (eval $ac_try) 2>&5
22346 ac_status=$?
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; } &&
22349 { ac_try='test -s conftest.$ac_objext'
22350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22351 (eval $ac_try) 2>&5
22352 ac_status=$?
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); }; }; then
22355
22356 wx_cv_cpp_bool=yes
22357
22358 else
22359 echo "$as_me: failed program was:" >&5
22360 sed 's/^/| /' conftest.$ac_ext >&5
22361
22362
22363 wx_cv_cpp_bool=no
22364
22365
22366 fi
22367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22368
22369 ac_ext=c
22370 ac_cpp='$CPP $CPPFLAGS'
22371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22374
22375
22376 fi
22377 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22378 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22379
22380 if test "$wx_cv_cpp_bool" = "yes"; then
22381 cat >>confdefs.h <<\_ACEOF
22382 #define HAVE_BOOL 1
22383 _ACEOF
22384
22385 fi
22386
22387
22388
22389 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22390 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22391 if test "${wx_cv_explicit+set}" = set; then
22392 echo $ECHO_N "(cached) $ECHO_C" >&6
22393 else
22394
22395
22396
22397 ac_ext=cc
22398 ac_cpp='$CXXCPP $CPPFLAGS'
22399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22402
22403
22404 cat >conftest.$ac_ext <<_ACEOF
22405 /* confdefs.h. */
22406 _ACEOF
22407 cat confdefs.h >>conftest.$ac_ext
22408 cat >>conftest.$ac_ext <<_ACEOF
22409 /* end confdefs.h. */
22410
22411 class Foo { public: explicit Foo(int) {} };
22412
22413 int
22414 main ()
22415 {
22416
22417 return 0;
22418
22419 ;
22420 return 0;
22421 }
22422 _ACEOF
22423 rm -f conftest.$ac_objext
22424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22425 (eval $ac_compile) 2>conftest.er1
22426 ac_status=$?
22427 grep -v '^ *+' conftest.er1 >conftest.err
22428 rm -f conftest.er1
22429 cat conftest.err >&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); } &&
22432 { ac_try='test -z "$ac_cxx_werror_flag"
22433 || test ! -s conftest.err'
22434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22435 (eval $ac_try) 2>&5
22436 ac_status=$?
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); }; } &&
22439 { ac_try='test -s conftest.$ac_objext'
22440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22441 (eval $ac_try) 2>&5
22442 ac_status=$?
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); }; }; then
22445
22446 cat >conftest.$ac_ext <<_ACEOF
22447 /* confdefs.h. */
22448 _ACEOF
22449 cat confdefs.h >>conftest.$ac_ext
22450 cat >>conftest.$ac_ext <<_ACEOF
22451 /* end confdefs.h. */
22452
22453 class Foo { public: explicit Foo(int) {} };
22454 static void TakeFoo(const Foo& foo) { }
22455
22456 int
22457 main ()
22458 {
22459
22460 TakeFoo(17);
22461 return 0;
22462
22463 ;
22464 return 0;
22465 }
22466 _ACEOF
22467 rm -f conftest.$ac_objext
22468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22469 (eval $ac_compile) 2>conftest.er1
22470 ac_status=$?
22471 grep -v '^ *+' conftest.er1 >conftest.err
22472 rm -f conftest.er1
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } &&
22476 { ac_try='test -z "$ac_cxx_werror_flag"
22477 || test ! -s conftest.err'
22478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22479 (eval $ac_try) 2>&5
22480 ac_status=$?
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); }; } &&
22483 { ac_try='test -s conftest.$ac_objext'
22484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22485 (eval $ac_try) 2>&5
22486 ac_status=$?
22487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22488 (exit $ac_status); }; }; then
22489 wx_cv_explicit=no
22490 else
22491 echo "$as_me: failed program was:" >&5
22492 sed 's/^/| /' conftest.$ac_ext >&5
22493
22494 wx_cv_explicit=yes
22495
22496 fi
22497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22498
22499 else
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.$ac_ext >&5
22502
22503 wx_cv_explicit=no
22504
22505 fi
22506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22507
22508 ac_ext=c
22509 ac_cpp='$CPP $CPPFLAGS'
22510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22513
22514
22515 fi
22516 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22517 echo "${ECHO_T}$wx_cv_explicit" >&6
22518
22519 if test "$wx_cv_explicit" = "yes"; then
22520 cat >>confdefs.h <<\_ACEOF
22521 #define HAVE_EXPLICIT 1
22522 _ACEOF
22523
22524 fi
22525
22526
22527 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22528 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22529 if test "${ac_cv_cxx_const_cast+set}" = set; then
22530 echo $ECHO_N "(cached) $ECHO_C" >&6
22531 else
22532
22533
22534 ac_ext=cc
22535 ac_cpp='$CXXCPP $CPPFLAGS'
22536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22539
22540 cat >conftest.$ac_ext <<_ACEOF
22541 /* confdefs.h. */
22542 _ACEOF
22543 cat confdefs.h >>conftest.$ac_ext
22544 cat >>conftest.$ac_ext <<_ACEOF
22545 /* end confdefs.h. */
22546
22547 int
22548 main ()
22549 {
22550 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22551 ;
22552 return 0;
22553 }
22554 _ACEOF
22555 rm -f conftest.$ac_objext
22556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22557 (eval $ac_compile) 2>conftest.er1
22558 ac_status=$?
22559 grep -v '^ *+' conftest.er1 >conftest.err
22560 rm -f conftest.er1
22561 cat conftest.err >&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); } &&
22564 { ac_try='test -z "$ac_cxx_werror_flag"
22565 || test ! -s conftest.err'
22566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22567 (eval $ac_try) 2>&5
22568 ac_status=$?
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); }; } &&
22571 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
22577 ac_cv_cxx_const_cast=yes
22578 else
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.$ac_ext >&5
22581
22582 ac_cv_cxx_const_cast=no
22583 fi
22584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22585 ac_ext=c
22586 ac_cpp='$CPP $CPPFLAGS'
22587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22590
22591
22592 fi
22593 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22594 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22595 if test "$ac_cv_cxx_const_cast" = yes; then
22596
22597 cat >>confdefs.h <<\_ACEOF
22598 #define HAVE_CONST_CAST
22599 _ACEOF
22600
22601 fi
22602
22603 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22604 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22605 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22606 echo $ECHO_N "(cached) $ECHO_C" >&6
22607 else
22608
22609
22610 ac_ext=cc
22611 ac_cpp='$CXXCPP $CPPFLAGS'
22612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22615
22616 cat >conftest.$ac_ext <<_ACEOF
22617 /* confdefs.h. */
22618 _ACEOF
22619 cat confdefs.h >>conftest.$ac_ext
22620 cat >>conftest.$ac_ext <<_ACEOF
22621 /* end confdefs.h. */
22622 #include <typeinfo>
22623 class Base { public : Base () {} virtual void f () = 0;};
22624 class Derived : public Base { public : Derived () {} virtual void f () {} };
22625 class Unrelated { public : Unrelated () {} };
22626 int g (Unrelated&) { return 0; }
22627 int
22628 main ()
22629 {
22630
22631 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22632 ;
22633 return 0;
22634 }
22635 _ACEOF
22636 rm -f conftest.$ac_objext
22637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22638 (eval $ac_compile) 2>conftest.er1
22639 ac_status=$?
22640 grep -v '^ *+' conftest.er1 >conftest.err
22641 rm -f conftest.er1
22642 cat conftest.err >&5
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); } &&
22645 { ac_try='test -z "$ac_cxx_werror_flag"
22646 || test ! -s conftest.err'
22647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22648 (eval $ac_try) 2>&5
22649 ac_status=$?
22650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651 (exit $ac_status); }; } &&
22652 { ac_try='test -s conftest.$ac_objext'
22653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22654 (eval $ac_try) 2>&5
22655 ac_status=$?
22656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22657 (exit $ac_status); }; }; then
22658 ac_cv_cxx_reinterpret_cast=yes
22659 else
22660 echo "$as_me: failed program was:" >&5
22661 sed 's/^/| /' conftest.$ac_ext >&5
22662
22663 ac_cv_cxx_reinterpret_cast=no
22664 fi
22665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22666 ac_ext=c
22667 ac_cpp='$CPP $CPPFLAGS'
22668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22671
22672
22673 fi
22674 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22675 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22676 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22677
22678 cat >>confdefs.h <<\_ACEOF
22679 #define HAVE_REINTERPRET_CAST
22680 _ACEOF
22681
22682 fi
22683
22684 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22685 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22686 if test "${ac_cv_cxx_static_cast+set}" = set; then
22687 echo $ECHO_N "(cached) $ECHO_C" >&6
22688 else
22689
22690
22691 ac_ext=cc
22692 ac_cpp='$CXXCPP $CPPFLAGS'
22693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22696
22697 cat >conftest.$ac_ext <<_ACEOF
22698 /* confdefs.h. */
22699 _ACEOF
22700 cat confdefs.h >>conftest.$ac_ext
22701 cat >>conftest.$ac_ext <<_ACEOF
22702 /* end confdefs.h. */
22703 #include <typeinfo>
22704 class Base { public : Base () {} virtual void f () = 0; };
22705 class Derived : public Base { public : Derived () {} virtual void f () {} };
22706 int g (Derived&) { return 0; }
22707 int
22708 main ()
22709 {
22710
22711 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22712 ;
22713 return 0;
22714 }
22715 _ACEOF
22716 rm -f conftest.$ac_objext
22717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22718 (eval $ac_compile) 2>conftest.er1
22719 ac_status=$?
22720 grep -v '^ *+' conftest.er1 >conftest.err
22721 rm -f conftest.er1
22722 cat conftest.err >&5
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); } &&
22725 { ac_try='test -z "$ac_cxx_werror_flag"
22726 || test ! -s conftest.err'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22729 ac_status=$?
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; } &&
22732 { ac_try='test -s conftest.$ac_objext'
22733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22734 (eval $ac_try) 2>&5
22735 ac_status=$?
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; }; then
22738 ac_cv_cxx_static_cast=yes
22739 else
22740 echo "$as_me: failed program was:" >&5
22741 sed 's/^/| /' conftest.$ac_ext >&5
22742
22743 ac_cv_cxx_static_cast=no
22744 fi
22745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22746 ac_ext=c
22747 ac_cpp='$CPP $CPPFLAGS'
22748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22751
22752
22753 fi
22754 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22755 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22756 if test "$ac_cv_cxx_static_cast" = yes; then
22757
22758 cat >>confdefs.h <<\_ACEOF
22759 #define HAVE_STATIC_CAST
22760 _ACEOF
22761
22762 fi
22763
22764
22765 if test "x$SUNCXX" = xyes; then
22766 CXXFLAGS="-features=tmplife $CXXFLAGS"
22767 fi
22768
22769 if test "x$SUNCC" = xyes; then
22770 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22771 fi
22772
22773 if test "x$SGICC" = "xyes"; then
22774 CFLAGS="-woff 3970 $CFLAGS"
22775 fi
22776 if test "x$SGICXX" = "xyes"; then
22777 CXXFLAGS="-woff 3970 $CXXFLAGS"
22778 fi
22779
22780 if test "x$HPCC" = "xyes"; then
22781 CFLAGS="+W 2011,2450 $CFLAGS"
22782 fi
22783 if test "x$HPCXX" = "xyes"; then
22784 CXXFLAGS="+W 2340 $CXXFLAGS"
22785 fi
22786
22787 if test "x$COMPAQCXX" = "xyes"; then
22788 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22789 fi
22790
22791 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22792 ac_ext=cc
22793 ac_cpp='$CXXCPP $CPPFLAGS'
22794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22797
22798
22799 if test "$wxUSE_UNICODE" = "yes"; then
22800 std_string="std::wstring"
22801 char_type="wchar_t"
22802 else
22803 std_string="std::string"
22804 char_type="char"
22805 fi
22806
22807 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22808 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22809 cat >conftest.$ac_ext <<_ACEOF
22810 /* confdefs.h. */
22811 _ACEOF
22812 cat confdefs.h >>conftest.$ac_ext
22813 cat >>conftest.$ac_ext <<_ACEOF
22814 /* end confdefs.h. */
22815 #include <string>
22816 int
22817 main ()
22818 {
22819 $std_string foo;
22820 ;
22821 return 0;
22822 }
22823 _ACEOF
22824 rm -f conftest.$ac_objext
22825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22826 (eval $ac_compile) 2>conftest.er1
22827 ac_status=$?
22828 grep -v '^ *+' conftest.er1 >conftest.err
22829 rm -f conftest.er1
22830 cat conftest.err >&5
22831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832 (exit $ac_status); } &&
22833 { ac_try='test -z "$ac_cxx_werror_flag"
22834 || test ! -s conftest.err'
22835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22836 (eval $ac_try) 2>&5
22837 ac_status=$?
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); }; } &&
22840 { ac_try='test -s conftest.$ac_objext'
22841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22842 (eval $ac_try) 2>&5
22843 ac_status=$?
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); }; }; then
22846 echo "$as_me:$LINENO: result: yes" >&5
22847 echo "${ECHO_T}yes" >&6
22848 cat >>confdefs.h <<\_ACEOF
22849 #define HAVE_STD_WSTRING 1
22850 _ACEOF
22851
22852 else
22853 echo "$as_me: failed program was:" >&5
22854 sed 's/^/| /' conftest.$ac_ext >&5
22855
22856 echo "$as_me:$LINENO: result: no" >&5
22857 echo "${ECHO_T}no" >&6
22858 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22859 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22860 cat >conftest.$ac_ext <<_ACEOF
22861 /* confdefs.h. */
22862 _ACEOF
22863 cat confdefs.h >>conftest.$ac_ext
22864 cat >>conftest.$ac_ext <<_ACEOF
22865 /* end confdefs.h. */
22866
22867 #ifdef HAVE_WCHAR_H
22868 # ifdef __CYGWIN__
22869 # include <stddef.h>
22870 # endif
22871 # include <wchar.h>
22872 #endif
22873 #ifdef HAVE_STDLIB_H
22874 # include <stdlib.h>
22875 #endif
22876 #include <stdio.h>
22877 #include <string>
22878
22879 int
22880 main ()
22881 {
22882 std::basic_string<$char_type> foo;
22883 const $char_type* dummy = foo.c_str();
22884 ;
22885 return 0;
22886 }
22887 _ACEOF
22888 rm -f conftest.$ac_objext
22889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22890 (eval $ac_compile) 2>conftest.er1
22891 ac_status=$?
22892 grep -v '^ *+' conftest.er1 >conftest.err
22893 rm -f conftest.er1
22894 cat conftest.err >&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } &&
22897 { ac_try='test -z "$ac_cxx_werror_flag"
22898 || test ! -s conftest.err'
22899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22900 (eval $ac_try) 2>&5
22901 ac_status=$?
22902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903 (exit $ac_status); }; } &&
22904 { ac_try='test -s conftest.$ac_objext'
22905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22906 (eval $ac_try) 2>&5
22907 ac_status=$?
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); }; }; then
22910 echo "$as_me:$LINENO: result: yes" >&5
22911 echo "${ECHO_T}yes" >&6
22912 else
22913 echo "$as_me: failed program was:" >&5
22914 sed 's/^/| /' conftest.$ac_ext >&5
22915
22916 echo "$as_me:$LINENO: result: no" >&5
22917 echo "${ECHO_T}no" >&6
22918 if test "$wxUSE_STL" = "yes"; then
22919 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22920 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22921 { (exit 1); exit 1; }; }
22922 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
22923 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22924 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22925 { (exit 1); exit 1; }; }
22926 else
22927 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22928 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22929 wxUSE_STD_STRING=no
22930 fi
22931
22932
22933 fi
22934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22935
22936 fi
22937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22938
22939 ac_ext=c
22940 ac_cpp='$CPP $CPPFLAGS'
22941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22944
22945 fi
22946
22947 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22948 ac_ext=cc
22949 ac_cpp='$CXXCPP $CPPFLAGS'
22950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22953
22954
22955 echo "$as_me:$LINENO: checking for std::istream" >&5
22956 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22957 if test "${ac_cv_type_std__istream+set}" = set; then
22958 echo $ECHO_N "(cached) $ECHO_C" >&6
22959 else
22960 cat >conftest.$ac_ext <<_ACEOF
22961 /* confdefs.h. */
22962 _ACEOF
22963 cat confdefs.h >>conftest.$ac_ext
22964 cat >>conftest.$ac_ext <<_ACEOF
22965 /* end confdefs.h. */
22966 #include <iostream>
22967
22968 int
22969 main ()
22970 {
22971 if ((std::istream *) 0)
22972 return 0;
22973 if (sizeof (std::istream))
22974 return 0;
22975 ;
22976 return 0;
22977 }
22978 _ACEOF
22979 rm -f conftest.$ac_objext
22980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22981 (eval $ac_compile) 2>conftest.er1
22982 ac_status=$?
22983 grep -v '^ *+' conftest.er1 >conftest.err
22984 rm -f conftest.er1
22985 cat conftest.err >&5
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); } &&
22988 { ac_try='test -z "$ac_cxx_werror_flag"
22989 || test ! -s conftest.err'
22990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22991 (eval $ac_try) 2>&5
22992 ac_status=$?
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; } &&
22995 { ac_try='test -s conftest.$ac_objext'
22996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22997 (eval $ac_try) 2>&5
22998 ac_status=$?
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); }; }; then
23001 ac_cv_type_std__istream=yes
23002 else
23003 echo "$as_me: failed program was:" >&5
23004 sed 's/^/| /' conftest.$ac_ext >&5
23005
23006 ac_cv_type_std__istream=no
23007 fi
23008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23009 fi
23010 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23011 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23012 if test $ac_cv_type_std__istream = yes; then
23013
23014 cat >>confdefs.h <<_ACEOF
23015 #define HAVE_STD__ISTREAM 1
23016 _ACEOF
23017
23018
23019 else
23020 wxUSE_STD_IOSTREAM=no
23021 fi
23022 echo "$as_me:$LINENO: checking for std::ostream" >&5
23023 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23024 if test "${ac_cv_type_std__ostream+set}" = set; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23026 else
23027 cat >conftest.$ac_ext <<_ACEOF
23028 /* confdefs.h. */
23029 _ACEOF
23030 cat confdefs.h >>conftest.$ac_ext
23031 cat >>conftest.$ac_ext <<_ACEOF
23032 /* end confdefs.h. */
23033 #include <iostream>
23034
23035 int
23036 main ()
23037 {
23038 if ((std::ostream *) 0)
23039 return 0;
23040 if (sizeof (std::ostream))
23041 return 0;
23042 ;
23043 return 0;
23044 }
23045 _ACEOF
23046 rm -f conftest.$ac_objext
23047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23048 (eval $ac_compile) 2>conftest.er1
23049 ac_status=$?
23050 grep -v '^ *+' conftest.er1 >conftest.err
23051 rm -f conftest.er1
23052 cat conftest.err >&5
23053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054 (exit $ac_status); } &&
23055 { ac_try='test -z "$ac_cxx_werror_flag"
23056 || test ! -s conftest.err'
23057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23058 (eval $ac_try) 2>&5
23059 ac_status=$?
23060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23061 (exit $ac_status); }; } &&
23062 { ac_try='test -s conftest.$ac_objext'
23063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23064 (eval $ac_try) 2>&5
23065 ac_status=$?
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); }; }; then
23068 ac_cv_type_std__ostream=yes
23069 else
23070 echo "$as_me: failed program was:" >&5
23071 sed 's/^/| /' conftest.$ac_ext >&5
23072
23073 ac_cv_type_std__ostream=no
23074 fi
23075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23076 fi
23077 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23078 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23079 if test $ac_cv_type_std__ostream = yes; then
23080
23081 cat >>confdefs.h <<_ACEOF
23082 #define HAVE_STD__OSTREAM 1
23083 _ACEOF
23084
23085
23086 else
23087 wxUSE_STD_IOSTREAM=no
23088 fi
23089
23090
23091 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23092 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23093 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23094 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23095 { (exit 1); exit 1; }; }
23096 else
23097 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23098 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23099 fi
23100 fi
23101
23102 ac_ext=c
23103 ac_cpp='$CPP $CPPFLAGS'
23104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23107
23108 fi
23109
23110 if test "$wxUSE_STL" = "yes"; then
23111 ac_ext=cc
23112 ac_cpp='$CXXCPP $CPPFLAGS'
23113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23116
23117
23118 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23119 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23120 cat >conftest.$ac_ext <<_ACEOF
23121 /* confdefs.h. */
23122 _ACEOF
23123 cat confdefs.h >>conftest.$ac_ext
23124 cat >>conftest.$ac_ext <<_ACEOF
23125 /* end confdefs.h. */
23126 #include <string>
23127 #include <functional>
23128 #include <algorithm>
23129 #include <vector>
23130 #include <list>
23131 int
23132 main ()
23133 {
23134 std::vector<int> moo;
23135 std::list<int> foo;
23136 std::vector<int>::iterator it =
23137 std::find_if(moo.begin(), moo.end(),
23138 std::bind2nd(std::less<int>(), 3));
23139 ;
23140 return 0;
23141 }
23142 _ACEOF
23143 rm -f conftest.$ac_objext
23144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23145 (eval $ac_compile) 2>conftest.er1
23146 ac_status=$?
23147 grep -v '^ *+' conftest.er1 >conftest.err
23148 rm -f conftest.er1
23149 cat conftest.err >&5
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); } &&
23152 { ac_try='test -z "$ac_cxx_werror_flag"
23153 || test ! -s conftest.err'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23156 ac_status=$?
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; } &&
23159 { ac_try='test -s conftest.$ac_objext'
23160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23161 (eval $ac_try) 2>&5
23162 ac_status=$?
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); }; }; then
23165 echo "$as_me:$LINENO: result: yes" >&5
23166 echo "${ECHO_T}yes" >&6
23167 else
23168 echo "$as_me: failed program was:" >&5
23169 sed 's/^/| /' conftest.$ac_ext >&5
23170
23171 echo "$as_me:$LINENO: result: no" >&5
23172 echo "${ECHO_T}no" >&6
23173 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23174 echo "$as_me: error: Basic STL functionality missing" >&2;}
23175 { (exit 1); exit 1; }; }
23176 fi
23177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23178
23179 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23180 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23181 cat >conftest.$ac_ext <<_ACEOF
23182 /* confdefs.h. */
23183 _ACEOF
23184 cat confdefs.h >>conftest.$ac_ext
23185 cat >>conftest.$ac_ext <<_ACEOF
23186 /* end confdefs.h. */
23187 #include <string>
23188 int
23189 main ()
23190 {
23191 std::string foo, bar;
23192 foo.compare(bar);
23193 foo.compare(1, 1, bar);
23194 foo.compare(1, 1, bar, 1, 1);
23195 foo.compare("");
23196 foo.compare(1, 1, "");
23197 foo.compare(1, 1, "", 2);
23198 ;
23199 return 0;
23200 }
23201 _ACEOF
23202 rm -f conftest.$ac_objext
23203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23204 (eval $ac_compile) 2>conftest.er1
23205 ac_status=$?
23206 grep -v '^ *+' conftest.er1 >conftest.err
23207 rm -f conftest.er1
23208 cat conftest.err >&5
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); } &&
23211 { ac_try='test -z "$ac_cxx_werror_flag"
23212 || test ! -s conftest.err'
23213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23214 (eval $ac_try) 2>&5
23215 ac_status=$?
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); }; } &&
23218 { ac_try='test -s conftest.$ac_objext'
23219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220 (eval $ac_try) 2>&5
23221 ac_status=$?
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; }; then
23224 echo "$as_me:$LINENO: result: yes" >&5
23225 echo "${ECHO_T}yes" >&6
23226 cat >>confdefs.h <<\_ACEOF
23227 #define HAVE_STD_STRING_COMPARE 1
23228 _ACEOF
23229
23230 else
23231 echo "$as_me: failed program was:" >&5
23232 sed 's/^/| /' conftest.$ac_ext >&5
23233
23234 echo "$as_me:$LINENO: result: no" >&5
23235 echo "${ECHO_T}no" >&6
23236 fi
23237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23238
23239 if test "${ac_cv_header_hash_map+set}" = set; then
23240 echo "$as_me:$LINENO: checking for hash_map" >&5
23241 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23242 if test "${ac_cv_header_hash_map+set}" = set; then
23243 echo $ECHO_N "(cached) $ECHO_C" >&6
23244 fi
23245 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23246 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23247 else
23248 # Is the header compilable?
23249 echo "$as_me:$LINENO: checking hash_map usability" >&5
23250 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23251 cat >conftest.$ac_ext <<_ACEOF
23252 /* confdefs.h. */
23253 _ACEOF
23254 cat confdefs.h >>conftest.$ac_ext
23255 cat >>conftest.$ac_ext <<_ACEOF
23256 /* end confdefs.h. */
23257 $ac_includes_default
23258 #include <hash_map>
23259 _ACEOF
23260 rm -f conftest.$ac_objext
23261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23262 (eval $ac_compile) 2>conftest.er1
23263 ac_status=$?
23264 grep -v '^ *+' conftest.er1 >conftest.err
23265 rm -f conftest.er1
23266 cat conftest.err >&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } &&
23269 { ac_try='test -z "$ac_cxx_werror_flag"
23270 || test ! -s conftest.err'
23271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23272 (eval $ac_try) 2>&5
23273 ac_status=$?
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); }; } &&
23276 { ac_try='test -s conftest.$ac_objext'
23277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278 (eval $ac_try) 2>&5
23279 ac_status=$?
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); }; }; then
23282 ac_header_compiler=yes
23283 else
23284 echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.$ac_ext >&5
23286
23287 ac_header_compiler=no
23288 fi
23289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23291 echo "${ECHO_T}$ac_header_compiler" >&6
23292
23293 # Is the header present?
23294 echo "$as_me:$LINENO: checking hash_map presence" >&5
23295 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23296 cat >conftest.$ac_ext <<_ACEOF
23297 /* confdefs.h. */
23298 _ACEOF
23299 cat confdefs.h >>conftest.$ac_ext
23300 cat >>conftest.$ac_ext <<_ACEOF
23301 /* end confdefs.h. */
23302 #include <hash_map>
23303 _ACEOF
23304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23306 ac_status=$?
23307 grep -v '^ *+' conftest.er1 >conftest.err
23308 rm -f conftest.er1
23309 cat conftest.err >&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } >/dev/null; then
23312 if test -s conftest.err; then
23313 ac_cpp_err=$ac_cxx_preproc_warn_flag
23314 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23315 else
23316 ac_cpp_err=
23317 fi
23318 else
23319 ac_cpp_err=yes
23320 fi
23321 if test -z "$ac_cpp_err"; then
23322 ac_header_preproc=yes
23323 else
23324 echo "$as_me: failed program was:" >&5
23325 sed 's/^/| /' conftest.$ac_ext >&5
23326
23327 ac_header_preproc=no
23328 fi
23329 rm -f conftest.err conftest.$ac_ext
23330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23331 echo "${ECHO_T}$ac_header_preproc" >&6
23332
23333 # So? What about this header?
23334 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23335 yes:no: )
23336 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23337 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23338 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23339 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23340 ac_header_preproc=yes
23341 ;;
23342 no:yes:* )
23343 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23344 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23345 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23346 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23347 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23348 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23349 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23350 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23351 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23352 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23353 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23354 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23355 (
23356 cat <<\_ASBOX
23357 ## ----------------------------------------- ##
23358 ## Report this to wx-dev@lists.wxwidgets.org ##
23359 ## ----------------------------------------- ##
23360 _ASBOX
23361 ) |
23362 sed "s/^/$as_me: WARNING: /" >&2
23363 ;;
23364 esac
23365 echo "$as_me:$LINENO: checking for hash_map" >&5
23366 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23367 if test "${ac_cv_header_hash_map+set}" = set; then
23368 echo $ECHO_N "(cached) $ECHO_C" >&6
23369 else
23370 ac_cv_header_hash_map=$ac_header_preproc
23371 fi
23372 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23373 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23374
23375 fi
23376 if test $ac_cv_header_hash_map = yes; then
23377 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23378 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
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 <hash_map>
23386 #include <hash_set>
23387 int
23388 main ()
23389 {
23390 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23391 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23392 ;
23393 return 0;
23394 }
23395 _ACEOF
23396 rm -f conftest.$ac_objext
23397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23398 (eval $ac_compile) 2>conftest.er1
23399 ac_status=$?
23400 grep -v '^ *+' conftest.er1 >conftest.err
23401 rm -f conftest.er1
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } &&
23405 { ac_try='test -z "$ac_cxx_werror_flag"
23406 || test ! -s conftest.err'
23407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23408 (eval $ac_try) 2>&5
23409 ac_status=$?
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; } &&
23412 { ac_try='test -s conftest.$ac_objext'
23413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23414 (eval $ac_try) 2>&5
23415 ac_status=$?
23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417 (exit $ac_status); }; }; then
23418 echo "$as_me:$LINENO: result: yes" >&5
23419 echo "${ECHO_T}yes" >&6
23420 cat >>confdefs.h <<\_ACEOF
23421 #define HAVE_HASH_MAP 1
23422 _ACEOF
23423
23424 cat >>confdefs.h <<\_ACEOF
23425 #define HAVE_STD_HASH_MAP 1
23426 _ACEOF
23427
23428 else
23429 echo "$as_me: failed program was:" >&5
23430 sed 's/^/| /' conftest.$ac_ext >&5
23431
23432 echo "$as_me:$LINENO: result: no" >&5
23433 echo "${ECHO_T}no" >&6
23434 fi
23435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23436
23437 fi
23438
23439
23440
23441 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23442 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23443 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23444 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23445 echo $ECHO_N "(cached) $ECHO_C" >&6
23446 fi
23447 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23448 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23449 else
23450 # Is the header compilable?
23451 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23452 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23453 cat >conftest.$ac_ext <<_ACEOF
23454 /* confdefs.h. */
23455 _ACEOF
23456 cat confdefs.h >>conftest.$ac_ext
23457 cat >>conftest.$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23459 $ac_includes_default
23460 #include <ext/hash_map>
23461 _ACEOF
23462 rm -f conftest.$ac_objext
23463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23464 (eval $ac_compile) 2>conftest.er1
23465 ac_status=$?
23466 grep -v '^ *+' conftest.er1 >conftest.err
23467 rm -f conftest.er1
23468 cat conftest.err >&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); } &&
23471 { ac_try='test -z "$ac_cxx_werror_flag"
23472 || test ! -s conftest.err'
23473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23474 (eval $ac_try) 2>&5
23475 ac_status=$?
23476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23477 (exit $ac_status); }; } &&
23478 { ac_try='test -s conftest.$ac_objext'
23479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23480 (eval $ac_try) 2>&5
23481 ac_status=$?
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); }; }; then
23484 ac_header_compiler=yes
23485 else
23486 echo "$as_me: failed program was:" >&5
23487 sed 's/^/| /' conftest.$ac_ext >&5
23488
23489 ac_header_compiler=no
23490 fi
23491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23493 echo "${ECHO_T}$ac_header_compiler" >&6
23494
23495 # Is the header present?
23496 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23497 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23498 cat >conftest.$ac_ext <<_ACEOF
23499 /* confdefs.h. */
23500 _ACEOF
23501 cat confdefs.h >>conftest.$ac_ext
23502 cat >>conftest.$ac_ext <<_ACEOF
23503 /* end confdefs.h. */
23504 #include <ext/hash_map>
23505 _ACEOF
23506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23508 ac_status=$?
23509 grep -v '^ *+' conftest.er1 >conftest.err
23510 rm -f conftest.er1
23511 cat conftest.err >&5
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); } >/dev/null; then
23514 if test -s conftest.err; then
23515 ac_cpp_err=$ac_cxx_preproc_warn_flag
23516 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23517 else
23518 ac_cpp_err=
23519 fi
23520 else
23521 ac_cpp_err=yes
23522 fi
23523 if test -z "$ac_cpp_err"; then
23524 ac_header_preproc=yes
23525 else
23526 echo "$as_me: failed program was:" >&5
23527 sed 's/^/| /' conftest.$ac_ext >&5
23528
23529 ac_header_preproc=no
23530 fi
23531 rm -f conftest.err conftest.$ac_ext
23532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23533 echo "${ECHO_T}$ac_header_preproc" >&6
23534
23535 # So? What about this header?
23536 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23537 yes:no: )
23538 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23539 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23540 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23541 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23542 ac_header_preproc=yes
23543 ;;
23544 no:yes:* )
23545 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23546 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23547 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23548 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23549 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23550 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23551 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23552 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23553 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23554 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23555 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23556 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23557 (
23558 cat <<\_ASBOX
23559 ## ----------------------------------------- ##
23560 ## Report this to wx-dev@lists.wxwidgets.org ##
23561 ## ----------------------------------------- ##
23562 _ASBOX
23563 ) |
23564 sed "s/^/$as_me: WARNING: /" >&2
23565 ;;
23566 esac
23567 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23568 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23569 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23570 echo $ECHO_N "(cached) $ECHO_C" >&6
23571 else
23572 ac_cv_header_ext_hash_map=$ac_header_preproc
23573 fi
23574 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23575 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23576
23577 fi
23578 if test $ac_cv_header_ext_hash_map = yes; then
23579 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23580 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23581 cat >conftest.$ac_ext <<_ACEOF
23582 /* confdefs.h. */
23583 _ACEOF
23584 cat confdefs.h >>conftest.$ac_ext
23585 cat >>conftest.$ac_ext <<_ACEOF
23586 /* end confdefs.h. */
23587 #include <ext/hash_map>
23588 #include <ext/hash_set>
23589 int
23590 main ()
23591 {
23592 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23593 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23594 ;
23595 return 0;
23596 }
23597 _ACEOF
23598 rm -f conftest.$ac_objext
23599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23600 (eval $ac_compile) 2>conftest.er1
23601 ac_status=$?
23602 grep -v '^ *+' conftest.er1 >conftest.err
23603 rm -f conftest.er1
23604 cat conftest.err >&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); } &&
23607 { ac_try='test -z "$ac_cxx_werror_flag"
23608 || test ! -s conftest.err'
23609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23610 (eval $ac_try) 2>&5
23611 ac_status=$?
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); }; } &&
23614 { ac_try='test -s conftest.$ac_objext'
23615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23616 (eval $ac_try) 2>&5
23617 ac_status=$?
23618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23619 (exit $ac_status); }; }; then
23620 echo "$as_me:$LINENO: result: yes" >&5
23621 echo "${ECHO_T}yes" >&6
23622 cat >>confdefs.h <<\_ACEOF
23623 #define HAVE_EXT_HASH_MAP 1
23624 _ACEOF
23625
23626 cat >>confdefs.h <<\_ACEOF
23627 #define HAVE_GNU_CXX_HASH_MAP 1
23628 _ACEOF
23629
23630 else
23631 echo "$as_me: failed program was:" >&5
23632 sed 's/^/| /' conftest.$ac_ext >&5
23633
23634 echo "$as_me:$LINENO: result: no" >&5
23635 echo "${ECHO_T}no" >&6
23636 fi
23637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23638
23639 fi
23640
23641
23642
23643 ac_ext=c
23644 ac_cpp='$CPP $CPPFLAGS'
23645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23648
23649 fi
23650
23651
23652 SEARCH_INCLUDE="\
23653 /usr/local/include \
23654 \
23655 /usr/Motif-2.1/include \
23656 /usr/Motif-1.2/include \
23657 /usr/include/Motif1.2 \
23658 \
23659 /usr/dt/include \
23660 /usr/openwin/include \
23661 \
23662 /usr/include/Xm \
23663 \
23664 /usr/X11R6/include \
23665 /usr/X11R6.4/include \
23666 /usr/X11R5/include \
23667 /usr/X11R4/include \
23668 \
23669 /usr/include/X11R6 \
23670 /usr/include/X11R5 \
23671 /usr/include/X11R4 \
23672 \
23673 /usr/local/X11R6/include \
23674 /usr/local/X11R5/include \
23675 /usr/local/X11R4/include \
23676 \
23677 /usr/local/include/X11R6 \
23678 /usr/local/include/X11R5 \
23679 /usr/local/include/X11R4 \
23680 \
23681 /usr/X11/include \
23682 /usr/include/X11 \
23683 /usr/local/X11/include \
23684 /usr/local/include/X11 \
23685 \
23686 /usr/XFree86/include/X11 \
23687 /usr/pkg/include \
23688 \
23689 /usr/openwin/share/include"
23690
23691 echo "$as_me:$LINENO: checking for libraries directory" >&5
23692 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23693
23694 case "${host}" in
23695 *-*-irix6* )
23696 if test "${wx_cv_std_libpath+set}" = set; then
23697 echo $ECHO_N "(cached) $ECHO_C" >&6
23698 else
23699
23700 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23701 for e in a so sl dylib dll.a; do
23702 libc="$d/libc.$e"
23703 if test -f $libc; then
23704 save_LIBS="$LIBS"
23705 LIBS="$libc"
23706 cat >conftest.$ac_ext <<_ACEOF
23707 int main() { return 0; }
23708 _ACEOF
23709 rm -f conftest.$ac_objext conftest$ac_exeext
23710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23711 (eval $ac_link) 2>conftest.er1
23712 ac_status=$?
23713 grep -v '^ *+' conftest.er1 >conftest.err
23714 rm -f conftest.er1
23715 cat conftest.err >&5
23716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717 (exit $ac_status); } &&
23718 { ac_try='test -z "$ac_c_werror_flag"
23719 || test ! -s conftest.err'
23720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23721 (eval $ac_try) 2>&5
23722 ac_status=$?
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); }; } &&
23725 { ac_try='test -s conftest$ac_exeext'
23726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23727 (eval $ac_try) 2>&5
23728 ac_status=$?
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); }; }; then
23731 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23732 else
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.$ac_ext >&5
23735
23736 fi
23737 rm -f conftest.err conftest.$ac_objext \
23738 conftest$ac_exeext conftest.$ac_ext
23739 LIBS="$save_LIBS"
23740 if test "x$wx_cv_std_libpath" != "x"; then
23741 break 2
23742 fi
23743 fi
23744 done
23745 done
23746 if test "x$wx_cv_std_libpath" = "x"; then
23747 wx_cv_std_libpath="lib"
23748 fi
23749
23750
23751 fi
23752
23753 ;;
23754
23755 *-*-solaris2* )
23756 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23757 wx_cv_std_libpath="lib/64"
23758 else
23759 wx_cv_std_libpath="lib"
23760 fi
23761 ;;
23762
23763 *-*-linux* )
23764 if test "$ac_cv_sizeof_void_p" = 8 -a \
23765 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23766 wx_cv_std_libpath="lib64"
23767 else
23768 wx_cv_std_libpath="lib"
23769 fi
23770 ;;
23771
23772 *)
23773 wx_cv_std_libpath="lib";
23774 ;;
23775 esac
23776
23777 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23778 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23779
23780 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23781
23782 if test "$build" != "$host" -a "$GCC" = yes; then
23783 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
23784 cross_root=`dirname $cross_root`
23785 cross_root=`dirname $cross_root`
23786
23787 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23788 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23789 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
23790
23791 if test -z "$PKG_CONFIG_PATH"; then
23792 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23793 export PKG_CONFIG_PATH
23794 fi
23795
23796 if test -z "$x_includes" -o "$x_includes" = NONE; then
23797
23798 ac_find_includes=
23799 for ac_dir in $SEARCH_INCLUDE /usr/include;
23800 do
23801 if test -f "$ac_dir/X11/Intrinsic.h"; then
23802 ac_find_includes=$ac_dir
23803 break
23804 fi
23805 done
23806
23807 x_includes=$ac_find_includes
23808 fi
23809 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
23810
23811 ac_find_libraries=
23812 for ac_dir in $SEARCH_LIB;
23813 do
23814 for ac_extension in a so sl dylib dll.a; do
23815 if test -f "$ac_dir/libXt.$ac_extension"; then
23816 ac_find_libraries=$ac_dir
23817 break 2
23818 fi
23819 done
23820 done
23821
23822 x_libraries=$ac_find_libraries
23823 fi
23824 fi
23825 fi
23826
23827
23828 cat >confcache <<\_ACEOF
23829 # This file is a shell script that caches the results of configure
23830 # tests run on this system so they can be shared between configure
23831 # scripts and configure runs, see configure's option --config-cache.
23832 # It is not useful on other systems. If it contains results you don't
23833 # want to keep, you may remove or edit it.
23834 #
23835 # config.status only pays attention to the cache file if you give it
23836 # the --recheck option to rerun configure.
23837 #
23838 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23839 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23840 # following values.
23841
23842 _ACEOF
23843
23844 # The following way of writing the cache mishandles newlines in values,
23845 # but we know of no workaround that is simple, portable, and efficient.
23846 # So, don't put newlines in cache variables' values.
23847 # Ultrix sh set writes to stderr and can't be redirected directly,
23848 # and sets the high bit in the cache file unless we assign to the vars.
23849 {
23850 (set) 2>&1 |
23851 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23852 *ac_space=\ *)
23853 # `set' does not quote correctly, so add quotes (double-quote
23854 # substitution turns \\\\ into \\, and sed turns \\ into \).
23855 sed -n \
23856 "s/'/'\\\\''/g;
23857 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23858 ;;
23859 *)
23860 # `set' quotes correctly as required by POSIX, so do not add quotes.
23861 sed -n \
23862 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23863 ;;
23864 esac;
23865 } |
23866 sed '
23867 t clear
23868 : clear
23869 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23870 t end
23871 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23872 : end' >>confcache
23873 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23874 if test -w $cache_file; then
23875 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23876 cat confcache >$cache_file
23877 else
23878 echo "not updating unwritable cache $cache_file"
23879 fi
23880 fi
23881 rm -f confcache
23882
23883 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23884 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23885 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23886 if test "${wx_cv_lib_glibc21+set}" = set; then
23887 echo $ECHO_N "(cached) $ECHO_C" >&6
23888 else
23889
23890 cat >conftest.$ac_ext <<_ACEOF
23891 /* confdefs.h. */
23892 _ACEOF
23893 cat confdefs.h >>conftest.$ac_ext
23894 cat >>conftest.$ac_ext <<_ACEOF
23895 /* end confdefs.h. */
23896 #include <features.h>
23897 int
23898 main ()
23899 {
23900
23901 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23902 not glibc 2.1
23903 #endif
23904
23905 ;
23906 return 0;
23907 }
23908 _ACEOF
23909 rm -f conftest.$ac_objext
23910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23911 (eval $ac_compile) 2>conftest.er1
23912 ac_status=$?
23913 grep -v '^ *+' conftest.er1 >conftest.err
23914 rm -f conftest.er1
23915 cat conftest.err >&5
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); } &&
23918 { ac_try='test -z "$ac_c_werror_flag"
23919 || test ! -s conftest.err'
23920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23921 (eval $ac_try) 2>&5
23922 ac_status=$?
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); }; } &&
23925 { ac_try='test -s conftest.$ac_objext'
23926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23927 (eval $ac_try) 2>&5
23928 ac_status=$?
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); }; }; then
23931
23932 wx_cv_lib_glibc21=yes
23933
23934 else
23935 echo "$as_me: failed program was:" >&5
23936 sed 's/^/| /' conftest.$ac_ext >&5
23937
23938
23939 wx_cv_lib_glibc21=no
23940
23941
23942 fi
23943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23944
23945 fi
23946 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23947 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23948 if test "$wx_cv_lib_glibc21" = "yes"; then
23949 cat >>confdefs.h <<\_ACEOF
23950 #define wxHAVE_GLIBC2 1
23951 _ACEOF
23952
23953 fi
23954 fi
23955
23956 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23957 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23958 cat >>confdefs.h <<\_ACEOF
23959 #define _GNU_SOURCE 1
23960 _ACEOF
23961
23962 fi
23963 fi
23964
23965
23966
23967 if test "$wxUSE_REGEX" != "no"; then
23968 cat >>confdefs.h <<\_ACEOF
23969 #define wxUSE_REGEX 1
23970 _ACEOF
23971
23972
23973 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23974 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23975 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23976 wxUSE_REGEX=builtin
23977 fi
23978
23979 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23980 if test "${ac_cv_header_regex_h+set}" = set; then
23981 echo "$as_me:$LINENO: checking for regex.h" >&5
23982 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23983 if test "${ac_cv_header_regex_h+set}" = set; then
23984 echo $ECHO_N "(cached) $ECHO_C" >&6
23985 fi
23986 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23987 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23988 else
23989 # Is the header compilable?
23990 echo "$as_me:$LINENO: checking regex.h usability" >&5
23991 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23992 cat >conftest.$ac_ext <<_ACEOF
23993 /* confdefs.h. */
23994 _ACEOF
23995 cat confdefs.h >>conftest.$ac_ext
23996 cat >>conftest.$ac_ext <<_ACEOF
23997 /* end confdefs.h. */
23998 $ac_includes_default
23999 #include <regex.h>
24000 _ACEOF
24001 rm -f conftest.$ac_objext
24002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24003 (eval $ac_compile) 2>conftest.er1
24004 ac_status=$?
24005 grep -v '^ *+' conftest.er1 >conftest.err
24006 rm -f conftest.er1
24007 cat conftest.err >&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); } &&
24010 { ac_try='test -z "$ac_c_werror_flag"
24011 || test ! -s conftest.err'
24012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24013 (eval $ac_try) 2>&5
24014 ac_status=$?
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); }; } &&
24017 { ac_try='test -s conftest.$ac_objext'
24018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24019 (eval $ac_try) 2>&5
24020 ac_status=$?
24021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24022 (exit $ac_status); }; }; then
24023 ac_header_compiler=yes
24024 else
24025 echo "$as_me: failed program was:" >&5
24026 sed 's/^/| /' conftest.$ac_ext >&5
24027
24028 ac_header_compiler=no
24029 fi
24030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24032 echo "${ECHO_T}$ac_header_compiler" >&6
24033
24034 # Is the header present?
24035 echo "$as_me:$LINENO: checking regex.h presence" >&5
24036 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24037 cat >conftest.$ac_ext <<_ACEOF
24038 /* confdefs.h. */
24039 _ACEOF
24040 cat confdefs.h >>conftest.$ac_ext
24041 cat >>conftest.$ac_ext <<_ACEOF
24042 /* end confdefs.h. */
24043 #include <regex.h>
24044 _ACEOF
24045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24046 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24047 ac_status=$?
24048 grep -v '^ *+' conftest.er1 >conftest.err
24049 rm -f conftest.er1
24050 cat conftest.err >&5
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); } >/dev/null; then
24053 if test -s conftest.err; then
24054 ac_cpp_err=$ac_c_preproc_warn_flag
24055 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24056 else
24057 ac_cpp_err=
24058 fi
24059 else
24060 ac_cpp_err=yes
24061 fi
24062 if test -z "$ac_cpp_err"; then
24063 ac_header_preproc=yes
24064 else
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.$ac_ext >&5
24067
24068 ac_header_preproc=no
24069 fi
24070 rm -f conftest.err conftest.$ac_ext
24071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24072 echo "${ECHO_T}$ac_header_preproc" >&6
24073
24074 # So? What about this header?
24075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24076 yes:no: )
24077 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24078 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24079 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24080 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24081 ac_header_preproc=yes
24082 ;;
24083 no:yes:* )
24084 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24085 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24086 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24087 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24088 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24089 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24090 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24091 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24092 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24093 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24094 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24095 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24096 (
24097 cat <<\_ASBOX
24098 ## ----------------------------------------- ##
24099 ## Report this to wx-dev@lists.wxwidgets.org ##
24100 ## ----------------------------------------- ##
24101 _ASBOX
24102 ) |
24103 sed "s/^/$as_me: WARNING: /" >&2
24104 ;;
24105 esac
24106 echo "$as_me:$LINENO: checking for regex.h" >&5
24107 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24108 if test "${ac_cv_header_regex_h+set}" = set; then
24109 echo $ECHO_N "(cached) $ECHO_C" >&6
24110 else
24111 ac_cv_header_regex_h=$ac_header_preproc
24112 fi
24113 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24114 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24115
24116 fi
24117 if test $ac_cv_header_regex_h = yes; then
24118
24119
24120 for ac_func in regcomp re_search
24121 do
24122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24123 echo "$as_me:$LINENO: checking for $ac_func" >&5
24124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24125 if eval "test \"\${$as_ac_var+set}\" = set"; then
24126 echo $ECHO_N "(cached) $ECHO_C" >&6
24127 else
24128 cat >conftest.$ac_ext <<_ACEOF
24129 /* confdefs.h. */
24130 _ACEOF
24131 cat confdefs.h >>conftest.$ac_ext
24132 cat >>conftest.$ac_ext <<_ACEOF
24133 /* end confdefs.h. */
24134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24136 #define $ac_func innocuous_$ac_func
24137
24138 /* System header to define __stub macros and hopefully few prototypes,
24139 which can conflict with char $ac_func (); below.
24140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24141 <limits.h> exists even on freestanding compilers. */
24142
24143 #ifdef __STDC__
24144 # include <limits.h>
24145 #else
24146 # include <assert.h>
24147 #endif
24148
24149 #undef $ac_func
24150
24151 /* Override any gcc2 internal prototype to avoid an error. */
24152 #ifdef __cplusplus
24153 extern "C"
24154 {
24155 #endif
24156 /* We use char because int might match the return type of a gcc2
24157 builtin and then its argument prototype would still apply. */
24158 char $ac_func ();
24159 /* The GNU C library defines this for functions which it implements
24160 to always fail with ENOSYS. Some functions are actually named
24161 something starting with __ and the normal name is an alias. */
24162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24163 choke me
24164 #else
24165 char (*f) () = $ac_func;
24166 #endif
24167 #ifdef __cplusplus
24168 }
24169 #endif
24170
24171 int
24172 main ()
24173 {
24174 return f != $ac_func;
24175 ;
24176 return 0;
24177 }
24178 _ACEOF
24179 rm -f conftest.$ac_objext conftest$ac_exeext
24180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24181 (eval $ac_link) 2>conftest.er1
24182 ac_status=$?
24183 grep -v '^ *+' conftest.er1 >conftest.err
24184 rm -f conftest.er1
24185 cat conftest.err >&5
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); } &&
24188 { ac_try='test -z "$ac_c_werror_flag"
24189 || test ! -s conftest.err'
24190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24191 (eval $ac_try) 2>&5
24192 ac_status=$?
24193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24194 (exit $ac_status); }; } &&
24195 { ac_try='test -s conftest$ac_exeext'
24196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24197 (eval $ac_try) 2>&5
24198 ac_status=$?
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); }; }; then
24201 eval "$as_ac_var=yes"
24202 else
24203 echo "$as_me: failed program was:" >&5
24204 sed 's/^/| /' conftest.$ac_ext >&5
24205
24206 eval "$as_ac_var=no"
24207 fi
24208 rm -f conftest.err conftest.$ac_objext \
24209 conftest$ac_exeext conftest.$ac_ext
24210 fi
24211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24213 if test `eval echo '${'$as_ac_var'}'` = yes; then
24214 cat >>confdefs.h <<_ACEOF
24215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24216 _ACEOF
24217
24218 fi
24219 done
24220
24221 fi
24222
24223
24224
24225 if test "x$ac_cv_func_regcomp" != "xyes"; then
24226 if test "$wxUSE_REGEX" = "sys" ; then
24227 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24228 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24229 { (exit 1); exit 1; }; }
24230 else
24231 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24232 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24233 wxUSE_REGEX=builtin
24234 fi
24235 else
24236 wxUSE_REGEX=sys
24237 cat >>confdefs.h <<\_ACEOF
24238 #define WX_NO_REGEX_ADVANCED 1
24239 _ACEOF
24240
24241 fi
24242 fi
24243 fi
24244
24245
24246 ZLIB_LINK=
24247 if test "$wxUSE_ZLIB" != "no" ; then
24248 cat >>confdefs.h <<\_ACEOF
24249 #define wxUSE_ZLIB 1
24250 _ACEOF
24251
24252
24253 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24254 if test "$USE_DARWIN" = 1; then
24255 system_zlib_h_ok="yes"
24256 else
24257 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24258 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24259 if test "${ac_cv_header_zlib_h+set}" = set; then
24260 echo $ECHO_N "(cached) $ECHO_C" >&6
24261 else
24262 if test "$cross_compiling" = yes; then
24263 unset ac_cv_header_zlib_h
24264
24265 else
24266 cat >conftest.$ac_ext <<_ACEOF
24267 /* confdefs.h. */
24268 _ACEOF
24269 cat confdefs.h >>conftest.$ac_ext
24270 cat >>conftest.$ac_ext <<_ACEOF
24271 /* end confdefs.h. */
24272
24273 #include <zlib.h>
24274 #include <stdio.h>
24275
24276 int main()
24277 {
24278 FILE *f=fopen("conftestval", "w");
24279 if (!f) exit(1);
24280 fprintf(f, "%s",
24281 ZLIB_VERSION[0] == '1' &&
24282 (ZLIB_VERSION[2] > '1' ||
24283 (ZLIB_VERSION[2] == '1' &&
24284 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24285 exit(0);
24286 }
24287
24288 _ACEOF
24289 rm -f conftest$ac_exeext
24290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24291 (eval $ac_link) 2>&5
24292 ac_status=$?
24293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24296 (eval $ac_try) 2>&5
24297 ac_status=$?
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); }; }; then
24300 ac_cv_header_zlib_h=`cat conftestval`
24301 else
24302 echo "$as_me: program exited with status $ac_status" >&5
24303 echo "$as_me: failed program was:" >&5
24304 sed 's/^/| /' conftest.$ac_ext >&5
24305
24306 ( exit $ac_status )
24307 ac_cv_header_zlib_h=no
24308 fi
24309 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24310 fi
24311
24312 fi
24313 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24314 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24315 if test "${ac_cv_header_zlib_h+set}" = set; then
24316 echo "$as_me:$LINENO: checking for zlib.h" >&5
24317 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24318 if test "${ac_cv_header_zlib_h+set}" = set; then
24319 echo $ECHO_N "(cached) $ECHO_C" >&6
24320 fi
24321 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24322 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24323 else
24324 # Is the header compilable?
24325 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24326 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24327 cat >conftest.$ac_ext <<_ACEOF
24328 /* confdefs.h. */
24329 _ACEOF
24330 cat confdefs.h >>conftest.$ac_ext
24331 cat >>conftest.$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24333 $ac_includes_default
24334 #include <zlib.h>
24335 _ACEOF
24336 rm -f conftest.$ac_objext
24337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24338 (eval $ac_compile) 2>conftest.er1
24339 ac_status=$?
24340 grep -v '^ *+' conftest.er1 >conftest.err
24341 rm -f conftest.er1
24342 cat conftest.err >&5
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); } &&
24345 { ac_try='test -z "$ac_c_werror_flag"
24346 || test ! -s conftest.err'
24347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24348 (eval $ac_try) 2>&5
24349 ac_status=$?
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); }; } &&
24352 { ac_try='test -s conftest.$ac_objext'
24353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354 (eval $ac_try) 2>&5
24355 ac_status=$?
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); }; }; then
24358 ac_header_compiler=yes
24359 else
24360 echo "$as_me: failed program was:" >&5
24361 sed 's/^/| /' conftest.$ac_ext >&5
24362
24363 ac_header_compiler=no
24364 fi
24365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24367 echo "${ECHO_T}$ac_header_compiler" >&6
24368
24369 # Is the header present?
24370 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24371 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24372 cat >conftest.$ac_ext <<_ACEOF
24373 /* confdefs.h. */
24374 _ACEOF
24375 cat confdefs.h >>conftest.$ac_ext
24376 cat >>conftest.$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24378 #include <zlib.h>
24379 _ACEOF
24380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24382 ac_status=$?
24383 grep -v '^ *+' conftest.er1 >conftest.err
24384 rm -f conftest.er1
24385 cat conftest.err >&5
24386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387 (exit $ac_status); } >/dev/null; then
24388 if test -s conftest.err; then
24389 ac_cpp_err=$ac_c_preproc_warn_flag
24390 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24391 else
24392 ac_cpp_err=
24393 fi
24394 else
24395 ac_cpp_err=yes
24396 fi
24397 if test -z "$ac_cpp_err"; then
24398 ac_header_preproc=yes
24399 else
24400 echo "$as_me: failed program was:" >&5
24401 sed 's/^/| /' conftest.$ac_ext >&5
24402
24403 ac_header_preproc=no
24404 fi
24405 rm -f conftest.err conftest.$ac_ext
24406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24407 echo "${ECHO_T}$ac_header_preproc" >&6
24408
24409 # So? What about this header?
24410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24411 yes:no: )
24412 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24413 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24414 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24415 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24416 ac_header_preproc=yes
24417 ;;
24418 no:yes:* )
24419 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24420 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24421 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24422 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24423 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24424 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24425 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24426 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24427 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24428 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24429 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24430 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24431 (
24432 cat <<\_ASBOX
24433 ## ----------------------------------------- ##
24434 ## Report this to wx-dev@lists.wxwidgets.org ##
24435 ## ----------------------------------------- ##
24436 _ASBOX
24437 ) |
24438 sed "s/^/$as_me: WARNING: /" >&2
24439 ;;
24440 esac
24441 echo "$as_me:$LINENO: checking for zlib.h" >&5
24442 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24443 if test "${ac_cv_header_zlib_h+set}" = set; then
24444 echo $ECHO_N "(cached) $ECHO_C" >&6
24445 else
24446 ac_cv_header_zlib_h=$ac_header_preproc
24447 fi
24448 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24449 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24450
24451 fi
24452
24453
24454
24455 system_zlib_h_ok=$ac_cv_header_zlib_h
24456 fi
24457
24458 if test "$system_zlib_h_ok" = "yes"; then
24459 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24460 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24461 if test "${ac_cv_lib_z_deflate+set}" = set; then
24462 echo $ECHO_N "(cached) $ECHO_C" >&6
24463 else
24464 ac_check_lib_save_LIBS=$LIBS
24465 LIBS="-lz $LIBS"
24466 cat >conftest.$ac_ext <<_ACEOF
24467 /* confdefs.h. */
24468 _ACEOF
24469 cat confdefs.h >>conftest.$ac_ext
24470 cat >>conftest.$ac_ext <<_ACEOF
24471 /* end confdefs.h. */
24472
24473 /* Override any gcc2 internal prototype to avoid an error. */
24474 #ifdef __cplusplus
24475 extern "C"
24476 #endif
24477 /* We use char because int might match the return type of a gcc2
24478 builtin and then its argument prototype would still apply. */
24479 char deflate ();
24480 int
24481 main ()
24482 {
24483 deflate ();
24484 ;
24485 return 0;
24486 }
24487 _ACEOF
24488 rm -f conftest.$ac_objext conftest$ac_exeext
24489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24490 (eval $ac_link) 2>conftest.er1
24491 ac_status=$?
24492 grep -v '^ *+' conftest.er1 >conftest.err
24493 rm -f conftest.er1
24494 cat conftest.err >&5
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); } &&
24497 { ac_try='test -z "$ac_c_werror_flag"
24498 || test ! -s conftest.err'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24501 ac_status=$?
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; } &&
24504 { ac_try='test -s conftest$ac_exeext'
24505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24506 (eval $ac_try) 2>&5
24507 ac_status=$?
24508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24509 (exit $ac_status); }; }; then
24510 ac_cv_lib_z_deflate=yes
24511 else
24512 echo "$as_me: failed program was:" >&5
24513 sed 's/^/| /' conftest.$ac_ext >&5
24514
24515 ac_cv_lib_z_deflate=no
24516 fi
24517 rm -f conftest.err conftest.$ac_objext \
24518 conftest$ac_exeext conftest.$ac_ext
24519 LIBS=$ac_check_lib_save_LIBS
24520 fi
24521 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24522 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24523 if test $ac_cv_lib_z_deflate = yes; then
24524 ZLIB_LINK=" -lz"
24525 fi
24526
24527 fi
24528
24529 if test "x$ZLIB_LINK" = "x" ; then
24530 if test "$wxUSE_ZLIB" = "sys" ; then
24531 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24532 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24533 { (exit 1); exit 1; }; }
24534 else
24535 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24536 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24537 wxUSE_ZLIB=builtin
24538 fi
24539 else
24540 wxUSE_ZLIB=sys
24541 fi
24542 fi
24543 fi
24544
24545
24546 PNG_LINK=
24547 if test "$wxUSE_LIBPNG" != "no" ; then
24548 cat >>confdefs.h <<\_ACEOF
24549 #define wxUSE_LIBPNG 1
24550 _ACEOF
24551
24552
24553 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24554 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24555 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24556 wxUSE_LIBPNG=sys
24557 fi
24558
24559 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24560 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24561 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24562 wxUSE_LIBPNG=builtin
24563 fi
24564
24565 if test "$wxUSE_MGL" != 1 ; then
24566 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24567 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24568 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24569 if test "${ac_cv_header_png_h+set}" = set; then
24570 echo $ECHO_N "(cached) $ECHO_C" >&6
24571 else
24572 if test "$cross_compiling" = yes; then
24573 unset ac_cv_header_png_h
24574
24575 else
24576 cat >conftest.$ac_ext <<_ACEOF
24577 /* confdefs.h. */
24578 _ACEOF
24579 cat confdefs.h >>conftest.$ac_ext
24580 cat >>conftest.$ac_ext <<_ACEOF
24581 /* end confdefs.h. */
24582
24583 #include <png.h>
24584 #include <stdio.h>
24585
24586 int main()
24587 {
24588 FILE *f=fopen("conftestval", "w");
24589 if (!f) exit(1);
24590 fprintf(f, "%s",
24591 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24592 exit(0);
24593 }
24594
24595 _ACEOF
24596 rm -f conftest$ac_exeext
24597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24598 (eval $ac_link) 2>&5
24599 ac_status=$?
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24603 (eval $ac_try) 2>&5
24604 ac_status=$?
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); }; }; then
24607 ac_cv_header_png_h=`cat conftestval`
24608 else
24609 echo "$as_me: program exited with status $ac_status" >&5
24610 echo "$as_me: failed program was:" >&5
24611 sed 's/^/| /' conftest.$ac_ext >&5
24612
24613 ( exit $ac_status )
24614 ac_cv_header_png_h=no
24615 fi
24616 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24617 fi
24618
24619 fi
24620 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24621 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24622 if test "${ac_cv_header_png_h+set}" = set; then
24623 echo "$as_me:$LINENO: checking for png.h" >&5
24624 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24625 if test "${ac_cv_header_png_h+set}" = set; then
24626 echo $ECHO_N "(cached) $ECHO_C" >&6
24627 fi
24628 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24629 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24630 else
24631 # Is the header compilable?
24632 echo "$as_me:$LINENO: checking png.h usability" >&5
24633 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24634 cat >conftest.$ac_ext <<_ACEOF
24635 /* confdefs.h. */
24636 _ACEOF
24637 cat confdefs.h >>conftest.$ac_ext
24638 cat >>conftest.$ac_ext <<_ACEOF
24639 /* end confdefs.h. */
24640 $ac_includes_default
24641 #include <png.h>
24642 _ACEOF
24643 rm -f conftest.$ac_objext
24644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24645 (eval $ac_compile) 2>conftest.er1
24646 ac_status=$?
24647 grep -v '^ *+' conftest.er1 >conftest.err
24648 rm -f conftest.er1
24649 cat conftest.err >&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } &&
24652 { ac_try='test -z "$ac_c_werror_flag"
24653 || test ! -s conftest.err'
24654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24655 (eval $ac_try) 2>&5
24656 ac_status=$?
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); }; } &&
24659 { ac_try='test -s conftest.$ac_objext'
24660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24661 (eval $ac_try) 2>&5
24662 ac_status=$?
24663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24664 (exit $ac_status); }; }; then
24665 ac_header_compiler=yes
24666 else
24667 echo "$as_me: failed program was:" >&5
24668 sed 's/^/| /' conftest.$ac_ext >&5
24669
24670 ac_header_compiler=no
24671 fi
24672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24674 echo "${ECHO_T}$ac_header_compiler" >&6
24675
24676 # Is the header present?
24677 echo "$as_me:$LINENO: checking png.h presence" >&5
24678 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24679 cat >conftest.$ac_ext <<_ACEOF
24680 /* confdefs.h. */
24681 _ACEOF
24682 cat confdefs.h >>conftest.$ac_ext
24683 cat >>conftest.$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685 #include <png.h>
24686 _ACEOF
24687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24689 ac_status=$?
24690 grep -v '^ *+' conftest.er1 >conftest.err
24691 rm -f conftest.er1
24692 cat conftest.err >&5
24693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24694 (exit $ac_status); } >/dev/null; then
24695 if test -s conftest.err; then
24696 ac_cpp_err=$ac_c_preproc_warn_flag
24697 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24698 else
24699 ac_cpp_err=
24700 fi
24701 else
24702 ac_cpp_err=yes
24703 fi
24704 if test -z "$ac_cpp_err"; then
24705 ac_header_preproc=yes
24706 else
24707 echo "$as_me: failed program was:" >&5
24708 sed 's/^/| /' conftest.$ac_ext >&5
24709
24710 ac_header_preproc=no
24711 fi
24712 rm -f conftest.err conftest.$ac_ext
24713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24714 echo "${ECHO_T}$ac_header_preproc" >&6
24715
24716 # So? What about this header?
24717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24718 yes:no: )
24719 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24720 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24721 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24722 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24723 ac_header_preproc=yes
24724 ;;
24725 no:yes:* )
24726 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24727 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24728 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24729 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24730 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24731 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24732 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24733 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24734 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24735 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24736 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24737 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24738 (
24739 cat <<\_ASBOX
24740 ## ----------------------------------------- ##
24741 ## Report this to wx-dev@lists.wxwidgets.org ##
24742 ## ----------------------------------------- ##
24743 _ASBOX
24744 ) |
24745 sed "s/^/$as_me: WARNING: /" >&2
24746 ;;
24747 esac
24748 echo "$as_me:$LINENO: checking for png.h" >&5
24749 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24750 if test "${ac_cv_header_png_h+set}" = set; then
24751 echo $ECHO_N "(cached) $ECHO_C" >&6
24752 else
24753 ac_cv_header_png_h=$ac_header_preproc
24754 fi
24755 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24756 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24757
24758 fi
24759
24760
24761
24762 if test "$ac_cv_header_png_h" = "yes"; then
24763 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24764 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24765 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24766 echo $ECHO_N "(cached) $ECHO_C" >&6
24767 else
24768 ac_check_lib_save_LIBS=$LIBS
24769 LIBS="-lpng -lz -lm $LIBS"
24770 cat >conftest.$ac_ext <<_ACEOF
24771 /* confdefs.h. */
24772 _ACEOF
24773 cat confdefs.h >>conftest.$ac_ext
24774 cat >>conftest.$ac_ext <<_ACEOF
24775 /* end confdefs.h. */
24776
24777 /* Override any gcc2 internal prototype to avoid an error. */
24778 #ifdef __cplusplus
24779 extern "C"
24780 #endif
24781 /* We use char because int might match the return type of a gcc2
24782 builtin and then its argument prototype would still apply. */
24783 char png_check_sig ();
24784 int
24785 main ()
24786 {
24787 png_check_sig ();
24788 ;
24789 return 0;
24790 }
24791 _ACEOF
24792 rm -f conftest.$ac_objext conftest$ac_exeext
24793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24794 (eval $ac_link) 2>conftest.er1
24795 ac_status=$?
24796 grep -v '^ *+' conftest.er1 >conftest.err
24797 rm -f conftest.er1
24798 cat conftest.err >&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); } &&
24801 { ac_try='test -z "$ac_c_werror_flag"
24802 || test ! -s conftest.err'
24803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24804 (eval $ac_try) 2>&5
24805 ac_status=$?
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); }; } &&
24808 { ac_try='test -s conftest$ac_exeext'
24809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24810 (eval $ac_try) 2>&5
24811 ac_status=$?
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); }; }; then
24814 ac_cv_lib_png_png_check_sig=yes
24815 else
24816 echo "$as_me: failed program was:" >&5
24817 sed 's/^/| /' conftest.$ac_ext >&5
24818
24819 ac_cv_lib_png_png_check_sig=no
24820 fi
24821 rm -f conftest.err conftest.$ac_objext \
24822 conftest$ac_exeext conftest.$ac_ext
24823 LIBS=$ac_check_lib_save_LIBS
24824 fi
24825 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24826 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24827 if test $ac_cv_lib_png_png_check_sig = yes; then
24828 PNG_LINK=" -lpng -lz"
24829 fi
24830
24831 fi
24832
24833 if test "x$PNG_LINK" = "x" ; then
24834 if test "$wxUSE_LIBPNG" = "sys" ; then
24835 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24836 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24837 { (exit 1); exit 1; }; }
24838 else
24839 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24840 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24841 wxUSE_LIBPNG=builtin
24842 fi
24843 else
24844 wxUSE_LIBPNG=sys
24845 fi
24846 fi
24847 fi
24848
24849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
24850 fi
24851
24852
24853 JPEG_LINK=
24854 if test "$wxUSE_LIBJPEG" != "no" ; then
24855 cat >>confdefs.h <<\_ACEOF
24856 #define wxUSE_LIBJPEG 1
24857 _ACEOF
24858
24859
24860 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24861 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24862 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24863 wxUSE_LIBJPEG=sys
24864 fi
24865
24866 if test "$wxUSE_MGL" != 1 ; then
24867 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24868 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24869 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24870 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24872 else
24873 cat >conftest.$ac_ext <<_ACEOF
24874 /* confdefs.h. */
24875 _ACEOF
24876 cat confdefs.h >>conftest.$ac_ext
24877 cat >>conftest.$ac_ext <<_ACEOF
24878 /* end confdefs.h. */
24879
24880 #undef HAVE_STDLIB_H
24881 #include <stdio.h>
24882 #include <jpeglib.h>
24883
24884 int
24885 main ()
24886 {
24887
24888
24889 ;
24890 return 0;
24891 }
24892 _ACEOF
24893 rm -f conftest.$ac_objext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24895 (eval $ac_compile) 2>conftest.er1
24896 ac_status=$?
24897 grep -v '^ *+' conftest.er1 >conftest.err
24898 rm -f conftest.er1
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try='test -z "$ac_c_werror_flag"
24903 || test ! -s conftest.err'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24906 ac_status=$?
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; } &&
24909 { ac_try='test -s conftest.$ac_objext'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24912 ac_status=$?
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; }; then
24915 ac_cv_header_jpeglib_h=yes
24916 else
24917 echo "$as_me: failed program was:" >&5
24918 sed 's/^/| /' conftest.$ac_ext >&5
24919
24920 ac_cv_header_jpeglib_h=no
24921
24922 fi
24923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24924
24925 fi
24926
24927 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24928 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24929
24930 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24931 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24932 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24933 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24934 echo $ECHO_N "(cached) $ECHO_C" >&6
24935 else
24936 ac_check_lib_save_LIBS=$LIBS
24937 LIBS="-ljpeg $LIBS"
24938 cat >conftest.$ac_ext <<_ACEOF
24939 /* confdefs.h. */
24940 _ACEOF
24941 cat confdefs.h >>conftest.$ac_ext
24942 cat >>conftest.$ac_ext <<_ACEOF
24943 /* end confdefs.h. */
24944
24945 /* Override any gcc2 internal prototype to avoid an error. */
24946 #ifdef __cplusplus
24947 extern "C"
24948 #endif
24949 /* We use char because int might match the return type of a gcc2
24950 builtin and then its argument prototype would still apply. */
24951 char jpeg_read_header ();
24952 int
24953 main ()
24954 {
24955 jpeg_read_header ();
24956 ;
24957 return 0;
24958 }
24959 _ACEOF
24960 rm -f conftest.$ac_objext conftest$ac_exeext
24961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24962 (eval $ac_link) 2>conftest.er1
24963 ac_status=$?
24964 grep -v '^ *+' conftest.er1 >conftest.err
24965 rm -f conftest.er1
24966 cat conftest.err >&5
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); } &&
24969 { ac_try='test -z "$ac_c_werror_flag"
24970 || test ! -s conftest.err'
24971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24972 (eval $ac_try) 2>&5
24973 ac_status=$?
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); }; } &&
24976 { ac_try='test -s conftest$ac_exeext'
24977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24978 (eval $ac_try) 2>&5
24979 ac_status=$?
24980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24981 (exit $ac_status); }; }; then
24982 ac_cv_lib_jpeg_jpeg_read_header=yes
24983 else
24984 echo "$as_me: failed program was:" >&5
24985 sed 's/^/| /' conftest.$ac_ext >&5
24986
24987 ac_cv_lib_jpeg_jpeg_read_header=no
24988 fi
24989 rm -f conftest.err conftest.$ac_objext \
24990 conftest$ac_exeext conftest.$ac_ext
24991 LIBS=$ac_check_lib_save_LIBS
24992 fi
24993 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24994 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24995 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24996 JPEG_LINK=" -ljpeg"
24997 fi
24998
24999 fi
25000
25001 if test "x$JPEG_LINK" = "x" ; then
25002 if test "$wxUSE_LIBJPEG" = "sys" ; then
25003 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25004 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25005 { (exit 1); exit 1; }; }
25006 else
25007 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25008 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25009 wxUSE_LIBJPEG=builtin
25010 fi
25011 else
25012 wxUSE_LIBJPEG=sys
25013 fi
25014 fi
25015 fi
25016 fi
25017
25018
25019 TIFF_LINK=
25020 TIFF_PREREQ_LINKS=-lm
25021 if test "$wxUSE_LIBTIFF" != "no" ; then
25022 cat >>confdefs.h <<\_ACEOF
25023 #define wxUSE_LIBTIFF 1
25024 _ACEOF
25025
25026
25027 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25028 if test "$wxUSE_LIBJPEG" = "sys"; then
25029 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
25030 fi
25031 if test "$wxUSE_ZLIB" = "sys"; then
25032 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25033 fi
25034 if test "${ac_cv_header_tiffio_h+set}" = set; then
25035 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25036 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25037 if test "${ac_cv_header_tiffio_h+set}" = set; then
25038 echo $ECHO_N "(cached) $ECHO_C" >&6
25039 fi
25040 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25041 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25042 else
25043 # Is the header compilable?
25044 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25045 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25046 cat >conftest.$ac_ext <<_ACEOF
25047 /* confdefs.h. */
25048 _ACEOF
25049 cat confdefs.h >>conftest.$ac_ext
25050 cat >>conftest.$ac_ext <<_ACEOF
25051 /* end confdefs.h. */
25052 $ac_includes_default
25053 #include <tiffio.h>
25054 _ACEOF
25055 rm -f conftest.$ac_objext
25056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25057 (eval $ac_compile) 2>conftest.er1
25058 ac_status=$?
25059 grep -v '^ *+' conftest.er1 >conftest.err
25060 rm -f conftest.er1
25061 cat conftest.err >&5
25062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25063 (exit $ac_status); } &&
25064 { ac_try='test -z "$ac_c_werror_flag"
25065 || test ! -s conftest.err'
25066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25067 (eval $ac_try) 2>&5
25068 ac_status=$?
25069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25070 (exit $ac_status); }; } &&
25071 { ac_try='test -s conftest.$ac_objext'
25072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25073 (eval $ac_try) 2>&5
25074 ac_status=$?
25075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25076 (exit $ac_status); }; }; then
25077 ac_header_compiler=yes
25078 else
25079 echo "$as_me: failed program was:" >&5
25080 sed 's/^/| /' conftest.$ac_ext >&5
25081
25082 ac_header_compiler=no
25083 fi
25084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25085 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25086 echo "${ECHO_T}$ac_header_compiler" >&6
25087
25088 # Is the header present?
25089 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25090 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25091 cat >conftest.$ac_ext <<_ACEOF
25092 /* confdefs.h. */
25093 _ACEOF
25094 cat confdefs.h >>conftest.$ac_ext
25095 cat >>conftest.$ac_ext <<_ACEOF
25096 /* end confdefs.h. */
25097 #include <tiffio.h>
25098 _ACEOF
25099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25100 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25101 ac_status=$?
25102 grep -v '^ *+' conftest.er1 >conftest.err
25103 rm -f conftest.er1
25104 cat conftest.err >&5
25105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); } >/dev/null; then
25107 if test -s conftest.err; then
25108 ac_cpp_err=$ac_c_preproc_warn_flag
25109 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25110 else
25111 ac_cpp_err=
25112 fi
25113 else
25114 ac_cpp_err=yes
25115 fi
25116 if test -z "$ac_cpp_err"; then
25117 ac_header_preproc=yes
25118 else
25119 echo "$as_me: failed program was:" >&5
25120 sed 's/^/| /' conftest.$ac_ext >&5
25121
25122 ac_header_preproc=no
25123 fi
25124 rm -f conftest.err conftest.$ac_ext
25125 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25126 echo "${ECHO_T}$ac_header_preproc" >&6
25127
25128 # So? What about this header?
25129 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25130 yes:no: )
25131 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25132 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25133 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25134 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25135 ac_header_preproc=yes
25136 ;;
25137 no:yes:* )
25138 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25139 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25140 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25141 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25142 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25143 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25144 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25145 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25146 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25147 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25148 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25149 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25150 (
25151 cat <<\_ASBOX
25152 ## ----------------------------------------- ##
25153 ## Report this to wx-dev@lists.wxwidgets.org ##
25154 ## ----------------------------------------- ##
25155 _ASBOX
25156 ) |
25157 sed "s/^/$as_me: WARNING: /" >&2
25158 ;;
25159 esac
25160 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25161 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25162 if test "${ac_cv_header_tiffio_h+set}" = set; then
25163 echo $ECHO_N "(cached) $ECHO_C" >&6
25164 else
25165 ac_cv_header_tiffio_h=$ac_header_preproc
25166 fi
25167 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25168 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25169
25170 fi
25171 if test $ac_cv_header_tiffio_h = yes; then
25172
25173 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25174 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25175 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25176 echo $ECHO_N "(cached) $ECHO_C" >&6
25177 else
25178 ac_check_lib_save_LIBS=$LIBS
25179 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25180 cat >conftest.$ac_ext <<_ACEOF
25181 /* confdefs.h. */
25182 _ACEOF
25183 cat confdefs.h >>conftest.$ac_ext
25184 cat >>conftest.$ac_ext <<_ACEOF
25185 /* end confdefs.h. */
25186
25187 /* Override any gcc2 internal prototype to avoid an error. */
25188 #ifdef __cplusplus
25189 extern "C"
25190 #endif
25191 /* We use char because int might match the return type of a gcc2
25192 builtin and then its argument prototype would still apply. */
25193 char TIFFError ();
25194 int
25195 main ()
25196 {
25197 TIFFError ();
25198 ;
25199 return 0;
25200 }
25201 _ACEOF
25202 rm -f conftest.$ac_objext conftest$ac_exeext
25203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25204 (eval $ac_link) 2>conftest.er1
25205 ac_status=$?
25206 grep -v '^ *+' conftest.er1 >conftest.err
25207 rm -f conftest.er1
25208 cat conftest.err >&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } &&
25211 { ac_try='test -z "$ac_c_werror_flag"
25212 || test ! -s conftest.err'
25213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25214 (eval $ac_try) 2>&5
25215 ac_status=$?
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); }; } &&
25218 { ac_try='test -s conftest$ac_exeext'
25219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 (eval $ac_try) 2>&5
25221 ac_status=$?
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); }; }; then
25224 ac_cv_lib_tiff_TIFFError=yes
25225 else
25226 echo "$as_me: failed program was:" >&5
25227 sed 's/^/| /' conftest.$ac_ext >&5
25228
25229 ac_cv_lib_tiff_TIFFError=no
25230 fi
25231 rm -f conftest.err conftest.$ac_objext \
25232 conftest$ac_exeext conftest.$ac_ext
25233 LIBS=$ac_check_lib_save_LIBS
25234 fi
25235 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25236 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25237 if test $ac_cv_lib_tiff_TIFFError = yes; then
25238 TIFF_LINK=" -ltiff"
25239 fi
25240
25241
25242
25243 fi
25244
25245
25246
25247 if test "x$TIFF_LINK" = "x" ; then
25248 if test "$wxUSE_LIBTIFF" = "sys" ; then
25249 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25250 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25251 { (exit 1); exit 1; }; }
25252 else
25253 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25254 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25255 wxUSE_LIBTIFF=builtin
25256 fi
25257 else
25258 wxUSE_LIBTIFF=sys
25259 fi
25260 fi
25261 fi
25262
25263
25264 if test "$wxUSE_WCHAR_T" != "yes"; then
25265 if test "$wxUSE_EXPAT" != "no"; then
25266 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25267 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25268 wxUSE_EXPAT=no
25269 fi
25270 if test "$wxUSE_XML" != "no"; then
25271 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25272 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25273 wxUSE_XML=no
25274 fi
25275 fi
25276
25277 if test "$wxUSE_EXPAT" != "no"; then
25278 wxUSE_XML=yes
25279 cat >>confdefs.h <<\_ACEOF
25280 #define wxUSE_EXPAT 1
25281 _ACEOF
25282
25283 cat >>confdefs.h <<\_ACEOF
25284 #define wxUSE_XML 1
25285 _ACEOF
25286
25287
25288 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25289 if test "${ac_cv_header_expat_h+set}" = set; then
25290 echo "$as_me:$LINENO: checking for expat.h" >&5
25291 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25292 if test "${ac_cv_header_expat_h+set}" = set; then
25293 echo $ECHO_N "(cached) $ECHO_C" >&6
25294 fi
25295 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25296 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25297 else
25298 # Is the header compilable?
25299 echo "$as_me:$LINENO: checking expat.h usability" >&5
25300 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25301 cat >conftest.$ac_ext <<_ACEOF
25302 /* confdefs.h. */
25303 _ACEOF
25304 cat confdefs.h >>conftest.$ac_ext
25305 cat >>conftest.$ac_ext <<_ACEOF
25306 /* end confdefs.h. */
25307 $ac_includes_default
25308 #include <expat.h>
25309 _ACEOF
25310 rm -f conftest.$ac_objext
25311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25312 (eval $ac_compile) 2>conftest.er1
25313 ac_status=$?
25314 grep -v '^ *+' conftest.er1 >conftest.err
25315 rm -f conftest.er1
25316 cat conftest.err >&5
25317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318 (exit $ac_status); } &&
25319 { ac_try='test -z "$ac_c_werror_flag"
25320 || test ! -s conftest.err'
25321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25322 (eval $ac_try) 2>&5
25323 ac_status=$?
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325 (exit $ac_status); }; } &&
25326 { ac_try='test -s conftest.$ac_objext'
25327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25328 (eval $ac_try) 2>&5
25329 ac_status=$?
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); }; }; then
25332 ac_header_compiler=yes
25333 else
25334 echo "$as_me: failed program was:" >&5
25335 sed 's/^/| /' conftest.$ac_ext >&5
25336
25337 ac_header_compiler=no
25338 fi
25339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25341 echo "${ECHO_T}$ac_header_compiler" >&6
25342
25343 # Is the header present?
25344 echo "$as_me:$LINENO: checking expat.h presence" >&5
25345 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25346 cat >conftest.$ac_ext <<_ACEOF
25347 /* confdefs.h. */
25348 _ACEOF
25349 cat confdefs.h >>conftest.$ac_ext
25350 cat >>conftest.$ac_ext <<_ACEOF
25351 /* end confdefs.h. */
25352 #include <expat.h>
25353 _ACEOF
25354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25356 ac_status=$?
25357 grep -v '^ *+' conftest.er1 >conftest.err
25358 rm -f conftest.er1
25359 cat conftest.err >&5
25360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361 (exit $ac_status); } >/dev/null; then
25362 if test -s conftest.err; then
25363 ac_cpp_err=$ac_c_preproc_warn_flag
25364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25365 else
25366 ac_cpp_err=
25367 fi
25368 else
25369 ac_cpp_err=yes
25370 fi
25371 if test -z "$ac_cpp_err"; then
25372 ac_header_preproc=yes
25373 else
25374 echo "$as_me: failed program was:" >&5
25375 sed 's/^/| /' conftest.$ac_ext >&5
25376
25377 ac_header_preproc=no
25378 fi
25379 rm -f conftest.err conftest.$ac_ext
25380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25381 echo "${ECHO_T}$ac_header_preproc" >&6
25382
25383 # So? What about this header?
25384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25385 yes:no: )
25386 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25387 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25388 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25389 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25390 ac_header_preproc=yes
25391 ;;
25392 no:yes:* )
25393 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25394 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25395 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25396 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25397 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25398 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25399 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25400 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25401 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25402 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25403 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25404 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25405 (
25406 cat <<\_ASBOX
25407 ## ----------------------------------------- ##
25408 ## Report this to wx-dev@lists.wxwidgets.org ##
25409 ## ----------------------------------------- ##
25410 _ASBOX
25411 ) |
25412 sed "s/^/$as_me: WARNING: /" >&2
25413 ;;
25414 esac
25415 echo "$as_me:$LINENO: checking for expat.h" >&5
25416 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25417 if test "${ac_cv_header_expat_h+set}" = set; then
25418 echo $ECHO_N "(cached) $ECHO_C" >&6
25419 else
25420 ac_cv_header_expat_h=$ac_header_preproc
25421 fi
25422 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25423 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25424
25425 fi
25426 if test $ac_cv_header_expat_h = yes; then
25427 found_expat_h=1
25428 fi
25429
25430
25431 if test "x$found_expat_h" = "x1"; then
25432 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25433 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25434 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25435 echo $ECHO_N "(cached) $ECHO_C" >&6
25436 else
25437
25438 ac_ext=cc
25439 ac_cpp='$CXXCPP $CPPFLAGS'
25440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25443
25444 cat >conftest.$ac_ext <<_ACEOF
25445 /* confdefs.h. */
25446 _ACEOF
25447 cat confdefs.h >>conftest.$ac_ext
25448 cat >>conftest.$ac_ext <<_ACEOF
25449 /* end confdefs.h. */
25450 #include <expat.h>
25451 int
25452 main ()
25453 {
25454
25455 ;
25456 return 0;
25457 }
25458 _ACEOF
25459 rm -f conftest.$ac_objext
25460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25461 (eval $ac_compile) 2>conftest.er1
25462 ac_status=$?
25463 grep -v '^ *+' conftest.er1 >conftest.err
25464 rm -f conftest.er1
25465 cat conftest.err >&5
25466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467 (exit $ac_status); } &&
25468 { ac_try='test -z "$ac_cxx_werror_flag"
25469 || test ! -s conftest.err'
25470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25471 (eval $ac_try) 2>&5
25472 ac_status=$?
25473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474 (exit $ac_status); }; } &&
25475 { ac_try='test -s conftest.$ac_objext'
25476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25477 (eval $ac_try) 2>&5
25478 ac_status=$?
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); }; }; then
25481 wx_cv_expat_is_not_broken=yes
25482 else
25483 echo "$as_me: failed program was:" >&5
25484 sed 's/^/| /' conftest.$ac_ext >&5
25485
25486 wx_cv_expat_is_not_broken=no
25487
25488 fi
25489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25490 ac_ext=c
25491 ac_cpp='$CPP $CPPFLAGS'
25492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25495
25496
25497
25498 fi
25499 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25500 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25501 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25502 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25503 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25504 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25505 echo $ECHO_N "(cached) $ECHO_C" >&6
25506 else
25507 ac_check_lib_save_LIBS=$LIBS
25508 LIBS="-lexpat $LIBS"
25509 cat >conftest.$ac_ext <<_ACEOF
25510 /* confdefs.h. */
25511 _ACEOF
25512 cat confdefs.h >>conftest.$ac_ext
25513 cat >>conftest.$ac_ext <<_ACEOF
25514 /* end confdefs.h. */
25515
25516 /* Override any gcc2 internal prototype to avoid an error. */
25517 #ifdef __cplusplus
25518 extern "C"
25519 #endif
25520 /* We use char because int might match the return type of a gcc2
25521 builtin and then its argument prototype would still apply. */
25522 char XML_ParserCreate ();
25523 int
25524 main ()
25525 {
25526 XML_ParserCreate ();
25527 ;
25528 return 0;
25529 }
25530 _ACEOF
25531 rm -f conftest.$ac_objext conftest$ac_exeext
25532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25533 (eval $ac_link) 2>conftest.er1
25534 ac_status=$?
25535 grep -v '^ *+' conftest.er1 >conftest.err
25536 rm -f conftest.er1
25537 cat conftest.err >&5
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); } &&
25540 { ac_try='test -z "$ac_c_werror_flag"
25541 || test ! -s conftest.err'
25542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25543 (eval $ac_try) 2>&5
25544 ac_status=$?
25545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25546 (exit $ac_status); }; } &&
25547 { ac_try='test -s conftest$ac_exeext'
25548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25549 (eval $ac_try) 2>&5
25550 ac_status=$?
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552 (exit $ac_status); }; }; then
25553 ac_cv_lib_expat_XML_ParserCreate=yes
25554 else
25555 echo "$as_me: failed program was:" >&5
25556 sed 's/^/| /' conftest.$ac_ext >&5
25557
25558 ac_cv_lib_expat_XML_ParserCreate=no
25559 fi
25560 rm -f conftest.err conftest.$ac_objext \
25561 conftest$ac_exeext conftest.$ac_ext
25562 LIBS=$ac_check_lib_save_LIBS
25563 fi
25564 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25565 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25566 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25567 EXPAT_LINK=" -lexpat"
25568 fi
25569
25570 fi
25571 fi
25572 if test "x$EXPAT_LINK" = "x" ; then
25573 if test "$wxUSE_EXPAT" = "sys" ; then
25574 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25575 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25576 { (exit 1); exit 1; }; }
25577 else
25578 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25579 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25580 wxUSE_EXPAT=builtin
25581 fi
25582 else
25583 wxUSE_EXPAT=sys
25584 fi
25585 fi
25586 if test "$wxUSE_EXPAT" = "builtin" ; then
25587
25588
25589 subdirs="$subdirs src/expat"
25590
25591 fi
25592 fi
25593
25594
25595
25596 if test "$wxUSE_LIBMSPACK" != "no"; then
25597 if test "${ac_cv_header_mspack_h+set}" = set; then
25598 echo "$as_me:$LINENO: checking for mspack.h" >&5
25599 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25600 if test "${ac_cv_header_mspack_h+set}" = set; then
25601 echo $ECHO_N "(cached) $ECHO_C" >&6
25602 fi
25603 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25604 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25605 else
25606 # Is the header compilable?
25607 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25608 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25609 cat >conftest.$ac_ext <<_ACEOF
25610 /* confdefs.h. */
25611 _ACEOF
25612 cat confdefs.h >>conftest.$ac_ext
25613 cat >>conftest.$ac_ext <<_ACEOF
25614 /* end confdefs.h. */
25615 $ac_includes_default
25616 #include <mspack.h>
25617 _ACEOF
25618 rm -f conftest.$ac_objext
25619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25620 (eval $ac_compile) 2>conftest.er1
25621 ac_status=$?
25622 grep -v '^ *+' conftest.er1 >conftest.err
25623 rm -f conftest.er1
25624 cat conftest.err >&5
25625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25626 (exit $ac_status); } &&
25627 { ac_try='test -z "$ac_c_werror_flag"
25628 || test ! -s conftest.err'
25629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25630 (eval $ac_try) 2>&5
25631 ac_status=$?
25632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25633 (exit $ac_status); }; } &&
25634 { ac_try='test -s conftest.$ac_objext'
25635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25636 (eval $ac_try) 2>&5
25637 ac_status=$?
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); }; }; then
25640 ac_header_compiler=yes
25641 else
25642 echo "$as_me: failed program was:" >&5
25643 sed 's/^/| /' conftest.$ac_ext >&5
25644
25645 ac_header_compiler=no
25646 fi
25647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25649 echo "${ECHO_T}$ac_header_compiler" >&6
25650
25651 # Is the header present?
25652 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25653 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25654 cat >conftest.$ac_ext <<_ACEOF
25655 /* confdefs.h. */
25656 _ACEOF
25657 cat confdefs.h >>conftest.$ac_ext
25658 cat >>conftest.$ac_ext <<_ACEOF
25659 /* end confdefs.h. */
25660 #include <mspack.h>
25661 _ACEOF
25662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25663 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25664 ac_status=$?
25665 grep -v '^ *+' conftest.er1 >conftest.err
25666 rm -f conftest.er1
25667 cat conftest.err >&5
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); } >/dev/null; then
25670 if test -s conftest.err; then
25671 ac_cpp_err=$ac_c_preproc_warn_flag
25672 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25673 else
25674 ac_cpp_err=
25675 fi
25676 else
25677 ac_cpp_err=yes
25678 fi
25679 if test -z "$ac_cpp_err"; then
25680 ac_header_preproc=yes
25681 else
25682 echo "$as_me: failed program was:" >&5
25683 sed 's/^/| /' conftest.$ac_ext >&5
25684
25685 ac_header_preproc=no
25686 fi
25687 rm -f conftest.err conftest.$ac_ext
25688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25689 echo "${ECHO_T}$ac_header_preproc" >&6
25690
25691 # So? What about this header?
25692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25693 yes:no: )
25694 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25695 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25696 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25697 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25698 ac_header_preproc=yes
25699 ;;
25700 no:yes:* )
25701 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25702 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25703 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25704 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25705 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25706 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25707 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25708 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25709 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25710 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25711 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25712 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25713 (
25714 cat <<\_ASBOX
25715 ## ----------------------------------------- ##
25716 ## Report this to wx-dev@lists.wxwidgets.org ##
25717 ## ----------------------------------------- ##
25718 _ASBOX
25719 ) |
25720 sed "s/^/$as_me: WARNING: /" >&2
25721 ;;
25722 esac
25723 echo "$as_me:$LINENO: checking for mspack.h" >&5
25724 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25725 if test "${ac_cv_header_mspack_h+set}" = set; then
25726 echo $ECHO_N "(cached) $ECHO_C" >&6
25727 else
25728 ac_cv_header_mspack_h=$ac_header_preproc
25729 fi
25730 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25731 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25732
25733 fi
25734 if test $ac_cv_header_mspack_h = yes; then
25735 found_mspack_h=1
25736 fi
25737
25738
25739 if test "x$found_mspack_h" = "x1"; then
25740 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25741 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25742 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25743 echo $ECHO_N "(cached) $ECHO_C" >&6
25744 else
25745 ac_check_lib_save_LIBS=$LIBS
25746 LIBS="-lmspack $LIBS"
25747 cat >conftest.$ac_ext <<_ACEOF
25748 /* confdefs.h. */
25749 _ACEOF
25750 cat confdefs.h >>conftest.$ac_ext
25751 cat >>conftest.$ac_ext <<_ACEOF
25752 /* end confdefs.h. */
25753
25754 /* Override any gcc2 internal prototype to avoid an error. */
25755 #ifdef __cplusplus
25756 extern "C"
25757 #endif
25758 /* We use char because int might match the return type of a gcc2
25759 builtin and then its argument prototype would still apply. */
25760 char mspack_create_chm_decompressor ();
25761 int
25762 main ()
25763 {
25764 mspack_create_chm_decompressor ();
25765 ;
25766 return 0;
25767 }
25768 _ACEOF
25769 rm -f conftest.$ac_objext conftest$ac_exeext
25770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25771 (eval $ac_link) 2>conftest.er1
25772 ac_status=$?
25773 grep -v '^ *+' conftest.er1 >conftest.err
25774 rm -f conftest.er1
25775 cat conftest.err >&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); } &&
25778 { ac_try='test -z "$ac_c_werror_flag"
25779 || test ! -s conftest.err'
25780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25781 (eval $ac_try) 2>&5
25782 ac_status=$?
25783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25784 (exit $ac_status); }; } &&
25785 { ac_try='test -s conftest$ac_exeext'
25786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25787 (eval $ac_try) 2>&5
25788 ac_status=$?
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); }; }; then
25791 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
25792 else
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.$ac_ext >&5
25795
25796 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
25797 fi
25798 rm -f conftest.err conftest.$ac_objext \
25799 conftest$ac_exeext conftest.$ac_ext
25800 LIBS=$ac_check_lib_save_LIBS
25801 fi
25802 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25803 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25804 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25805 MSPACK_LINK=" -lmspack"
25806 fi
25807
25808 fi
25809 if test "x$MSPACK_LINK" = "x" ; then
25810 wxUSE_LIBMSPACK=no
25811 fi
25812 fi
25813
25814 if test "$wxUSE_LIBMSPACK" != "no"; then
25815 cat >>confdefs.h <<\_ACEOF
25816 #define wxUSE_LIBMSPACK 1
25817 _ACEOF
25818
25819 fi
25820
25821
25822
25823 AFMINSTALL=
25824 WIN32INSTALL=
25825
25826 TOOLKIT=
25827 TOOLKIT_INCLUDE=
25828 WIDGET_SET=
25829
25830 if test "$USE_WIN32" = 1 ; then
25831
25832 for ac_header in w32api.h
25833 do
25834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25836 echo "$as_me:$LINENO: checking for $ac_header" >&5
25837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25839 echo $ECHO_N "(cached) $ECHO_C" >&6
25840 fi
25841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25843 else
25844 # Is the header compilable?
25845 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25846 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25847 cat >conftest.$ac_ext <<_ACEOF
25848 /* confdefs.h. */
25849 _ACEOF
25850 cat confdefs.h >>conftest.$ac_ext
25851 cat >>conftest.$ac_ext <<_ACEOF
25852 /* end confdefs.h. */
25853 $ac_includes_default
25854 #include <$ac_header>
25855 _ACEOF
25856 rm -f conftest.$ac_objext
25857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25858 (eval $ac_compile) 2>conftest.er1
25859 ac_status=$?
25860 grep -v '^ *+' conftest.er1 >conftest.err
25861 rm -f conftest.er1
25862 cat conftest.err >&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); } &&
25865 { ac_try='test -z "$ac_c_werror_flag"
25866 || test ! -s conftest.err'
25867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868 (eval $ac_try) 2>&5
25869 ac_status=$?
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); }; } &&
25872 { ac_try='test -s conftest.$ac_objext'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25875 ac_status=$?
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; }; then
25878 ac_header_compiler=yes
25879 else
25880 echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.$ac_ext >&5
25882
25883 ac_header_compiler=no
25884 fi
25885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25887 echo "${ECHO_T}$ac_header_compiler" >&6
25888
25889 # Is the header present?
25890 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25891 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25892 cat >conftest.$ac_ext <<_ACEOF
25893 /* confdefs.h. */
25894 _ACEOF
25895 cat confdefs.h >>conftest.$ac_ext
25896 cat >>conftest.$ac_ext <<_ACEOF
25897 /* end confdefs.h. */
25898 #include <$ac_header>
25899 _ACEOF
25900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25901 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25902 ac_status=$?
25903 grep -v '^ *+' conftest.er1 >conftest.err
25904 rm -f conftest.er1
25905 cat conftest.err >&5
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); } >/dev/null; then
25908 if test -s conftest.err; then
25909 ac_cpp_err=$ac_c_preproc_warn_flag
25910 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25911 else
25912 ac_cpp_err=
25913 fi
25914 else
25915 ac_cpp_err=yes
25916 fi
25917 if test -z "$ac_cpp_err"; then
25918 ac_header_preproc=yes
25919 else
25920 echo "$as_me: failed program was:" >&5
25921 sed 's/^/| /' conftest.$ac_ext >&5
25922
25923 ac_header_preproc=no
25924 fi
25925 rm -f conftest.err conftest.$ac_ext
25926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25927 echo "${ECHO_T}$ac_header_preproc" >&6
25928
25929 # So? What about this header?
25930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25931 yes:no: )
25932 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25933 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25935 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25936 ac_header_preproc=yes
25937 ;;
25938 no:yes:* )
25939 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25940 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25941 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25942 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25943 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25944 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25945 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25946 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25949 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25950 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25951 (
25952 cat <<\_ASBOX
25953 ## ----------------------------------------- ##
25954 ## Report this to wx-dev@lists.wxwidgets.org ##
25955 ## ----------------------------------------- ##
25956 _ASBOX
25957 ) |
25958 sed "s/^/$as_me: WARNING: /" >&2
25959 ;;
25960 esac
25961 echo "$as_me:$LINENO: checking for $ac_header" >&5
25962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25964 echo $ECHO_N "(cached) $ECHO_C" >&6
25965 else
25966 eval "$as_ac_Header=\$ac_header_preproc"
25967 fi
25968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25970
25971 fi
25972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25973 cat >>confdefs.h <<_ACEOF
25974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25975 _ACEOF
25976
25977 fi
25978
25979 done
25980
25981 if test "${ac_cv_header_windows_h+set}" = set; then
25982 echo "$as_me:$LINENO: checking for windows.h" >&5
25983 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25984 if test "${ac_cv_header_windows_h+set}" = set; then
25985 echo $ECHO_N "(cached) $ECHO_C" >&6
25986 fi
25987 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25988 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25989 else
25990 # Is the header compilable?
25991 echo "$as_me:$LINENO: checking windows.h usability" >&5
25992 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25993 cat >conftest.$ac_ext <<_ACEOF
25994 /* confdefs.h. */
25995 _ACEOF
25996 cat confdefs.h >>conftest.$ac_ext
25997 cat >>conftest.$ac_ext <<_ACEOF
25998 /* end confdefs.h. */
25999 $ac_includes_default
26000 #include <windows.h>
26001 _ACEOF
26002 rm -f conftest.$ac_objext
26003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26004 (eval $ac_compile) 2>conftest.er1
26005 ac_status=$?
26006 grep -v '^ *+' conftest.er1 >conftest.err
26007 rm -f conftest.er1
26008 cat conftest.err >&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } &&
26011 { ac_try='test -z "$ac_c_werror_flag"
26012 || test ! -s conftest.err'
26013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26014 (eval $ac_try) 2>&5
26015 ac_status=$?
26016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017 (exit $ac_status); }; } &&
26018 { ac_try='test -s conftest.$ac_objext'
26019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26020 (eval $ac_try) 2>&5
26021 ac_status=$?
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); }; }; then
26024 ac_header_compiler=yes
26025 else
26026 echo "$as_me: failed program was:" >&5
26027 sed 's/^/| /' conftest.$ac_ext >&5
26028
26029 ac_header_compiler=no
26030 fi
26031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26032 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26033 echo "${ECHO_T}$ac_header_compiler" >&6
26034
26035 # Is the header present?
26036 echo "$as_me:$LINENO: checking windows.h presence" >&5
26037 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26038 cat >conftest.$ac_ext <<_ACEOF
26039 /* confdefs.h. */
26040 _ACEOF
26041 cat confdefs.h >>conftest.$ac_ext
26042 cat >>conftest.$ac_ext <<_ACEOF
26043 /* end confdefs.h. */
26044 #include <windows.h>
26045 _ACEOF
26046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26048 ac_status=$?
26049 grep -v '^ *+' conftest.er1 >conftest.err
26050 rm -f conftest.er1
26051 cat conftest.err >&5
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); } >/dev/null; then
26054 if test -s conftest.err; then
26055 ac_cpp_err=$ac_c_preproc_warn_flag
26056 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26057 else
26058 ac_cpp_err=
26059 fi
26060 else
26061 ac_cpp_err=yes
26062 fi
26063 if test -z "$ac_cpp_err"; then
26064 ac_header_preproc=yes
26065 else
26066 echo "$as_me: failed program was:" >&5
26067 sed 's/^/| /' conftest.$ac_ext >&5
26068
26069 ac_header_preproc=no
26070 fi
26071 rm -f conftest.err conftest.$ac_ext
26072 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26073 echo "${ECHO_T}$ac_header_preproc" >&6
26074
26075 # So? What about this header?
26076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26077 yes:no: )
26078 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26079 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26080 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26081 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26082 ac_header_preproc=yes
26083 ;;
26084 no:yes:* )
26085 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26086 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26087 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26088 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26089 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26090 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26091 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26092 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26093 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26094 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26095 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26096 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26097 (
26098 cat <<\_ASBOX
26099 ## ----------------------------------------- ##
26100 ## Report this to wx-dev@lists.wxwidgets.org ##
26101 ## ----------------------------------------- ##
26102 _ASBOX
26103 ) |
26104 sed "s/^/$as_me: WARNING: /" >&2
26105 ;;
26106 esac
26107 echo "$as_me:$LINENO: checking for windows.h" >&5
26108 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26109 if test "${ac_cv_header_windows_h+set}" = set; then
26110 echo $ECHO_N "(cached) $ECHO_C" >&6
26111 else
26112 ac_cv_header_windows_h=$ac_header_preproc
26113 fi
26114 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26115 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26116
26117 fi
26118 if test $ac_cv_header_windows_h = yes; then
26119 :
26120 else
26121
26122 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26123 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26124 { (exit 1); exit 1; }; }
26125
26126 fi
26127
26128
26129
26130 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26131
26132 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26133 LIBS="$LIBS -loleacc"
26134 fi
26135
26136 case "${host}" in
26137 *-*-cygwin* )
26138 LIBS="$LIBS -lkernel32 -luser32"
26139 esac
26140
26141 if test "$wxUSE_ODBC" = "sys" ; then
26142 wxUSE_ODBC = "yes"
26143 fi
26144 if test "$wxUSE_ODBC" = "yes" ; then
26145 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26146 cat >>confdefs.h <<\_ACEOF
26147 #define wxUSE_ODBC 1
26148 _ACEOF
26149
26150 fi
26151
26152 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26153 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26154
26155 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26156
26157 WIN32INSTALL=win32install
26158 fi
26159
26160 if test "$wxUSE_GUI" = "yes"; then
26161 USE_GUI=1
26162
26163 GUI_TK_LIBRARY=
26164
26165 WXGTK12=
26166 WXGTK127=
26167 WXGTK20=
26168 WXGPE=
26169
26170 if test "$wxUSE_COCOA" = 1 ; then
26171 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26172 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26173 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26174 wxUSE_PRINTING_ARCHITECTURE=no
26175 fi
26176 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26177 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26178 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26179 wxUSE_DRAG_AND_DROP=no
26180 fi
26181 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26182 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26183 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26184 wxUSE_DRAGIMAGE=no
26185 fi
26186 fi
26187
26188 if test "$wxUSE_MSW" = 1 ; then
26189 TOOLKIT=MSW
26190 GUIDIST=MSW_DIST
26191
26192 case "${host}" in
26193 *-*-mingw32* )
26194 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26195 esac
26196 fi
26197
26198 if test "$wxUSE_GTK" = 1; then
26199 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26200 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26201
26202 gtk_version_cached=1
26203 if test "${wx_cv_lib_gtk+set}" = set; then
26204 echo $ECHO_N "(cached) $ECHO_C" >&6
26205 else
26206
26207 gtk_version_cached=0
26208 echo "$as_me:$LINENO: result: " >&5
26209 echo "${ECHO_T}" >&6
26210
26211 GTK_MODULES=
26212 if test "$wxUSE_THREADS" = "yes"; then
26213 GTK_MODULES=gthread
26214 fi
26215
26216 wx_cv_lib_gtk=
26217 if test "x$wxGTK_VERSION" != "x1"
26218 then
26219 case "${host}" in
26220 *-*-solaris2* )
26221 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26222 enable_gtktest=no
26223 fi
26224 esac
26225
26226 # Check whether --enable-gtktest or --disable-gtktest was given.
26227 if test "${enable_gtktest+set}" = set; then
26228 enableval="$enable_gtktest"
26229
26230 else
26231 enable_gtktest=yes
26232 fi;
26233
26234 pkg_config_args=gtk+-2.0
26235 for module in . $GTK_MODULES
26236 do
26237 case "$module" in
26238 gthread)
26239 pkg_config_args="$pkg_config_args gthread-2.0"
26240 ;;
26241 esac
26242 done
26243
26244 no_gtk=""
26245
26246 # Extract the first word of "pkg-config", so it can be a program name with args.
26247 set dummy pkg-config; ac_word=$2
26248 echo "$as_me:$LINENO: checking for $ac_word" >&5
26249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26250 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26251 echo $ECHO_N "(cached) $ECHO_C" >&6
26252 else
26253 case $PKG_CONFIG in
26254 [\\/]* | ?:[\\/]*)
26255 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26256 ;;
26257 *)
26258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26259 for as_dir in $PATH
26260 do
26261 IFS=$as_save_IFS
26262 test -z "$as_dir" && as_dir=.
26263 for ac_exec_ext in '' $ac_executable_extensions; do
26264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26265 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26267 break 2
26268 fi
26269 done
26270 done
26271
26272 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26273 ;;
26274 esac
26275 fi
26276 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26277
26278 if test -n "$PKG_CONFIG"; then
26279 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26280 echo "${ECHO_T}$PKG_CONFIG" >&6
26281 else
26282 echo "$as_me:$LINENO: result: no" >&5
26283 echo "${ECHO_T}no" >&6
26284 fi
26285
26286
26287 if test x$PKG_CONFIG != xno ; then
26288 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26289 :
26290 else
26291 echo "*** pkg-config too old; version 0.7 or better required."
26292 no_gtk=yes
26293 PKG_CONFIG=no
26294 fi
26295 else
26296 no_gtk=yes
26297 fi
26298
26299 min_gtk_version=2.0.0
26300 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26301 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26302
26303 if test x$PKG_CONFIG != xno ; then
26304 ## don't try to run the test against uninstalled libtool libs
26305 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26306 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26307 enable_gtktest=no
26308 fi
26309
26310 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26311 :
26312 else
26313 no_gtk=yes
26314 fi
26315 fi
26316
26317 if test x"$no_gtk" = x ; then
26318 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26319 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26320 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26322 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26323 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26324 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26325 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26326 if test "x$enable_gtktest" = "xyes" ; then
26327 ac_save_CFLAGS="$CFLAGS"
26328 ac_save_LIBS="$LIBS"
26329 CFLAGS="$CFLAGS $GTK_CFLAGS"
26330 LIBS="$GTK_LIBS $LIBS"
26331 rm -f conf.gtktest
26332 if test "$cross_compiling" = yes; then
26333 echo $ac_n "cross compiling; assumed OK... $ac_c"
26334 else
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 #include <gtk/gtk.h>
26343 #include <stdio.h>
26344 #include <stdlib.h>
26345
26346 int
26347 main ()
26348 {
26349 int major, minor, micro;
26350 char *tmp_version;
26351
26352 system ("touch conf.gtktest");
26353
26354 /* HP/UX 9 (%@#!) writes to sscanf strings */
26355 tmp_version = g_strdup("$min_gtk_version");
26356 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26357 printf("%s, bad version string\n", "$min_gtk_version");
26358 exit(1);
26359 }
26360
26361 if ((gtk_major_version != $gtk_config_major_version) ||
26362 (gtk_minor_version != $gtk_config_minor_version) ||
26363 (gtk_micro_version != $gtk_config_micro_version))
26364 {
26365 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26366 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26367 gtk_major_version, gtk_minor_version, gtk_micro_version);
26368 printf ("*** was found! If pkg-config was correct, then it is best\n");
26369 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26370 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26371 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26372 printf("*** required on your system.\n");
26373 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26374 printf("*** to point to the correct configuration files\n");
26375 }
26376 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26377 (gtk_minor_version != GTK_MINOR_VERSION) ||
26378 (gtk_micro_version != GTK_MICRO_VERSION))
26379 {
26380 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26381 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26382 printf("*** library (version %d.%d.%d)\n",
26383 gtk_major_version, gtk_minor_version, gtk_micro_version);
26384 }
26385 else
26386 {
26387 if ((gtk_major_version > major) ||
26388 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26389 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26390 {
26391 return 0;
26392 }
26393 else
26394 {
26395 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26396 gtk_major_version, gtk_minor_version, gtk_micro_version);
26397 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26398 major, minor, micro);
26399 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26400 printf("***\n");
26401 printf("*** If you have already installed a sufficiently new version, this error\n");
26402 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26403 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26404 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26405 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26406 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26407 printf("*** so that the correct libraries are found at run-time))\n");
26408 }
26409 }
26410 return 1;
26411 }
26412
26413 _ACEOF
26414 rm -f conftest$ac_exeext
26415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26416 (eval $ac_link) 2>&5
26417 ac_status=$?
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26421 (eval $ac_try) 2>&5
26422 ac_status=$?
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); }; }; then
26425 :
26426 else
26427 echo "$as_me: program exited with status $ac_status" >&5
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.$ac_ext >&5
26430
26431 ( exit $ac_status )
26432 no_gtk=yes
26433 fi
26434 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26435 fi
26436 CFLAGS="$ac_save_CFLAGS"
26437 LIBS="$ac_save_LIBS"
26438 fi
26439 fi
26440 if test "x$no_gtk" = x ; then
26441 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26442 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26443 wx_cv_lib_gtk=2.0
26444 else
26445 echo "$as_me:$LINENO: result: no" >&5
26446 echo "${ECHO_T}no" >&6
26447 if test "$PKG_CONFIG" = "no" ; then
26448 echo "*** A new enough version of pkg-config was not found."
26449 echo "*** See http://pkgconfig.sourceforge.net"
26450 else
26451 if test -f conf.gtktest ; then
26452 :
26453 else
26454 echo "*** Could not run GTK+ test program, checking why..."
26455 ac_save_CFLAGS="$CFLAGS"
26456 ac_save_LIBS="$LIBS"
26457 CFLAGS="$CFLAGS $GTK_CFLAGS"
26458 LIBS="$LIBS $GTK_LIBS"
26459 cat >conftest.$ac_ext <<_ACEOF
26460 /* confdefs.h. */
26461 _ACEOF
26462 cat confdefs.h >>conftest.$ac_ext
26463 cat >>conftest.$ac_ext <<_ACEOF
26464 /* end confdefs.h. */
26465
26466 #include <gtk/gtk.h>
26467 #include <stdio.h>
26468
26469 int
26470 main ()
26471 {
26472 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26473 ;
26474 return 0;
26475 }
26476 _ACEOF
26477 rm -f conftest.$ac_objext conftest$ac_exeext
26478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26479 (eval $ac_link) 2>conftest.er1
26480 ac_status=$?
26481 grep -v '^ *+' conftest.er1 >conftest.err
26482 rm -f conftest.er1
26483 cat conftest.err >&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } &&
26486 { ac_try='test -z "$ac_c_werror_flag"
26487 || test ! -s conftest.err'
26488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26489 (eval $ac_try) 2>&5
26490 ac_status=$?
26491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492 (exit $ac_status); }; } &&
26493 { ac_try='test -s conftest$ac_exeext'
26494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26495 (eval $ac_try) 2>&5
26496 ac_status=$?
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); }; }; then
26499 echo "*** The test program compiled, but did not run. This usually means"
26500 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26501 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26502 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26503 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26504 echo "*** is required on your system"
26505 echo "***"
26506 echo "*** If you have an old version installed, it is best to remove it, although"
26507 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26508 else
26509 echo "$as_me: failed program was:" >&5
26510 sed 's/^/| /' conftest.$ac_ext >&5
26511
26512 echo "*** The test program failed to compile or link. See the file config.log for the"
26513 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26514 fi
26515 rm -f conftest.err conftest.$ac_objext \
26516 conftest$ac_exeext conftest.$ac_ext
26517 CFLAGS="$ac_save_CFLAGS"
26518 LIBS="$ac_save_LIBS"
26519 fi
26520 fi
26521 GTK_CFLAGS=""
26522 GTK_LIBS=""
26523 :
26524 fi
26525
26526
26527 rm -f conf.gtktest
26528
26529
26530 case "${host}" in
26531 *-*-solaris2* )
26532 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26533 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
26534 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
26535 fi
26536 if test "$wxUSE_SHARED" != "yes"; then
26537 GTK_LIBS="$GTK_LIBS -lX11"
26538 fi
26539 esac
26540 fi
26541
26542 if test -z "$wx_cv_lib_gtk"; then
26543 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26544
26545 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26546 if test "${with_gtk_prefix+set}" = set; then
26547 withval="$with_gtk_prefix"
26548 gtk_config_prefix="$withval"
26549 else
26550 gtk_config_prefix=""
26551 fi;
26552
26553 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26554 if test "${with_gtk_exec_prefix+set}" = set; then
26555 withval="$with_gtk_exec_prefix"
26556 gtk_config_exec_prefix="$withval"
26557 else
26558 gtk_config_exec_prefix=""
26559 fi;
26560 # Check whether --enable-gtktest or --disable-gtktest was given.
26561 if test "${enable_gtktest+set}" = set; then
26562 enableval="$enable_gtktest"
26563
26564 else
26565 enable_gtktest=yes
26566 fi;
26567
26568 for module in . $GTK_MODULES
26569 do
26570 case "$module" in
26571 gthread)
26572 gtk_config_args="$gtk_config_args gthread"
26573 ;;
26574 esac
26575 done
26576
26577 if test x$gtk_config_exec_prefix != x ; then
26578 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26579 if test x${GTK_CONFIG+set} != xset ; then
26580 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26581 fi
26582 fi
26583 if test x$gtk_config_prefix != x ; then
26584 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26585 if test x${GTK_CONFIG+set} != xset ; then
26586 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26587 fi
26588 fi
26589
26590 # Extract the first word of "gtk-config", so it can be a program name with args.
26591 set dummy gtk-config; ac_word=$2
26592 echo "$as_me:$LINENO: checking for $ac_word" >&5
26593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26594 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26595 echo $ECHO_N "(cached) $ECHO_C" >&6
26596 else
26597 case $GTK_CONFIG in
26598 [\\/]* | ?:[\\/]*)
26599 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26600 ;;
26601 *)
26602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26603 for as_dir in $PATH
26604 do
26605 IFS=$as_save_IFS
26606 test -z "$as_dir" && as_dir=.
26607 for ac_exec_ext in '' $ac_executable_extensions; do
26608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26609 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26611 break 2
26612 fi
26613 done
26614 done
26615
26616 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26617 ;;
26618 esac
26619 fi
26620 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26621
26622 if test -n "$GTK_CONFIG"; then
26623 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26624 echo "${ECHO_T}$GTK_CONFIG" >&6
26625 else
26626 echo "$as_me:$LINENO: result: no" >&5
26627 echo "${ECHO_T}no" >&6
26628 fi
26629
26630 min_gtk_version=1.2.7
26631 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26632 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26633 no_gtk=""
26634 if test "$GTK_CONFIG" = "no" ; then
26635 no_gtk=yes
26636 else
26637 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26638 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26639 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26640 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26641 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26642 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26643 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26644 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26645 if test "x$enable_gtktest" = "xyes" ; then
26646 ac_save_CFLAGS="$CFLAGS"
26647 ac_save_LIBS="$LIBS"
26648 CFLAGS="$CFLAGS $GTK_CFLAGS"
26649 LIBS="$GTK_LIBS $LIBS"
26650 rm -f conf.gtktest
26651 if test "$cross_compiling" = yes; then
26652 echo $ac_n "cross compiling; assumed OK... $ac_c"
26653 else
26654 cat >conftest.$ac_ext <<_ACEOF
26655 /* confdefs.h. */
26656 _ACEOF
26657 cat confdefs.h >>conftest.$ac_ext
26658 cat >>conftest.$ac_ext <<_ACEOF
26659 /* end confdefs.h. */
26660
26661 #include <gtk/gtk.h>
26662 #include <stdio.h>
26663 #include <stdlib.h>
26664
26665 int
26666 main ()
26667 {
26668 int major, minor, micro;
26669 char *tmp_version;
26670
26671 system ("touch conf.gtktest");
26672
26673 /* HP/UX 9 (%@#!) writes to sscanf strings */
26674 tmp_version = g_strdup("$min_gtk_version");
26675 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26676 printf("%s, bad version string\n", "$min_gtk_version");
26677 exit(1);
26678 }
26679
26680 if ((gtk_major_version != $gtk_config_major_version) ||
26681 (gtk_minor_version != $gtk_config_minor_version) ||
26682 (gtk_micro_version != $gtk_config_micro_version))
26683 {
26684 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26685 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26686 gtk_major_version, gtk_minor_version, gtk_micro_version);
26687 printf ("*** was found! If gtk-config was correct, then it is best\n");
26688 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26689 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26690 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26691 printf("*** required on your system.\n");
26692 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26693 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26694 printf("*** before re-running configure\n");
26695 }
26696 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26697 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26698 (gtk_minor_version != GTK_MINOR_VERSION) ||
26699 (gtk_micro_version != GTK_MICRO_VERSION))
26700 {
26701 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26702 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26703 printf("*** library (version %d.%d.%d)\n",
26704 gtk_major_version, gtk_minor_version, gtk_micro_version);
26705 }
26706 #endif /* defined (GTK_MAJOR_VERSION) ... */
26707 else
26708 {
26709 if ((gtk_major_version > major) ||
26710 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26711 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26712 {
26713 return 0;
26714 }
26715 else
26716 {
26717 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26718 gtk_major_version, gtk_minor_version, gtk_micro_version);
26719 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26720 major, minor, micro);
26721 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26722 printf("***\n");
26723 printf("*** If you have already installed a sufficiently new version, this error\n");
26724 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26725 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26726 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26727 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26728 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26729 printf("*** so that the correct libraries are found at run-time))\n");
26730 }
26731 }
26732 return 1;
26733 }
26734
26735 _ACEOF
26736 rm -f conftest$ac_exeext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26738 (eval $ac_link) 2>&5
26739 ac_status=$?
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26743 (eval $ac_try) 2>&5
26744 ac_status=$?
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); }; }; then
26747 :
26748 else
26749 echo "$as_me: program exited with status $ac_status" >&5
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.$ac_ext >&5
26752
26753 ( exit $ac_status )
26754 no_gtk=yes
26755 fi
26756 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26757 fi
26758 CFLAGS="$ac_save_CFLAGS"
26759 LIBS="$ac_save_LIBS"
26760 fi
26761 fi
26762 if test "x$no_gtk" = x ; then
26763 echo "$as_me:$LINENO: result: yes" >&5
26764 echo "${ECHO_T}yes" >&6
26765 wx_cv_lib_gtk=1.2.7
26766 else
26767 echo "$as_me:$LINENO: result: no" >&5
26768 echo "${ECHO_T}no" >&6
26769 if test "$GTK_CONFIG" = "no" ; then
26770 echo "*** The gtk-config script installed by GTK could not be found"
26771 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26772 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26773 echo "*** full path to gtk-config."
26774 else
26775 if test -f conf.gtktest ; then
26776 :
26777 else
26778 echo "*** Could not run GTK test program, checking why..."
26779 CFLAGS="$CFLAGS $GTK_CFLAGS"
26780 LIBS="$LIBS $GTK_LIBS"
26781 cat >conftest.$ac_ext <<_ACEOF
26782 /* confdefs.h. */
26783 _ACEOF
26784 cat confdefs.h >>conftest.$ac_ext
26785 cat >>conftest.$ac_ext <<_ACEOF
26786 /* end confdefs.h. */
26787
26788 #include <gtk/gtk.h>
26789 #include <stdio.h>
26790
26791 int
26792 main ()
26793 {
26794 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26795 ;
26796 return 0;
26797 }
26798 _ACEOF
26799 rm -f conftest.$ac_objext conftest$ac_exeext
26800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26801 (eval $ac_link) 2>conftest.er1
26802 ac_status=$?
26803 grep -v '^ *+' conftest.er1 >conftest.err
26804 rm -f conftest.er1
26805 cat conftest.err >&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); } &&
26808 { ac_try='test -z "$ac_c_werror_flag"
26809 || test ! -s conftest.err'
26810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26811 (eval $ac_try) 2>&5
26812 ac_status=$?
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); }; } &&
26815 { ac_try='test -s conftest$ac_exeext'
26816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26817 (eval $ac_try) 2>&5
26818 ac_status=$?
26819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 (exit $ac_status); }; }; then
26821 echo "*** The test program compiled, but did not run. This usually means"
26822 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26823 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26824 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26825 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26826 echo "*** is required on your system"
26827 echo "***"
26828 echo "*** If you have an old version installed, it is best to remove it, although"
26829 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26830 echo "***"
26831 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26832 echo "*** came with the system with the command"
26833 echo "***"
26834 echo "*** rpm --erase --nodeps gtk gtk-devel"
26835 else
26836 echo "$as_me: failed program was:" >&5
26837 sed 's/^/| /' conftest.$ac_ext >&5
26838
26839 echo "*** The test program failed to compile or link. See the file config.log for the"
26840 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26841 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26842 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26843 fi
26844 rm -f conftest.err conftest.$ac_objext \
26845 conftest$ac_exeext conftest.$ac_ext
26846 CFLAGS="$ac_save_CFLAGS"
26847 LIBS="$ac_save_LIBS"
26848 fi
26849 fi
26850 GTK_CFLAGS=""
26851 GTK_LIBS=""
26852 :
26853 fi
26854
26855
26856 rm -f conf.gtktest
26857
26858
26859 if test -z "$wx_cv_lib_gtk"; then
26860
26861 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26862 if test "${with_gtk_prefix+set}" = set; then
26863 withval="$with_gtk_prefix"
26864 gtk_config_prefix="$withval"
26865 else
26866 gtk_config_prefix=""
26867 fi;
26868
26869 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26870 if test "${with_gtk_exec_prefix+set}" = set; then
26871 withval="$with_gtk_exec_prefix"
26872 gtk_config_exec_prefix="$withval"
26873 else
26874 gtk_config_exec_prefix=""
26875 fi;
26876 # Check whether --enable-gtktest or --disable-gtktest was given.
26877 if test "${enable_gtktest+set}" = set; then
26878 enableval="$enable_gtktest"
26879
26880 else
26881 enable_gtktest=yes
26882 fi;
26883
26884 for module in . $GTK_MODULES
26885 do
26886 case "$module" in
26887 gthread)
26888 gtk_config_args="$gtk_config_args gthread"
26889 ;;
26890 esac
26891 done
26892
26893 if test x$gtk_config_exec_prefix != x ; then
26894 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26895 if test x${GTK_CONFIG+set} != xset ; then
26896 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26897 fi
26898 fi
26899 if test x$gtk_config_prefix != x ; then
26900 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26901 if test x${GTK_CONFIG+set} != xset ; then
26902 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26903 fi
26904 fi
26905
26906 # Extract the first word of "gtk-config", so it can be a program name with args.
26907 set dummy gtk-config; ac_word=$2
26908 echo "$as_me:$LINENO: checking for $ac_word" >&5
26909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26910 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26911 echo $ECHO_N "(cached) $ECHO_C" >&6
26912 else
26913 case $GTK_CONFIG in
26914 [\\/]* | ?:[\\/]*)
26915 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26916 ;;
26917 *)
26918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26919 for as_dir in $PATH
26920 do
26921 IFS=$as_save_IFS
26922 test -z "$as_dir" && as_dir=.
26923 for ac_exec_ext in '' $ac_executable_extensions; do
26924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26925 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26927 break 2
26928 fi
26929 done
26930 done
26931
26932 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26933 ;;
26934 esac
26935 fi
26936 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26937
26938 if test -n "$GTK_CONFIG"; then
26939 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26940 echo "${ECHO_T}$GTK_CONFIG" >&6
26941 else
26942 echo "$as_me:$LINENO: result: no" >&5
26943 echo "${ECHO_T}no" >&6
26944 fi
26945
26946 min_gtk_version=1.2.3
26947 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26948 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26949 no_gtk=""
26950 if test "$GTK_CONFIG" = "no" ; then
26951 no_gtk=yes
26952 else
26953 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26954 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26955 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26957 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26958 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26959 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26960 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26961 if test "x$enable_gtktest" = "xyes" ; then
26962 ac_save_CFLAGS="$CFLAGS"
26963 ac_save_LIBS="$LIBS"
26964 CFLAGS="$CFLAGS $GTK_CFLAGS"
26965 LIBS="$GTK_LIBS $LIBS"
26966 rm -f conf.gtktest
26967 if test "$cross_compiling" = yes; then
26968 echo $ac_n "cross compiling; assumed OK... $ac_c"
26969 else
26970 cat >conftest.$ac_ext <<_ACEOF
26971 /* confdefs.h. */
26972 _ACEOF
26973 cat confdefs.h >>conftest.$ac_ext
26974 cat >>conftest.$ac_ext <<_ACEOF
26975 /* end confdefs.h. */
26976
26977 #include <gtk/gtk.h>
26978 #include <stdio.h>
26979 #include <stdlib.h>
26980
26981 int
26982 main ()
26983 {
26984 int major, minor, micro;
26985 char *tmp_version;
26986
26987 system ("touch conf.gtktest");
26988
26989 /* HP/UX 9 (%@#!) writes to sscanf strings */
26990 tmp_version = g_strdup("$min_gtk_version");
26991 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26992 printf("%s, bad version string\n", "$min_gtk_version");
26993 exit(1);
26994 }
26995
26996 if ((gtk_major_version != $gtk_config_major_version) ||
26997 (gtk_minor_version != $gtk_config_minor_version) ||
26998 (gtk_micro_version != $gtk_config_micro_version))
26999 {
27000 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27001 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27002 gtk_major_version, gtk_minor_version, gtk_micro_version);
27003 printf ("*** was found! If gtk-config was correct, then it is best\n");
27004 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27005 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27006 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27007 printf("*** required on your system.\n");
27008 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27009 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27010 printf("*** before re-running configure\n");
27011 }
27012 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27013 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27014 (gtk_minor_version != GTK_MINOR_VERSION) ||
27015 (gtk_micro_version != GTK_MICRO_VERSION))
27016 {
27017 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27018 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27019 printf("*** library (version %d.%d.%d)\n",
27020 gtk_major_version, gtk_minor_version, gtk_micro_version);
27021 }
27022 #endif /* defined (GTK_MAJOR_VERSION) ... */
27023 else
27024 {
27025 if ((gtk_major_version > major) ||
27026 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27027 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27028 {
27029 return 0;
27030 }
27031 else
27032 {
27033 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27034 gtk_major_version, gtk_minor_version, gtk_micro_version);
27035 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27036 major, minor, micro);
27037 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27038 printf("***\n");
27039 printf("*** If you have already installed a sufficiently new version, this error\n");
27040 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27041 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27042 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27043 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27044 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27045 printf("*** so that the correct libraries are found at run-time))\n");
27046 }
27047 }
27048 return 1;
27049 }
27050
27051 _ACEOF
27052 rm -f conftest$ac_exeext
27053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27054 (eval $ac_link) 2>&5
27055 ac_status=$?
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27059 (eval $ac_try) 2>&5
27060 ac_status=$?
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); }; }; then
27063 :
27064 else
27065 echo "$as_me: program exited with status $ac_status" >&5
27066 echo "$as_me: failed program was:" >&5
27067 sed 's/^/| /' conftest.$ac_ext >&5
27068
27069 ( exit $ac_status )
27070 no_gtk=yes
27071 fi
27072 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27073 fi
27074 CFLAGS="$ac_save_CFLAGS"
27075 LIBS="$ac_save_LIBS"
27076 fi
27077 fi
27078 if test "x$no_gtk" = x ; then
27079 echo "$as_me:$LINENO: result: yes" >&5
27080 echo "${ECHO_T}yes" >&6
27081 wx_cv_lib_gtk=1.2.3
27082 else
27083 echo "$as_me:$LINENO: result: no" >&5
27084 echo "${ECHO_T}no" >&6
27085 if test "$GTK_CONFIG" = "no" ; then
27086 echo "*** The gtk-config script installed by GTK could not be found"
27087 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27088 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27089 echo "*** full path to gtk-config."
27090 else
27091 if test -f conf.gtktest ; then
27092 :
27093 else
27094 echo "*** Could not run GTK test program, checking why..."
27095 CFLAGS="$CFLAGS $GTK_CFLAGS"
27096 LIBS="$LIBS $GTK_LIBS"
27097 cat >conftest.$ac_ext <<_ACEOF
27098 /* confdefs.h. */
27099 _ACEOF
27100 cat confdefs.h >>conftest.$ac_ext
27101 cat >>conftest.$ac_ext <<_ACEOF
27102 /* end confdefs.h. */
27103
27104 #include <gtk/gtk.h>
27105 #include <stdio.h>
27106
27107 int
27108 main ()
27109 {
27110 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27111 ;
27112 return 0;
27113 }
27114 _ACEOF
27115 rm -f conftest.$ac_objext conftest$ac_exeext
27116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27117 (eval $ac_link) 2>conftest.er1
27118 ac_status=$?
27119 grep -v '^ *+' conftest.er1 >conftest.err
27120 rm -f conftest.er1
27121 cat conftest.err >&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try='test -z "$ac_c_werror_flag"
27125 || test ! -s conftest.err'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27128 ac_status=$?
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; } &&
27131 { ac_try='test -s conftest$ac_exeext'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27134 ac_status=$?
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27137 echo "*** The test program compiled, but did not run. This usually means"
27138 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27139 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27140 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27141 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27142 echo "*** is required on your system"
27143 echo "***"
27144 echo "*** If you have an old version installed, it is best to remove it, although"
27145 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27146 echo "***"
27147 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27148 echo "*** came with the system with the command"
27149 echo "***"
27150 echo "*** rpm --erase --nodeps gtk gtk-devel"
27151 else
27152 echo "$as_me: failed program was:" >&5
27153 sed 's/^/| /' conftest.$ac_ext >&5
27154
27155 echo "*** The test program failed to compile or link. See the file config.log for the"
27156 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27157 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27158 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27159 fi
27160 rm -f conftest.err conftest.$ac_objext \
27161 conftest$ac_exeext conftest.$ac_ext
27162 CFLAGS="$ac_save_CFLAGS"
27163 LIBS="$ac_save_LIBS"
27164 fi
27165 fi
27166 GTK_CFLAGS=""
27167 GTK_LIBS=""
27168 :
27169 fi
27170
27171
27172 rm -f conf.gtktest
27173
27174 fi
27175 fi
27176 fi
27177
27178 if test -z "$wx_cv_lib_gtk"; then
27179 wx_cv_lib_gtk=none
27180 else
27181 wx_cv_cflags_gtk=$GTK_CFLAGS
27182 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27183 fi
27184
27185
27186 fi
27187
27188
27189 if test "$gtk_version_cached" = 1; then
27190 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27191 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27192 fi
27193
27194 case "$wx_cv_lib_gtk" in
27195 2.0) WXGTK20=1
27196 TOOLKIT_VERSION=2
27197 ;;
27198 1.2.7) WXGTK127=1
27199 WXGTK12=1
27200 ;;
27201 1.2.3) WXGTK12=1
27202 ;;
27203 *) { { echo "$as_me:$LINENO: error:
27204 The development files for GTK+ were not found. For GTK+ 2, please
27205 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27206 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27207 and that the version is 1.2.3 or above. Also check that the
27208 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27209 --libs' are in the LD_LIBRARY_PATH or equivalent.
27210 " >&5
27211 echo "$as_me: error:
27212 The development files for GTK+ were not found. For GTK+ 2, please
27213 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27214 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27215 and that the version is 1.2.3 or above. Also check that the
27216 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27217 --libs' are in the LD_LIBRARY_PATH or equivalent.
27218 " >&2;}
27219 { (exit 1); exit 1; }; }
27220 ;;
27221 esac
27222
27223 if test "$WXGTK20" = 1; then
27224 save_CFLAGS="$CFLAGS"
27225 save_LIBS="$LIBS"
27226 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27227 LIBS="$LIBS $wx_cv_libs_gtk"
27228
27229 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27230 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27231 cat >conftest.$ac_ext <<_ACEOF
27232 /* confdefs.h. */
27233 _ACEOF
27234 cat confdefs.h >>conftest.$ac_ext
27235 cat >>conftest.$ac_ext <<_ACEOF
27236 /* end confdefs.h. */
27237
27238 #include <gtk/gtk.h>
27239
27240 int
27241 main ()
27242 {
27243
27244 void *f = gtk_icon_size_lookup;
27245
27246 ;
27247 return 0;
27248 }
27249 _ACEOF
27250 rm -f conftest.$ac_objext
27251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27252 (eval $ac_compile) 2>conftest.er1
27253 ac_status=$?
27254 grep -v '^ *+' conftest.er1 >conftest.err
27255 rm -f conftest.er1
27256 cat conftest.err >&5
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); } &&
27259 { ac_try='test -z "$ac_c_werror_flag"
27260 || test ! -s conftest.err'
27261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27262 (eval $ac_try) 2>&5
27263 ac_status=$?
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); }; } &&
27266 { ac_try='test -s conftest.$ac_objext'
27267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27268 (eval $ac_try) 2>&5
27269 ac_status=$?
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); }; }; then
27272
27273 echo "$as_me:$LINENO: result: no" >&5
27274 echo "${ECHO_T}no" >&6
27275
27276 else
27277 echo "$as_me: failed program was:" >&5
27278 sed 's/^/| /' conftest.$ac_ext >&5
27279
27280
27281 cat >>confdefs.h <<\_ACEOF
27282 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27283 _ACEOF
27284
27285 echo "$as_me:$LINENO: result: yes" >&5
27286 echo "${ECHO_T}yes" >&6
27287
27288 fi
27289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27290
27291 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27292 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27293 cat >conftest.$ac_ext <<_ACEOF
27294 /* confdefs.h. */
27295 _ACEOF
27296 cat confdefs.h >>conftest.$ac_ext
27297 cat >>conftest.$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27299
27300 #include <gtk/gtk.h>
27301
27302 int
27303 main ()
27304 {
27305
27306 #if !GTK_CHECK_VERSION(2,4,0)
27307 Not GTK+ 2.4
27308 #endif
27309
27310 ;
27311 return 0;
27312 }
27313 _ACEOF
27314 rm -f conftest.$ac_objext
27315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27316 (eval $ac_compile) 2>conftest.er1
27317 ac_status=$?
27318 grep -v '^ *+' conftest.er1 >conftest.err
27319 rm -f conftest.er1
27320 cat conftest.err >&5
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); } &&
27323 { ac_try='test -z "$ac_c_werror_flag"
27324 || test ! -s conftest.err'
27325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27326 (eval $ac_try) 2>&5
27327 ac_status=$?
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); }; } &&
27330 { ac_try='test -s conftest.$ac_objext'
27331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27332 (eval $ac_try) 2>&5
27333 ac_status=$?
27334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 (exit $ac_status); }; }; then
27336
27337 cat >>confdefs.h <<\_ACEOF
27338 #define __WXGTK24__ 1
27339 _ACEOF
27340
27341 echo "$as_me:$LINENO: result: yes" >&5
27342 echo "${ECHO_T}yes" >&6
27343
27344 else
27345 echo "$as_me: failed program was:" >&5
27346 sed 's/^/| /' conftest.$ac_ext >&5
27347
27348
27349 echo "$as_me:$LINENO: result: no" >&5
27350 echo "${ECHO_T}no" >&6
27351
27352 fi
27353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27354
27355 CFLAGS="$save_CFLAGS"
27356 LIBS="$save_LIBS"
27357 else
27358 if test "$wxUSE_UNICODE" = "yes"; then
27359 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27360 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27361 wxUSE_UNICODE=no
27362 fi
27363 fi
27364
27365 if test "$USE_DARWIN" != 1; then
27366
27367 for ac_func in poll
27368 do
27369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27370 echo "$as_me:$LINENO: checking for $ac_func" >&5
27371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27372 if eval "test \"\${$as_ac_var+set}\" = set"; then
27373 echo $ECHO_N "(cached) $ECHO_C" >&6
27374 else
27375 cat >conftest.$ac_ext <<_ACEOF
27376 /* confdefs.h. */
27377 _ACEOF
27378 cat confdefs.h >>conftest.$ac_ext
27379 cat >>conftest.$ac_ext <<_ACEOF
27380 /* end confdefs.h. */
27381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27383 #define $ac_func innocuous_$ac_func
27384
27385 /* System header to define __stub macros and hopefully few prototypes,
27386 which can conflict with char $ac_func (); below.
27387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27388 <limits.h> exists even on freestanding compilers. */
27389
27390 #ifdef __STDC__
27391 # include <limits.h>
27392 #else
27393 # include <assert.h>
27394 #endif
27395
27396 #undef $ac_func
27397
27398 /* Override any gcc2 internal prototype to avoid an error. */
27399 #ifdef __cplusplus
27400 extern "C"
27401 {
27402 #endif
27403 /* We use char because int might match the return type of a gcc2
27404 builtin and then its argument prototype would still apply. */
27405 char $ac_func ();
27406 /* The GNU C library defines this for functions which it implements
27407 to always fail with ENOSYS. Some functions are actually named
27408 something starting with __ and the normal name is an alias. */
27409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27410 choke me
27411 #else
27412 char (*f) () = $ac_func;
27413 #endif
27414 #ifdef __cplusplus
27415 }
27416 #endif
27417
27418 int
27419 main ()
27420 {
27421 return f != $ac_func;
27422 ;
27423 return 0;
27424 }
27425 _ACEOF
27426 rm -f conftest.$ac_objext conftest$ac_exeext
27427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27428 (eval $ac_link) 2>conftest.er1
27429 ac_status=$?
27430 grep -v '^ *+' conftest.er1 >conftest.err
27431 rm -f conftest.er1
27432 cat conftest.err >&5
27433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27434 (exit $ac_status); } &&
27435 { ac_try='test -z "$ac_c_werror_flag"
27436 || test ! -s conftest.err'
27437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27438 (eval $ac_try) 2>&5
27439 ac_status=$?
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); }; } &&
27442 { ac_try='test -s conftest$ac_exeext'
27443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27444 (eval $ac_try) 2>&5
27445 ac_status=$?
27446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27447 (exit $ac_status); }; }; then
27448 eval "$as_ac_var=yes"
27449 else
27450 echo "$as_me: failed program was:" >&5
27451 sed 's/^/| /' conftest.$ac_ext >&5
27452
27453 eval "$as_ac_var=no"
27454 fi
27455 rm -f conftest.err conftest.$ac_objext \
27456 conftest$ac_exeext conftest.$ac_ext
27457 fi
27458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27460 if test `eval echo '${'$as_ac_var'}'` = yes; then
27461 cat >>confdefs.h <<_ACEOF
27462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27463 _ACEOF
27464
27465 fi
27466 done
27467
27468 fi
27469
27470 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
27471 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27472
27473 AFMINSTALL=afminstall
27474 TOOLKIT=GTK
27475 GUIDIST=GTK_DIST
27476
27477 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27478 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27479 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27480 echo $ECHO_N "(cached) $ECHO_C" >&6
27481 else
27482 ac_check_lib_save_LIBS=$LIBS
27483 LIBS="-lgdk $LIBS"
27484 cat >conftest.$ac_ext <<_ACEOF
27485 /* confdefs.h. */
27486 _ACEOF
27487 cat confdefs.h >>conftest.$ac_ext
27488 cat >>conftest.$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27490
27491 /* Override any gcc2 internal prototype to avoid an error. */
27492 #ifdef __cplusplus
27493 extern "C"
27494 #endif
27495 /* We use char because int might match the return type of a gcc2
27496 builtin and then its argument prototype would still apply. */
27497 char gdk_im_open ();
27498 int
27499 main ()
27500 {
27501 gdk_im_open ();
27502 ;
27503 return 0;
27504 }
27505 _ACEOF
27506 rm -f conftest.$ac_objext conftest$ac_exeext
27507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27508 (eval $ac_link) 2>conftest.er1
27509 ac_status=$?
27510 grep -v '^ *+' conftest.er1 >conftest.err
27511 rm -f conftest.er1
27512 cat conftest.err >&5
27513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); } &&
27515 { ac_try='test -z "$ac_c_werror_flag"
27516 || test ! -s conftest.err'
27517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27518 (eval $ac_try) 2>&5
27519 ac_status=$?
27520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521 (exit $ac_status); }; } &&
27522 { ac_try='test -s conftest$ac_exeext'
27523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27524 (eval $ac_try) 2>&5
27525 ac_status=$?
27526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527 (exit $ac_status); }; }; then
27528 ac_cv_lib_gdk_gdk_im_open=yes
27529 else
27530 echo "$as_me: failed program was:" >&5
27531 sed 's/^/| /' conftest.$ac_ext >&5
27532
27533 ac_cv_lib_gdk_gdk_im_open=no
27534 fi
27535 rm -f conftest.err conftest.$ac_objext \
27536 conftest$ac_exeext conftest.$ac_ext
27537 LIBS=$ac_check_lib_save_LIBS
27538 fi
27539 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27540 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27541 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27542 cat >>confdefs.h <<\_ACEOF
27543 #define HAVE_XIM 1
27544 _ACEOF
27545
27546 fi
27547
27548
27549
27550 if test "$wxUSE_GPE" = "yes"; then
27551 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27552 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27553
27554 ac_find_libraries=
27555 for ac_dir in $SEARCH_LIB;
27556 do
27557 for ac_extension in a so sl dylib dll.a; do
27558 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27559 ac_find_libraries=$ac_dir
27560 break 2
27561 fi
27562 done
27563 done
27564
27565 if test "$ac_find_libraries" != "" ; then
27566
27567 if test "$ac_find_libraries" = "default location"; then
27568 ac_path_to_link=""
27569 else
27570 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27571 result=$?
27572 if test $result = 0; then
27573 ac_path_to_link=""
27574 else
27575 ac_path_to_link=" -L$ac_find_libraries"
27576 fi
27577 fi
27578
27579 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27580 WXGPE=1
27581 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27582 echo "${ECHO_T}found in $ac_find_libraries" >&6
27583 else
27584 echo "$as_me:$LINENO: result: not found" >&5
27585 echo "${ECHO_T}not found" >&6
27586 fi
27587
27588 fi
27589 fi
27590
27591 if test "$wxUSE_MGL" = 1; then
27592 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27593 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27594 if test "x$MGL_ROOT" = x ; then
27595 echo "$as_me:$LINENO: result: not found" >&5
27596 echo "${ECHO_T}not found" >&6
27597 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27598 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27599 { (exit 1); exit 1; }; }
27600 else
27601 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27602 echo "${ECHO_T}$MGL_ROOT" >&6
27603 fi
27604
27605 echo "$as_me:$LINENO: checking for libmgl location" >&5
27606 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27607 case "${host}" in
27608 *-*-linux* )
27609 if test "x$wxUSE_SHARED" = xyes ; then
27610 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27611 else
27612 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27613 fi
27614 ;;
27615 *-pc-msdosdjgpp )
27616 mgl_os_candidates="dos32/dj2"
27617 ;;
27618 *)
27619 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27620 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27621 { (exit 1); exit 1; }; }
27622 esac
27623
27624 mgl_lib_type=""
27625 mgl_os=""
27626
27627 for mgl_os_i in $mgl_os_candidates ; do
27628 if test "x$mgl_os" = x ; then
27629 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27630 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
27631 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
27632 mgl_lib_type=debug
27633 mgl_os=$mgl_os_i
27634 fi
27635 fi
27636 if test "x$mgl_lib_type" = x ; then
27637 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
27638 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
27639 mgl_lib_type=release
27640 mgl_os=$mgl_os_i
27641 fi
27642 fi
27643 fi
27644 done
27645
27646 if test "x$mgl_os" = x ; then
27647 echo "$as_me:$LINENO: result: not found" >&5
27648 echo "${ECHO_T}not found" >&6
27649 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27650 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27651 { (exit 1); exit 1; }; }
27652 fi
27653 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27654 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27655
27656 wxUSE_UNIVERSAL="yes"
27657
27658 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
27659 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27660
27661 AFMINSTALL=afminstall
27662 TOOLKIT=MGL
27663 GUIDIST=MGL_DIST
27664 fi
27665
27666 if test "$wxUSE_MICROWIN" = 1; then
27667 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27668 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27669 if test "x$MICROWINDOWS" = x ; then
27670 echo "$as_me:$LINENO: result: not found" >&5
27671 echo "${ECHO_T}not found" >&6
27672 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27673 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27674 { (exit 1); exit 1; }; }
27675 else
27676 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27677 echo "${ECHO_T}$MICROWINDOWS" >&6
27678 fi
27679
27680 if test -f $MICROWINDOWS/lib/libmwin.a; then
27681 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27682 echo "${ECHO_T}MicroWindows' libraries found." >&6
27683 else
27684 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27685 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27686 { (exit 1); exit 1; }; }
27687 fi
27688
27689 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
27690 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27691
27692 wxUSE_UNIVERSAL="yes"
27693
27694 AFMINSTALL=afminstall
27695 TOOLKIT=MICROWIN
27696 GUIDIST=MICROWIN_DIST
27697
27698 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27699 fi
27700
27701 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27702 echo "$as_me:$LINENO: checking for X" >&5
27703 echo $ECHO_N "checking for X... $ECHO_C" >&6
27704
27705
27706 # Check whether --with-x or --without-x was given.
27707 if test "${with_x+set}" = set; then
27708 withval="$with_x"
27709
27710 fi;
27711 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27712 if test "x$with_x" = xno; then
27713 # The user explicitly disabled X.
27714 have_x=disabled
27715 else
27716 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
27717 # Both variables are already set.
27718 have_x=yes
27719 else
27720 if test "${ac_cv_have_x+set}" = set; then
27721 echo $ECHO_N "(cached) $ECHO_C" >&6
27722 else
27723 # One or both of the vars are not set, and there is no cached value.
27724 ac_x_includes=no ac_x_libraries=no
27725 rm -fr conftest.dir
27726 if mkdir conftest.dir; then
27727 cd conftest.dir
27728 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27729 cat >Imakefile <<'_ACEOF'
27730 acfindx:
27731 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27732 _ACEOF
27733 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
27734 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27735 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27736 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27737 for ac_extension in a so sl; do
27738 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
27739 test -f $ac_im_libdir/libX11.$ac_extension; then
27740 ac_im_usrlibdir=$ac_im_libdir; break
27741 fi
27742 done
27743 # Screen out bogus values from the imake configuration. They are
27744 # bogus both because they are the default anyway, and because
27745 # using them would break gcc on systems where it needs fixed includes.
27746 case $ac_im_incroot in
27747 /usr/include) ;;
27748 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27749 esac
27750 case $ac_im_usrlibdir in
27751 /usr/lib | /lib) ;;
27752 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27753 esac
27754 fi
27755 cd ..
27756 rm -fr conftest.dir
27757 fi
27758
27759 # Standard set of common directories for X headers.
27760 # Check X11 before X11Rn because it is often a symlink to the current release.
27761 ac_x_header_dirs='
27762 /usr/X11/include
27763 /usr/X11R6/include
27764 /usr/X11R5/include
27765 /usr/X11R4/include
27766
27767 /usr/include/X11
27768 /usr/include/X11R6
27769 /usr/include/X11R5
27770 /usr/include/X11R4
27771
27772 /usr/local/X11/include
27773 /usr/local/X11R6/include
27774 /usr/local/X11R5/include
27775 /usr/local/X11R4/include
27776
27777 /usr/local/include/X11
27778 /usr/local/include/X11R6
27779 /usr/local/include/X11R5
27780 /usr/local/include/X11R4
27781
27782 /usr/X386/include
27783 /usr/x386/include
27784 /usr/XFree86/include/X11
27785
27786 /usr/include
27787 /usr/local/include
27788 /usr/unsupported/include
27789 /usr/athena/include
27790 /usr/local/x11r5/include
27791 /usr/lpp/Xamples/include
27792
27793 /usr/openwin/include
27794 /usr/openwin/share/include'
27795
27796 if test "$ac_x_includes" = no; then
27797 # Guess where to find include files, by looking for Intrinsic.h.
27798 # First, try using that file with no special directory specified.
27799 cat >conftest.$ac_ext <<_ACEOF
27800 /* confdefs.h. */
27801 _ACEOF
27802 cat confdefs.h >>conftest.$ac_ext
27803 cat >>conftest.$ac_ext <<_ACEOF
27804 /* end confdefs.h. */
27805 #include <X11/Intrinsic.h>
27806 _ACEOF
27807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27808 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27809 ac_status=$?
27810 grep -v '^ *+' conftest.er1 >conftest.err
27811 rm -f conftest.er1
27812 cat conftest.err >&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); } >/dev/null; then
27815 if test -s conftest.err; then
27816 ac_cpp_err=$ac_c_preproc_warn_flag
27817 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27818 else
27819 ac_cpp_err=
27820 fi
27821 else
27822 ac_cpp_err=yes
27823 fi
27824 if test -z "$ac_cpp_err"; then
27825 # We can compile using X headers with no special include directory.
27826 ac_x_includes=
27827 else
27828 echo "$as_me: failed program was:" >&5
27829 sed 's/^/| /' conftest.$ac_ext >&5
27830
27831 for ac_dir in $ac_x_header_dirs; do
27832 if test -r "$ac_dir/X11/Intrinsic.h"; then
27833 ac_x_includes=$ac_dir
27834 break
27835 fi
27836 done
27837 fi
27838 rm -f conftest.err conftest.$ac_ext
27839 fi # $ac_x_includes = no
27840
27841 if test "$ac_x_libraries" = no; then
27842 # Check for the libraries.
27843 # See if we find them without any special options.
27844 # Don't add to $LIBS permanently.
27845 ac_save_LIBS=$LIBS
27846 LIBS="-lXt $LIBS"
27847 cat >conftest.$ac_ext <<_ACEOF
27848 /* confdefs.h. */
27849 _ACEOF
27850 cat confdefs.h >>conftest.$ac_ext
27851 cat >>conftest.$ac_ext <<_ACEOF
27852 /* end confdefs.h. */
27853 #include <X11/Intrinsic.h>
27854 int
27855 main ()
27856 {
27857 XtMalloc (0)
27858 ;
27859 return 0;
27860 }
27861 _ACEOF
27862 rm -f conftest.$ac_objext conftest$ac_exeext
27863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27864 (eval $ac_link) 2>conftest.er1
27865 ac_status=$?
27866 grep -v '^ *+' conftest.er1 >conftest.err
27867 rm -f conftest.er1
27868 cat conftest.err >&5
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); } &&
27871 { ac_try='test -z "$ac_c_werror_flag"
27872 || test ! -s conftest.err'
27873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27874 (eval $ac_try) 2>&5
27875 ac_status=$?
27876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27877 (exit $ac_status); }; } &&
27878 { ac_try='test -s conftest$ac_exeext'
27879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27880 (eval $ac_try) 2>&5
27881 ac_status=$?
27882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27883 (exit $ac_status); }; }; then
27884 LIBS=$ac_save_LIBS
27885 # We can link X programs with no special library path.
27886 ac_x_libraries=
27887 else
27888 echo "$as_me: failed program was:" >&5
27889 sed 's/^/| /' conftest.$ac_ext >&5
27890
27891 LIBS=$ac_save_LIBS
27892 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27893 do
27894 # Don't even attempt the hair of trying to link an X program!
27895 for ac_extension in a so sl; do
27896 if test -r $ac_dir/libXt.$ac_extension; then
27897 ac_x_libraries=$ac_dir
27898 break 2
27899 fi
27900 done
27901 done
27902 fi
27903 rm -f conftest.err conftest.$ac_objext \
27904 conftest$ac_exeext conftest.$ac_ext
27905 fi # $ac_x_libraries = no
27906
27907 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
27908 # Didn't find X anywhere. Cache the known absence of X.
27909 ac_cv_have_x="have_x=no"
27910 else
27911 # Record where we found X for the cache.
27912 ac_cv_have_x="have_x=yes \
27913 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27914 fi
27915 fi
27916
27917 fi
27918 eval "$ac_cv_have_x"
27919 fi # $with_x != no
27920
27921 if test "$have_x" != yes; then
27922 echo "$as_me:$LINENO: result: $have_x" >&5
27923 echo "${ECHO_T}$have_x" >&6
27924 no_x=yes
27925 else
27926 # If each of the values was on the command line, it overrides each guess.
27927 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
27928 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
27929 # Update the cache value to reflect the command line values.
27930 ac_cv_have_x="have_x=yes \
27931 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27932 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
27933 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
27934 fi
27935
27936 if test "$no_x" = yes; then
27937 # Not all programs may use this symbol, but it does not hurt to define it.
27938
27939 cat >>confdefs.h <<\_ACEOF
27940 #define X_DISPLAY_MISSING 1
27941 _ACEOF
27942
27943 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
27944 else
27945 if test -n "$x_includes"; then
27946 X_CFLAGS="$X_CFLAGS -I$x_includes"
27947 fi
27948
27949 # It would also be nice to do this for all -L options, not just this one.
27950 if test -n "$x_libraries"; then
27951 X_LIBS="$X_LIBS -L$x_libraries"
27952 # For Solaris; some versions of Sun CC require a space after -R and
27953 # others require no space. Words are not sufficient . . . .
27954 case `(uname -sr) 2>/dev/null` in
27955 "SunOS 5"*)
27956 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27957 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27958 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
27959 cat >conftest.$ac_ext <<_ACEOF
27960 /* confdefs.h. */
27961 _ACEOF
27962 cat confdefs.h >>conftest.$ac_ext
27963 cat >>conftest.$ac_ext <<_ACEOF
27964 /* end confdefs.h. */
27965
27966 int
27967 main ()
27968 {
27969
27970 ;
27971 return 0;
27972 }
27973 _ACEOF
27974 rm -f conftest.$ac_objext conftest$ac_exeext
27975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27976 (eval $ac_link) 2>conftest.er1
27977 ac_status=$?
27978 grep -v '^ *+' conftest.er1 >conftest.err
27979 rm -f conftest.er1
27980 cat conftest.err >&5
27981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27982 (exit $ac_status); } &&
27983 { ac_try='test -z "$ac_c_werror_flag"
27984 || test ! -s conftest.err'
27985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27986 (eval $ac_try) 2>&5
27987 ac_status=$?
27988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27989 (exit $ac_status); }; } &&
27990 { ac_try='test -s conftest$ac_exeext'
27991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27992 (eval $ac_try) 2>&5
27993 ac_status=$?
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); }; }; then
27996 ac_R_nospace=yes
27997 else
27998 echo "$as_me: failed program was:" >&5
27999 sed 's/^/| /' conftest.$ac_ext >&5
28000
28001 ac_R_nospace=no
28002 fi
28003 rm -f conftest.err conftest.$ac_objext \
28004 conftest$ac_exeext conftest.$ac_ext
28005 if test $ac_R_nospace = yes; then
28006 echo "$as_me:$LINENO: result: no" >&5
28007 echo "${ECHO_T}no" >&6
28008 X_LIBS="$X_LIBS -R$x_libraries"
28009 else
28010 LIBS="$ac_xsave_LIBS -R $x_libraries"
28011 cat >conftest.$ac_ext <<_ACEOF
28012 /* confdefs.h. */
28013 _ACEOF
28014 cat confdefs.h >>conftest.$ac_ext
28015 cat >>conftest.$ac_ext <<_ACEOF
28016 /* end confdefs.h. */
28017
28018 int
28019 main ()
28020 {
28021
28022 ;
28023 return 0;
28024 }
28025 _ACEOF
28026 rm -f conftest.$ac_objext conftest$ac_exeext
28027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28028 (eval $ac_link) 2>conftest.er1
28029 ac_status=$?
28030 grep -v '^ *+' conftest.er1 >conftest.err
28031 rm -f conftest.er1
28032 cat conftest.err >&5
28033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034 (exit $ac_status); } &&
28035 { ac_try='test -z "$ac_c_werror_flag"
28036 || test ! -s conftest.err'
28037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28038 (eval $ac_try) 2>&5
28039 ac_status=$?
28040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041 (exit $ac_status); }; } &&
28042 { ac_try='test -s conftest$ac_exeext'
28043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28044 (eval $ac_try) 2>&5
28045 ac_status=$?
28046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047 (exit $ac_status); }; }; then
28048 ac_R_space=yes
28049 else
28050 echo "$as_me: failed program was:" >&5
28051 sed 's/^/| /' conftest.$ac_ext >&5
28052
28053 ac_R_space=no
28054 fi
28055 rm -f conftest.err conftest.$ac_objext \
28056 conftest$ac_exeext conftest.$ac_ext
28057 if test $ac_R_space = yes; then
28058 echo "$as_me:$LINENO: result: yes" >&5
28059 echo "${ECHO_T}yes" >&6
28060 X_LIBS="$X_LIBS -R $x_libraries"
28061 else
28062 echo "$as_me:$LINENO: result: neither works" >&5
28063 echo "${ECHO_T}neither works" >&6
28064 fi
28065 fi
28066 LIBS=$ac_xsave_LIBS
28067 esac
28068 fi
28069
28070 # Check for system-dependent libraries X programs must link with.
28071 # Do this before checking for the system-independent R6 libraries
28072 # (-lICE), since we may need -lsocket or whatever for X linking.
28073
28074 if test "$ISC" = yes; then
28075 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
28076 else
28077 # Martyn Johnson says this is needed for Ultrix, if the X
28078 # libraries were built with DECnet support. And Karl Berry says
28079 # the Alpha needs dnet_stub (dnet does not exist).
28080 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
28081 cat >conftest.$ac_ext <<_ACEOF
28082 /* confdefs.h. */
28083 _ACEOF
28084 cat confdefs.h >>conftest.$ac_ext
28085 cat >>conftest.$ac_ext <<_ACEOF
28086 /* end confdefs.h. */
28087
28088 /* Override any gcc2 internal prototype to avoid an error. */
28089 #ifdef __cplusplus
28090 extern "C"
28091 #endif
28092 /* We use char because int might match the return type of a gcc2
28093 builtin and then its argument prototype would still apply. */
28094 char XOpenDisplay ();
28095 int
28096 main ()
28097 {
28098 XOpenDisplay ();
28099 ;
28100 return 0;
28101 }
28102 _ACEOF
28103 rm -f conftest.$ac_objext conftest$ac_exeext
28104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28105 (eval $ac_link) 2>conftest.er1
28106 ac_status=$?
28107 grep -v '^ *+' conftest.er1 >conftest.err
28108 rm -f conftest.er1
28109 cat conftest.err >&5
28110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111 (exit $ac_status); } &&
28112 { ac_try='test -z "$ac_c_werror_flag"
28113 || test ! -s conftest.err'
28114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28115 (eval $ac_try) 2>&5
28116 ac_status=$?
28117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28118 (exit $ac_status); }; } &&
28119 { ac_try='test -s conftest$ac_exeext'
28120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28121 (eval $ac_try) 2>&5
28122 ac_status=$?
28123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28124 (exit $ac_status); }; }; then
28125 :
28126 else
28127 echo "$as_me: failed program was:" >&5
28128 sed 's/^/| /' conftest.$ac_ext >&5
28129
28130 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28131 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28132 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28133 echo $ECHO_N "(cached) $ECHO_C" >&6
28134 else
28135 ac_check_lib_save_LIBS=$LIBS
28136 LIBS="-ldnet $LIBS"
28137 cat >conftest.$ac_ext <<_ACEOF
28138 /* confdefs.h. */
28139 _ACEOF
28140 cat confdefs.h >>conftest.$ac_ext
28141 cat >>conftest.$ac_ext <<_ACEOF
28142 /* end confdefs.h. */
28143
28144 /* Override any gcc2 internal prototype to avoid an error. */
28145 #ifdef __cplusplus
28146 extern "C"
28147 #endif
28148 /* We use char because int might match the return type of a gcc2
28149 builtin and then its argument prototype would still apply. */
28150 char dnet_ntoa ();
28151 int
28152 main ()
28153 {
28154 dnet_ntoa ();
28155 ;
28156 return 0;
28157 }
28158 _ACEOF
28159 rm -f conftest.$ac_objext conftest$ac_exeext
28160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28161 (eval $ac_link) 2>conftest.er1
28162 ac_status=$?
28163 grep -v '^ *+' conftest.er1 >conftest.err
28164 rm -f conftest.er1
28165 cat conftest.err >&5
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); } &&
28168 { ac_try='test -z "$ac_c_werror_flag"
28169 || test ! -s conftest.err'
28170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28171 (eval $ac_try) 2>&5
28172 ac_status=$?
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); }; } &&
28175 { ac_try='test -s conftest$ac_exeext'
28176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28177 (eval $ac_try) 2>&5
28178 ac_status=$?
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); }; }; then
28181 ac_cv_lib_dnet_dnet_ntoa=yes
28182 else
28183 echo "$as_me: failed program was:" >&5
28184 sed 's/^/| /' conftest.$ac_ext >&5
28185
28186 ac_cv_lib_dnet_dnet_ntoa=no
28187 fi
28188 rm -f conftest.err conftest.$ac_objext \
28189 conftest$ac_exeext conftest.$ac_ext
28190 LIBS=$ac_check_lib_save_LIBS
28191 fi
28192 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28193 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28194 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28195 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
28196 fi
28197
28198 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
28199 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28200 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28201 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28202 echo $ECHO_N "(cached) $ECHO_C" >&6
28203 else
28204 ac_check_lib_save_LIBS=$LIBS
28205 LIBS="-ldnet_stub $LIBS"
28206 cat >conftest.$ac_ext <<_ACEOF
28207 /* confdefs.h. */
28208 _ACEOF
28209 cat confdefs.h >>conftest.$ac_ext
28210 cat >>conftest.$ac_ext <<_ACEOF
28211 /* end confdefs.h. */
28212
28213 /* Override any gcc2 internal prototype to avoid an error. */
28214 #ifdef __cplusplus
28215 extern "C"
28216 #endif
28217 /* We use char because int might match the return type of a gcc2
28218 builtin and then its argument prototype would still apply. */
28219 char dnet_ntoa ();
28220 int
28221 main ()
28222 {
28223 dnet_ntoa ();
28224 ;
28225 return 0;
28226 }
28227 _ACEOF
28228 rm -f conftest.$ac_objext conftest$ac_exeext
28229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28230 (eval $ac_link) 2>conftest.er1
28231 ac_status=$?
28232 grep -v '^ *+' conftest.er1 >conftest.err
28233 rm -f conftest.er1
28234 cat conftest.err >&5
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); } &&
28237 { ac_try='test -z "$ac_c_werror_flag"
28238 || test ! -s conftest.err'
28239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28240 (eval $ac_try) 2>&5
28241 ac_status=$?
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); }; } &&
28244 { ac_try='test -s conftest$ac_exeext'
28245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246 (eval $ac_try) 2>&5
28247 ac_status=$?
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); }; }; then
28250 ac_cv_lib_dnet_stub_dnet_ntoa=yes
28251 else
28252 echo "$as_me: failed program was:" >&5
28253 sed 's/^/| /' conftest.$ac_ext >&5
28254
28255 ac_cv_lib_dnet_stub_dnet_ntoa=no
28256 fi
28257 rm -f conftest.err conftest.$ac_objext \
28258 conftest$ac_exeext conftest.$ac_ext
28259 LIBS=$ac_check_lib_save_LIBS
28260 fi
28261 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28262 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28263 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28264 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
28265 fi
28266
28267 fi
28268 fi
28269 rm -f conftest.err conftest.$ac_objext \
28270 conftest$ac_exeext conftest.$ac_ext
28271 LIBS="$ac_xsave_LIBS"
28272
28273 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28274 # to get the SysV transport functions.
28275 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28276 # needs -lnsl.
28277 # The nsl library prevents programs from opening the X display
28278 # on Irix 5.2, according to T.E. Dickey.
28279 # The functions gethostbyname, getservbyname, and inet_addr are
28280 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28281 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28282 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28283 if test "${ac_cv_func_gethostbyname+set}" = set; then
28284 echo $ECHO_N "(cached) $ECHO_C" >&6
28285 else
28286 cat >conftest.$ac_ext <<_ACEOF
28287 /* confdefs.h. */
28288 _ACEOF
28289 cat confdefs.h >>conftest.$ac_ext
28290 cat >>conftest.$ac_ext <<_ACEOF
28291 /* end confdefs.h. */
28292 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28294 #define gethostbyname innocuous_gethostbyname
28295
28296 /* System header to define __stub macros and hopefully few prototypes,
28297 which can conflict with char gethostbyname (); below.
28298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28299 <limits.h> exists even on freestanding compilers. */
28300
28301 #ifdef __STDC__
28302 # include <limits.h>
28303 #else
28304 # include <assert.h>
28305 #endif
28306
28307 #undef gethostbyname
28308
28309 /* Override any gcc2 internal prototype to avoid an error. */
28310 #ifdef __cplusplus
28311 extern "C"
28312 {
28313 #endif
28314 /* We use char because int might match the return type of a gcc2
28315 builtin and then its argument prototype would still apply. */
28316 char gethostbyname ();
28317 /* The GNU C library defines this for functions which it implements
28318 to always fail with ENOSYS. Some functions are actually named
28319 something starting with __ and the normal name is an alias. */
28320 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28321 choke me
28322 #else
28323 char (*f) () = gethostbyname;
28324 #endif
28325 #ifdef __cplusplus
28326 }
28327 #endif
28328
28329 int
28330 main ()
28331 {
28332 return f != gethostbyname;
28333 ;
28334 return 0;
28335 }
28336 _ACEOF
28337 rm -f conftest.$ac_objext conftest$ac_exeext
28338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28339 (eval $ac_link) 2>conftest.er1
28340 ac_status=$?
28341 grep -v '^ *+' conftest.er1 >conftest.err
28342 rm -f conftest.er1
28343 cat conftest.err >&5
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); } &&
28346 { ac_try='test -z "$ac_c_werror_flag"
28347 || test ! -s conftest.err'
28348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28349 (eval $ac_try) 2>&5
28350 ac_status=$?
28351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28352 (exit $ac_status); }; } &&
28353 { ac_try='test -s conftest$ac_exeext'
28354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28355 (eval $ac_try) 2>&5
28356 ac_status=$?
28357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 (exit $ac_status); }; }; then
28359 ac_cv_func_gethostbyname=yes
28360 else
28361 echo "$as_me: failed program was:" >&5
28362 sed 's/^/| /' conftest.$ac_ext >&5
28363
28364 ac_cv_func_gethostbyname=no
28365 fi
28366 rm -f conftest.err conftest.$ac_objext \
28367 conftest$ac_exeext conftest.$ac_ext
28368 fi
28369 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28370 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28371
28372 if test $ac_cv_func_gethostbyname = no; then
28373 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28374 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28375 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28376 echo $ECHO_N "(cached) $ECHO_C" >&6
28377 else
28378 ac_check_lib_save_LIBS=$LIBS
28379 LIBS="-lnsl $LIBS"
28380 cat >conftest.$ac_ext <<_ACEOF
28381 /* confdefs.h. */
28382 _ACEOF
28383 cat confdefs.h >>conftest.$ac_ext
28384 cat >>conftest.$ac_ext <<_ACEOF
28385 /* end confdefs.h. */
28386
28387 /* Override any gcc2 internal prototype to avoid an error. */
28388 #ifdef __cplusplus
28389 extern "C"
28390 #endif
28391 /* We use char because int might match the return type of a gcc2
28392 builtin and then its argument prototype would still apply. */
28393 char gethostbyname ();
28394 int
28395 main ()
28396 {
28397 gethostbyname ();
28398 ;
28399 return 0;
28400 }
28401 _ACEOF
28402 rm -f conftest.$ac_objext conftest$ac_exeext
28403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28404 (eval $ac_link) 2>conftest.er1
28405 ac_status=$?
28406 grep -v '^ *+' conftest.er1 >conftest.err
28407 rm -f conftest.er1
28408 cat conftest.err >&5
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); } &&
28411 { ac_try='test -z "$ac_c_werror_flag"
28412 || test ! -s conftest.err'
28413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28414 (eval $ac_try) 2>&5
28415 ac_status=$?
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); }; } &&
28418 { ac_try='test -s conftest$ac_exeext'
28419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28420 (eval $ac_try) 2>&5
28421 ac_status=$?
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); }; }; then
28424 ac_cv_lib_nsl_gethostbyname=yes
28425 else
28426 echo "$as_me: failed program was:" >&5
28427 sed 's/^/| /' conftest.$ac_ext >&5
28428
28429 ac_cv_lib_nsl_gethostbyname=no
28430 fi
28431 rm -f conftest.err conftest.$ac_objext \
28432 conftest$ac_exeext conftest.$ac_ext
28433 LIBS=$ac_check_lib_save_LIBS
28434 fi
28435 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28436 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28437 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28438 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
28439 fi
28440
28441 if test $ac_cv_lib_nsl_gethostbyname = no; then
28442 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28443 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28444 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28445 echo $ECHO_N "(cached) $ECHO_C" >&6
28446 else
28447 ac_check_lib_save_LIBS=$LIBS
28448 LIBS="-lbsd $LIBS"
28449 cat >conftest.$ac_ext <<_ACEOF
28450 /* confdefs.h. */
28451 _ACEOF
28452 cat confdefs.h >>conftest.$ac_ext
28453 cat >>conftest.$ac_ext <<_ACEOF
28454 /* end confdefs.h. */
28455
28456 /* Override any gcc2 internal prototype to avoid an error. */
28457 #ifdef __cplusplus
28458 extern "C"
28459 #endif
28460 /* We use char because int might match the return type of a gcc2
28461 builtin and then its argument prototype would still apply. */
28462 char gethostbyname ();
28463 int
28464 main ()
28465 {
28466 gethostbyname ();
28467 ;
28468 return 0;
28469 }
28470 _ACEOF
28471 rm -f conftest.$ac_objext conftest$ac_exeext
28472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28473 (eval $ac_link) 2>conftest.er1
28474 ac_status=$?
28475 grep -v '^ *+' conftest.er1 >conftest.err
28476 rm -f conftest.er1
28477 cat conftest.err >&5
28478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28479 (exit $ac_status); } &&
28480 { ac_try='test -z "$ac_c_werror_flag"
28481 || test ! -s conftest.err'
28482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28483 (eval $ac_try) 2>&5
28484 ac_status=$?
28485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 (exit $ac_status); }; } &&
28487 { ac_try='test -s conftest$ac_exeext'
28488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28489 (eval $ac_try) 2>&5
28490 ac_status=$?
28491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28492 (exit $ac_status); }; }; then
28493 ac_cv_lib_bsd_gethostbyname=yes
28494 else
28495 echo "$as_me: failed program was:" >&5
28496 sed 's/^/| /' conftest.$ac_ext >&5
28497
28498 ac_cv_lib_bsd_gethostbyname=no
28499 fi
28500 rm -f conftest.err conftest.$ac_objext \
28501 conftest$ac_exeext conftest.$ac_ext
28502 LIBS=$ac_check_lib_save_LIBS
28503 fi
28504 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28505 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28506 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28507 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
28508 fi
28509
28510 fi
28511 fi
28512
28513 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28514 # socket/setsockopt and other routines are undefined under SCO ODT
28515 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28516 # on later versions), says Simon Leinen: it contains gethostby*
28517 # variants that don't use the name server (or something). -lsocket
28518 # must be given before -lnsl if both are needed. We assume that
28519 # if connect needs -lnsl, so does gethostbyname.
28520 echo "$as_me:$LINENO: checking for connect" >&5
28521 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28522 if test "${ac_cv_func_connect+set}" = set; then
28523 echo $ECHO_N "(cached) $ECHO_C" >&6
28524 else
28525 cat >conftest.$ac_ext <<_ACEOF
28526 /* confdefs.h. */
28527 _ACEOF
28528 cat confdefs.h >>conftest.$ac_ext
28529 cat >>conftest.$ac_ext <<_ACEOF
28530 /* end confdefs.h. */
28531 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28533 #define connect innocuous_connect
28534
28535 /* System header to define __stub macros and hopefully few prototypes,
28536 which can conflict with char connect (); below.
28537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28538 <limits.h> exists even on freestanding compilers. */
28539
28540 #ifdef __STDC__
28541 # include <limits.h>
28542 #else
28543 # include <assert.h>
28544 #endif
28545
28546 #undef connect
28547
28548 /* Override any gcc2 internal prototype to avoid an error. */
28549 #ifdef __cplusplus
28550 extern "C"
28551 {
28552 #endif
28553 /* We use char because int might match the return type of a gcc2
28554 builtin and then its argument prototype would still apply. */
28555 char connect ();
28556 /* The GNU C library defines this for functions which it implements
28557 to always fail with ENOSYS. Some functions are actually named
28558 something starting with __ and the normal name is an alias. */
28559 #if defined (__stub_connect) || defined (__stub___connect)
28560 choke me
28561 #else
28562 char (*f) () = connect;
28563 #endif
28564 #ifdef __cplusplus
28565 }
28566 #endif
28567
28568 int
28569 main ()
28570 {
28571 return f != connect;
28572 ;
28573 return 0;
28574 }
28575 _ACEOF
28576 rm -f conftest.$ac_objext conftest$ac_exeext
28577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28578 (eval $ac_link) 2>conftest.er1
28579 ac_status=$?
28580 grep -v '^ *+' conftest.er1 >conftest.err
28581 rm -f conftest.er1
28582 cat conftest.err >&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); } &&
28585 { ac_try='test -z "$ac_c_werror_flag"
28586 || test ! -s conftest.err'
28587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28588 (eval $ac_try) 2>&5
28589 ac_status=$?
28590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591 (exit $ac_status); }; } &&
28592 { ac_try='test -s conftest$ac_exeext'
28593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28594 (eval $ac_try) 2>&5
28595 ac_status=$?
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); }; }; then
28598 ac_cv_func_connect=yes
28599 else
28600 echo "$as_me: failed program was:" >&5
28601 sed 's/^/| /' conftest.$ac_ext >&5
28602
28603 ac_cv_func_connect=no
28604 fi
28605 rm -f conftest.err conftest.$ac_objext \
28606 conftest$ac_exeext conftest.$ac_ext
28607 fi
28608 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28609 echo "${ECHO_T}$ac_cv_func_connect" >&6
28610
28611 if test $ac_cv_func_connect = no; then
28612 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28613 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28614 if test "${ac_cv_lib_socket_connect+set}" = set; then
28615 echo $ECHO_N "(cached) $ECHO_C" >&6
28616 else
28617 ac_check_lib_save_LIBS=$LIBS
28618 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
28619 cat >conftest.$ac_ext <<_ACEOF
28620 /* confdefs.h. */
28621 _ACEOF
28622 cat confdefs.h >>conftest.$ac_ext
28623 cat >>conftest.$ac_ext <<_ACEOF
28624 /* end confdefs.h. */
28625
28626 /* Override any gcc2 internal prototype to avoid an error. */
28627 #ifdef __cplusplus
28628 extern "C"
28629 #endif
28630 /* We use char because int might match the return type of a gcc2
28631 builtin and then its argument prototype would still apply. */
28632 char connect ();
28633 int
28634 main ()
28635 {
28636 connect ();
28637 ;
28638 return 0;
28639 }
28640 _ACEOF
28641 rm -f conftest.$ac_objext conftest$ac_exeext
28642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28643 (eval $ac_link) 2>conftest.er1
28644 ac_status=$?
28645 grep -v '^ *+' conftest.er1 >conftest.err
28646 rm -f conftest.er1
28647 cat conftest.err >&5
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); } &&
28650 { ac_try='test -z "$ac_c_werror_flag"
28651 || test ! -s conftest.err'
28652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28653 (eval $ac_try) 2>&5
28654 ac_status=$?
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); }; } &&
28657 { ac_try='test -s conftest$ac_exeext'
28658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 (eval $ac_try) 2>&5
28660 ac_status=$?
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; }; then
28663 ac_cv_lib_socket_connect=yes
28664 else
28665 echo "$as_me: failed program was:" >&5
28666 sed 's/^/| /' conftest.$ac_ext >&5
28667
28668 ac_cv_lib_socket_connect=no
28669 fi
28670 rm -f conftest.err conftest.$ac_objext \
28671 conftest$ac_exeext conftest.$ac_ext
28672 LIBS=$ac_check_lib_save_LIBS
28673 fi
28674 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28675 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28676 if test $ac_cv_lib_socket_connect = yes; then
28677 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
28678 fi
28679
28680 fi
28681
28682 # Guillermo Gomez says -lposix is necessary on A/UX.
28683 echo "$as_me:$LINENO: checking for remove" >&5
28684 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28685 if test "${ac_cv_func_remove+set}" = set; then
28686 echo $ECHO_N "(cached) $ECHO_C" >&6
28687 else
28688 cat >conftest.$ac_ext <<_ACEOF
28689 /* confdefs.h. */
28690 _ACEOF
28691 cat confdefs.h >>conftest.$ac_ext
28692 cat >>conftest.$ac_ext <<_ACEOF
28693 /* end confdefs.h. */
28694 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28696 #define remove innocuous_remove
28697
28698 /* System header to define __stub macros and hopefully few prototypes,
28699 which can conflict with char remove (); below.
28700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28701 <limits.h> exists even on freestanding compilers. */
28702
28703 #ifdef __STDC__
28704 # include <limits.h>
28705 #else
28706 # include <assert.h>
28707 #endif
28708
28709 #undef remove
28710
28711 /* Override any gcc2 internal prototype to avoid an error. */
28712 #ifdef __cplusplus
28713 extern "C"
28714 {
28715 #endif
28716 /* We use char because int might match the return type of a gcc2
28717 builtin and then its argument prototype would still apply. */
28718 char remove ();
28719 /* The GNU C library defines this for functions which it implements
28720 to always fail with ENOSYS. Some functions are actually named
28721 something starting with __ and the normal name is an alias. */
28722 #if defined (__stub_remove) || defined (__stub___remove)
28723 choke me
28724 #else
28725 char (*f) () = remove;
28726 #endif
28727 #ifdef __cplusplus
28728 }
28729 #endif
28730
28731 int
28732 main ()
28733 {
28734 return f != remove;
28735 ;
28736 return 0;
28737 }
28738 _ACEOF
28739 rm -f conftest.$ac_objext conftest$ac_exeext
28740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28741 (eval $ac_link) 2>conftest.er1
28742 ac_status=$?
28743 grep -v '^ *+' conftest.er1 >conftest.err
28744 rm -f conftest.er1
28745 cat conftest.err >&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); } &&
28748 { ac_try='test -z "$ac_c_werror_flag"
28749 || test ! -s conftest.err'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28752 ac_status=$?
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; } &&
28755 { ac_try='test -s conftest$ac_exeext'
28756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28757 (eval $ac_try) 2>&5
28758 ac_status=$?
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; }; then
28761 ac_cv_func_remove=yes
28762 else
28763 echo "$as_me: failed program was:" >&5
28764 sed 's/^/| /' conftest.$ac_ext >&5
28765
28766 ac_cv_func_remove=no
28767 fi
28768 rm -f conftest.err conftest.$ac_objext \
28769 conftest$ac_exeext conftest.$ac_ext
28770 fi
28771 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28772 echo "${ECHO_T}$ac_cv_func_remove" >&6
28773
28774 if test $ac_cv_func_remove = no; then
28775 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28776 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28777 if test "${ac_cv_lib_posix_remove+set}" = set; then
28778 echo $ECHO_N "(cached) $ECHO_C" >&6
28779 else
28780 ac_check_lib_save_LIBS=$LIBS
28781 LIBS="-lposix $LIBS"
28782 cat >conftest.$ac_ext <<_ACEOF
28783 /* confdefs.h. */
28784 _ACEOF
28785 cat confdefs.h >>conftest.$ac_ext
28786 cat >>conftest.$ac_ext <<_ACEOF
28787 /* end confdefs.h. */
28788
28789 /* Override any gcc2 internal prototype to avoid an error. */
28790 #ifdef __cplusplus
28791 extern "C"
28792 #endif
28793 /* We use char because int might match the return type of a gcc2
28794 builtin and then its argument prototype would still apply. */
28795 char remove ();
28796 int
28797 main ()
28798 {
28799 remove ();
28800 ;
28801 return 0;
28802 }
28803 _ACEOF
28804 rm -f conftest.$ac_objext conftest$ac_exeext
28805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28806 (eval $ac_link) 2>conftest.er1
28807 ac_status=$?
28808 grep -v '^ *+' conftest.er1 >conftest.err
28809 rm -f conftest.er1
28810 cat conftest.err >&5
28811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 (exit $ac_status); } &&
28813 { ac_try='test -z "$ac_c_werror_flag"
28814 || test ! -s conftest.err'
28815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28816 (eval $ac_try) 2>&5
28817 ac_status=$?
28818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28819 (exit $ac_status); }; } &&
28820 { ac_try='test -s conftest$ac_exeext'
28821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28822 (eval $ac_try) 2>&5
28823 ac_status=$?
28824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825 (exit $ac_status); }; }; then
28826 ac_cv_lib_posix_remove=yes
28827 else
28828 echo "$as_me: failed program was:" >&5
28829 sed 's/^/| /' conftest.$ac_ext >&5
28830
28831 ac_cv_lib_posix_remove=no
28832 fi
28833 rm -f conftest.err conftest.$ac_objext \
28834 conftest$ac_exeext conftest.$ac_ext
28835 LIBS=$ac_check_lib_save_LIBS
28836 fi
28837 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28838 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28839 if test $ac_cv_lib_posix_remove = yes; then
28840 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
28841 fi
28842
28843 fi
28844
28845 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28846 echo "$as_me:$LINENO: checking for shmat" >&5
28847 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28848 if test "${ac_cv_func_shmat+set}" = set; then
28849 echo $ECHO_N "(cached) $ECHO_C" >&6
28850 else
28851 cat >conftest.$ac_ext <<_ACEOF
28852 /* confdefs.h. */
28853 _ACEOF
28854 cat confdefs.h >>conftest.$ac_ext
28855 cat >>conftest.$ac_ext <<_ACEOF
28856 /* end confdefs.h. */
28857 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28859 #define shmat innocuous_shmat
28860
28861 /* System header to define __stub macros and hopefully few prototypes,
28862 which can conflict with char shmat (); below.
28863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28864 <limits.h> exists even on freestanding compilers. */
28865
28866 #ifdef __STDC__
28867 # include <limits.h>
28868 #else
28869 # include <assert.h>
28870 #endif
28871
28872 #undef shmat
28873
28874 /* Override any gcc2 internal prototype to avoid an error. */
28875 #ifdef __cplusplus
28876 extern "C"
28877 {
28878 #endif
28879 /* We use char because int might match the return type of a gcc2
28880 builtin and then its argument prototype would still apply. */
28881 char shmat ();
28882 /* The GNU C library defines this for functions which it implements
28883 to always fail with ENOSYS. Some functions are actually named
28884 something starting with __ and the normal name is an alias. */
28885 #if defined (__stub_shmat) || defined (__stub___shmat)
28886 choke me
28887 #else
28888 char (*f) () = shmat;
28889 #endif
28890 #ifdef __cplusplus
28891 }
28892 #endif
28893
28894 int
28895 main ()
28896 {
28897 return f != shmat;
28898 ;
28899 return 0;
28900 }
28901 _ACEOF
28902 rm -f conftest.$ac_objext conftest$ac_exeext
28903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28904 (eval $ac_link) 2>conftest.er1
28905 ac_status=$?
28906 grep -v '^ *+' conftest.er1 >conftest.err
28907 rm -f conftest.er1
28908 cat conftest.err >&5
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); } &&
28911 { ac_try='test -z "$ac_c_werror_flag"
28912 || test ! -s conftest.err'
28913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28914 (eval $ac_try) 2>&5
28915 ac_status=$?
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); }; } &&
28918 { ac_try='test -s conftest$ac_exeext'
28919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28920 (eval $ac_try) 2>&5
28921 ac_status=$?
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); }; }; then
28924 ac_cv_func_shmat=yes
28925 else
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.$ac_ext >&5
28928
28929 ac_cv_func_shmat=no
28930 fi
28931 rm -f conftest.err conftest.$ac_objext \
28932 conftest$ac_exeext conftest.$ac_ext
28933 fi
28934 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28935 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28936
28937 if test $ac_cv_func_shmat = no; then
28938 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28939 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28940 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28941 echo $ECHO_N "(cached) $ECHO_C" >&6
28942 else
28943 ac_check_lib_save_LIBS=$LIBS
28944 LIBS="-lipc $LIBS"
28945 cat >conftest.$ac_ext <<_ACEOF
28946 /* confdefs.h. */
28947 _ACEOF
28948 cat confdefs.h >>conftest.$ac_ext
28949 cat >>conftest.$ac_ext <<_ACEOF
28950 /* end confdefs.h. */
28951
28952 /* Override any gcc2 internal prototype to avoid an error. */
28953 #ifdef __cplusplus
28954 extern "C"
28955 #endif
28956 /* We use char because int might match the return type of a gcc2
28957 builtin and then its argument prototype would still apply. */
28958 char shmat ();
28959 int
28960 main ()
28961 {
28962 shmat ();
28963 ;
28964 return 0;
28965 }
28966 _ACEOF
28967 rm -f conftest.$ac_objext conftest$ac_exeext
28968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28969 (eval $ac_link) 2>conftest.er1
28970 ac_status=$?
28971 grep -v '^ *+' conftest.er1 >conftest.err
28972 rm -f conftest.er1
28973 cat conftest.err >&5
28974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28975 (exit $ac_status); } &&
28976 { ac_try='test -z "$ac_c_werror_flag"
28977 || test ! -s conftest.err'
28978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28979 (eval $ac_try) 2>&5
28980 ac_status=$?
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); }; } &&
28983 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
28989 ac_cv_lib_ipc_shmat=yes
28990 else
28991 echo "$as_me: failed program was:" >&5
28992 sed 's/^/| /' conftest.$ac_ext >&5
28993
28994 ac_cv_lib_ipc_shmat=no
28995 fi
28996 rm -f conftest.err conftest.$ac_objext \
28997 conftest$ac_exeext conftest.$ac_ext
28998 LIBS=$ac_check_lib_save_LIBS
28999 fi
29000 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29001 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29002 if test $ac_cv_lib_ipc_shmat = yes; then
29003 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29004 fi
29005
29006 fi
29007 fi
29008
29009 # Check for libraries that X11R6 Xt/Xaw programs need.
29010 ac_save_LDFLAGS=$LDFLAGS
29011 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29012 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29013 # check for ICE first), but we must link in the order -lSM -lICE or
29014 # we get undefined symbols. So assume we have SM if we have ICE.
29015 # These have to be linked with before -lX11, unlike the other
29016 # libraries we check for below, so use a different variable.
29017 # John Interrante, Karl Berry
29018 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29019 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29020 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29021 echo $ECHO_N "(cached) $ECHO_C" >&6
29022 else
29023 ac_check_lib_save_LIBS=$LIBS
29024 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29025 cat >conftest.$ac_ext <<_ACEOF
29026 /* confdefs.h. */
29027 _ACEOF
29028 cat confdefs.h >>conftest.$ac_ext
29029 cat >>conftest.$ac_ext <<_ACEOF
29030 /* end confdefs.h. */
29031
29032 /* Override any gcc2 internal prototype to avoid an error. */
29033 #ifdef __cplusplus
29034 extern "C"
29035 #endif
29036 /* We use char because int might match the return type of a gcc2
29037 builtin and then its argument prototype would still apply. */
29038 char IceConnectionNumber ();
29039 int
29040 main ()
29041 {
29042 IceConnectionNumber ();
29043 ;
29044 return 0;
29045 }
29046 _ACEOF
29047 rm -f conftest.$ac_objext conftest$ac_exeext
29048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29049 (eval $ac_link) 2>conftest.er1
29050 ac_status=$?
29051 grep -v '^ *+' conftest.er1 >conftest.err
29052 rm -f conftest.er1
29053 cat conftest.err >&5
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); } &&
29056 { ac_try='test -z "$ac_c_werror_flag"
29057 || test ! -s conftest.err'
29058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29059 (eval $ac_try) 2>&5
29060 ac_status=$?
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); }; } &&
29063 { ac_try='test -s conftest$ac_exeext'
29064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29065 (eval $ac_try) 2>&5
29066 ac_status=$?
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); }; }; then
29069 ac_cv_lib_ICE_IceConnectionNumber=yes
29070 else
29071 echo "$as_me: failed program was:" >&5
29072 sed 's/^/| /' conftest.$ac_ext >&5
29073
29074 ac_cv_lib_ICE_IceConnectionNumber=no
29075 fi
29076 rm -f conftest.err conftest.$ac_objext \
29077 conftest$ac_exeext conftest.$ac_ext
29078 LIBS=$ac_check_lib_save_LIBS
29079 fi
29080 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29081 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29082 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29083 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29084 fi
29085
29086 LDFLAGS=$ac_save_LDFLAGS
29087
29088 fi
29089
29090
29091 if test "$no_x" = "yes"; then
29092 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29093 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29094 { (exit 1); exit 1; }; }
29095 fi
29096
29097 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29098 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
29099 AFMINSTALL=afminstall
29100 COMPILED_X_PROGRAM=0
29101
29102 fi
29103
29104 if test "$wxUSE_X11" = 1; then
29105 if test "$wxUSE_NANOX" = "yes"; then
29106 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29107 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29108 if test "x$MICROWIN" = x ; then
29109 echo "$as_me:$LINENO: result: not found" >&5
29110 echo "${ECHO_T}not found" >&6
29111 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29112 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29113 { (exit 1); exit 1; }; }
29114 else
29115 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29116 echo "${ECHO_T}$MICROWIN" >&6
29117 cat >>confdefs.h <<\_ACEOF
29118 #define wxUSE_NANOX 1
29119 _ACEOF
29120
29121 fi
29122 fi
29123
29124 if test "$wxUSE_UNICODE" = "yes"; then
29125
29126 succeeded=no
29127
29128 if test -z "$PKG_CONFIG"; then
29129 # Extract the first word of "pkg-config", so it can be a program name with args.
29130 set dummy pkg-config; ac_word=$2
29131 echo "$as_me:$LINENO: checking for $ac_word" >&5
29132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29133 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29134 echo $ECHO_N "(cached) $ECHO_C" >&6
29135 else
29136 case $PKG_CONFIG in
29137 [\\/]* | ?:[\\/]*)
29138 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29139 ;;
29140 *)
29141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29142 for as_dir in $PATH
29143 do
29144 IFS=$as_save_IFS
29145 test -z "$as_dir" && as_dir=.
29146 for ac_exec_ext in '' $ac_executable_extensions; do
29147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29148 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29150 break 2
29151 fi
29152 done
29153 done
29154
29155 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29156 ;;
29157 esac
29158 fi
29159 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29160
29161 if test -n "$PKG_CONFIG"; then
29162 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29163 echo "${ECHO_T}$PKG_CONFIG" >&6
29164 else
29165 echo "$as_me:$LINENO: result: no" >&5
29166 echo "${ECHO_T}no" >&6
29167 fi
29168
29169 fi
29170
29171 if test "$PKG_CONFIG" = "no" ; then
29172 echo "*** The pkg-config script could not be found. Make sure it is"
29173 echo "*** in your path, or set the PKG_CONFIG environment variable"
29174 echo "*** to the full path to pkg-config."
29175 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29176 else
29177 PKG_CONFIG_MIN_VERSION=0.9.0
29178 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29179 echo "$as_me:$LINENO: checking for pangox" >&5
29180 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29181
29182 if $PKG_CONFIG --exists "pangox" ; then
29183 echo "$as_me:$LINENO: result: yes" >&5
29184 echo "${ECHO_T}yes" >&6
29185 succeeded=yes
29186
29187 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29188 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29189 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
29190 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29191 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29192
29193 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29194 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29195 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
29196 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29197 echo "${ECHO_T}$PANGOX_LIBS" >&6
29198 else
29199 PANGOX_CFLAGS=""
29200 PANGOX_LIBS=""
29201 ## If we have a custom action on failure, don't print errors, but
29202 ## do set a variable so people can do so.
29203 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29204
29205 fi
29206
29207
29208
29209 else
29210 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29211 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29212 fi
29213 fi
29214
29215 if test $succeeded = yes; then
29216
29217 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
29218 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
29219
29220 else
29221
29222 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29223 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29224 { (exit 1); exit 1; }; }
29225
29226
29227 fi
29228
29229
29230 succeeded=no
29231
29232 if test -z "$PKG_CONFIG"; then
29233 # Extract the first word of "pkg-config", so it can be a program name with args.
29234 set dummy pkg-config; ac_word=$2
29235 echo "$as_me:$LINENO: checking for $ac_word" >&5
29236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29237 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29238 echo $ECHO_N "(cached) $ECHO_C" >&6
29239 else
29240 case $PKG_CONFIG in
29241 [\\/]* | ?:[\\/]*)
29242 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29243 ;;
29244 *)
29245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29246 for as_dir in $PATH
29247 do
29248 IFS=$as_save_IFS
29249 test -z "$as_dir" && as_dir=.
29250 for ac_exec_ext in '' $ac_executable_extensions; do
29251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29252 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29254 break 2
29255 fi
29256 done
29257 done
29258
29259 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29260 ;;
29261 esac
29262 fi
29263 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29264
29265 if test -n "$PKG_CONFIG"; then
29266 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29267 echo "${ECHO_T}$PKG_CONFIG" >&6
29268 else
29269 echo "$as_me:$LINENO: result: no" >&5
29270 echo "${ECHO_T}no" >&6
29271 fi
29272
29273 fi
29274
29275 if test "$PKG_CONFIG" = "no" ; then
29276 echo "*** The pkg-config script could not be found. Make sure it is"
29277 echo "*** in your path, or set the PKG_CONFIG environment variable"
29278 echo "*** to the full path to pkg-config."
29279 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29280 else
29281 PKG_CONFIG_MIN_VERSION=0.9.0
29282 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29283 echo "$as_me:$LINENO: checking for pangoft2" >&5
29284 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29285
29286 if $PKG_CONFIG --exists "pangoft2" ; then
29287 echo "$as_me:$LINENO: result: yes" >&5
29288 echo "${ECHO_T}yes" >&6
29289 succeeded=yes
29290
29291 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29292 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29293 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
29294 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29295 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29296
29297 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29298 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29299 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
29300 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29301 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29302 else
29303 PANGOFT2_CFLAGS=""
29304 PANGOFT2_LIBS=""
29305 ## If we have a custom action on failure, don't print errors, but
29306 ## do set a variable so people can do so.
29307 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29308
29309 fi
29310
29311
29312
29313 else
29314 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29315 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29316 fi
29317 fi
29318
29319 if test $succeeded = yes; then
29320
29321 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
29322 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29323
29324 else
29325
29326 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29327 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29328 wxUSE_PRINTING_ARCHITECTURE="no"
29329
29330
29331 fi
29332
29333
29334 succeeded=no
29335
29336 if test -z "$PKG_CONFIG"; then
29337 # Extract the first word of "pkg-config", so it can be a program name with args.
29338 set dummy pkg-config; ac_word=$2
29339 echo "$as_me:$LINENO: checking for $ac_word" >&5
29340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29341 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29342 echo $ECHO_N "(cached) $ECHO_C" >&6
29343 else
29344 case $PKG_CONFIG in
29345 [\\/]* | ?:[\\/]*)
29346 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29347 ;;
29348 *)
29349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29350 for as_dir in $PATH
29351 do
29352 IFS=$as_save_IFS
29353 test -z "$as_dir" && as_dir=.
29354 for ac_exec_ext in '' $ac_executable_extensions; do
29355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29356 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29358 break 2
29359 fi
29360 done
29361 done
29362
29363 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29364 ;;
29365 esac
29366 fi
29367 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29368
29369 if test -n "$PKG_CONFIG"; then
29370 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29371 echo "${ECHO_T}$PKG_CONFIG" >&6
29372 else
29373 echo "$as_me:$LINENO: result: no" >&5
29374 echo "${ECHO_T}no" >&6
29375 fi
29376
29377 fi
29378
29379 if test "$PKG_CONFIG" = "no" ; then
29380 echo "*** The pkg-config script could not be found. Make sure it is"
29381 echo "*** in your path, or set the PKG_CONFIG environment variable"
29382 echo "*** to the full path to pkg-config."
29383 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29384 else
29385 PKG_CONFIG_MIN_VERSION=0.9.0
29386 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29387 echo "$as_me:$LINENO: checking for pangoxft" >&5
29388 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29389
29390 if $PKG_CONFIG --exists "pangoxft" ; then
29391 echo "$as_me:$LINENO: result: yes" >&5
29392 echo "${ECHO_T}yes" >&6
29393 succeeded=yes
29394
29395 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29396 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29397 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
29398 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29399 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29400
29401 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29402 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29403 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
29404 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29405 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29406 else
29407 PANGOXFT_CFLAGS=""
29408 PANGOXFT_LIBS=""
29409 ## If we have a custom action on failure, don't print errors, but
29410 ## do set a variable so people can do so.
29411 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29412
29413 fi
29414
29415
29416
29417 else
29418 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29419 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29420 fi
29421 fi
29422
29423 if test $succeeded = yes; then
29424
29425 cat >>confdefs.h <<\_ACEOF
29426 #define HAVE_PANGO_XFT 1
29427 _ACEOF
29428
29429 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
29430 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29431
29432 else
29433
29434 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29435 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29436
29437
29438 fi
29439
29440 save_CFLAGS="$CFLAGS"
29441 save_LIBS="$LIBS"
29442 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
29443 LIBS="$LIBS $PANGOX_LIBS"
29444
29445 for ac_func in pango_font_family_is_monospace
29446 do
29447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29448 echo "$as_me:$LINENO: checking for $ac_func" >&5
29449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29450 if eval "test \"\${$as_ac_var+set}\" = set"; then
29451 echo $ECHO_N "(cached) $ECHO_C" >&6
29452 else
29453 cat >conftest.$ac_ext <<_ACEOF
29454 /* confdefs.h. */
29455 _ACEOF
29456 cat confdefs.h >>conftest.$ac_ext
29457 cat >>conftest.$ac_ext <<_ACEOF
29458 /* end confdefs.h. */
29459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29461 #define $ac_func innocuous_$ac_func
29462
29463 /* System header to define __stub macros and hopefully few prototypes,
29464 which can conflict with char $ac_func (); below.
29465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29466 <limits.h> exists even on freestanding compilers. */
29467
29468 #ifdef __STDC__
29469 # include <limits.h>
29470 #else
29471 # include <assert.h>
29472 #endif
29473
29474 #undef $ac_func
29475
29476 /* Override any gcc2 internal prototype to avoid an error. */
29477 #ifdef __cplusplus
29478 extern "C"
29479 {
29480 #endif
29481 /* We use char because int might match the return type of a gcc2
29482 builtin and then its argument prototype would still apply. */
29483 char $ac_func ();
29484 /* The GNU C library defines this for functions which it implements
29485 to always fail with ENOSYS. Some functions are actually named
29486 something starting with __ and the normal name is an alias. */
29487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29488 choke me
29489 #else
29490 char (*f) () = $ac_func;
29491 #endif
29492 #ifdef __cplusplus
29493 }
29494 #endif
29495
29496 int
29497 main ()
29498 {
29499 return f != $ac_func;
29500 ;
29501 return 0;
29502 }
29503 _ACEOF
29504 rm -f conftest.$ac_objext conftest$ac_exeext
29505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29506 (eval $ac_link) 2>conftest.er1
29507 ac_status=$?
29508 grep -v '^ *+' conftest.er1 >conftest.err
29509 rm -f conftest.er1
29510 cat conftest.err >&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } &&
29513 { ac_try='test -z "$ac_c_werror_flag"
29514 || test ! -s conftest.err'
29515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29516 (eval $ac_try) 2>&5
29517 ac_status=$?
29518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519 (exit $ac_status); }; } &&
29520 { ac_try='test -s conftest$ac_exeext'
29521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29522 (eval $ac_try) 2>&5
29523 ac_status=$?
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); }; }; then
29526 eval "$as_ac_var=yes"
29527 else
29528 echo "$as_me: failed program was:" >&5
29529 sed 's/^/| /' conftest.$ac_ext >&5
29530
29531 eval "$as_ac_var=no"
29532 fi
29533 rm -f conftest.err conftest.$ac_objext \
29534 conftest$ac_exeext conftest.$ac_ext
29535 fi
29536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29538 if test `eval echo '${'$as_ac_var'}'` = yes; then
29539 cat >>confdefs.h <<_ACEOF
29540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29541 _ACEOF
29542
29543 fi
29544 done
29545
29546 CFLAGS="$save_CFLAGS"
29547 LIBS="$save_LIBS"
29548 fi
29549
29550 wxUSE_UNIVERSAL="yes"
29551
29552 if test "$wxUSE_NANOX" = "yes"; then
29553 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29554 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"
29555 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29556 else
29557 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
29558 fi
29559
29560 TOOLKIT=X11
29561 GUIDIST=X11_DIST
29562 fi
29563
29564 if test "$wxUSE_MOTIF" = 1; then
29565 if test "$wxUSE_UNICODE" = "yes"; then
29566 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29567 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29568 { (exit 1); exit 1; }; }
29569 fi
29570
29571 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29572 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29573
29574 ac_find_includes=
29575 for ac_dir in $SEARCH_INCLUDE /usr/include;
29576 do
29577 if test -f "$ac_dir/Xm/Xm.h"; then
29578 ac_find_includes=$ac_dir
29579 break
29580 fi
29581 done
29582
29583 if test "$ac_find_includes" != "" ; then
29584 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29585 echo "${ECHO_T}found in $ac_find_includes" >&6
29586
29587 if test "x$ac_find_includes" = "x/usr/include"; then
29588 ac_path_to_include=""
29589 else
29590 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
29591 result=$?
29592 if test $result = 0; then
29593 ac_path_to_include=""
29594 else
29595 ac_path_to_include=" -I$ac_find_includes"
29596 fi
29597 fi
29598
29599 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
29600 else
29601 save_CFLAGS=$CFLAGS
29602 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
29603
29604 cat >conftest.$ac_ext <<_ACEOF
29605 /* confdefs.h. */
29606 _ACEOF
29607 cat confdefs.h >>conftest.$ac_ext
29608 cat >>conftest.$ac_ext <<_ACEOF
29609 /* end confdefs.h. */
29610
29611 #include <Xm/Xm.h>
29612
29613 int
29614 main ()
29615 {
29616
29617 int version;
29618 version = xmUseVersion;
29619
29620 ;
29621 return 0;
29622 }
29623 _ACEOF
29624 rm -f conftest.$ac_objext
29625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29626 (eval $ac_compile) 2>conftest.er1
29627 ac_status=$?
29628 grep -v '^ *+' conftest.er1 >conftest.err
29629 rm -f conftest.er1
29630 cat conftest.err >&5
29631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29632 (exit $ac_status); } &&
29633 { ac_try='test -z "$ac_c_werror_flag"
29634 || test ! -s conftest.err'
29635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29636 (eval $ac_try) 2>&5
29637 ac_status=$?
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); }; } &&
29640 { ac_try='test -s conftest.$ac_objext'
29641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29642 (eval $ac_try) 2>&5
29643 ac_status=$?
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); }; }; then
29646
29647 echo "$as_me:$LINENO: result: found in default search path" >&5
29648 echo "${ECHO_T}found in default search path" >&6
29649 COMPILED_X_PROGRAM=1
29650
29651 else
29652 echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.$ac_ext >&5
29654
29655
29656 echo "$as_me:$LINENO: result: no" >&5
29657 echo "${ECHO_T}no" >&6
29658 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29659 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29660 { (exit 1); exit 1; }; }
29661
29662
29663 fi
29664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29665
29666 CFLAGS=$save_CFLAGS
29667 fi
29668
29669
29670 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29671 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29672
29673 ac_find_libraries=
29674 for ac_dir in $SEARCH_LIB;
29675 do
29676 for ac_extension in a so sl dylib dll.a; do
29677 if test -f "$ac_dir/libXm.$ac_extension"; then
29678 ac_find_libraries=$ac_dir
29679 break 2
29680 fi
29681 done
29682 done
29683
29684
29685 if test "x$ac_find_libraries" != "x" ; then
29686 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29687 echo "${ECHO_T}found in $ac_find_libraries" >&6
29688
29689
29690 if test "$ac_find_libraries" = "default location"; then
29691 ac_path_to_link=""
29692 else
29693 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29694 result=$?
29695 if test $result = 0; then
29696 ac_path_to_link=""
29697 else
29698 ac_path_to_link=" -L$ac_find_libraries"
29699 fi
29700 fi
29701
29702 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
29703 else
29704 save_CFLAGS=$CFLAGS
29705 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
29706 save_LIBS="$LIBS"
29707 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29708
29709 cat >conftest.$ac_ext <<_ACEOF
29710 /* confdefs.h. */
29711 _ACEOF
29712 cat confdefs.h >>conftest.$ac_ext
29713 cat >>conftest.$ac_ext <<_ACEOF
29714 /* end confdefs.h. */
29715
29716 #include <Xm/Xm.h>
29717
29718 int
29719 main ()
29720 {
29721
29722 int version;
29723 version = xmUseVersion;
29724
29725 ;
29726 return 0;
29727 }
29728 _ACEOF
29729 rm -f conftest.$ac_objext conftest$ac_exeext
29730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29731 (eval $ac_link) 2>conftest.er1
29732 ac_status=$?
29733 grep -v '^ *+' conftest.er1 >conftest.err
29734 rm -f conftest.er1
29735 cat conftest.err >&5
29736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737 (exit $ac_status); } &&
29738 { ac_try='test -z "$ac_c_werror_flag"
29739 || test ! -s conftest.err'
29740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29741 (eval $ac_try) 2>&5
29742 ac_status=$?
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); }; } &&
29745 { ac_try='test -s conftest$ac_exeext'
29746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29747 (eval $ac_try) 2>&5
29748 ac_status=$?
29749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29750 (exit $ac_status); }; }; then
29751
29752 echo "$as_me:$LINENO: result: found in default search path" >&5
29753 echo "${ECHO_T}found in default search path" >&6
29754 COMPILED_X_PROGRAM=1
29755
29756 else
29757 echo "$as_me: failed program was:" >&5
29758 sed 's/^/| /' conftest.$ac_ext >&5
29759
29760
29761 echo "$as_me:$LINENO: result: no" >&5
29762 echo "${ECHO_T}no" >&6
29763 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29764 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29765 { (exit 1); exit 1; }; }
29766
29767
29768 fi
29769 rm -f conftest.err conftest.$ac_objext \
29770 conftest$ac_exeext conftest.$ac_ext
29771
29772 CFLAGS=$save_CFLAGS
29773 LIBS="$save_LIBS"
29774 fi
29775
29776 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29777 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29778 libp_link=""
29779 libsm_ice_link=""
29780 libs_found=0
29781 for libp in "" " -lXp"; do
29782 if test "$libs_found" = "0"; then
29783 for libsm_ice in "" " -lSM -lICE"; do
29784 if test "$libs_found" = "0"; then
29785 save_LIBS="$LIBS"
29786 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29787 save_CFLAGS=$CFLAGS
29788 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
29789
29790 cat >conftest.$ac_ext <<_ACEOF
29791 /* confdefs.h. */
29792 _ACEOF
29793 cat confdefs.h >>conftest.$ac_ext
29794 cat >>conftest.$ac_ext <<_ACEOF
29795 /* end confdefs.h. */
29796
29797 #include <Xm/Xm.h>
29798 #include <Xm/List.h>
29799
29800 int
29801 main ()
29802 {
29803
29804 XmString string = NULL;
29805 Widget w = NULL;
29806 int position = 0;
29807 XmListAddItem(w, string, position);
29808
29809 ;
29810 return 0;
29811 }
29812 _ACEOF
29813 rm -f conftest.$ac_objext conftest$ac_exeext
29814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29815 (eval $ac_link) 2>conftest.er1
29816 ac_status=$?
29817 grep -v '^ *+' conftest.er1 >conftest.err
29818 rm -f conftest.er1
29819 cat conftest.err >&5
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); } &&
29822 { ac_try='test -z "$ac_c_werror_flag"
29823 || test ! -s conftest.err'
29824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29825 (eval $ac_try) 2>&5
29826 ac_status=$?
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); }; } &&
29829 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
29835
29836 libp_link="$libp"
29837 libsm_ice_link="$libsm_ice"
29838 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29839 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29840 libs_found=1
29841
29842 else
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.$ac_ext >&5
29845
29846
29847
29848 fi
29849 rm -f conftest.err conftest.$ac_objext \
29850 conftest$ac_exeext conftest.$ac_ext
29851
29852 LIBS="$save_LIBS"
29853 CFLAGS=$save_CFLAGS
29854 fi
29855 done
29856 fi
29857 done
29858
29859 if test "$libs_found" = "0"; then
29860 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29861 echo "${ECHO_T}can't find the right libraries" >&6
29862 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29863 echo "$as_me: error: can't link a simple motif program" >&2;}
29864 { (exit 1); exit 1; }; }
29865 fi
29866
29867 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29868 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29869 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29870 echo $ECHO_N "(cached) $ECHO_C" >&6
29871 else
29872 ac_check_lib_save_LIBS=$LIBS
29873 LIBS="-lSgm $LIBS"
29874 cat >conftest.$ac_ext <<_ACEOF
29875 /* confdefs.h. */
29876 _ACEOF
29877 cat confdefs.h >>conftest.$ac_ext
29878 cat >>conftest.$ac_ext <<_ACEOF
29879 /* end confdefs.h. */
29880
29881 /* Override any gcc2 internal prototype to avoid an error. */
29882 #ifdef __cplusplus
29883 extern "C"
29884 #endif
29885 /* We use char because int might match the return type of a gcc2
29886 builtin and then its argument prototype would still apply. */
29887 char SgCreateList ();
29888 int
29889 main ()
29890 {
29891 SgCreateList ();
29892 ;
29893 return 0;
29894 }
29895 _ACEOF
29896 rm -f conftest.$ac_objext conftest$ac_exeext
29897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29898 (eval $ac_link) 2>conftest.er1
29899 ac_status=$?
29900 grep -v '^ *+' conftest.er1 >conftest.err
29901 rm -f conftest.er1
29902 cat conftest.err >&5
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); } &&
29905 { ac_try='test -z "$ac_c_werror_flag"
29906 || test ! -s conftest.err'
29907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29908 (eval $ac_try) 2>&5
29909 ac_status=$?
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); }; } &&
29912 { ac_try='test -s conftest$ac_exeext'
29913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29914 (eval $ac_try) 2>&5
29915 ac_status=$?
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); }; }; then
29918 ac_cv_lib_Sgm_SgCreateList=yes
29919 else
29920 echo "$as_me: failed program was:" >&5
29921 sed 's/^/| /' conftest.$ac_ext >&5
29922
29923 ac_cv_lib_Sgm_SgCreateList=no
29924 fi
29925 rm -f conftest.err conftest.$ac_objext \
29926 conftest$ac_exeext conftest.$ac_ext
29927 LIBS=$ac_check_lib_save_LIBS
29928 fi
29929 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29930 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29931 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29932 libsgm_link=" -lSgm"
29933 fi
29934
29935
29936 save_CFLAGS=$CFLAGS
29937 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
29938
29939 echo "$as_me:$LINENO: checking for Motif 2" >&5
29940 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29941 if test "${wx_cv_lib_motif2+set}" = set; then
29942 echo $ECHO_N "(cached) $ECHO_C" >&6
29943 else
29944 cat >conftest.$ac_ext <<_ACEOF
29945 /* confdefs.h. */
29946 _ACEOF
29947 cat confdefs.h >>conftest.$ac_ext
29948 cat >>conftest.$ac_ext <<_ACEOF
29949 /* end confdefs.h. */
29950
29951 #include <Xm/Xm.h>
29952
29953 int
29954 main ()
29955 {
29956
29957 #if XmVersion < 2000
29958 Not Motif 2
29959 #endif
29960
29961 ;
29962 return 0;
29963 }
29964 _ACEOF
29965 rm -f conftest.$ac_objext
29966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29967 (eval $ac_compile) 2>conftest.er1
29968 ac_status=$?
29969 grep -v '^ *+' conftest.er1 >conftest.err
29970 rm -f conftest.er1
29971 cat conftest.err >&5
29972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29973 (exit $ac_status); } &&
29974 { ac_try='test -z "$ac_c_werror_flag"
29975 || test ! -s conftest.err'
29976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29977 (eval $ac_try) 2>&5
29978 ac_status=$?
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); }; } &&
29981 { ac_try='test -s conftest.$ac_objext'
29982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29983 (eval $ac_try) 2>&5
29984 ac_status=$?
29985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29986 (exit $ac_status); }; }; then
29987 wx_cv_lib_motif2="yes"
29988 else
29989 echo "$as_me: failed program was:" >&5
29990 sed 's/^/| /' conftest.$ac_ext >&5
29991
29992 wx_cv_lib_motif2="no"
29993 fi
29994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29995 fi
29996 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29997 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29998 if test "$wx_cv_lib_motif2" = "yes"; then
29999 cat >>confdefs.h <<\_ACEOF
30000 #define __WXMOTIF20__ 1
30001 _ACEOF
30002
30003 else
30004 cat >>confdefs.h <<\_ACEOF
30005 #define __WXMOTIF20__ 0
30006 _ACEOF
30007
30008 fi
30009
30010 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30011 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30012 if test "${wx_cv_lib_lesstif+set}" = set; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30014 else
30015 cat >conftest.$ac_ext <<_ACEOF
30016 /* confdefs.h. */
30017 _ACEOF
30018 cat confdefs.h >>conftest.$ac_ext
30019 cat >>conftest.$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30021
30022 #include <Xm/Xm.h>
30023
30024 int
30025 main ()
30026 {
30027
30028 #if !defined(LesstifVersion) || LesstifVersion <= 0
30029 Not Lesstif
30030 #endif
30031
30032 ;
30033 return 0;
30034 }
30035 _ACEOF
30036 rm -f conftest.$ac_objext
30037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30038 (eval $ac_compile) 2>conftest.er1
30039 ac_status=$?
30040 grep -v '^ *+' conftest.er1 >conftest.err
30041 rm -f conftest.er1
30042 cat conftest.err >&5
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); } &&
30045 { ac_try='test -z "$ac_c_werror_flag"
30046 || test ! -s conftest.err'
30047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 (eval $ac_try) 2>&5
30049 ac_status=$?
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); }; } &&
30052 { ac_try='test -s conftest.$ac_objext'
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30055 ac_status=$?
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; }; then
30058 wx_cv_lib_lesstif="yes"
30059 else
30060 echo "$as_me: failed program was:" >&5
30061 sed 's/^/| /' conftest.$ac_ext >&5
30062
30063 wx_cv_lib_lesstif="no"
30064 fi
30065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30066
30067 fi
30068 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30069 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30070 if test "$wx_cv_lib_lesstif" = "yes"; then
30071 cat >>confdefs.h <<\_ACEOF
30072 #define __WXLESSTIF__ 1
30073 _ACEOF
30074
30075 else
30076 cat >>confdefs.h <<\_ACEOF
30077 #define __WXLESSTIF__ 0
30078 _ACEOF
30079
30080 fi
30081
30082 CFLAGS=$save_CFLAGS
30083
30084 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30085 TOOLKIT=MOTIF
30086 GUIDIST=MOTIF_DIST
30087 fi
30088
30089 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30090 if test "$wxUSE_LIBXPM" = "sys"; then
30091 echo "$as_me:$LINENO: checking for Xpm library" >&5
30092 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30093
30094 ac_find_libraries=
30095 for ac_dir in $SEARCH_LIB;
30096 do
30097 for ac_extension in a so sl dylib dll.a; do
30098 if test -f "$ac_dir/libXpm.$ac_extension"; then
30099 ac_find_libraries=$ac_dir
30100 break 2
30101 fi
30102 done
30103 done
30104
30105 if test "$ac_find_libraries" != "" ; then
30106
30107 if test "$ac_find_libraries" = "default location"; then
30108 ac_path_to_link=""
30109 else
30110 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30111 result=$?
30112 if test $result = 0; then
30113 ac_path_to_link=""
30114 else
30115 ac_path_to_link=" -L$ac_find_libraries"
30116 fi
30117 fi
30118
30119 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30120 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30121 echo "${ECHO_T}found in $ac_find_libraries" >&6
30122
30123 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30124 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30125 if test "${wx_cv_x11_xpm_h+set}" = set; then
30126 echo $ECHO_N "(cached) $ECHO_C" >&6
30127 else
30128
30129 save_CFLAGS=$CFLAGS
30130 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30131
30132 cat >conftest.$ac_ext <<_ACEOF
30133 /* confdefs.h. */
30134 _ACEOF
30135 cat confdefs.h >>conftest.$ac_ext
30136 cat >>conftest.$ac_ext <<_ACEOF
30137 /* end confdefs.h. */
30138
30139 #include <X11/xpm.h>
30140
30141 int
30142 main ()
30143 {
30144
30145 int version;
30146 version = XpmLibraryVersion();
30147
30148 ;
30149 return 0;
30150 }
30151 _ACEOF
30152 rm -f conftest.$ac_objext
30153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30154 (eval $ac_compile) 2>conftest.er1
30155 ac_status=$?
30156 grep -v '^ *+' conftest.er1 >conftest.err
30157 rm -f conftest.er1
30158 cat conftest.err >&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); } &&
30161 { ac_try='test -z "$ac_c_werror_flag"
30162 || test ! -s conftest.err'
30163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30164 (eval $ac_try) 2>&5
30165 ac_status=$?
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); }; } &&
30168 { ac_try='test -s conftest.$ac_objext'
30169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30170 (eval $ac_try) 2>&5
30171 ac_status=$?
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); }; }; then
30174 wx_cv_x11_xpm_h=yes
30175 else
30176 echo "$as_me: failed program was:" >&5
30177 sed 's/^/| /' conftest.$ac_ext >&5
30178
30179 wx_cv_x11_xpm_h=no
30180
30181 fi
30182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30183
30184 CFLAGS=$save_CFLAGS
30185
30186
30187 fi
30188 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30189 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30190
30191 if test $wx_cv_x11_xpm_h = "yes"; then
30192 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
30193 cat >>confdefs.h <<\_ACEOF
30194 #define wxHAVE_LIB_XPM 1
30195 _ACEOF
30196
30197 else
30198 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30199 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30200 fi
30201 fi
30202
30203 fi
30204
30205 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30206 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30207 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30208 echo $ECHO_N "(cached) $ECHO_C" >&6
30209 else
30210 ac_check_lib_save_LIBS=$LIBS
30211 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30212 cat >conftest.$ac_ext <<_ACEOF
30213 /* confdefs.h. */
30214 _ACEOF
30215 cat confdefs.h >>conftest.$ac_ext
30216 cat >>conftest.$ac_ext <<_ACEOF
30217 /* end confdefs.h. */
30218
30219 /* Override any gcc2 internal prototype to avoid an error. */
30220 #ifdef __cplusplus
30221 extern "C"
30222 #endif
30223 /* We use char because int might match the return type of a gcc2
30224 builtin and then its argument prototype would still apply. */
30225 char XShapeQueryExtension ();
30226 int
30227 main ()
30228 {
30229 XShapeQueryExtension ();
30230 ;
30231 return 0;
30232 }
30233 _ACEOF
30234 rm -f conftest.$ac_objext conftest$ac_exeext
30235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30236 (eval $ac_link) 2>conftest.er1
30237 ac_status=$?
30238 grep -v '^ *+' conftest.er1 >conftest.err
30239 rm -f conftest.er1
30240 cat conftest.err >&5
30241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30242 (exit $ac_status); } &&
30243 { ac_try='test -z "$ac_c_werror_flag"
30244 || test ! -s conftest.err'
30245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30246 (eval $ac_try) 2>&5
30247 ac_status=$?
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); }; } &&
30250 { ac_try='test -s conftest$ac_exeext'
30251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30252 (eval $ac_try) 2>&5
30253 ac_status=$?
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); }; }; then
30256 ac_cv_lib_Xext_XShapeQueryExtension=yes
30257 else
30258 echo "$as_me: failed program was:" >&5
30259 sed 's/^/| /' conftest.$ac_ext >&5
30260
30261 ac_cv_lib_Xext_XShapeQueryExtension=no
30262 fi
30263 rm -f conftest.err conftest.$ac_objext \
30264 conftest$ac_exeext conftest.$ac_ext
30265 LIBS=$ac_check_lib_save_LIBS
30266 fi
30267 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30268 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30269 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30270
30271 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
30272 wxHAVE_XEXT_LIB=1
30273
30274 fi
30275
30276
30277 if test "$wxHAVE_XEXT_LIB" = 1; then
30278 save_CFLAGS="$CFLAGS"
30279 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30280
30281 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30282 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30283 cat >conftest.$ac_ext <<_ACEOF
30284 /* confdefs.h. */
30285 _ACEOF
30286 cat confdefs.h >>conftest.$ac_ext
30287 cat >>conftest.$ac_ext <<_ACEOF
30288 /* end confdefs.h. */
30289
30290 #include <X11/Xlib.h>
30291 #include <X11/extensions/shape.h>
30292
30293 int
30294 main ()
30295 {
30296
30297 int dummy1, dummy2;
30298 XShapeQueryExtension((Display*)NULL,
30299 (int*)NULL, (int*)NULL);
30300
30301 ;
30302 return 0;
30303 }
30304 _ACEOF
30305 rm -f conftest.$ac_objext
30306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30307 (eval $ac_compile) 2>conftest.er1
30308 ac_status=$?
30309 grep -v '^ *+' conftest.er1 >conftest.err
30310 rm -f conftest.er1
30311 cat conftest.err >&5
30312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30313 (exit $ac_status); } &&
30314 { ac_try='test -z "$ac_c_werror_flag"
30315 || test ! -s conftest.err'
30316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30317 (eval $ac_try) 2>&5
30318 ac_status=$?
30319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30320 (exit $ac_status); }; } &&
30321 { ac_try='test -s conftest.$ac_objext'
30322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30323 (eval $ac_try) 2>&5
30324 ac_status=$?
30325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326 (exit $ac_status); }; }; then
30327
30328 cat >>confdefs.h <<\_ACEOF
30329 #define HAVE_XSHAPE 1
30330 _ACEOF
30331
30332 echo "$as_me:$LINENO: result: found" >&5
30333 echo "${ECHO_T}found" >&6
30334
30335 else
30336 echo "$as_me: failed program was:" >&5
30337 sed 's/^/| /' conftest.$ac_ext >&5
30338
30339
30340 echo "$as_me:$LINENO: result: not found" >&5
30341 echo "${ECHO_T}not found" >&6
30342
30343 fi
30344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30345 CFLAGS="$save_CFLAGS"
30346
30347 fi
30348 fi
30349
30350 if test "$wxUSE_MAC" = 1; then
30351 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30352 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30353 if test "$GCC" = yes; then
30354 echo "$as_me:$LINENO: result: gcc" >&5
30355 echo "${ECHO_T}gcc" >&6
30356 CPPFLAGS_PASCAL="-fpascal-strings"
30357 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30358 echo "$as_me:$LINENO: result: xlc" >&5
30359 echo "${ECHO_T}xlc" >&6
30360 CPPFLAGS_PASCAL="-qmacpstr"
30361 else
30362 echo "$as_me:$LINENO: result: none" >&5
30363 echo "${ECHO_T}none" >&6
30364 fi
30365
30366 if test "x$wxUSE_UNIX" = "xyes"; then
30367 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30368 else
30369 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30370 fi
30371
30372 TOOLKIT=MAC
30373 GUIDIST=MACX_DIST
30374 WXBASEPORT="_carbon"
30375 fi
30376
30377 if test "$wxUSE_COCOA" = 1; then
30378 TOOLKIT=COCOA
30379 GUIDIST=COCOA_DIST
30380 fi
30381
30382 if test "$wxUSE_PM" = 1; then
30383 TOOLKIT=PM
30384 GUIDIST=PM_DIST
30385 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30386 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30387 if test "${wx_cv_spbcdata+set}" = set; then
30388 echo $ECHO_N "(cached) $ECHO_C" >&6
30389 else
30390
30391 cat >conftest.$ac_ext <<_ACEOF
30392 /* confdefs.h. */
30393 _ACEOF
30394 cat confdefs.h >>conftest.$ac_ext
30395 cat >>conftest.$ac_ext <<_ACEOF
30396 /* end confdefs.h. */
30397
30398 #define INCL_PM
30399 #include <os2.h>
30400
30401 int
30402 main ()
30403 {
30404
30405 SPBCDATA test;
30406
30407 ;
30408 return 0;
30409 }
30410 _ACEOF
30411 rm -f conftest.$ac_objext
30412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30413 (eval $ac_compile) 2>conftest.er1
30414 ac_status=$?
30415 grep -v '^ *+' conftest.er1 >conftest.err
30416 rm -f conftest.er1
30417 cat conftest.err >&5
30418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30419 (exit $ac_status); } &&
30420 { ac_try='test -z "$ac_c_werror_flag"
30421 || test ! -s conftest.err'
30422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30423 (eval $ac_try) 2>&5
30424 ac_status=$?
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); }; } &&
30427 { ac_try='test -s conftest.$ac_objext'
30428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30429 (eval $ac_try) 2>&5
30430 ac_status=$?
30431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30432 (exit $ac_status); }; }; then
30433 wx_cv_spbcdata=yes
30434 else
30435 echo "$as_me: failed program was:" >&5
30436 sed 's/^/| /' conftest.$ac_ext >&5
30437
30438 wx_cv_spbcdata=no
30439
30440 fi
30441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30442
30443
30444 fi
30445 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30446 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30447
30448 if test $wx_cv_spbcdata = "yes"; then
30449 cat >>confdefs.h <<\_ACEOF
30450 #define HAVE_SPBCDATA 1
30451 _ACEOF
30452
30453 fi
30454 fi
30455
30456 if test "$TOOLKIT" = "PM" ; then
30457 TOOLKIT_DIR="os2"
30458 else
30459 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30460 fi
30461
30462 if test "$wxUSE_UNIVERSAL" = "yes"; then
30463 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30464 WIDGET_SET=univ
30465 fi
30466
30467 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30468 DISTDIR="wx\$(TOOLKIT)"
30469 else
30470 USE_GUI=0
30471
30472 TOOLKIT_DIR="base"
30473
30474 if test "$USE_WIN32" = 1 ; then
30475 TOOLKIT="MSW"
30476 fi
30477
30478 GUIDIST="BASE_DIST"
30479 DISTDIR="wxBase"
30480 fi
30481
30482
30483 if test "$wxUSE_GUI" = "yes"; then
30484 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30485
30486 for ac_header in X11/Xlib.h
30487 do
30488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30490 echo "$as_me:$LINENO: checking for $ac_header" >&5
30491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30493 echo $ECHO_N "(cached) $ECHO_C" >&6
30494 fi
30495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30497 else
30498 # Is the header compilable?
30499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30501 cat >conftest.$ac_ext <<_ACEOF
30502 /* confdefs.h. */
30503 _ACEOF
30504 cat confdefs.h >>conftest.$ac_ext
30505 cat >>conftest.$ac_ext <<_ACEOF
30506 /* end confdefs.h. */
30507 $ac_includes_default
30508 #include <$ac_header>
30509 _ACEOF
30510 rm -f conftest.$ac_objext
30511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30512 (eval $ac_compile) 2>conftest.er1
30513 ac_status=$?
30514 grep -v '^ *+' conftest.er1 >conftest.err
30515 rm -f conftest.er1
30516 cat conftest.err >&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } &&
30519 { ac_try='test -z "$ac_c_werror_flag"
30520 || test ! -s conftest.err'
30521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30522 (eval $ac_try) 2>&5
30523 ac_status=$?
30524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30525 (exit $ac_status); }; } &&
30526 { ac_try='test -s conftest.$ac_objext'
30527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30528 (eval $ac_try) 2>&5
30529 ac_status=$?
30530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30531 (exit $ac_status); }; }; then
30532 ac_header_compiler=yes
30533 else
30534 echo "$as_me: failed program was:" >&5
30535 sed 's/^/| /' conftest.$ac_ext >&5
30536
30537 ac_header_compiler=no
30538 fi
30539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30541 echo "${ECHO_T}$ac_header_compiler" >&6
30542
30543 # Is the header present?
30544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30546 cat >conftest.$ac_ext <<_ACEOF
30547 /* confdefs.h. */
30548 _ACEOF
30549 cat confdefs.h >>conftest.$ac_ext
30550 cat >>conftest.$ac_ext <<_ACEOF
30551 /* end confdefs.h. */
30552 #include <$ac_header>
30553 _ACEOF
30554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30556 ac_status=$?
30557 grep -v '^ *+' conftest.er1 >conftest.err
30558 rm -f conftest.er1
30559 cat conftest.err >&5
30560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30561 (exit $ac_status); } >/dev/null; then
30562 if test -s conftest.err; then
30563 ac_cpp_err=$ac_c_preproc_warn_flag
30564 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30565 else
30566 ac_cpp_err=
30567 fi
30568 else
30569 ac_cpp_err=yes
30570 fi
30571 if test -z "$ac_cpp_err"; then
30572 ac_header_preproc=yes
30573 else
30574 echo "$as_me: failed program was:" >&5
30575 sed 's/^/| /' conftest.$ac_ext >&5
30576
30577 ac_header_preproc=no
30578 fi
30579 rm -f conftest.err conftest.$ac_ext
30580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30581 echo "${ECHO_T}$ac_header_preproc" >&6
30582
30583 # So? What about this header?
30584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30585 yes:no: )
30586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30590 ac_header_preproc=yes
30591 ;;
30592 no:yes:* )
30593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30605 (
30606 cat <<\_ASBOX
30607 ## ----------------------------------------- ##
30608 ## Report this to wx-dev@lists.wxwidgets.org ##
30609 ## ----------------------------------------- ##
30610 _ASBOX
30611 ) |
30612 sed "s/^/$as_me: WARNING: /" >&2
30613 ;;
30614 esac
30615 echo "$as_me:$LINENO: checking for $ac_header" >&5
30616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30618 echo $ECHO_N "(cached) $ECHO_C" >&6
30619 else
30620 eval "$as_ac_Header=\$ac_header_preproc"
30621 fi
30622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30624
30625 fi
30626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30627 cat >>confdefs.h <<_ACEOF
30628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30629 _ACEOF
30630
30631 fi
30632
30633 done
30634
30635
30636 for ac_header in X11/XKBlib.h
30637 do
30638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30639 echo "$as_me:$LINENO: checking for $ac_header" >&5
30640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30642 echo $ECHO_N "(cached) $ECHO_C" >&6
30643 else
30644 cat >conftest.$ac_ext <<_ACEOF
30645 /* confdefs.h. */
30646 _ACEOF
30647 cat confdefs.h >>conftest.$ac_ext
30648 cat >>conftest.$ac_ext <<_ACEOF
30649 /* end confdefs.h. */
30650
30651 #if HAVE_X11_XLIB_H
30652 #include <X11/Xlib.h>
30653 #endif
30654
30655
30656 #include <$ac_header>
30657 _ACEOF
30658 rm -f conftest.$ac_objext
30659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30660 (eval $ac_compile) 2>conftest.er1
30661 ac_status=$?
30662 grep -v '^ *+' conftest.er1 >conftest.err
30663 rm -f conftest.er1
30664 cat conftest.err >&5
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); } &&
30667 { ac_try='test -z "$ac_c_werror_flag"
30668 || test ! -s conftest.err'
30669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30670 (eval $ac_try) 2>&5
30671 ac_status=$?
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); }; } &&
30674 { ac_try='test -s conftest.$ac_objext'
30675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30676 (eval $ac_try) 2>&5
30677 ac_status=$?
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); }; }; then
30680 eval "$as_ac_Header=yes"
30681 else
30682 echo "$as_me: failed program was:" >&5
30683 sed 's/^/| /' conftest.$ac_ext >&5
30684
30685 eval "$as_ac_Header=no"
30686 fi
30687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30688 fi
30689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30692 cat >>confdefs.h <<_ACEOF
30693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30694 _ACEOF
30695
30696 fi
30697
30698 done
30699
30700 fi
30701 fi
30702
30703
30704
30705 IODBC_C_SRC=""
30706
30707
30708 if test "$TOOLKIT" != "MSW" ; then
30709
30710 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30711
30712 if test "${ac_cv_header_sql_h+set}" = set; then
30713 echo "$as_me:$LINENO: checking for sql.h" >&5
30714 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30715 if test "${ac_cv_header_sql_h+set}" = set; then
30716 echo $ECHO_N "(cached) $ECHO_C" >&6
30717 fi
30718 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30719 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30720 else
30721 # Is the header compilable?
30722 echo "$as_me:$LINENO: checking sql.h usability" >&5
30723 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30724 cat >conftest.$ac_ext <<_ACEOF
30725 /* confdefs.h. */
30726 _ACEOF
30727 cat confdefs.h >>conftest.$ac_ext
30728 cat >>conftest.$ac_ext <<_ACEOF
30729 /* end confdefs.h. */
30730 $ac_includes_default
30731 #include <sql.h>
30732 _ACEOF
30733 rm -f conftest.$ac_objext
30734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30735 (eval $ac_compile) 2>conftest.er1
30736 ac_status=$?
30737 grep -v '^ *+' conftest.er1 >conftest.err
30738 rm -f conftest.er1
30739 cat conftest.err >&5
30740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30741 (exit $ac_status); } &&
30742 { ac_try='test -z "$ac_c_werror_flag"
30743 || test ! -s conftest.err'
30744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30745 (eval $ac_try) 2>&5
30746 ac_status=$?
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); }; } &&
30749 { ac_try='test -s conftest.$ac_objext'
30750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30751 (eval $ac_try) 2>&5
30752 ac_status=$?
30753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30754 (exit $ac_status); }; }; then
30755 ac_header_compiler=yes
30756 else
30757 echo "$as_me: failed program was:" >&5
30758 sed 's/^/| /' conftest.$ac_ext >&5
30759
30760 ac_header_compiler=no
30761 fi
30762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30764 echo "${ECHO_T}$ac_header_compiler" >&6
30765
30766 # Is the header present?
30767 echo "$as_me:$LINENO: checking sql.h presence" >&5
30768 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30769 cat >conftest.$ac_ext <<_ACEOF
30770 /* confdefs.h. */
30771 _ACEOF
30772 cat confdefs.h >>conftest.$ac_ext
30773 cat >>conftest.$ac_ext <<_ACEOF
30774 /* end confdefs.h. */
30775 #include <sql.h>
30776 _ACEOF
30777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30778 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30779 ac_status=$?
30780 grep -v '^ *+' conftest.er1 >conftest.err
30781 rm -f conftest.er1
30782 cat conftest.err >&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); } >/dev/null; then
30785 if test -s conftest.err; then
30786 ac_cpp_err=$ac_c_preproc_warn_flag
30787 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30788 else
30789 ac_cpp_err=
30790 fi
30791 else
30792 ac_cpp_err=yes
30793 fi
30794 if test -z "$ac_cpp_err"; then
30795 ac_header_preproc=yes
30796 else
30797 echo "$as_me: failed program was:" >&5
30798 sed 's/^/| /' conftest.$ac_ext >&5
30799
30800 ac_header_preproc=no
30801 fi
30802 rm -f conftest.err conftest.$ac_ext
30803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30804 echo "${ECHO_T}$ac_header_preproc" >&6
30805
30806 # So? What about this header?
30807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30808 yes:no: )
30809 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30810 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30811 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30812 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30813 ac_header_preproc=yes
30814 ;;
30815 no:yes:* )
30816 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30817 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30818 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30819 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30820 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30821 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30822 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30823 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30824 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30825 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30826 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30827 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30828 (
30829 cat <<\_ASBOX
30830 ## ----------------------------------------- ##
30831 ## Report this to wx-dev@lists.wxwidgets.org ##
30832 ## ----------------------------------------- ##
30833 _ASBOX
30834 ) |
30835 sed "s/^/$as_me: WARNING: /" >&2
30836 ;;
30837 esac
30838 echo "$as_me:$LINENO: checking for sql.h" >&5
30839 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30840 if test "${ac_cv_header_sql_h+set}" = set; then
30841 echo $ECHO_N "(cached) $ECHO_C" >&6
30842 else
30843 ac_cv_header_sql_h=$ac_header_preproc
30844 fi
30845 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30846 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30847
30848 fi
30849 if test $ac_cv_header_sql_h = yes; then
30850 found_sql_h=1
30851 fi
30852
30853
30854 if test "x$found_sql_h" = "x1" ; then
30855 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30856 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30857 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30858 echo $ECHO_N "(cached) $ECHO_C" >&6
30859 else
30860 ac_check_lib_save_LIBS=$LIBS
30861 LIBS="-liodbc $LIBS"
30862 cat >conftest.$ac_ext <<_ACEOF
30863 /* confdefs.h. */
30864 _ACEOF
30865 cat confdefs.h >>conftest.$ac_ext
30866 cat >>conftest.$ac_ext <<_ACEOF
30867 /* end confdefs.h. */
30868
30869 /* Override any gcc2 internal prototype to avoid an error. */
30870 #ifdef __cplusplus
30871 extern "C"
30872 #endif
30873 /* We use char because int might match the return type of a gcc2
30874 builtin and then its argument prototype would still apply. */
30875 char SQLAllocEnv ();
30876 int
30877 main ()
30878 {
30879 SQLAllocEnv ();
30880 ;
30881 return 0;
30882 }
30883 _ACEOF
30884 rm -f conftest.$ac_objext conftest$ac_exeext
30885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30886 (eval $ac_link) 2>conftest.er1
30887 ac_status=$?
30888 grep -v '^ *+' conftest.er1 >conftest.err
30889 rm -f conftest.er1
30890 cat conftest.err >&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); } &&
30893 { ac_try='test -z "$ac_c_werror_flag"
30894 || test ! -s conftest.err'
30895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30896 (eval $ac_try) 2>&5
30897 ac_status=$?
30898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899 (exit $ac_status); }; } &&
30900 { ac_try='test -s conftest$ac_exeext'
30901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30902 (eval $ac_try) 2>&5
30903 ac_status=$?
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); }; }; then
30906 ac_cv_lib_iodbc_SQLAllocEnv=yes
30907 else
30908 echo "$as_me: failed program was:" >&5
30909 sed 's/^/| /' conftest.$ac_ext >&5
30910
30911 ac_cv_lib_iodbc_SQLAllocEnv=no
30912 fi
30913 rm -f conftest.err conftest.$ac_objext \
30914 conftest$ac_exeext conftest.$ac_ext
30915 LIBS=$ac_check_lib_save_LIBS
30916 fi
30917 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30918 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30919 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30920 ODBC_LINK=" -liodbc"
30921 else
30922
30923 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30924 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30925 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30926 echo $ECHO_N "(cached) $ECHO_C" >&6
30927 else
30928 ac_check_lib_save_LIBS=$LIBS
30929 LIBS="-lunixodbc $LIBS"
30930 cat >conftest.$ac_ext <<_ACEOF
30931 /* confdefs.h. */
30932 _ACEOF
30933 cat confdefs.h >>conftest.$ac_ext
30934 cat >>conftest.$ac_ext <<_ACEOF
30935 /* end confdefs.h. */
30936
30937 /* Override any gcc2 internal prototype to avoid an error. */
30938 #ifdef __cplusplus
30939 extern "C"
30940 #endif
30941 /* We use char because int might match the return type of a gcc2
30942 builtin and then its argument prototype would still apply. */
30943 char SQLAllocEnv ();
30944 int
30945 main ()
30946 {
30947 SQLAllocEnv ();
30948 ;
30949 return 0;
30950 }
30951 _ACEOF
30952 rm -f conftest.$ac_objext conftest$ac_exeext
30953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30954 (eval $ac_link) 2>conftest.er1
30955 ac_status=$?
30956 grep -v '^ *+' conftest.er1 >conftest.err
30957 rm -f conftest.er1
30958 cat conftest.err >&5
30959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30960 (exit $ac_status); } &&
30961 { ac_try='test -z "$ac_c_werror_flag"
30962 || test ! -s conftest.err'
30963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30964 (eval $ac_try) 2>&5
30965 ac_status=$?
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); }; } &&
30968 { ac_try='test -s conftest$ac_exeext'
30969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30970 (eval $ac_try) 2>&5
30971 ac_status=$?
30972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30973 (exit $ac_status); }; }; then
30974 ac_cv_lib_unixodbc_SQLAllocEnv=yes
30975 else
30976 echo "$as_me: failed program was:" >&5
30977 sed 's/^/| /' conftest.$ac_ext >&5
30978
30979 ac_cv_lib_unixodbc_SQLAllocEnv=no
30980 fi
30981 rm -f conftest.err conftest.$ac_objext \
30982 conftest$ac_exeext conftest.$ac_ext
30983 LIBS=$ac_check_lib_save_LIBS
30984 fi
30985 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30986 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30987 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30988 ODBC_LINK=" -lunixodbc"
30989 else
30990
30991 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30992 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30993 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30994 echo $ECHO_N "(cached) $ECHO_C" >&6
30995 else
30996 ac_check_lib_save_LIBS=$LIBS
30997 LIBS="-lodbc $LIBS"
30998 cat >conftest.$ac_ext <<_ACEOF
30999 /* confdefs.h. */
31000 _ACEOF
31001 cat confdefs.h >>conftest.$ac_ext
31002 cat >>conftest.$ac_ext <<_ACEOF
31003 /* end confdefs.h. */
31004
31005 /* Override any gcc2 internal prototype to avoid an error. */
31006 #ifdef __cplusplus
31007 extern "C"
31008 #endif
31009 /* We use char because int might match the return type of a gcc2
31010 builtin and then its argument prototype would still apply. */
31011 char SQLAllocEnv ();
31012 int
31013 main ()
31014 {
31015 SQLAllocEnv ();
31016 ;
31017 return 0;
31018 }
31019 _ACEOF
31020 rm -f conftest.$ac_objext conftest$ac_exeext
31021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31022 (eval $ac_link) 2>conftest.er1
31023 ac_status=$?
31024 grep -v '^ *+' conftest.er1 >conftest.err
31025 rm -f conftest.er1
31026 cat conftest.err >&5
31027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028 (exit $ac_status); } &&
31029 { ac_try='test -z "$ac_c_werror_flag"
31030 || test ! -s conftest.err'
31031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31032 (eval $ac_try) 2>&5
31033 ac_status=$?
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); }; } &&
31036 { ac_try='test -s conftest$ac_exeext'
31037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31038 (eval $ac_try) 2>&5
31039 ac_status=$?
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); }; }; then
31042 ac_cv_lib_odbc_SQLAllocEnv=yes
31043 else
31044 echo "$as_me: failed program was:" >&5
31045 sed 's/^/| /' conftest.$ac_ext >&5
31046
31047 ac_cv_lib_odbc_SQLAllocEnv=no
31048 fi
31049 rm -f conftest.err conftest.$ac_objext \
31050 conftest$ac_exeext conftest.$ac_ext
31051 LIBS=$ac_check_lib_save_LIBS
31052 fi
31053 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31054 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31055 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31056 ODBC_LINK=" -lodbc"
31057 fi
31058
31059
31060 fi
31061
31062
31063 fi
31064
31065 fi
31066 if test "x$ODBC_LINK" = "x" ; then
31067 if test "$wxUSE_ODBC" = "sys" ; then
31068 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31069 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31070 { (exit 1); exit 1; }; }
31071 else
31072 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31073 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31074 wxUSE_ODBC=builtin
31075 fi
31076 else
31077 wxUSE_ODBC=sys
31078 fi
31079 fi
31080
31081 if test "$wxUSE_ODBC" = "builtin" ; then
31082 cat >>confdefs.h <<\_ACEOF
31083 #define wxUSE_BUILTIN_IODBC 1
31084 _ACEOF
31085
31086 fi
31087 fi
31088
31089 if test "$wxUSE_ODBC" != "no" ; then
31090 cat >>confdefs.h <<\_ACEOF
31091 #define wxUSE_ODBC 1
31092 _ACEOF
31093
31094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31095
31096 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31097 fi
31098
31099
31100 if test "$wxUSE_DISPLAY" = "yes"; then
31101 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31102 echo "$as_me:$LINENO: checking for Xinerama" >&5
31103 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31104
31105 ac_find_libraries=
31106 for ac_dir in $SEARCH_LIB;
31107 do
31108 for ac_extension in a so sl dylib dll.a; do
31109 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31110 ac_find_libraries=$ac_dir
31111 break 2
31112 fi
31113 done
31114 done
31115
31116 if test "$ac_find_libraries" != "" ; then
31117
31118 if test "$ac_find_libraries" = "default location"; then
31119 ac_path_to_link=""
31120 else
31121 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31122 result=$?
31123 if test $result = 0; then
31124 ac_path_to_link=""
31125 else
31126 ac_path_to_link=" -L$ac_find_libraries"
31127 fi
31128 fi
31129
31130 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31131 LDFLAGS="$LDFLAGS $ac_path_to_link"
31132 fi
31133 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31134 echo "$as_me:$LINENO: result: yes" >&5
31135 echo "${ECHO_T}yes" >&6
31136
31137 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31138 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31139
31140 ac_find_libraries=
31141 for ac_dir in $SEARCH_LIB;
31142 do
31143 for ac_extension in a so sl dylib dll.a; do
31144 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31145 ac_find_libraries=$ac_dir
31146 break 2
31147 fi
31148 done
31149 done
31150
31151 if test "$ac_find_libraries" != "" ; then
31152 echo "$as_me:$LINENO: result: yes" >&5
31153 echo "${ECHO_T}yes" >&6
31154
31155 for ac_header in X11/extensions/xf86vmode.h
31156 do
31157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31158 echo "$as_me:$LINENO: checking for $ac_header" >&5
31159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31161 echo $ECHO_N "(cached) $ECHO_C" >&6
31162 else
31163 cat >conftest.$ac_ext <<_ACEOF
31164 /* confdefs.h. */
31165 _ACEOF
31166 cat confdefs.h >>conftest.$ac_ext
31167 cat >>conftest.$ac_ext <<_ACEOF
31168 /* end confdefs.h. */
31169
31170 #if HAVE_X11_XLIB_H
31171 #include <X11/Xlib.h>
31172 #endif
31173
31174
31175 #include <$ac_header>
31176 _ACEOF
31177 rm -f conftest.$ac_objext
31178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31179 (eval $ac_compile) 2>conftest.er1
31180 ac_status=$?
31181 grep -v '^ *+' conftest.er1 >conftest.err
31182 rm -f conftest.er1
31183 cat conftest.err >&5
31184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31185 (exit $ac_status); } &&
31186 { ac_try='test -z "$ac_c_werror_flag"
31187 || test ! -s conftest.err'
31188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31189 (eval $ac_try) 2>&5
31190 ac_status=$?
31191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31192 (exit $ac_status); }; } &&
31193 { ac_try='test -s conftest.$ac_objext'
31194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31195 (eval $ac_try) 2>&5
31196 ac_status=$?
31197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31198 (exit $ac_status); }; }; then
31199 eval "$as_ac_Header=yes"
31200 else
31201 echo "$as_me: failed program was:" >&5
31202 sed 's/^/| /' conftest.$ac_ext >&5
31203
31204 eval "$as_ac_Header=no"
31205 fi
31206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31207 fi
31208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31211 cat >>confdefs.h <<_ACEOF
31212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31213 _ACEOF
31214
31215 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31216
31217 fi
31218
31219 done
31220
31221 else
31222 echo "$as_me:$LINENO: result: no" >&5
31223 echo "${ECHO_T}no" >&6
31224 fi
31225
31226 else
31227 echo "$as_me:$LINENO: result: no" >&5
31228 echo "${ECHO_T}no" >&6
31229 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31230 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31231 wxUSE_DISPLAY="no"
31232 fi
31233 elif test "$wxUSE_MSW" = 1; then
31234
31235
31236 for ac_header in multimon.h ddraw.h
31237 do
31238 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31239 echo "$as_me:$LINENO: checking for $ac_header" >&5
31240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31242 echo $ECHO_N "(cached) $ECHO_C" >&6
31243 else
31244 cat >conftest.$ac_ext <<_ACEOF
31245 /* confdefs.h. */
31246 _ACEOF
31247 cat confdefs.h >>conftest.$ac_ext
31248 cat >>conftest.$ac_ext <<_ACEOF
31249 /* end confdefs.h. */
31250 #include <windows.h>
31251
31252 #include <$ac_header>
31253 _ACEOF
31254 rm -f conftest.$ac_objext
31255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31256 (eval $ac_compile) 2>conftest.er1
31257 ac_status=$?
31258 grep -v '^ *+' conftest.er1 >conftest.err
31259 rm -f conftest.er1
31260 cat conftest.err >&5
31261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31262 (exit $ac_status); } &&
31263 { ac_try='test -z "$ac_c_werror_flag"
31264 || test ! -s conftest.err'
31265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31266 (eval $ac_try) 2>&5
31267 ac_status=$?
31268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31269 (exit $ac_status); }; } &&
31270 { ac_try='test -s conftest.$ac_objext'
31271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31272 (eval $ac_try) 2>&5
31273 ac_status=$?
31274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31275 (exit $ac_status); }; }; then
31276 eval "$as_ac_Header=yes"
31277 else
31278 echo "$as_me: failed program was:" >&5
31279 sed 's/^/| /' conftest.$ac_ext >&5
31280
31281 eval "$as_ac_Header=no"
31282 fi
31283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31284 fi
31285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31288 cat >>confdefs.h <<_ACEOF
31289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31290 _ACEOF
31291
31292 else
31293
31294 wxUSE_DISPLAY="no"
31295 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
31296 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
31297
31298 fi
31299
31300 done
31301
31302 fi
31303 fi
31304
31305
31306 USE_OPENGL=0
31307 if test "$wxUSE_OPENGL" = "yes"; then
31308 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31309 OPENGL_LIBS="-framework OpenGL -framework AGL"
31310 elif test "$wxUSE_MSW" = 1; then
31311 OPENGL_LIBS="-lopengl32 -lglu32"
31312 else
31313
31314
31315 ac_find_includes=
31316 for ac_dir in $SEARCH_INCLUDE /usr/include;
31317 do
31318 if test -f "$ac_dir/GL/gl.h"; then
31319 ac_find_includes=$ac_dir
31320 break
31321 fi
31322 done
31323
31324 if test "$ac_find_includes" != "" ; then
31325 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31326 echo "${ECHO_T}found in $ac_find_includes" >&6
31327
31328 if test "x$ac_find_includes" = "x/usr/include"; then
31329 ac_path_to_include=""
31330 else
31331 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
31332 result=$?
31333 if test $result = 0; then
31334 ac_path_to_include=""
31335 else
31336 ac_path_to_include=" -I$ac_find_includes"
31337 fi
31338 fi
31339
31340 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
31341 fi
31342
31343 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31344 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31345 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31346 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31347 echo $ECHO_N "(cached) $ECHO_C" >&6
31348 fi
31349 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31350 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31351 else
31352 # Is the header compilable?
31353 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31354 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31355 cat >conftest.$ac_ext <<_ACEOF
31356 /* confdefs.h. */
31357 _ACEOF
31358 cat confdefs.h >>conftest.$ac_ext
31359 cat >>conftest.$ac_ext <<_ACEOF
31360 /* end confdefs.h. */
31361 $ac_includes_default
31362 #include <GL/gl.h>
31363 _ACEOF
31364 rm -f conftest.$ac_objext
31365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31366 (eval $ac_compile) 2>conftest.er1
31367 ac_status=$?
31368 grep -v '^ *+' conftest.er1 >conftest.err
31369 rm -f conftest.er1
31370 cat conftest.err >&5
31371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372 (exit $ac_status); } &&
31373 { ac_try='test -z "$ac_c_werror_flag"
31374 || test ! -s conftest.err'
31375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31376 (eval $ac_try) 2>&5
31377 ac_status=$?
31378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31379 (exit $ac_status); }; } &&
31380 { ac_try='test -s conftest.$ac_objext'
31381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31382 (eval $ac_try) 2>&5
31383 ac_status=$?
31384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31385 (exit $ac_status); }; }; then
31386 ac_header_compiler=yes
31387 else
31388 echo "$as_me: failed program was:" >&5
31389 sed 's/^/| /' conftest.$ac_ext >&5
31390
31391 ac_header_compiler=no
31392 fi
31393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31394 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31395 echo "${ECHO_T}$ac_header_compiler" >&6
31396
31397 # Is the header present?
31398 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31399 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31400 cat >conftest.$ac_ext <<_ACEOF
31401 /* confdefs.h. */
31402 _ACEOF
31403 cat confdefs.h >>conftest.$ac_ext
31404 cat >>conftest.$ac_ext <<_ACEOF
31405 /* end confdefs.h. */
31406 #include <GL/gl.h>
31407 _ACEOF
31408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31410 ac_status=$?
31411 grep -v '^ *+' conftest.er1 >conftest.err
31412 rm -f conftest.er1
31413 cat conftest.err >&5
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); } >/dev/null; then
31416 if test -s conftest.err; then
31417 ac_cpp_err=$ac_c_preproc_warn_flag
31418 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31419 else
31420 ac_cpp_err=
31421 fi
31422 else
31423 ac_cpp_err=yes
31424 fi
31425 if test -z "$ac_cpp_err"; then
31426 ac_header_preproc=yes
31427 else
31428 echo "$as_me: failed program was:" >&5
31429 sed 's/^/| /' conftest.$ac_ext >&5
31430
31431 ac_header_preproc=no
31432 fi
31433 rm -f conftest.err conftest.$ac_ext
31434 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31435 echo "${ECHO_T}$ac_header_preproc" >&6
31436
31437 # So? What about this header?
31438 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31439 yes:no: )
31440 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31441 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31442 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31443 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31444 ac_header_preproc=yes
31445 ;;
31446 no:yes:* )
31447 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31448 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31449 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31450 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31451 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31452 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31453 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31454 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31455 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31456 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31457 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31458 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31459 (
31460 cat <<\_ASBOX
31461 ## ----------------------------------------- ##
31462 ## Report this to wx-dev@lists.wxwidgets.org ##
31463 ## ----------------------------------------- ##
31464 _ASBOX
31465 ) |
31466 sed "s/^/$as_me: WARNING: /" >&2
31467 ;;
31468 esac
31469 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31470 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31471 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31472 echo $ECHO_N "(cached) $ECHO_C" >&6
31473 else
31474 ac_cv_header_GL_gl_h=$ac_header_preproc
31475 fi
31476 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31477 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31478
31479 fi
31480 if test $ac_cv_header_GL_gl_h = yes; then
31481
31482 found_gl=0
31483
31484 echo "$as_me:$LINENO: checking for -lGL" >&5
31485 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31486
31487 ac_find_libraries=
31488 for ac_dir in $SEARCH_LIB;
31489 do
31490 for ac_extension in a so sl dylib dll.a; do
31491 if test -f "$ac_dir/libGL.$ac_extension"; then
31492 ac_find_libraries=$ac_dir
31493 break 2
31494 fi
31495 done
31496 done
31497
31498 if test "$ac_find_libraries" != "" ; then
31499 echo "$as_me:$LINENO: result: yes" >&5
31500 echo "${ECHO_T}yes" >&6
31501
31502
31503 if test "$ac_find_libraries" = "default location"; then
31504 ac_path_to_link=""
31505 else
31506 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31507 result=$?
31508 if test $result = 0; then
31509 ac_path_to_link=""
31510 else
31511 ac_path_to_link=" -L$ac_find_libraries"
31512 fi
31513 fi
31514
31515 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31516 LDFLAGS_GL="$ac_path_to_link"
31517 fi
31518
31519 echo "$as_me:$LINENO: checking for -lGLU" >&5
31520 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31521
31522 ac_find_libraries=
31523 for ac_dir in $SEARCH_LIB;
31524 do
31525 for ac_extension in a so sl dylib dll.a; do
31526 if test -f "$ac_dir/libGLU.$ac_extension"; then
31527 ac_find_libraries=$ac_dir
31528 break 2
31529 fi
31530 done
31531 done
31532
31533 if test "$ac_find_libraries" != "" ; then
31534
31535 if test "$ac_find_libraries" = "default location"; then
31536 ac_path_to_link=""
31537 else
31538 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31539 result=$?
31540 if test $result = 0; then
31541 ac_path_to_link=""
31542 else
31543 ac_path_to_link=" -L$ac_find_libraries"
31544 fi
31545 fi
31546
31547 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31548 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31549 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
31550 fi
31551
31552 found_gl=1
31553 OPENGL_LIBS="-lGL -lGLU"
31554 echo "$as_me:$LINENO: result: yes" >&5
31555 echo "${ECHO_T}yes" >&6
31556 else
31557 echo "$as_me:$LINENO: result: no" >&5
31558 echo "${ECHO_T}no" >&6
31559 fi
31560 else
31561 echo "$as_me:$LINENO: result: no" >&5
31562 echo "${ECHO_T}no" >&6
31563 fi
31564
31565 if test "$found_gl" != 1; then
31566 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31567 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31568
31569 ac_find_libraries=
31570 for ac_dir in $SEARCH_LIB;
31571 do
31572 for ac_extension in a so sl dylib dll.a; do
31573 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31574 ac_find_libraries=$ac_dir
31575 break 2
31576 fi
31577 done
31578 done
31579
31580 if test "$ac_find_libraries" != "" ; then
31581
31582 if test "$ac_find_libraries" = "default location"; then
31583 ac_path_to_link=""
31584 else
31585 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31586 result=$?
31587 if test $result = 0; then
31588 ac_path_to_link=""
31589 else
31590 ac_path_to_link=" -L$ac_find_libraries"
31591 fi
31592 fi
31593
31594 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
31595 OPENGL_LIBS="-lMesaGL -lMesaGLU"
31596 echo "$as_me:$LINENO: result: yes" >&5
31597 echo "${ECHO_T}yes" >&6
31598 else
31599 echo "$as_me:$LINENO: result: no" >&5
31600 echo "${ECHO_T}no" >&6
31601 fi
31602 fi
31603
31604 fi
31605
31606
31607
31608 if test "x$OPENGL_LIBS" = "x"; then
31609 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31610 echo "$as_me: error: OpenGL libraries not available" >&2;}
31611 { (exit 1); exit 1; }; }
31612 fi
31613 fi
31614
31615 if test "$wxUSE_OPENGL" = "yes"; then
31616 USE_OPENGL=1
31617 cat >>confdefs.h <<\_ACEOF
31618 #define wxUSE_OPENGL 1
31619 _ACEOF
31620
31621 cat >>confdefs.h <<\_ACEOF
31622 #define wxUSE_GLCANVAS 1
31623 _ACEOF
31624
31625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31626 fi
31627 fi
31628
31629
31630 if test -n "$TOOLKIT" ; then
31631 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31632 fi
31633
31634
31635
31636 if test "$wxUSE_SHARED" = "yes"; then
31637 case "${host}" in
31638 *-pc-msdosdjgpp )
31639 wxUSE_SHARED=no
31640 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31641 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31642 ;;
31643 esac
31644 fi
31645
31646 if test "$wxUSE_SHARED" = "yes"; then
31647
31648
31649 found_versioning=no
31650
31651
31652 if test $found_versioning = no ; then
31653 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31654 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31655 if test "${wx_cv_version_script+set}" = set; then
31656 echo $ECHO_N "(cached) $ECHO_C" >&6
31657 else
31658
31659 echo "VER_1 { *; };" >conftest.sym
31660 echo "int main() { return 0; }" >conftest.cpp
31661
31662 if { ac_try='
31663 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31664 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31666 (eval $ac_try) 2>&5
31667 ac_status=$?
31668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31669 (exit $ac_status); }; } ; then
31670 if test -s conftest.stderr ; then
31671 wx_cv_version_script=no
31672 else
31673 wx_cv_version_script=yes
31674 fi
31675 else
31676 wx_cv_version_script=no
31677 fi
31678
31679 if test $wx_cv_version_script = yes
31680 then
31681 echo "struct B { virtual ~B() { } }; \
31682 struct D : public B { }; \
31683 void F() { D d; }" > conftest.cpp
31684
31685 if { ac_try='
31686 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31687 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31689 (eval $ac_try) 2>&5
31690 ac_status=$?
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); }; } &&
31693 { ac_try='
31694 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31695 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697 (eval $ac_try) 2>&5
31698 ac_status=$?
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); }; }
31701 then
31702 if { ac_try='
31703 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31704 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31706 (eval $ac_try) 2>&5
31707 ac_status=$?
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); }; }
31710 then
31711 wx_cv_version_script=yes
31712 else
31713 wx_cv_version_script=no
31714 fi
31715 fi
31716 fi
31717
31718 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31719 rm -f conftest1.output conftest2.output conftest3.output
31720
31721 fi
31722 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31723 echo "${ECHO_T}$wx_cv_version_script" >&6
31724 if test $wx_cv_version_script = yes ; then
31725 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
31726 fi
31727 fi
31728
31729
31730 case "${host}" in
31731 *-*-linux* | *-*-gnu* )
31732 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31733 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31734 ;;
31735
31736 *-*-solaris2* )
31737 if test "$GCC" = yes ; then
31738 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
31739
31740 saveLdflags="$LDFLAGS"
31741 LDFLAGS="$saveLdflags -Wl,-rpath,/"
31742 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31743 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31744 cat >conftest.$ac_ext <<_ACEOF
31745 /* confdefs.h. */
31746 _ACEOF
31747 cat confdefs.h >>conftest.$ac_ext
31748 cat >>conftest.$ac_ext <<_ACEOF
31749 /* end confdefs.h. */
31750
31751 int
31752 main ()
31753 {
31754
31755 ;
31756 return 0;
31757 }
31758 _ACEOF
31759 rm -f conftest.$ac_objext conftest$ac_exeext
31760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31761 (eval $ac_link) 2>conftest.er1
31762 ac_status=$?
31763 grep -v '^ *+' conftest.er1 >conftest.err
31764 rm -f conftest.er1
31765 cat conftest.err >&5
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); } &&
31768 { ac_try='test -z "$ac_c_werror_flag"
31769 || test ! -s conftest.err'
31770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31771 (eval $ac_try) 2>&5
31772 ac_status=$?
31773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774 (exit $ac_status); }; } &&
31775 { ac_try='test -s conftest$ac_exeext'
31776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31777 (eval $ac_try) 2>&5
31778 ac_status=$?
31779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31780 (exit $ac_status); }; }; then
31781
31782 echo "$as_me:$LINENO: result: yes" >&5
31783 echo "${ECHO_T}yes" >&6
31784 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31785 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31786
31787 else
31788 echo "$as_me: failed program was:" >&5
31789 sed 's/^/| /' conftest.$ac_ext >&5
31790
31791
31792 echo "$as_me:$LINENO: result: no" >&5
31793 echo "${ECHO_T}no" >&6
31794 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31795 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31796 LDFLAGS="$saveLdflags -Wl,-R,/"
31797 cat >conftest.$ac_ext <<_ACEOF
31798 /* confdefs.h. */
31799 _ACEOF
31800 cat confdefs.h >>conftest.$ac_ext
31801 cat >>conftest.$ac_ext <<_ACEOF
31802 /* end confdefs.h. */
31803
31804 int
31805 main ()
31806 {
31807
31808 ;
31809 return 0;
31810 }
31811 _ACEOF
31812 rm -f conftest.$ac_objext conftest$ac_exeext
31813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31814 (eval $ac_link) 2>conftest.er1
31815 ac_status=$?
31816 grep -v '^ *+' conftest.er1 >conftest.err
31817 rm -f conftest.er1
31818 cat conftest.err >&5
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); } &&
31821 { ac_try='test -z "$ac_c_werror_flag"
31822 || test ! -s conftest.err'
31823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31824 (eval $ac_try) 2>&5
31825 ac_status=$?
31826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31827 (exit $ac_status); }; } &&
31828 { ac_try='test -s conftest$ac_exeext'
31829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31830 (eval $ac_try) 2>&5
31831 ac_status=$?
31832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31833 (exit $ac_status); }; }; then
31834
31835 echo "$as_me:$LINENO: result: yes" >&5
31836 echo "${ECHO_T}yes" >&6
31837 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
31838 WXCONFIG_RPATH="-Wl,-R,\$libdir"
31839
31840 else
31841 echo "$as_me: failed program was:" >&5
31842 sed 's/^/| /' conftest.$ac_ext >&5
31843
31844
31845 echo "$as_me:$LINENO: result: no" >&5
31846 echo "${ECHO_T}no" >&6
31847
31848 fi
31849 rm -f conftest.err conftest.$ac_objext \
31850 conftest$ac_exeext conftest.$ac_ext
31851
31852 fi
31853 rm -f conftest.err conftest.$ac_objext \
31854 conftest$ac_exeext conftest.$ac_ext
31855 LDFLAGS="$saveLdflags"
31856 else
31857 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
31858 WXCONFIG_RPATH="-R\$libdir"
31859 fi
31860 ;;
31861
31862 *-*-darwin* )
31863 install_name_tool=`which install_name_tool`
31864 if test "$install_name_tool" -a -x "$install_name_tool"; then
31865 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31866 cat <<EOF >change-install-names
31867 #!/bin/sh
31868 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31869 inst_cmd="install_name_tool "
31870 for i in \${libnames} ; do
31871 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31872 done
31873 \${inst_cmd} \${3}
31874 EOF
31875 chmod +x change-install-names
31876 fi
31877 ;;
31878
31879 *-*-cygwin* | *-*-mingw32* )
31880 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
31881 ;;
31882
31883 *-*-hpux* )
31884 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
31885 WXCONFIG_RPATH="-Wl,+b,\$libdir"
31886 ;;
31887
31888 esac
31889
31890 if test $wxUSE_RPATH = "no"; then
31891 SAMPLES_RPATH_FLAG=''
31892 SAMPLES_RPATH_POSTLINK=''
31893 WXCONFIG_RPATH=''
31894 fi
31895
31896 SHARED=1
31897
31898 else
31899
31900 config_linkage_component="-static"
31901 SHARED=0
31902
31903 fi
31904
31905
31906 UNICODE=0
31907 lib_unicode_suffix=
31908 WX_CHARTYPE="ansi"
31909 if test "$wxUSE_UNICODE" = "yes"; then
31910 lib_unicode_suffix=u
31911 WX_CHARTYPE="unicode"
31912 UNICODE=1
31913 fi
31914
31915 lib_debug_suffix=
31916 WX_DEBUGTYPE="release"
31917 DEBUG_FLAG=0
31918 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31919 lib_debug_suffix=d
31920 WX_DEBUGTYPE="debug"
31921 DEBUG_FLAG=1
31922 fi
31923
31924 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
31925 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
31926
31927 DEBUG_INFO=0
31928 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31929 DEBUG_INFO=1
31930 fi
31931
31932 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31933
31934 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31935
31936 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31937
31938 if test "$cross_compiling" = "yes"; then
31939 HOST_SUFFIX="-$host_alias"
31940 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
31941 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
31942 fi
31943
31944 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31945 if test "${TOOLKIT_DIR}" = "os2"; then
31946 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31947 else
31948 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31949 fi
31950
31951
31952
31953 if test "$wxUSE_COCOA" = 1; then
31954
31955
31956 ac_ext=c
31957 ac_cpp='$CPP $CPPFLAGS'
31958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31961
31962 ac_ext=m
31963
31964 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31965 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31966 cat >conftest.$ac_ext <<_ACEOF
31967 /* confdefs.h. */
31968 _ACEOF
31969 cat confdefs.h >>conftest.$ac_ext
31970 cat >>conftest.$ac_ext <<_ACEOF
31971 /* end confdefs.h. */
31972 #include <AppKit/NSEvent.h>
31973 #include <CoreFoundation/CoreFoundation.h>
31974
31975 int
31976 main ()
31977 {
31978
31979 ;
31980 return 0;
31981 }
31982 _ACEOF
31983 rm -f conftest.$ac_objext
31984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31985 (eval $ac_compile) 2>conftest.er1
31986 ac_status=$?
31987 grep -v '^ *+' conftest.er1 >conftest.err
31988 rm -f conftest.er1
31989 cat conftest.err >&5
31990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31991 (exit $ac_status); } &&
31992 { ac_try='test -z "$ac_c_werror_flag"
31993 || test ! -s conftest.err'
31994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31995 (eval $ac_try) 2>&5
31996 ac_status=$?
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); }; } &&
31999 { ac_try='test -s conftest.$ac_objext'
32000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32001 (eval $ac_try) 2>&5
32002 ac_status=$?
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); }; }; then
32005 echo "$as_me:$LINENO: result: no" >&5
32006 echo "${ECHO_T}no" >&6
32007 else
32008 echo "$as_me: failed program was:" >&5
32009 sed 's/^/| /' conftest.$ac_ext >&5
32010
32011 echo "$as_me:$LINENO: result: yes" >&5
32012 echo "${ECHO_T}yes" >&6
32013 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32014 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32015 cat >conftest.$ac_ext <<_ACEOF
32016 /* confdefs.h. */
32017 _ACEOF
32018 cat confdefs.h >>conftest.$ac_ext
32019 cat >>conftest.$ac_ext <<_ACEOF
32020 /* end confdefs.h. */
32021 #define __Point__ 1
32022 #include <AppKit/NSEvent.h>
32023 #include <CoreFoundation/CoreFoundation.h>
32024
32025 int
32026 main ()
32027 {
32028
32029 ;
32030 return 0;
32031 }
32032 _ACEOF
32033 rm -f conftest.$ac_objext
32034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32035 (eval $ac_compile) 2>conftest.er1
32036 ac_status=$?
32037 grep -v '^ *+' conftest.er1 >conftest.err
32038 rm -f conftest.er1
32039 cat conftest.err >&5
32040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32041 (exit $ac_status); } &&
32042 { ac_try='test -z "$ac_c_werror_flag"
32043 || test ! -s conftest.err'
32044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32045 (eval $ac_try) 2>&5
32046 ac_status=$?
32047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32048 (exit $ac_status); }; } &&
32049 { ac_try='test -s conftest.$ac_objext'
32050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32051 (eval $ac_try) 2>&5
32052 ac_status=$?
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); }; }; then
32055 echo "$as_me:$LINENO: result: yes" >&5
32056 echo "${ECHO_T}yes" >&6
32057 cat >>confdefs.h <<\_ACEOF
32058 #define __Point__ 1
32059 _ACEOF
32060
32061
32062 else
32063 echo "$as_me: failed program was:" >&5
32064 sed 's/^/| /' conftest.$ac_ext >&5
32065
32066 { { echo "$as_me:$LINENO: error: no
32067 See \`config.log' for more details." >&5
32068 echo "$as_me: error: no
32069 See \`config.log' for more details." >&2;}
32070 { (exit 1); exit 1; }; }
32071
32072 fi
32073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32074
32075 fi
32076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32077 ac_ext=c
32078 ac_cpp='$CPP $CPPFLAGS'
32079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32082
32083 fi
32084
32085 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32086 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32087 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32088
32089 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32090
32091 # Extract the first word of "Rez", so it can be a program name with args.
32092 set dummy Rez; ac_word=$2
32093 echo "$as_me:$LINENO: checking for $ac_word" >&5
32094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32095 if test "${ac_cv_prog_REZ+set}" = set; then
32096 echo $ECHO_N "(cached) $ECHO_C" >&6
32097 else
32098 if test -n "$REZ"; then
32099 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32100 else
32101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32102 for as_dir in $PATH
32103 do
32104 IFS=$as_save_IFS
32105 test -z "$as_dir" && as_dir=.
32106 for ac_exec_ext in '' $ac_executable_extensions; do
32107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32108 ac_cv_prog_REZ="Rez"
32109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32110 break 2
32111 fi
32112 done
32113 done
32114
32115 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32116 fi
32117 fi
32118 REZ=$ac_cv_prog_REZ
32119 if test -n "$REZ"; then
32120 echo "$as_me:$LINENO: result: $REZ" >&5
32121 echo "${ECHO_T}$REZ" >&6
32122 else
32123 echo "$as_me:$LINENO: result: no" >&5
32124 echo "${ECHO_T}no" >&6
32125 fi
32126
32127 # Extract the first word of "DeRez", so it can be a program name with args.
32128 set dummy DeRez; ac_word=$2
32129 echo "$as_me:$LINENO: checking for $ac_word" >&5
32130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32131 if test "${ac_cv_prog_DEREZ+set}" = set; then
32132 echo $ECHO_N "(cached) $ECHO_C" >&6
32133 else
32134 if test -n "$DEREZ"; then
32135 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32136 else
32137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32138 for as_dir in $PATH
32139 do
32140 IFS=$as_save_IFS
32141 test -z "$as_dir" && as_dir=.
32142 for ac_exec_ext in '' $ac_executable_extensions; do
32143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32144 ac_cv_prog_DEREZ="DeRez"
32145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32146 break 2
32147 fi
32148 done
32149 done
32150
32151 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32152 fi
32153 fi
32154 DEREZ=$ac_cv_prog_DEREZ
32155 if test -n "$DEREZ"; then
32156 echo "$as_me:$LINENO: result: $DEREZ" >&5
32157 echo "${ECHO_T}$DEREZ" >&6
32158 else
32159 echo "$as_me:$LINENO: result: no" >&5
32160 echo "${ECHO_T}no" >&6
32161 fi
32162
32163 # Extract the first word of "SetFile", so it can be a program name with args.
32164 set dummy SetFile; ac_word=$2
32165 echo "$as_me:$LINENO: checking for $ac_word" >&5
32166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32167 if test "${ac_cv_prog_SETFILE+set}" = set; then
32168 echo $ECHO_N "(cached) $ECHO_C" >&6
32169 else
32170 if test -n "$SETFILE"; then
32171 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32172 else
32173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32174 for as_dir in $PATH
32175 do
32176 IFS=$as_save_IFS
32177 test -z "$as_dir" && as_dir=.
32178 for ac_exec_ext in '' $ac_executable_extensions; do
32179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32180 ac_cv_prog_SETFILE="SetFile"
32181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32182 break 2
32183 fi
32184 done
32185 done
32186
32187 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32188 fi
32189 fi
32190 SETFILE=$ac_cv_prog_SETFILE
32191 if test -n "$SETFILE"; then
32192 echo "$as_me:$LINENO: result: $SETFILE" >&5
32193 echo "${ECHO_T}$SETFILE" >&6
32194 else
32195 echo "$as_me:$LINENO: result: no" >&5
32196 echo "${ECHO_T}no" >&6
32197 fi
32198
32199
32200 MACSETFILE="\$(SETFILE)"
32201
32202 if test "$wxUSE_MAC" = 1; then
32203 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32204 RESCOMP="$REZ"
32205 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32206 else
32207 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32208 RESCOMP="echo -n \| $REZ"
32209 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32210 fi
32211
32212 else
32213 MACSETFILE="@true"
32214
32215 if test "$wxUSE_PM" = 1; then
32216 RESCOMP="emxbind"
32217 WXCONFIG_RESFLAGS="-ep"
32218
32219 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32220 else
32221 POSTLINK_COMMAND="@true"
32222 fi
32223
32224 fi
32225
32226
32227
32228 echo "$as_me:$LINENO: checking for mode_t" >&5
32229 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32230 if test "${ac_cv_type_mode_t+set}" = set; then
32231 echo $ECHO_N "(cached) $ECHO_C" >&6
32232 else
32233 cat >conftest.$ac_ext <<_ACEOF
32234 /* confdefs.h. */
32235 _ACEOF
32236 cat confdefs.h >>conftest.$ac_ext
32237 cat >>conftest.$ac_ext <<_ACEOF
32238 /* end confdefs.h. */
32239 $ac_includes_default
32240 int
32241 main ()
32242 {
32243 if ((mode_t *) 0)
32244 return 0;
32245 if (sizeof (mode_t))
32246 return 0;
32247 ;
32248 return 0;
32249 }
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_c_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 ac_cv_type_mode_t=yes
32274 else
32275 echo "$as_me: failed program was:" >&5
32276 sed 's/^/| /' conftest.$ac_ext >&5
32277
32278 ac_cv_type_mode_t=no
32279 fi
32280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32281 fi
32282 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32283 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32284 if test $ac_cv_type_mode_t = yes; then
32285 :
32286 else
32287
32288 cat >>confdefs.h <<_ACEOF
32289 #define mode_t int
32290 _ACEOF
32291
32292 fi
32293
32294 echo "$as_me:$LINENO: checking for off_t" >&5
32295 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32296 if test "${ac_cv_type_off_t+set}" = set; then
32297 echo $ECHO_N "(cached) $ECHO_C" >&6
32298 else
32299 cat >conftest.$ac_ext <<_ACEOF
32300 /* confdefs.h. */
32301 _ACEOF
32302 cat confdefs.h >>conftest.$ac_ext
32303 cat >>conftest.$ac_ext <<_ACEOF
32304 /* end confdefs.h. */
32305 $ac_includes_default
32306 int
32307 main ()
32308 {
32309 if ((off_t *) 0)
32310 return 0;
32311 if (sizeof (off_t))
32312 return 0;
32313 ;
32314 return 0;
32315 }
32316 _ACEOF
32317 rm -f conftest.$ac_objext
32318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32319 (eval $ac_compile) 2>conftest.er1
32320 ac_status=$?
32321 grep -v '^ *+' conftest.er1 >conftest.err
32322 rm -f conftest.er1
32323 cat conftest.err >&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); } &&
32326 { ac_try='test -z "$ac_c_werror_flag"
32327 || test ! -s conftest.err'
32328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32329 (eval $ac_try) 2>&5
32330 ac_status=$?
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); }; } &&
32333 { ac_try='test -s conftest.$ac_objext'
32334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32335 (eval $ac_try) 2>&5
32336 ac_status=$?
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); }; }; then
32339 ac_cv_type_off_t=yes
32340 else
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.$ac_ext >&5
32343
32344 ac_cv_type_off_t=no
32345 fi
32346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32347 fi
32348 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32349 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32350 if test $ac_cv_type_off_t = yes; then
32351 :
32352 else
32353
32354 cat >>confdefs.h <<_ACEOF
32355 #define off_t long
32356 _ACEOF
32357
32358 fi
32359
32360 echo "$as_me:$LINENO: checking for pid_t" >&5
32361 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32362 if test "${ac_cv_type_pid_t+set}" = set; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32364 else
32365 cat >conftest.$ac_ext <<_ACEOF
32366 /* confdefs.h. */
32367 _ACEOF
32368 cat confdefs.h >>conftest.$ac_ext
32369 cat >>conftest.$ac_ext <<_ACEOF
32370 /* end confdefs.h. */
32371 $ac_includes_default
32372 int
32373 main ()
32374 {
32375 if ((pid_t *) 0)
32376 return 0;
32377 if (sizeof (pid_t))
32378 return 0;
32379 ;
32380 return 0;
32381 }
32382 _ACEOF
32383 rm -f conftest.$ac_objext
32384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32385 (eval $ac_compile) 2>conftest.er1
32386 ac_status=$?
32387 grep -v '^ *+' conftest.er1 >conftest.err
32388 rm -f conftest.er1
32389 cat conftest.err >&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } &&
32392 { ac_try='test -z "$ac_c_werror_flag"
32393 || test ! -s conftest.err'
32394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32395 (eval $ac_try) 2>&5
32396 ac_status=$?
32397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32398 (exit $ac_status); }; } &&
32399 { ac_try='test -s conftest.$ac_objext'
32400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32401 (eval $ac_try) 2>&5
32402 ac_status=$?
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); }; }; then
32405 ac_cv_type_pid_t=yes
32406 else
32407 echo "$as_me: failed program was:" >&5
32408 sed 's/^/| /' conftest.$ac_ext >&5
32409
32410 ac_cv_type_pid_t=no
32411 fi
32412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32413 fi
32414 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32415 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32416 if test $ac_cv_type_pid_t = yes; then
32417 :
32418 else
32419
32420 cat >>confdefs.h <<_ACEOF
32421 #define pid_t int
32422 _ACEOF
32423
32424 fi
32425
32426 echo "$as_me:$LINENO: checking for size_t" >&5
32427 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32428 if test "${ac_cv_type_size_t+set}" = set; then
32429 echo $ECHO_N "(cached) $ECHO_C" >&6
32430 else
32431 cat >conftest.$ac_ext <<_ACEOF
32432 /* confdefs.h. */
32433 _ACEOF
32434 cat confdefs.h >>conftest.$ac_ext
32435 cat >>conftest.$ac_ext <<_ACEOF
32436 /* end confdefs.h. */
32437 $ac_includes_default
32438 int
32439 main ()
32440 {
32441 if ((size_t *) 0)
32442 return 0;
32443 if (sizeof (size_t))
32444 return 0;
32445 ;
32446 return 0;
32447 }
32448 _ACEOF
32449 rm -f conftest.$ac_objext
32450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32451 (eval $ac_compile) 2>conftest.er1
32452 ac_status=$?
32453 grep -v '^ *+' conftest.er1 >conftest.err
32454 rm -f conftest.er1
32455 cat conftest.err >&5
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); } &&
32458 { ac_try='test -z "$ac_c_werror_flag"
32459 || test ! -s conftest.err'
32460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32461 (eval $ac_try) 2>&5
32462 ac_status=$?
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); }; } &&
32465 { ac_try='test -s conftest.$ac_objext'
32466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32467 (eval $ac_try) 2>&5
32468 ac_status=$?
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); }; }; then
32471 ac_cv_type_size_t=yes
32472 else
32473 echo "$as_me: failed program was:" >&5
32474 sed 's/^/| /' conftest.$ac_ext >&5
32475
32476 ac_cv_type_size_t=no
32477 fi
32478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32479 fi
32480 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32481 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32482 if test $ac_cv_type_size_t = yes; then
32483 :
32484 else
32485
32486 cat >>confdefs.h <<_ACEOF
32487 #define size_t unsigned
32488 _ACEOF
32489
32490 fi
32491
32492 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32493 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32494 if test "${ac_cv_type_uid_t+set}" = set; then
32495 echo $ECHO_N "(cached) $ECHO_C" >&6
32496 else
32497 cat >conftest.$ac_ext <<_ACEOF
32498 /* confdefs.h. */
32499 _ACEOF
32500 cat confdefs.h >>conftest.$ac_ext
32501 cat >>conftest.$ac_ext <<_ACEOF
32502 /* end confdefs.h. */
32503 #include <sys/types.h>
32504
32505 _ACEOF
32506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32507 $EGREP "uid_t" >/dev/null 2>&1; then
32508 ac_cv_type_uid_t=yes
32509 else
32510 ac_cv_type_uid_t=no
32511 fi
32512 rm -f conftest*
32513
32514 fi
32515 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32516 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32517 if test $ac_cv_type_uid_t = no; then
32518
32519 cat >>confdefs.h <<\_ACEOF
32520 #define uid_t int
32521 _ACEOF
32522
32523
32524 cat >>confdefs.h <<\_ACEOF
32525 #define gid_t int
32526 _ACEOF
32527
32528 fi
32529
32530
32531 echo "$as_me:$LINENO: checking for ssize_t" >&5
32532 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32533 if test "${ac_cv_type_ssize_t+set}" = set; then
32534 echo $ECHO_N "(cached) $ECHO_C" >&6
32535 else
32536 cat >conftest.$ac_ext <<_ACEOF
32537 /* confdefs.h. */
32538 _ACEOF
32539 cat confdefs.h >>conftest.$ac_ext
32540 cat >>conftest.$ac_ext <<_ACEOF
32541 /* end confdefs.h. */
32542 $ac_includes_default
32543 int
32544 main ()
32545 {
32546 if ((ssize_t *) 0)
32547 return 0;
32548 if (sizeof (ssize_t))
32549 return 0;
32550 ;
32551 return 0;
32552 }
32553 _ACEOF
32554 rm -f conftest.$ac_objext
32555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32556 (eval $ac_compile) 2>conftest.er1
32557 ac_status=$?
32558 grep -v '^ *+' conftest.er1 >conftest.err
32559 rm -f conftest.er1
32560 cat conftest.err >&5
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); } &&
32563 { ac_try='test -z "$ac_c_werror_flag"
32564 || test ! -s conftest.err'
32565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32566 (eval $ac_try) 2>&5
32567 ac_status=$?
32568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 (exit $ac_status); }; } &&
32570 { ac_try='test -s conftest.$ac_objext'
32571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32572 (eval $ac_try) 2>&5
32573 ac_status=$?
32574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32575 (exit $ac_status); }; }; then
32576 ac_cv_type_ssize_t=yes
32577 else
32578 echo "$as_me: failed program was:" >&5
32579 sed 's/^/| /' conftest.$ac_ext >&5
32580
32581 ac_cv_type_ssize_t=no
32582 fi
32583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32584 fi
32585 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32586 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32587 if test $ac_cv_type_ssize_t = yes; then
32588
32589 cat >>confdefs.h <<_ACEOF
32590 #define HAVE_SSIZE_T 1
32591 _ACEOF
32592
32593
32594 fi
32595
32596
32597 ac_ext=cc
32598 ac_cpp='$CXXCPP $CPPFLAGS'
32599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32602
32603 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32604 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32605 if test "${wx_cv_size_t_is_uint+set}" = set; then
32606 echo $ECHO_N "(cached) $ECHO_C" >&6
32607 else
32608
32609 cat >conftest.$ac_ext <<_ACEOF
32610 /* confdefs.h. */
32611 _ACEOF
32612 cat confdefs.h >>conftest.$ac_ext
32613 cat >>conftest.$ac_ext <<_ACEOF
32614 /* end confdefs.h. */
32615 #include <stddef.h>
32616 int
32617 main ()
32618 {
32619
32620 return 0; }
32621
32622 struct Foo { void foo(size_t); void foo(unsigned int); };
32623
32624 int bar() {
32625
32626 ;
32627 return 0;
32628 }
32629 _ACEOF
32630 rm -f conftest.$ac_objext
32631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32632 (eval $ac_compile) 2>conftest.er1
32633 ac_status=$?
32634 grep -v '^ *+' conftest.er1 >conftest.err
32635 rm -f conftest.er1
32636 cat conftest.err >&5
32637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32638 (exit $ac_status); } &&
32639 { ac_try='test -z "$ac_cxx_werror_flag"
32640 || test ! -s conftest.err'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32643 ac_status=$?
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; } &&
32646 { ac_try='test -s conftest.$ac_objext'
32647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32648 (eval $ac_try) 2>&5
32649 ac_status=$?
32650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 (exit $ac_status); }; }; then
32652 wx_cv_size_t_is_uint=no
32653 else
32654 echo "$as_me: failed program was:" >&5
32655 sed 's/^/| /' conftest.$ac_ext >&5
32656
32657 wx_cv_size_t_is_uint=yes
32658
32659 fi
32660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32661
32662
32663 fi
32664 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32665 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32666
32667 if test "$wx_cv_size_t_is_uint" = "yes"; then
32668 cat >>confdefs.h <<\_ACEOF
32669 #define wxSIZE_T_IS_UINT 1
32670 _ACEOF
32671
32672 else
32673 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32674 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32675 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32676 echo $ECHO_N "(cached) $ECHO_C" >&6
32677 else
32678 cat >conftest.$ac_ext <<_ACEOF
32679 /* confdefs.h. */
32680 _ACEOF
32681 cat confdefs.h >>conftest.$ac_ext
32682 cat >>conftest.$ac_ext <<_ACEOF
32683 /* end confdefs.h. */
32684 #include <stddef.h>
32685 int
32686 main ()
32687 {
32688
32689 return 0; }
32690
32691 struct Foo { void foo(size_t); void foo(unsigned long); };
32692
32693 int bar() {
32694
32695 ;
32696 return 0;
32697 }
32698 _ACEOF
32699 rm -f conftest.$ac_objext
32700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32701 (eval $ac_compile) 2>conftest.er1
32702 ac_status=$?
32703 grep -v '^ *+' conftest.er1 >conftest.err
32704 rm -f conftest.er1
32705 cat conftest.err >&5
32706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707 (exit $ac_status); } &&
32708 { ac_try='test -z "$ac_cxx_werror_flag"
32709 || test ! -s conftest.err'
32710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32711 (eval $ac_try) 2>&5
32712 ac_status=$?
32713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32714 (exit $ac_status); }; } &&
32715 { ac_try='test -s conftest.$ac_objext'
32716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32717 (eval $ac_try) 2>&5
32718 ac_status=$?
32719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32720 (exit $ac_status); }; }; then
32721 wx_cv_size_t_is_ulong=no
32722 else
32723 echo "$as_me: failed program was:" >&5
32724 sed 's/^/| /' conftest.$ac_ext >&5
32725
32726 wx_cv_size_t_is_ulong=yes
32727
32728 fi
32729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32730
32731 fi
32732 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32733 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32734
32735 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32736 cat >>confdefs.h <<\_ACEOF
32737 #define wxSIZE_T_IS_ULONG 1
32738 _ACEOF
32739
32740 fi
32741 fi
32742
32743 ac_ext=c
32744 ac_cpp='$CPP $CPPFLAGS'
32745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32748
32749
32750
32751 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32752 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32753 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32754 echo $ECHO_N "(cached) $ECHO_C" >&6
32755 else
32756
32757 cat >conftest.$ac_ext <<_ACEOF
32758 /* confdefs.h. */
32759 _ACEOF
32760 cat confdefs.h >>conftest.$ac_ext
32761 cat >>conftest.$ac_ext <<_ACEOF
32762 /* end confdefs.h. */
32763 #include <pwd.h>
32764 int
32765 main ()
32766 {
32767
32768 char *p;
32769 struct passwd *pw;
32770 p = pw->pw_gecos;
32771
32772 ;
32773 return 0;
32774 }
32775 _ACEOF
32776 rm -f conftest.$ac_objext
32777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32778 (eval $ac_compile) 2>conftest.er1
32779 ac_status=$?
32780 grep -v '^ *+' conftest.er1 >conftest.err
32781 rm -f conftest.er1
32782 cat conftest.err >&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); } &&
32785 { ac_try='test -z "$ac_c_werror_flag"
32786 || test ! -s conftest.err'
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); }; } &&
32792 { ac_try='test -s conftest.$ac_objext'
32793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32794 (eval $ac_try) 2>&5
32795 ac_status=$?
32796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32797 (exit $ac_status); }; }; then
32798
32799 wx_cv_struct_pw_gecos=yes
32800
32801 else
32802 echo "$as_me: failed program was:" >&5
32803 sed 's/^/| /' conftest.$ac_ext >&5
32804
32805
32806 wx_cv_struct_pw_gecos=no
32807
32808
32809 fi
32810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32811
32812
32813 fi
32814 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32815 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32816
32817 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32818 cat >>confdefs.h <<\_ACEOF
32819 #define HAVE_PW_GECOS 1
32820 _ACEOF
32821
32822 fi
32823
32824
32825 if test "$wxUSE_WCHAR_T" = "yes"; then
32826 cat >>confdefs.h <<\_ACEOF
32827 #define wxUSE_WCHAR_T 1
32828 _ACEOF
32829
32830
32831 WCSLEN_FOUND=0
32832 WCHAR_LINK=
32833
32834 for ac_func in wcslen
32835 do
32836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32837 echo "$as_me:$LINENO: checking for $ac_func" >&5
32838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32839 if eval "test \"\${$as_ac_var+set}\" = set"; then
32840 echo $ECHO_N "(cached) $ECHO_C" >&6
32841 else
32842 cat >conftest.$ac_ext <<_ACEOF
32843 /* confdefs.h. */
32844 _ACEOF
32845 cat confdefs.h >>conftest.$ac_ext
32846 cat >>conftest.$ac_ext <<_ACEOF
32847 /* end confdefs.h. */
32848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32850 #define $ac_func innocuous_$ac_func
32851
32852 /* System header to define __stub macros and hopefully few prototypes,
32853 which can conflict with char $ac_func (); below.
32854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32855 <limits.h> exists even on freestanding compilers. */
32856
32857 #ifdef __STDC__
32858 # include <limits.h>
32859 #else
32860 # include <assert.h>
32861 #endif
32862
32863 #undef $ac_func
32864
32865 /* Override any gcc2 internal prototype to avoid an error. */
32866 #ifdef __cplusplus
32867 extern "C"
32868 {
32869 #endif
32870 /* We use char because int might match the return type of a gcc2
32871 builtin and then its argument prototype would still apply. */
32872 char $ac_func ();
32873 /* The GNU C library defines this for functions which it implements
32874 to always fail with ENOSYS. Some functions are actually named
32875 something starting with __ and the normal name is an alias. */
32876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32877 choke me
32878 #else
32879 char (*f) () = $ac_func;
32880 #endif
32881 #ifdef __cplusplus
32882 }
32883 #endif
32884
32885 int
32886 main ()
32887 {
32888 return f != $ac_func;
32889 ;
32890 return 0;
32891 }
32892 _ACEOF
32893 rm -f conftest.$ac_objext conftest$ac_exeext
32894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32895 (eval $ac_link) 2>conftest.er1
32896 ac_status=$?
32897 grep -v '^ *+' conftest.er1 >conftest.err
32898 rm -f conftest.er1
32899 cat conftest.err >&5
32900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901 (exit $ac_status); } &&
32902 { ac_try='test -z "$ac_c_werror_flag"
32903 || test ! -s conftest.err'
32904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32905 (eval $ac_try) 2>&5
32906 ac_status=$?
32907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32908 (exit $ac_status); }; } &&
32909 { ac_try='test -s conftest$ac_exeext'
32910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32911 (eval $ac_try) 2>&5
32912 ac_status=$?
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); }; }; then
32915 eval "$as_ac_var=yes"
32916 else
32917 echo "$as_me: failed program was:" >&5
32918 sed 's/^/| /' conftest.$ac_ext >&5
32919
32920 eval "$as_ac_var=no"
32921 fi
32922 rm -f conftest.err conftest.$ac_objext \
32923 conftest$ac_exeext conftest.$ac_ext
32924 fi
32925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32927 if test `eval echo '${'$as_ac_var'}'` = yes; then
32928 cat >>confdefs.h <<_ACEOF
32929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32930 _ACEOF
32931 WCSLEN_FOUND=1
32932 fi
32933 done
32934
32935
32936 if test "$WCSLEN_FOUND" = 0; then
32937 if test "$TOOLKIT" = "MSW"; then
32938 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32939 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32940 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32941 echo $ECHO_N "(cached) $ECHO_C" >&6
32942 else
32943 ac_check_lib_save_LIBS=$LIBS
32944 LIBS="-lmsvcrt $LIBS"
32945 cat >conftest.$ac_ext <<_ACEOF
32946 /* confdefs.h. */
32947 _ACEOF
32948 cat confdefs.h >>conftest.$ac_ext
32949 cat >>conftest.$ac_ext <<_ACEOF
32950 /* end confdefs.h. */
32951
32952 /* Override any gcc2 internal prototype to avoid an error. */
32953 #ifdef __cplusplus
32954 extern "C"
32955 #endif
32956 /* We use char because int might match the return type of a gcc2
32957 builtin and then its argument prototype would still apply. */
32958 char wcslen ();
32959 int
32960 main ()
32961 {
32962 wcslen ();
32963 ;
32964 return 0;
32965 }
32966 _ACEOF
32967 rm -f conftest.$ac_objext conftest$ac_exeext
32968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32969 (eval $ac_link) 2>conftest.er1
32970 ac_status=$?
32971 grep -v '^ *+' conftest.er1 >conftest.err
32972 rm -f conftest.er1
32973 cat conftest.err >&5
32974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975 (exit $ac_status); } &&
32976 { ac_try='test -z "$ac_c_werror_flag"
32977 || test ! -s conftest.err'
32978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32979 (eval $ac_try) 2>&5
32980 ac_status=$?
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); }; } &&
32983 { ac_try='test -s conftest$ac_exeext'
32984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32985 (eval $ac_try) 2>&5
32986 ac_status=$?
32987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32988 (exit $ac_status); }; }; then
32989 ac_cv_lib_msvcrt_wcslen=yes
32990 else
32991 echo "$as_me: failed program was:" >&5
32992 sed 's/^/| /' conftest.$ac_ext >&5
32993
32994 ac_cv_lib_msvcrt_wcslen=no
32995 fi
32996 rm -f conftest.err conftest.$ac_objext \
32997 conftest$ac_exeext conftest.$ac_ext
32998 LIBS=$ac_check_lib_save_LIBS
32999 fi
33000 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33001 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33002 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33003 WCHAR_OK=1
33004 fi
33005
33006 else
33007 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33008 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33009 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33010 echo $ECHO_N "(cached) $ECHO_C" >&6
33011 else
33012 ac_check_lib_save_LIBS=$LIBS
33013 LIBS="-lw $LIBS"
33014 cat >conftest.$ac_ext <<_ACEOF
33015 /* confdefs.h. */
33016 _ACEOF
33017 cat confdefs.h >>conftest.$ac_ext
33018 cat >>conftest.$ac_ext <<_ACEOF
33019 /* end confdefs.h. */
33020
33021 /* Override any gcc2 internal prototype to avoid an error. */
33022 #ifdef __cplusplus
33023 extern "C"
33024 #endif
33025 /* We use char because int might match the return type of a gcc2
33026 builtin and then its argument prototype would still apply. */
33027 char wcslen ();
33028 int
33029 main ()
33030 {
33031 wcslen ();
33032 ;
33033 return 0;
33034 }
33035 _ACEOF
33036 rm -f conftest.$ac_objext conftest$ac_exeext
33037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33038 (eval $ac_link) 2>conftest.er1
33039 ac_status=$?
33040 grep -v '^ *+' conftest.er1 >conftest.err
33041 rm -f conftest.er1
33042 cat conftest.err >&5
33043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044 (exit $ac_status); } &&
33045 { ac_try='test -z "$ac_c_werror_flag"
33046 || test ! -s conftest.err'
33047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33048 (eval $ac_try) 2>&5
33049 ac_status=$?
33050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33051 (exit $ac_status); }; } &&
33052 { ac_try='test -s conftest$ac_exeext'
33053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33054 (eval $ac_try) 2>&5
33055 ac_status=$?
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); }; }; then
33058 ac_cv_lib_w_wcslen=yes
33059 else
33060 echo "$as_me: failed program was:" >&5
33061 sed 's/^/| /' conftest.$ac_ext >&5
33062
33063 ac_cv_lib_w_wcslen=no
33064 fi
33065 rm -f conftest.err conftest.$ac_objext \
33066 conftest$ac_exeext conftest.$ac_ext
33067 LIBS=$ac_check_lib_save_LIBS
33068 fi
33069 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33070 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33071 if test $ac_cv_lib_w_wcslen = yes; then
33072
33073 WCHAR_LINK=" -lw"
33074 WCSLEN_FOUND=1
33075
33076 fi
33077
33078 fi
33079 fi
33080
33081 if test "$WCSLEN_FOUND" = 1; then
33082 cat >>confdefs.h <<\_ACEOF
33083 #define HAVE_WCSLEN 1
33084 _ACEOF
33085
33086 fi
33087
33088 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33089 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33090 fi
33091
33092 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33093 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33094 if test "${ac_cv_type_mbstate_t+set}" = set; then
33095 echo $ECHO_N "(cached) $ECHO_C" >&6
33096 else
33097 cat >conftest.$ac_ext <<_ACEOF
33098 /* confdefs.h. */
33099 _ACEOF
33100 cat confdefs.h >>conftest.$ac_ext
33101 cat >>conftest.$ac_ext <<_ACEOF
33102 /* end confdefs.h. */
33103 #include <wchar.h>
33104
33105 int
33106 main ()
33107 {
33108 if ((mbstate_t *) 0)
33109 return 0;
33110 if (sizeof (mbstate_t))
33111 return 0;
33112 ;
33113 return 0;
33114 }
33115 _ACEOF
33116 rm -f conftest.$ac_objext
33117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33118 (eval $ac_compile) 2>conftest.er1
33119 ac_status=$?
33120 grep -v '^ *+' conftest.er1 >conftest.err
33121 rm -f conftest.er1
33122 cat conftest.err >&5
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); } &&
33125 { ac_try='test -z "$ac_c_werror_flag"
33126 || test ! -s conftest.err'
33127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33128 (eval $ac_try) 2>&5
33129 ac_status=$?
33130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33131 (exit $ac_status); }; } &&
33132 { ac_try='test -s conftest.$ac_objext'
33133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33134 (eval $ac_try) 2>&5
33135 ac_status=$?
33136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33137 (exit $ac_status); }; }; then
33138 ac_cv_type_mbstate_t=yes
33139 else
33140 echo "$as_me: failed program was:" >&5
33141 sed 's/^/| /' conftest.$ac_ext >&5
33142
33143 ac_cv_type_mbstate_t=no
33144 fi
33145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33146 fi
33147 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33148 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33149 if test $ac_cv_type_mbstate_t = yes; then
33150
33151 cat >>confdefs.h <<_ACEOF
33152 #define HAVE_MBSTATE_T 1
33153 _ACEOF
33154
33155
33156 for ac_func in wcsrtombs
33157 do
33158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33159 echo "$as_me:$LINENO: checking for $ac_func" >&5
33160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33161 if eval "test \"\${$as_ac_var+set}\" = set"; then
33162 echo $ECHO_N "(cached) $ECHO_C" >&6
33163 else
33164 cat >conftest.$ac_ext <<_ACEOF
33165 /* confdefs.h. */
33166 _ACEOF
33167 cat confdefs.h >>conftest.$ac_ext
33168 cat >>conftest.$ac_ext <<_ACEOF
33169 /* end confdefs.h. */
33170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33172 #define $ac_func innocuous_$ac_func
33173
33174 /* System header to define __stub macros and hopefully few prototypes,
33175 which can conflict with char $ac_func (); below.
33176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33177 <limits.h> exists even on freestanding compilers. */
33178
33179 #ifdef __STDC__
33180 # include <limits.h>
33181 #else
33182 # include <assert.h>
33183 #endif
33184
33185 #undef $ac_func
33186
33187 /* Override any gcc2 internal prototype to avoid an error. */
33188 #ifdef __cplusplus
33189 extern "C"
33190 {
33191 #endif
33192 /* We use char because int might match the return type of a gcc2
33193 builtin and then its argument prototype would still apply. */
33194 char $ac_func ();
33195 /* The GNU C library defines this for functions which it implements
33196 to always fail with ENOSYS. Some functions are actually named
33197 something starting with __ and the normal name is an alias. */
33198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33199 choke me
33200 #else
33201 char (*f) () = $ac_func;
33202 #endif
33203 #ifdef __cplusplus
33204 }
33205 #endif
33206
33207 int
33208 main ()
33209 {
33210 return f != $ac_func;
33211 ;
33212 return 0;
33213 }
33214 _ACEOF
33215 rm -f conftest.$ac_objext conftest$ac_exeext
33216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33217 (eval $ac_link) 2>conftest.er1
33218 ac_status=$?
33219 grep -v '^ *+' conftest.er1 >conftest.err
33220 rm -f conftest.er1
33221 cat conftest.err >&5
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); } &&
33224 { ac_try='test -z "$ac_c_werror_flag"
33225 || test ! -s conftest.err'
33226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33227 (eval $ac_try) 2>&5
33228 ac_status=$?
33229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33230 (exit $ac_status); }; } &&
33231 { ac_try='test -s conftest$ac_exeext'
33232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33233 (eval $ac_try) 2>&5
33234 ac_status=$?
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); }; }; then
33237 eval "$as_ac_var=yes"
33238 else
33239 echo "$as_me: failed program was:" >&5
33240 sed 's/^/| /' conftest.$ac_ext >&5
33241
33242 eval "$as_ac_var=no"
33243 fi
33244 rm -f conftest.err conftest.$ac_objext \
33245 conftest$ac_exeext conftest.$ac_ext
33246 fi
33247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33249 if test `eval echo '${'$as_ac_var'}'` = yes; then
33250 cat >>confdefs.h <<_ACEOF
33251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33252 _ACEOF
33253
33254 fi
33255 done
33256
33257 fi
33258
33259 else
33260 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33261 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33262 fi
33263
33264 ac_ext=cc
33265 ac_cpp='$CXXCPP $CPPFLAGS'
33266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33269
33270
33271
33272
33273 for ac_func in snprintf vsnprintf
33274 do
33275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33276 echo "$as_me:$LINENO: checking for $ac_func" >&5
33277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33278 if eval "test \"\${$as_ac_var+set}\" = set"; then
33279 echo $ECHO_N "(cached) $ECHO_C" >&6
33280 else
33281 cat >conftest.$ac_ext <<_ACEOF
33282 /* confdefs.h. */
33283 _ACEOF
33284 cat confdefs.h >>conftest.$ac_ext
33285 cat >>conftest.$ac_ext <<_ACEOF
33286 /* end confdefs.h. */
33287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33289 #define $ac_func innocuous_$ac_func
33290
33291 /* System header to define __stub macros and hopefully few prototypes,
33292 which can conflict with char $ac_func (); below.
33293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33294 <limits.h> exists even on freestanding compilers. */
33295
33296 #ifdef __STDC__
33297 # include <limits.h>
33298 #else
33299 # include <assert.h>
33300 #endif
33301
33302 #undef $ac_func
33303
33304 /* Override any gcc2 internal prototype to avoid an error. */
33305 #ifdef __cplusplus
33306 extern "C"
33307 {
33308 #endif
33309 /* We use char because int might match the return type of a gcc2
33310 builtin and then its argument prototype would still apply. */
33311 char $ac_func ();
33312 /* The GNU C library defines this for functions which it implements
33313 to always fail with ENOSYS. Some functions are actually named
33314 something starting with __ and the normal name is an alias. */
33315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33316 choke me
33317 #else
33318 char (*f) () = $ac_func;
33319 #endif
33320 #ifdef __cplusplus
33321 }
33322 #endif
33323
33324 int
33325 main ()
33326 {
33327 return f != $ac_func;
33328 ;
33329 return 0;
33330 }
33331 _ACEOF
33332 rm -f conftest.$ac_objext conftest$ac_exeext
33333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33334 (eval $ac_link) 2>conftest.er1
33335 ac_status=$?
33336 grep -v '^ *+' conftest.er1 >conftest.err
33337 rm -f conftest.er1
33338 cat conftest.err >&5
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); } &&
33341 { ac_try='test -z "$ac_cxx_werror_flag"
33342 || test ! -s conftest.err'
33343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33344 (eval $ac_try) 2>&5
33345 ac_status=$?
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); }; } &&
33348 { ac_try='test -s conftest$ac_exeext'
33349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33350 (eval $ac_try) 2>&5
33351 ac_status=$?
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); }; }; then
33354 eval "$as_ac_var=yes"
33355 else
33356 echo "$as_me: failed program was:" >&5
33357 sed 's/^/| /' conftest.$ac_ext >&5
33358
33359 eval "$as_ac_var=no"
33360 fi
33361 rm -f conftest.err conftest.$ac_objext \
33362 conftest$ac_exeext conftest.$ac_ext
33363 fi
33364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33366 if test `eval echo '${'$as_ac_var'}'` = yes; then
33367 cat >>confdefs.h <<_ACEOF
33368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33369 _ACEOF
33370
33371 fi
33372 done
33373
33374
33375 if test "$ac_cv_func_vsnprintf" = "yes"; then
33376 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33377 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33378 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33379 echo $ECHO_N "(cached) $ECHO_C" >&6
33380 else
33381
33382 cat >conftest.$ac_ext <<_ACEOF
33383 /* confdefs.h. */
33384 _ACEOF
33385 cat confdefs.h >>conftest.$ac_ext
33386 cat >>conftest.$ac_ext <<_ACEOF
33387 /* end confdefs.h. */
33388
33389 #include <stdio.h>
33390 #include <stdarg.h>
33391 #ifdef __MSL__
33392 #if __MSL__ >= 0x6000
33393 namespace std {}
33394 using namespace std;
33395 #endif
33396 #endif
33397
33398 int
33399 main ()
33400 {
33401
33402 char *buf;
33403 va_list ap;
33404 vsnprintf(buf, 10u, "%s", ap);
33405
33406 ;
33407 return 0;
33408 }
33409 _ACEOF
33410 rm -f conftest.$ac_objext
33411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33412 (eval $ac_compile) 2>conftest.er1
33413 ac_status=$?
33414 grep -v '^ *+' conftest.er1 >conftest.err
33415 rm -f conftest.er1
33416 cat conftest.err >&5
33417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33418 (exit $ac_status); } &&
33419 { ac_try='test -z "$ac_cxx_werror_flag"
33420 || test ! -s conftest.err'
33421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33422 (eval $ac_try) 2>&5
33423 ac_status=$?
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; } &&
33426 { ac_try='test -s conftest.$ac_objext'
33427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33428 (eval $ac_try) 2>&5
33429 ac_status=$?
33430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33431 (exit $ac_status); }; }; then
33432 wx_cv_func_vsnprintf_decl=yes
33433 else
33434 echo "$as_me: failed program was:" >&5
33435 sed 's/^/| /' conftest.$ac_ext >&5
33436
33437 wx_cv_func_vsnprintf_decl=no
33438
33439 fi
33440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33441
33442
33443 fi
33444 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33445 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33446
33447 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33448 cat >>confdefs.h <<\_ACEOF
33449 #define HAVE_VSNPRINTF_DECL 1
33450 _ACEOF
33451
33452
33453 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33454 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33455 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33456 echo $ECHO_N "(cached) $ECHO_C" >&6
33457 else
33458
33459 cat >conftest.$ac_ext <<_ACEOF
33460 /* confdefs.h. */
33461 _ACEOF
33462 cat confdefs.h >>conftest.$ac_ext
33463 cat >>conftest.$ac_ext <<_ACEOF
33464 /* end confdefs.h. */
33465
33466 #include <stdio.h>
33467 #include <stdarg.h>
33468 #ifdef __MSL__
33469 #if __MSL__ >= 0x6000
33470 namespace std {}
33471 using namespace std;
33472 #endif
33473 #endif
33474
33475 int
33476 main ()
33477 {
33478
33479 char *buf;
33480 va_list ap;
33481 const char *fmt = "%s";
33482 vsnprintf(buf, 10u, fmt, ap);
33483
33484 ;
33485 return 0;
33486 }
33487 _ACEOF
33488 rm -f conftest.$ac_objext
33489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33490 (eval $ac_compile) 2>conftest.er1
33491 ac_status=$?
33492 grep -v '^ *+' conftest.er1 >conftest.err
33493 rm -f conftest.er1
33494 cat conftest.err >&5
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); } &&
33497 { ac_try='test -z "$ac_cxx_werror_flag"
33498 || test ! -s conftest.err'
33499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33500 (eval $ac_try) 2>&5
33501 ac_status=$?
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); }; } &&
33504 { ac_try='test -s conftest.$ac_objext'
33505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33506 (eval $ac_try) 2>&5
33507 ac_status=$?
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); }; }; then
33510 wx_cv_func_broken_vsnprintf_decl=no
33511 else
33512 echo "$as_me: failed program was:" >&5
33513 sed 's/^/| /' conftest.$ac_ext >&5
33514
33515 wx_cv_func_broken_vsnprintf_decl=yes
33516
33517 fi
33518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33519
33520
33521 fi
33522 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33523 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33524
33525 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33526 cat >>confdefs.h <<\_ACEOF
33527 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33528 _ACEOF
33529
33530 fi
33531 fi
33532 fi
33533
33534 if test "$ac_cv_func_snprintf" = "yes"; then
33535 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33536 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33537 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33538 echo $ECHO_N "(cached) $ECHO_C" >&6
33539 else
33540
33541 cat >conftest.$ac_ext <<_ACEOF
33542 /* confdefs.h. */
33543 _ACEOF
33544 cat confdefs.h >>conftest.$ac_ext
33545 cat >>conftest.$ac_ext <<_ACEOF
33546 /* end confdefs.h. */
33547
33548 #include <stdio.h>
33549 #include <stdarg.h>
33550 #ifdef __MSL__
33551 #if __MSL__ >= 0x6000
33552 namespace std {}
33553 using namespace std;
33554 #endif
33555 #endif
33556
33557 int
33558 main ()
33559 {
33560
33561 char *buf;
33562 snprintf(buf, 10u, "%s", "wx");
33563
33564 ;
33565 return 0;
33566 }
33567 _ACEOF
33568 rm -f conftest.$ac_objext
33569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33570 (eval $ac_compile) 2>conftest.er1
33571 ac_status=$?
33572 grep -v '^ *+' conftest.er1 >conftest.err
33573 rm -f conftest.er1
33574 cat conftest.err >&5
33575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576 (exit $ac_status); } &&
33577 { ac_try='test -z "$ac_cxx_werror_flag"
33578 || test ! -s conftest.err'
33579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33580 (eval $ac_try) 2>&5
33581 ac_status=$?
33582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583 (exit $ac_status); }; } &&
33584 { ac_try='test -s conftest.$ac_objext'
33585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33586 (eval $ac_try) 2>&5
33587 ac_status=$?
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); }; }; then
33590 wx_cv_func_snprintf_decl=yes
33591 else
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.$ac_ext >&5
33594
33595 wx_cv_func_snprintf_decl=no
33596
33597 fi
33598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33599
33600
33601 fi
33602 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33603 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33604
33605 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33606 cat >>confdefs.h <<\_ACEOF
33607 #define HAVE_SNPRINTF_DECL 1
33608 _ACEOF
33609
33610
33611 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33612 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33613 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33614 echo $ECHO_N "(cached) $ECHO_C" >&6
33615 else
33616
33617 cat >conftest.$ac_ext <<_ACEOF
33618 /* confdefs.h. */
33619 _ACEOF
33620 cat confdefs.h >>conftest.$ac_ext
33621 cat >>conftest.$ac_ext <<_ACEOF
33622 /* end confdefs.h. */
33623
33624 #include <stdio.h>
33625 #include <stdarg.h>
33626 #ifdef __MSL__
33627 #if __MSL__ >= 0x6000
33628 namespace std {}
33629 using namespace std;
33630 #endif
33631 #endif
33632
33633 int
33634 main ()
33635 {
33636
33637 char *buf;
33638 const char *fmt = "%s";
33639 snprintf(buf, 10u, fmt, "wx");
33640
33641 ;
33642 return 0;
33643 }
33644 _ACEOF
33645 rm -f conftest.$ac_objext
33646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33647 (eval $ac_compile) 2>conftest.er1
33648 ac_status=$?
33649 grep -v '^ *+' conftest.er1 >conftest.err
33650 rm -f conftest.er1
33651 cat conftest.err >&5
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); } &&
33654 { ac_try='test -z "$ac_cxx_werror_flag"
33655 || test ! -s conftest.err'
33656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33657 (eval $ac_try) 2>&5
33658 ac_status=$?
33659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660 (exit $ac_status); }; } &&
33661 { ac_try='test -s conftest.$ac_objext'
33662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33663 (eval $ac_try) 2>&5
33664 ac_status=$?
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); }; }; then
33667 wx_cv_func_broken_snprintf_decl=no
33668 else
33669 echo "$as_me: failed program was:" >&5
33670 sed 's/^/| /' conftest.$ac_ext >&5
33671
33672 wx_cv_func_broken_snprintf_decl=yes
33673
33674 fi
33675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33676
33677
33678 fi
33679 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33680 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33681
33682 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33683 cat >>confdefs.h <<\_ACEOF
33684 #define HAVE_BROKEN_SNPRINTF_DECL 1
33685 _ACEOF
33686
33687 fi
33688 fi
33689 fi
33690
33691 if test "$wxUSE_UNICODE" = yes; then
33692
33693
33694
33695
33696
33697
33698 for ac_func in wputc wputchar putws fputws wprintf vswprintf
33699 do
33700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33701 echo "$as_me:$LINENO: checking for $ac_func" >&5
33702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33703 if eval "test \"\${$as_ac_var+set}\" = set"; then
33704 echo $ECHO_N "(cached) $ECHO_C" >&6
33705 else
33706 cat >conftest.$ac_ext <<_ACEOF
33707 /* confdefs.h. */
33708 _ACEOF
33709 cat confdefs.h >>conftest.$ac_ext
33710 cat >>conftest.$ac_ext <<_ACEOF
33711 /* end confdefs.h. */
33712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33714 #define $ac_func innocuous_$ac_func
33715
33716 /* System header to define __stub macros and hopefully few prototypes,
33717 which can conflict with char $ac_func (); below.
33718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33719 <limits.h> exists even on freestanding compilers. */
33720
33721 #ifdef __STDC__
33722 # include <limits.h>
33723 #else
33724 # include <assert.h>
33725 #endif
33726
33727 #undef $ac_func
33728
33729 /* Override any gcc2 internal prototype to avoid an error. */
33730 #ifdef __cplusplus
33731 extern "C"
33732 {
33733 #endif
33734 /* We use char because int might match the return type of a gcc2
33735 builtin and then its argument prototype would still apply. */
33736 char $ac_func ();
33737 /* The GNU C library defines this for functions which it implements
33738 to always fail with ENOSYS. Some functions are actually named
33739 something starting with __ and the normal name is an alias. */
33740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33741 choke me
33742 #else
33743 char (*f) () = $ac_func;
33744 #endif
33745 #ifdef __cplusplus
33746 }
33747 #endif
33748
33749 int
33750 main ()
33751 {
33752 return f != $ac_func;
33753 ;
33754 return 0;
33755 }
33756 _ACEOF
33757 rm -f conftest.$ac_objext conftest$ac_exeext
33758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33759 (eval $ac_link) 2>conftest.er1
33760 ac_status=$?
33761 grep -v '^ *+' conftest.er1 >conftest.err
33762 rm -f conftest.er1
33763 cat conftest.err >&5
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); } &&
33766 { ac_try='test -z "$ac_cxx_werror_flag"
33767 || test ! -s conftest.err'
33768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33769 (eval $ac_try) 2>&5
33770 ac_status=$?
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); }; } &&
33773 { ac_try='test -s conftest$ac_exeext'
33774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33775 (eval $ac_try) 2>&5
33776 ac_status=$?
33777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778 (exit $ac_status); }; }; then
33779 eval "$as_ac_var=yes"
33780 else
33781 echo "$as_me: failed program was:" >&5
33782 sed 's/^/| /' conftest.$ac_ext >&5
33783
33784 eval "$as_ac_var=no"
33785 fi
33786 rm -f conftest.err conftest.$ac_objext \
33787 conftest$ac_exeext conftest.$ac_ext
33788 fi
33789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33791 if test `eval echo '${'$as_ac_var'}'` = yes; then
33792 cat >>confdefs.h <<_ACEOF
33793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33794 _ACEOF
33795
33796 fi
33797 done
33798
33799
33800 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33801 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33802 cat >conftest.$ac_ext <<_ACEOF
33803 /* confdefs.h. */
33804 _ACEOF
33805 cat confdefs.h >>conftest.$ac_ext
33806 cat >>conftest.$ac_ext <<_ACEOF
33807 /* end confdefs.h. */
33808 #include <wchar.h>
33809 int
33810 main ()
33811 {
33812 &_vsnwprintf;
33813 ;
33814 return 0;
33815 }
33816 _ACEOF
33817 rm -f conftest.$ac_objext
33818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33819 (eval $ac_compile) 2>conftest.er1
33820 ac_status=$?
33821 grep -v '^ *+' conftest.er1 >conftest.err
33822 rm -f conftest.er1
33823 cat conftest.err >&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); } &&
33826 { ac_try='test -z "$ac_cxx_werror_flag"
33827 || test ! -s conftest.err'
33828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33829 (eval $ac_try) 2>&5
33830 ac_status=$?
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); }; } &&
33833 { ac_try='test -s conftest.$ac_objext'
33834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33835 (eval $ac_try) 2>&5
33836 ac_status=$?
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); }; }; then
33839 echo "$as_me:$LINENO: result: yes" >&5
33840 echo "${ECHO_T}yes" >&6
33841 cat >>confdefs.h <<\_ACEOF
33842 #define HAVE__VSNWPRINTF 1
33843 _ACEOF
33844
33845 else
33846 echo "$as_me: failed program was:" >&5
33847 sed 's/^/| /' conftest.$ac_ext >&5
33848
33849 echo "$as_me:$LINENO: result: no" >&5
33850 echo "${ECHO_T}no" >&6
33851 fi
33852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
33853 fi
33854
33855 ac_ext=c
33856 ac_cpp='$CPP $CPPFLAGS'
33857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33860
33861
33862 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33863
33864 for ac_func in fnmatch
33865 do
33866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33867 echo "$as_me:$LINENO: checking for $ac_func" >&5
33868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33869 if eval "test \"\${$as_ac_var+set}\" = set"; then
33870 echo $ECHO_N "(cached) $ECHO_C" >&6
33871 else
33872 cat >conftest.$ac_ext <<_ACEOF
33873 /* confdefs.h. */
33874 _ACEOF
33875 cat confdefs.h >>conftest.$ac_ext
33876 cat >>conftest.$ac_ext <<_ACEOF
33877 /* end confdefs.h. */
33878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33880 #define $ac_func innocuous_$ac_func
33881
33882 /* System header to define __stub macros and hopefully few prototypes,
33883 which can conflict with char $ac_func (); below.
33884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33885 <limits.h> exists even on freestanding compilers. */
33886
33887 #ifdef __STDC__
33888 # include <limits.h>
33889 #else
33890 # include <assert.h>
33891 #endif
33892
33893 #undef $ac_func
33894
33895 /* Override any gcc2 internal prototype to avoid an error. */
33896 #ifdef __cplusplus
33897 extern "C"
33898 {
33899 #endif
33900 /* We use char because int might match the return type of a gcc2
33901 builtin and then its argument prototype would still apply. */
33902 char $ac_func ();
33903 /* The GNU C library defines this for functions which it implements
33904 to always fail with ENOSYS. Some functions are actually named
33905 something starting with __ and the normal name is an alias. */
33906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33907 choke me
33908 #else
33909 char (*f) () = $ac_func;
33910 #endif
33911 #ifdef __cplusplus
33912 }
33913 #endif
33914
33915 int
33916 main ()
33917 {
33918 return f != $ac_func;
33919 ;
33920 return 0;
33921 }
33922 _ACEOF
33923 rm -f conftest.$ac_objext conftest$ac_exeext
33924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33925 (eval $ac_link) 2>conftest.er1
33926 ac_status=$?
33927 grep -v '^ *+' conftest.er1 >conftest.err
33928 rm -f conftest.er1
33929 cat conftest.err >&5
33930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33931 (exit $ac_status); } &&
33932 { ac_try='test -z "$ac_c_werror_flag"
33933 || test ! -s conftest.err'
33934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33935 (eval $ac_try) 2>&5
33936 ac_status=$?
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); }; } &&
33939 { ac_try='test -s conftest$ac_exeext'
33940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33941 (eval $ac_try) 2>&5
33942 ac_status=$?
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); }; }; then
33945 eval "$as_ac_var=yes"
33946 else
33947 echo "$as_me: failed program was:" >&5
33948 sed 's/^/| /' conftest.$ac_ext >&5
33949
33950 eval "$as_ac_var=no"
33951 fi
33952 rm -f conftest.err conftest.$ac_objext \
33953 conftest$ac_exeext conftest.$ac_ext
33954 fi
33955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33957 if test `eval echo '${'$as_ac_var'}'` = yes; then
33958 cat >>confdefs.h <<_ACEOF
33959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33960 _ACEOF
33961
33962 fi
33963 done
33964
33965 fi
33966
33967 if test "$wxUSE_FILE" = "yes"; then
33968
33969 for ac_func in fsync
33970 do
33971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33972 echo "$as_me:$LINENO: checking for $ac_func" >&5
33973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33974 if eval "test \"\${$as_ac_var+set}\" = set"; then
33975 echo $ECHO_N "(cached) $ECHO_C" >&6
33976 else
33977 cat >conftest.$ac_ext <<_ACEOF
33978 /* confdefs.h. */
33979 _ACEOF
33980 cat confdefs.h >>conftest.$ac_ext
33981 cat >>conftest.$ac_ext <<_ACEOF
33982 /* end confdefs.h. */
33983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33985 #define $ac_func innocuous_$ac_func
33986
33987 /* System header to define __stub macros and hopefully few prototypes,
33988 which can conflict with char $ac_func (); below.
33989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33990 <limits.h> exists even on freestanding compilers. */
33991
33992 #ifdef __STDC__
33993 # include <limits.h>
33994 #else
33995 # include <assert.h>
33996 #endif
33997
33998 #undef $ac_func
33999
34000 /* Override any gcc2 internal prototype to avoid an error. */
34001 #ifdef __cplusplus
34002 extern "C"
34003 {
34004 #endif
34005 /* We use char because int might match the return type of a gcc2
34006 builtin and then its argument prototype would still apply. */
34007 char $ac_func ();
34008 /* The GNU C library defines this for functions which it implements
34009 to always fail with ENOSYS. Some functions are actually named
34010 something starting with __ and the normal name is an alias. */
34011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34012 choke me
34013 #else
34014 char (*f) () = $ac_func;
34015 #endif
34016 #ifdef __cplusplus
34017 }
34018 #endif
34019
34020 int
34021 main ()
34022 {
34023 return f != $ac_func;
34024 ;
34025 return 0;
34026 }
34027 _ACEOF
34028 rm -f conftest.$ac_objext conftest$ac_exeext
34029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34030 (eval $ac_link) 2>conftest.er1
34031 ac_status=$?
34032 grep -v '^ *+' conftest.er1 >conftest.err
34033 rm -f conftest.er1
34034 cat conftest.err >&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); } &&
34037 { ac_try='test -z "$ac_c_werror_flag"
34038 || test ! -s conftest.err'
34039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34040 (eval $ac_try) 2>&5
34041 ac_status=$?
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); }; } &&
34044 { ac_try='test -s conftest$ac_exeext'
34045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34046 (eval $ac_try) 2>&5
34047 ac_status=$?
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); }; }; then
34050 eval "$as_ac_var=yes"
34051 else
34052 echo "$as_me: failed program was:" >&5
34053 sed 's/^/| /' conftest.$ac_ext >&5
34054
34055 eval "$as_ac_var=no"
34056 fi
34057 rm -f conftest.err conftest.$ac_objext \
34058 conftest$ac_exeext conftest.$ac_ext
34059 fi
34060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34062 if test `eval echo '${'$as_ac_var'}'` = yes; then
34063 cat >>confdefs.h <<_ACEOF
34064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34065 _ACEOF
34066
34067 fi
34068 done
34069
34070 fi
34071
34072
34073 if test "$TOOLKIT" != "MSW"; then
34074
34075
34076 ac_ext=cc
34077 ac_cpp='$CXXCPP $CPPFLAGS'
34078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34081
34082
34083
34084
34085 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34086 if test "${with_libiconv_prefix+set}" = set; then
34087 withval="$with_libiconv_prefix"
34088
34089 for dir in `echo "$withval" | tr : ' '`; do
34090 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
34091 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
34092 done
34093
34094 fi;
34095
34096 echo "$as_me:$LINENO: checking for iconv" >&5
34097 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34098 if test "${am_cv_func_iconv+set}" = set; then
34099 echo $ECHO_N "(cached) $ECHO_C" >&6
34100 else
34101
34102 am_cv_func_iconv="no, consider installing GNU libiconv"
34103 am_cv_lib_iconv=no
34104 cat >conftest.$ac_ext <<_ACEOF
34105 /* confdefs.h. */
34106 _ACEOF
34107 cat confdefs.h >>conftest.$ac_ext
34108 cat >>conftest.$ac_ext <<_ACEOF
34109 /* end confdefs.h. */
34110 #include <stdlib.h>
34111 #include <iconv.h>
34112 int
34113 main ()
34114 {
34115 iconv_t cd = iconv_open("","");
34116 iconv(cd,NULL,NULL,NULL,NULL);
34117 iconv_close(cd);
34118 ;
34119 return 0;
34120 }
34121 _ACEOF
34122 rm -f conftest.$ac_objext conftest$ac_exeext
34123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34124 (eval $ac_link) 2>conftest.er1
34125 ac_status=$?
34126 grep -v '^ *+' conftest.er1 >conftest.err
34127 rm -f conftest.er1
34128 cat conftest.err >&5
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); } &&
34131 { ac_try='test -z "$ac_cxx_werror_flag"
34132 || test ! -s conftest.err'
34133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34134 (eval $ac_try) 2>&5
34135 ac_status=$?
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); }; } &&
34138 { ac_try='test -s conftest$ac_exeext'
34139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34140 (eval $ac_try) 2>&5
34141 ac_status=$?
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); }; }; then
34144 am_cv_func_iconv=yes
34145 else
34146 echo "$as_me: failed program was:" >&5
34147 sed 's/^/| /' conftest.$ac_ext >&5
34148
34149 fi
34150 rm -f conftest.err conftest.$ac_objext \
34151 conftest$ac_exeext conftest.$ac_ext
34152 if test "$am_cv_func_iconv" != yes; then
34153 am_save_LIBS="$LIBS"
34154 LIBS="$LIBS -liconv"
34155 cat >conftest.$ac_ext <<_ACEOF
34156 /* confdefs.h. */
34157 _ACEOF
34158 cat confdefs.h >>conftest.$ac_ext
34159 cat >>conftest.$ac_ext <<_ACEOF
34160 /* end confdefs.h. */
34161 #include <stdlib.h>
34162 #include <iconv.h>
34163 int
34164 main ()
34165 {
34166 iconv_t cd = iconv_open("","");
34167 iconv(cd,NULL,NULL,NULL,NULL);
34168 iconv_close(cd);
34169 ;
34170 return 0;
34171 }
34172 _ACEOF
34173 rm -f conftest.$ac_objext conftest$ac_exeext
34174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34175 (eval $ac_link) 2>conftest.er1
34176 ac_status=$?
34177 grep -v '^ *+' conftest.er1 >conftest.err
34178 rm -f conftest.er1
34179 cat conftest.err >&5
34180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34181 (exit $ac_status); } &&
34182 { ac_try='test -z "$ac_cxx_werror_flag"
34183 || test ! -s conftest.err'
34184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34185 (eval $ac_try) 2>&5
34186 ac_status=$?
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); }; } &&
34189 { ac_try='test -s conftest$ac_exeext'
34190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34191 (eval $ac_try) 2>&5
34192 ac_status=$?
34193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34194 (exit $ac_status); }; }; then
34195 am_cv_lib_iconv=yes
34196 am_cv_func_iconv=yes
34197 else
34198 echo "$as_me: failed program was:" >&5
34199 sed 's/^/| /' conftest.$ac_ext >&5
34200
34201 fi
34202 rm -f conftest.err conftest.$ac_objext \
34203 conftest$ac_exeext conftest.$ac_ext
34204 LIBS="$am_save_LIBS"
34205 fi
34206
34207 fi
34208 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34209 echo "${ECHO_T}$am_cv_func_iconv" >&6
34210 if test "$am_cv_func_iconv" = yes; then
34211
34212 cat >>confdefs.h <<\_ACEOF
34213 #define HAVE_ICONV 1
34214 _ACEOF
34215
34216 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34217 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34218 if test "${wx_cv_func_iconv_const+set}" = set; then
34219 echo $ECHO_N "(cached) $ECHO_C" >&6
34220 else
34221 cat >conftest.$ac_ext <<_ACEOF
34222 /* confdefs.h. */
34223 _ACEOF
34224 cat confdefs.h >>conftest.$ac_ext
34225 cat >>conftest.$ac_ext <<_ACEOF
34226 /* end confdefs.h. */
34227
34228 #include <stdlib.h>
34229 #include <iconv.h>
34230 extern
34231 #ifdef __cplusplus
34232 "C"
34233 #endif
34234 #if defined(__STDC__) || defined(__cplusplus)
34235 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34236 #else
34237 size_t iconv();
34238 #endif
34239
34240 int
34241 main ()
34242 {
34243
34244 ;
34245 return 0;
34246 }
34247 _ACEOF
34248 rm -f conftest.$ac_objext
34249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34250 (eval $ac_compile) 2>conftest.er1
34251 ac_status=$?
34252 grep -v '^ *+' conftest.er1 >conftest.err
34253 rm -f conftest.er1
34254 cat conftest.err >&5
34255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256 (exit $ac_status); } &&
34257 { ac_try='test -z "$ac_cxx_werror_flag"
34258 || test ! -s conftest.err'
34259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34260 (eval $ac_try) 2>&5
34261 ac_status=$?
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); }; } &&
34264 { ac_try='test -s conftest.$ac_objext'
34265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34266 (eval $ac_try) 2>&5
34267 ac_status=$?
34268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34269 (exit $ac_status); }; }; then
34270 wx_cv_func_iconv_const="no"
34271 else
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.$ac_ext >&5
34274
34275 wx_cv_func_iconv_const="yes"
34276
34277 fi
34278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34279
34280 fi
34281 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34282 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34283
34284 iconv_const=
34285 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34286 iconv_const="const"
34287 fi
34288
34289
34290 cat >>confdefs.h <<_ACEOF
34291 #define ICONV_CONST $iconv_const
34292 _ACEOF
34293
34294 fi
34295 LIBICONV=
34296 if test "$am_cv_lib_iconv" = yes; then
34297 LIBICONV="-liconv"
34298 fi
34299
34300
34301 LIBS="$LIBICONV $LIBS"
34302 ac_ext=c
34303 ac_cpp='$CPP $CPPFLAGS'
34304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34307
34308
34309 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34310
34311 for ac_func in sigaction
34312 do
34313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34314 echo "$as_me:$LINENO: checking for $ac_func" >&5
34315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34316 if eval "test \"\${$as_ac_var+set}\" = set"; then
34317 echo $ECHO_N "(cached) $ECHO_C" >&6
34318 else
34319 cat >conftest.$ac_ext <<_ACEOF
34320 /* confdefs.h. */
34321 _ACEOF
34322 cat confdefs.h >>conftest.$ac_ext
34323 cat >>conftest.$ac_ext <<_ACEOF
34324 /* end confdefs.h. */
34325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34327 #define $ac_func innocuous_$ac_func
34328
34329 /* System header to define __stub macros and hopefully few prototypes,
34330 which can conflict with char $ac_func (); below.
34331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34332 <limits.h> exists even on freestanding compilers. */
34333
34334 #ifdef __STDC__
34335 # include <limits.h>
34336 #else
34337 # include <assert.h>
34338 #endif
34339
34340 #undef $ac_func
34341
34342 /* Override any gcc2 internal prototype to avoid an error. */
34343 #ifdef __cplusplus
34344 extern "C"
34345 {
34346 #endif
34347 /* We use char because int might match the return type of a gcc2
34348 builtin and then its argument prototype would still apply. */
34349 char $ac_func ();
34350 /* The GNU C library defines this for functions which it implements
34351 to always fail with ENOSYS. Some functions are actually named
34352 something starting with __ and the normal name is an alias. */
34353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34354 choke me
34355 #else
34356 char (*f) () = $ac_func;
34357 #endif
34358 #ifdef __cplusplus
34359 }
34360 #endif
34361
34362 int
34363 main ()
34364 {
34365 return f != $ac_func;
34366 ;
34367 return 0;
34368 }
34369 _ACEOF
34370 rm -f conftest.$ac_objext conftest$ac_exeext
34371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34372 (eval $ac_link) 2>conftest.er1
34373 ac_status=$?
34374 grep -v '^ *+' conftest.er1 >conftest.err
34375 rm -f conftest.er1
34376 cat conftest.err >&5
34377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34378 (exit $ac_status); } &&
34379 { ac_try='test -z "$ac_c_werror_flag"
34380 || test ! -s conftest.err'
34381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34382 (eval $ac_try) 2>&5
34383 ac_status=$?
34384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34385 (exit $ac_status); }; } &&
34386 { ac_try='test -s conftest$ac_exeext'
34387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34388 (eval $ac_try) 2>&5
34389 ac_status=$?
34390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34391 (exit $ac_status); }; }; then
34392 eval "$as_ac_var=yes"
34393 else
34394 echo "$as_me: failed program was:" >&5
34395 sed 's/^/| /' conftest.$ac_ext >&5
34396
34397 eval "$as_ac_var=no"
34398 fi
34399 rm -f conftest.err conftest.$ac_objext \
34400 conftest$ac_exeext conftest.$ac_ext
34401 fi
34402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34404 if test `eval echo '${'$as_ac_var'}'` = yes; then
34405 cat >>confdefs.h <<_ACEOF
34406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34407 _ACEOF
34408
34409 fi
34410 done
34411
34412
34413 if test "$ac_cv_func_sigaction" = "no"; then
34414 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34415 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34416 wxUSE_ON_FATAL_EXCEPTION=no
34417 fi
34418
34419 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34420 ac_ext=cc
34421 ac_cpp='$CXXCPP $CPPFLAGS'
34422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34425
34426
34427 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34428 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34429 if test "${wx_cv_type_sa_handler+set}" = set; then
34430 echo $ECHO_N "(cached) $ECHO_C" >&6
34431 else
34432
34433 cat >conftest.$ac_ext <<_ACEOF
34434 /* confdefs.h. */
34435 _ACEOF
34436 cat confdefs.h >>conftest.$ac_ext
34437 cat >>conftest.$ac_ext <<_ACEOF
34438 /* end confdefs.h. */
34439 #include <signal.h>
34440 int
34441 main ()
34442 {
34443
34444 extern void testSigHandler(int);
34445
34446 struct sigaction sa;
34447 sa.sa_handler = testSigHandler;
34448
34449 ;
34450 return 0;
34451 }
34452 _ACEOF
34453 rm -f conftest.$ac_objext
34454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34455 (eval $ac_compile) 2>conftest.er1
34456 ac_status=$?
34457 grep -v '^ *+' conftest.er1 >conftest.err
34458 rm -f conftest.er1
34459 cat conftest.err >&5
34460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34461 (exit $ac_status); } &&
34462 { ac_try='test -z "$ac_cxx_werror_flag"
34463 || test ! -s conftest.err'
34464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34465 (eval $ac_try) 2>&5
34466 ac_status=$?
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); }; } &&
34469 { ac_try='test -s conftest.$ac_objext'
34470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34471 (eval $ac_try) 2>&5
34472 ac_status=$?
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); }; }; then
34475
34476 wx_cv_type_sa_handler=int
34477
34478 else
34479 echo "$as_me: failed program was:" >&5
34480 sed 's/^/| /' conftest.$ac_ext >&5
34481
34482
34483 wx_cv_type_sa_handler=void
34484
34485 fi
34486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34487
34488 fi
34489 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34490 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34491
34492 ac_ext=c
34493 ac_cpp='$CPP $CPPFLAGS'
34494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34497
34498
34499 cat >>confdefs.h <<_ACEOF
34500 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34501 _ACEOF
34502
34503 fi
34504 fi
34505
34506 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34507 ac_ext=cc
34508 ac_cpp='$CXXCPP $CPPFLAGS'
34509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34512
34513
34514 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34515 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34516 if test "${wx_cv_func_backtrace+set}" = set; then
34517 echo $ECHO_N "(cached) $ECHO_C" >&6
34518 else
34519
34520 cat >conftest.$ac_ext <<_ACEOF
34521 /* confdefs.h. */
34522 _ACEOF
34523 cat confdefs.h >>conftest.$ac_ext
34524 cat >>conftest.$ac_ext <<_ACEOF
34525 /* end confdefs.h. */
34526 #include <execinfo.h>
34527 int
34528 main ()
34529 {
34530
34531 void *trace[1];
34532 char **messages;
34533
34534 backtrace(trace, 1);
34535 messages = backtrace_symbols(trace, 1);
34536
34537 ;
34538 return 0;
34539 }
34540 _ACEOF
34541 rm -f conftest.$ac_objext
34542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34543 (eval $ac_compile) 2>conftest.er1
34544 ac_status=$?
34545 grep -v '^ *+' conftest.er1 >conftest.err
34546 rm -f conftest.er1
34547 cat conftest.err >&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); } &&
34550 { ac_try='test -z "$ac_cxx_werror_flag"
34551 || test ! -s conftest.err'
34552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34553 (eval $ac_try) 2>&5
34554 ac_status=$?
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); }; } &&
34557 { ac_try='test -s conftest.$ac_objext'
34558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34559 (eval $ac_try) 2>&5
34560 ac_status=$?
34561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34562 (exit $ac_status); }; }; then
34563 wx_cv_func_backtrace=yes
34564 else
34565 echo "$as_me: failed program was:" >&5
34566 sed 's/^/| /' conftest.$ac_ext >&5
34567
34568 wx_cv_func_backtrace=no
34569
34570 fi
34571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34572
34573
34574 fi
34575 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34576 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34577
34578
34579 if test "$wx_cv_func_backtrace" = "no"; then
34580 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34581 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34582 wxUSE_STACKWALKER=no
34583 else
34584 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34585 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34586 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34587 echo $ECHO_N "(cached) $ECHO_C" >&6
34588 else
34589
34590 cat >conftest.$ac_ext <<_ACEOF
34591 /* confdefs.h. */
34592 _ACEOF
34593 cat confdefs.h >>conftest.$ac_ext
34594 cat >>conftest.$ac_ext <<_ACEOF
34595 /* end confdefs.h. */
34596 #include <cxxabi.h>
34597 int
34598 main ()
34599 {
34600
34601 int rc;
34602 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34603
34604 ;
34605 return 0;
34606 }
34607 _ACEOF
34608 rm -f conftest.$ac_objext conftest$ac_exeext
34609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34610 (eval $ac_link) 2>conftest.er1
34611 ac_status=$?
34612 grep -v '^ *+' conftest.er1 >conftest.err
34613 rm -f conftest.er1
34614 cat conftest.err >&5
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); } &&
34617 { ac_try='test -z "$ac_cxx_werror_flag"
34618 || test ! -s conftest.err'
34619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34620 (eval $ac_try) 2>&5
34621 ac_status=$?
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); }; } &&
34624 { ac_try='test -s conftest$ac_exeext'
34625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34626 (eval $ac_try) 2>&5
34627 ac_status=$?
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); }; }; then
34630 wx_cv_func_cxa_demangle=yes
34631 else
34632 echo "$as_me: failed program was:" >&5
34633 sed 's/^/| /' conftest.$ac_ext >&5
34634
34635 wx_cv_func_cxa_demangle=no
34636
34637 fi
34638 rm -f conftest.err conftest.$ac_objext \
34639 conftest$ac_exeext conftest.$ac_ext
34640
34641
34642 fi
34643 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34644 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34645
34646 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34647 cat >>confdefs.h <<\_ACEOF
34648 #define HAVE_CXA_DEMANGLE 1
34649 _ACEOF
34650
34651 fi
34652 fi
34653
34654 ac_ext=c
34655 ac_cpp='$CPP $CPPFLAGS'
34656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34659
34660 fi
34661
34662 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34663 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34664 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34665 wxUSE_STACKWALKER=no
34666 fi
34667
34668
34669
34670
34671 for ac_func in mkstemp mktemp
34672 do
34673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34674 echo "$as_me:$LINENO: checking for $ac_func" >&5
34675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34676 if eval "test \"\${$as_ac_var+set}\" = set"; then
34677 echo $ECHO_N "(cached) $ECHO_C" >&6
34678 else
34679 cat >conftest.$ac_ext <<_ACEOF
34680 /* confdefs.h. */
34681 _ACEOF
34682 cat confdefs.h >>conftest.$ac_ext
34683 cat >>conftest.$ac_ext <<_ACEOF
34684 /* end confdefs.h. */
34685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34687 #define $ac_func innocuous_$ac_func
34688
34689 /* System header to define __stub macros and hopefully few prototypes,
34690 which can conflict with char $ac_func (); below.
34691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34692 <limits.h> exists even on freestanding compilers. */
34693
34694 #ifdef __STDC__
34695 # include <limits.h>
34696 #else
34697 # include <assert.h>
34698 #endif
34699
34700 #undef $ac_func
34701
34702 /* Override any gcc2 internal prototype to avoid an error. */
34703 #ifdef __cplusplus
34704 extern "C"
34705 {
34706 #endif
34707 /* We use char because int might match the return type of a gcc2
34708 builtin and then its argument prototype would still apply. */
34709 char $ac_func ();
34710 /* The GNU C library defines this for functions which it implements
34711 to always fail with ENOSYS. Some functions are actually named
34712 something starting with __ and the normal name is an alias. */
34713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34714 choke me
34715 #else
34716 char (*f) () = $ac_func;
34717 #endif
34718 #ifdef __cplusplus
34719 }
34720 #endif
34721
34722 int
34723 main ()
34724 {
34725 return f != $ac_func;
34726 ;
34727 return 0;
34728 }
34729 _ACEOF
34730 rm -f conftest.$ac_objext conftest$ac_exeext
34731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34732 (eval $ac_link) 2>conftest.er1
34733 ac_status=$?
34734 grep -v '^ *+' conftest.er1 >conftest.err
34735 rm -f conftest.er1
34736 cat conftest.err >&5
34737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34738 (exit $ac_status); } &&
34739 { ac_try='test -z "$ac_c_werror_flag"
34740 || test ! -s conftest.err'
34741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34742 (eval $ac_try) 2>&5
34743 ac_status=$?
34744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34745 (exit $ac_status); }; } &&
34746 { ac_try='test -s conftest$ac_exeext'
34747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34748 (eval $ac_try) 2>&5
34749 ac_status=$?
34750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34751 (exit $ac_status); }; }; then
34752 eval "$as_ac_var=yes"
34753 else
34754 echo "$as_me: failed program was:" >&5
34755 sed 's/^/| /' conftest.$ac_ext >&5
34756
34757 eval "$as_ac_var=no"
34758 fi
34759 rm -f conftest.err conftest.$ac_objext \
34760 conftest$ac_exeext conftest.$ac_ext
34761 fi
34762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34764 if test `eval echo '${'$as_ac_var'}'` = yes; then
34765 cat >>confdefs.h <<_ACEOF
34766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34767 _ACEOF
34768 break
34769 fi
34770 done
34771
34772
34773 echo "$as_me:$LINENO: checking for statfs" >&5
34774 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34775 if test "${wx_cv_func_statfs+set}" = set; then
34776 echo $ECHO_N "(cached) $ECHO_C" >&6
34777 else
34778 cat >conftest.$ac_ext <<_ACEOF
34779 /* confdefs.h. */
34780 _ACEOF
34781 cat confdefs.h >>conftest.$ac_ext
34782 cat >>conftest.$ac_ext <<_ACEOF
34783 /* end confdefs.h. */
34784
34785 #if defined(__BSD__)
34786 #include <sys/param.h>
34787 #include <sys/mount.h>
34788 #else
34789 #include <sys/vfs.h>
34790 #endif
34791
34792 int
34793 main ()
34794 {
34795
34796 long l;
34797 struct statfs fs;
34798 statfs("/", &fs);
34799 l = fs.f_bsize;
34800 l += fs.f_blocks;
34801 l += fs.f_bavail;
34802
34803 ;
34804 return 0;
34805 }
34806 _ACEOF
34807 rm -f conftest.$ac_objext
34808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34809 (eval $ac_compile) 2>conftest.er1
34810 ac_status=$?
34811 grep -v '^ *+' conftest.er1 >conftest.err
34812 rm -f conftest.er1
34813 cat conftest.err >&5
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); } &&
34816 { ac_try='test -z "$ac_c_werror_flag"
34817 || test ! -s conftest.err'
34818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34819 (eval $ac_try) 2>&5
34820 ac_status=$?
34821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34822 (exit $ac_status); }; } &&
34823 { ac_try='test -s conftest.$ac_objext'
34824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34825 (eval $ac_try) 2>&5
34826 ac_status=$?
34827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34828 (exit $ac_status); }; }; then
34829 wx_cv_func_statfs=yes
34830 else
34831 echo "$as_me: failed program was:" >&5
34832 sed 's/^/| /' conftest.$ac_ext >&5
34833
34834 wx_cv_func_statfs=no
34835
34836 fi
34837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34838
34839 fi
34840 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34841 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34842
34843 if test "$wx_cv_func_statfs" = "yes"; then
34844 ac_ext=cc
34845 ac_cpp='$CXXCPP $CPPFLAGS'
34846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34849
34850 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34851 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34852 if test "${wx_cv_func_statfs_decl+set}" = set; then
34853 echo $ECHO_N "(cached) $ECHO_C" >&6
34854 else
34855 cat >conftest.$ac_ext <<_ACEOF
34856 /* confdefs.h. */
34857 _ACEOF
34858 cat confdefs.h >>conftest.$ac_ext
34859 cat >>conftest.$ac_ext <<_ACEOF
34860 /* end confdefs.h. */
34861
34862 #if defined(__BSD__)
34863 #include <sys/param.h>
34864 #include <sys/mount.h>
34865 #else
34866 #include <sys/vfs.h>
34867 #endif
34868
34869 int
34870 main ()
34871 {
34872
34873 struct statfs fs;
34874 statfs("", &fs);
34875
34876 ;
34877 return 0;
34878 }
34879 _ACEOF
34880 rm -f conftest.$ac_objext
34881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34882 (eval $ac_compile) 2>conftest.er1
34883 ac_status=$?
34884 grep -v '^ *+' conftest.er1 >conftest.err
34885 rm -f conftest.er1
34886 cat conftest.err >&5
34887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888 (exit $ac_status); } &&
34889 { ac_try='test -z "$ac_cxx_werror_flag"
34890 || test ! -s conftest.err'
34891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34892 (eval $ac_try) 2>&5
34893 ac_status=$?
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); }; } &&
34896 { ac_try='test -s conftest.$ac_objext'
34897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34898 (eval $ac_try) 2>&5
34899 ac_status=$?
34900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34901 (exit $ac_status); }; }; then
34902 wx_cv_func_statfs_decl=yes
34903 else
34904 echo "$as_me: failed program was:" >&5
34905 sed 's/^/| /' conftest.$ac_ext >&5
34906
34907 wx_cv_func_statfs_decl=no
34908
34909 fi
34910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34911
34912 fi
34913 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34914 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34915 ac_ext=c
34916 ac_cpp='$CPP $CPPFLAGS'
34917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34920
34921
34922 if test "$wx_cv_func_statfs_decl" = "yes"; then
34923 cat >>confdefs.h <<\_ACEOF
34924 #define HAVE_STATFS_DECL 1
34925 _ACEOF
34926
34927 fi
34928
34929 wx_cv_type_statvfs_t="struct statfs"
34930 cat >>confdefs.h <<\_ACEOF
34931 #define HAVE_STATFS 1
34932 _ACEOF
34933
34934 else
34935 echo "$as_me:$LINENO: checking for statvfs" >&5
34936 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34937 if test "${wx_cv_func_statvfs+set}" = set; then
34938 echo $ECHO_N "(cached) $ECHO_C" >&6
34939 else
34940 cat >conftest.$ac_ext <<_ACEOF
34941 /* confdefs.h. */
34942 _ACEOF
34943 cat confdefs.h >>conftest.$ac_ext
34944 cat >>conftest.$ac_ext <<_ACEOF
34945 /* end confdefs.h. */
34946
34947 #include <stddef.h>
34948 #include <sys/statvfs.h>
34949
34950 int
34951 main ()
34952 {
34953
34954 statvfs("/", NULL);
34955
34956 ;
34957 return 0;
34958 }
34959 _ACEOF
34960 rm -f conftest.$ac_objext
34961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34962 (eval $ac_compile) 2>conftest.er1
34963 ac_status=$?
34964 grep -v '^ *+' conftest.er1 >conftest.err
34965 rm -f conftest.er1
34966 cat conftest.err >&5
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); } &&
34969 { ac_try='test -z "$ac_c_werror_flag"
34970 || test ! -s conftest.err'
34971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34972 (eval $ac_try) 2>&5
34973 ac_status=$?
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); }; } &&
34976 { ac_try='test -s conftest.$ac_objext'
34977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34978 (eval $ac_try) 2>&5
34979 ac_status=$?
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); }; }; then
34982 wx_cv_func_statvfs=yes
34983 else
34984 echo "$as_me: failed program was:" >&5
34985 sed 's/^/| /' conftest.$ac_ext >&5
34986
34987 wx_cv_func_statvfs=no
34988
34989 fi
34990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34991
34992 fi
34993 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34994 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34995
34996 if test "$wx_cv_func_statvfs" = "yes"; then
34997 ac_ext=cc
34998 ac_cpp='$CXXCPP $CPPFLAGS'
34999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35002
35003
35004 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35005 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35006 if test "${wx_cv_type_statvfs_t+set}" = set; then
35007 echo $ECHO_N "(cached) $ECHO_C" >&6
35008 else
35009 cat >conftest.$ac_ext <<_ACEOF
35010 /* confdefs.h. */
35011 _ACEOF
35012 cat confdefs.h >>conftest.$ac_ext
35013 cat >>conftest.$ac_ext <<_ACEOF
35014 /* end confdefs.h. */
35015
35016 #include <sys/statvfs.h>
35017
35018 int
35019 main ()
35020 {
35021
35022 long l;
35023 statvfs_t fs;
35024 statvfs("/", &fs);
35025 l = fs.f_bsize;
35026 l += fs.f_blocks;
35027 l += fs.f_bavail;
35028
35029 ;
35030 return 0;
35031 }
35032 _ACEOF
35033 rm -f conftest.$ac_objext
35034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35035 (eval $ac_compile) 2>conftest.er1
35036 ac_status=$?
35037 grep -v '^ *+' conftest.er1 >conftest.err
35038 rm -f conftest.er1
35039 cat conftest.err >&5
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); } &&
35042 { ac_try='test -z "$ac_cxx_werror_flag"
35043 || test ! -s conftest.err'
35044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35045 (eval $ac_try) 2>&5
35046 ac_status=$?
35047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35048 (exit $ac_status); }; } &&
35049 { ac_try='test -s conftest.$ac_objext'
35050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35051 (eval $ac_try) 2>&5
35052 ac_status=$?
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); }; }; then
35055 wx_cv_type_statvfs_t=statvfs_t
35056 else
35057 echo "$as_me: failed program was:" >&5
35058 sed 's/^/| /' conftest.$ac_ext >&5
35059
35060
35061 cat >conftest.$ac_ext <<_ACEOF
35062 /* confdefs.h. */
35063 _ACEOF
35064 cat confdefs.h >>conftest.$ac_ext
35065 cat >>conftest.$ac_ext <<_ACEOF
35066 /* end confdefs.h. */
35067
35068 #include <sys/statvfs.h>
35069
35070 int
35071 main ()
35072 {
35073
35074 long l;
35075 struct statvfs fs;
35076 statvfs("/", &fs);
35077 l = fs.f_bsize;
35078 l += fs.f_blocks;
35079 l += fs.f_bavail;
35080
35081 ;
35082 return 0;
35083 }
35084 _ACEOF
35085 rm -f conftest.$ac_objext
35086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35087 (eval $ac_compile) 2>conftest.er1
35088 ac_status=$?
35089 grep -v '^ *+' conftest.er1 >conftest.err
35090 rm -f conftest.er1
35091 cat conftest.err >&5
35092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35093 (exit $ac_status); } &&
35094 { ac_try='test -z "$ac_cxx_werror_flag"
35095 || test ! -s conftest.err'
35096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35097 (eval $ac_try) 2>&5
35098 ac_status=$?
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); }; } &&
35101 { ac_try='test -s conftest.$ac_objext'
35102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35103 (eval $ac_try) 2>&5
35104 ac_status=$?
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); }; }; then
35107 wx_cv_type_statvfs_t="struct statvfs"
35108 else
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.$ac_ext >&5
35111
35112 wx_cv_type_statvfs_t="unknown"
35113
35114 fi
35115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35116
35117
35118 fi
35119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35120
35121 fi
35122 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35123 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35124
35125 ac_ext=c
35126 ac_cpp='$CPP $CPPFLAGS'
35127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35130
35131
35132 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35133 cat >>confdefs.h <<\_ACEOF
35134 #define HAVE_STATVFS 1
35135 _ACEOF
35136
35137 fi
35138 else
35139 wx_cv_type_statvfs_t="unknown"
35140 fi
35141 fi
35142
35143 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35144 cat >>confdefs.h <<_ACEOF
35145 #define WX_STATFS_T $wx_cv_type_statvfs_t
35146 _ACEOF
35147
35148 else
35149 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35150 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35151 fi
35152
35153 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35154
35155
35156 for ac_func in fcntl flock
35157 do
35158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35159 echo "$as_me:$LINENO: checking for $ac_func" >&5
35160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35161 if eval "test \"\${$as_ac_var+set}\" = set"; then
35162 echo $ECHO_N "(cached) $ECHO_C" >&6
35163 else
35164 cat >conftest.$ac_ext <<_ACEOF
35165 /* confdefs.h. */
35166 _ACEOF
35167 cat confdefs.h >>conftest.$ac_ext
35168 cat >>conftest.$ac_ext <<_ACEOF
35169 /* end confdefs.h. */
35170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35172 #define $ac_func innocuous_$ac_func
35173
35174 /* System header to define __stub macros and hopefully few prototypes,
35175 which can conflict with char $ac_func (); below.
35176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35177 <limits.h> exists even on freestanding compilers. */
35178
35179 #ifdef __STDC__
35180 # include <limits.h>
35181 #else
35182 # include <assert.h>
35183 #endif
35184
35185 #undef $ac_func
35186
35187 /* Override any gcc2 internal prototype to avoid an error. */
35188 #ifdef __cplusplus
35189 extern "C"
35190 {
35191 #endif
35192 /* We use char because int might match the return type of a gcc2
35193 builtin and then its argument prototype would still apply. */
35194 char $ac_func ();
35195 /* The GNU C library defines this for functions which it implements
35196 to always fail with ENOSYS. Some functions are actually named
35197 something starting with __ and the normal name is an alias. */
35198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35199 choke me
35200 #else
35201 char (*f) () = $ac_func;
35202 #endif
35203 #ifdef __cplusplus
35204 }
35205 #endif
35206
35207 int
35208 main ()
35209 {
35210 return f != $ac_func;
35211 ;
35212 return 0;
35213 }
35214 _ACEOF
35215 rm -f conftest.$ac_objext conftest$ac_exeext
35216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35217 (eval $ac_link) 2>conftest.er1
35218 ac_status=$?
35219 grep -v '^ *+' conftest.er1 >conftest.err
35220 rm -f conftest.er1
35221 cat conftest.err >&5
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); } &&
35224 { ac_try='test -z "$ac_c_werror_flag"
35225 || test ! -s conftest.err'
35226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35227 (eval $ac_try) 2>&5
35228 ac_status=$?
35229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230 (exit $ac_status); }; } &&
35231 { ac_try='test -s conftest$ac_exeext'
35232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35233 (eval $ac_try) 2>&5
35234 ac_status=$?
35235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35236 (exit $ac_status); }; }; then
35237 eval "$as_ac_var=yes"
35238 else
35239 echo "$as_me: failed program was:" >&5
35240 sed 's/^/| /' conftest.$ac_ext >&5
35241
35242 eval "$as_ac_var=no"
35243 fi
35244 rm -f conftest.err conftest.$ac_objext \
35245 conftest$ac_exeext conftest.$ac_ext
35246 fi
35247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35249 if test `eval echo '${'$as_ac_var'}'` = yes; then
35250 cat >>confdefs.h <<_ACEOF
35251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35252 _ACEOF
35253 break
35254 fi
35255 done
35256
35257
35258 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35259 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35260 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35261 wxUSE_SNGLINST_CHECKER=no
35262 fi
35263 fi
35264
35265
35266 for ac_func in timegm
35267 do
35268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35269 echo "$as_me:$LINENO: checking for $ac_func" >&5
35270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35271 if eval "test \"\${$as_ac_var+set}\" = set"; then
35272 echo $ECHO_N "(cached) $ECHO_C" >&6
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35282 #define $ac_func innocuous_$ac_func
35283
35284 /* System header to define __stub macros and hopefully few prototypes,
35285 which can conflict with char $ac_func (); below.
35286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35287 <limits.h> exists even on freestanding compilers. */
35288
35289 #ifdef __STDC__
35290 # include <limits.h>
35291 #else
35292 # include <assert.h>
35293 #endif
35294
35295 #undef $ac_func
35296
35297 /* Override any gcc2 internal prototype to avoid an error. */
35298 #ifdef __cplusplus
35299 extern "C"
35300 {
35301 #endif
35302 /* We use char because int might match the return type of a gcc2
35303 builtin and then its argument prototype would still apply. */
35304 char $ac_func ();
35305 /* The GNU C library defines this for functions which it implements
35306 to always fail with ENOSYS. Some functions are actually named
35307 something starting with __ and the normal name is an alias. */
35308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35309 choke me
35310 #else
35311 char (*f) () = $ac_func;
35312 #endif
35313 #ifdef __cplusplus
35314 }
35315 #endif
35316
35317 int
35318 main ()
35319 {
35320 return f != $ac_func;
35321 ;
35322 return 0;
35323 }
35324 _ACEOF
35325 rm -f conftest.$ac_objext conftest$ac_exeext
35326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35327 (eval $ac_link) 2>conftest.er1
35328 ac_status=$?
35329 grep -v '^ *+' conftest.er1 >conftest.err
35330 rm -f conftest.er1
35331 cat conftest.err >&5
35332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333 (exit $ac_status); } &&
35334 { ac_try='test -z "$ac_c_werror_flag"
35335 || test ! -s conftest.err'
35336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35337 (eval $ac_try) 2>&5
35338 ac_status=$?
35339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340 (exit $ac_status); }; } &&
35341 { ac_try='test -s conftest$ac_exeext'
35342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35343 (eval $ac_try) 2>&5
35344 ac_status=$?
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); }; }; then
35347 eval "$as_ac_var=yes"
35348 else
35349 echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.$ac_ext >&5
35351
35352 eval "$as_ac_var=no"
35353 fi
35354 rm -f conftest.err conftest.$ac_objext \
35355 conftest$ac_exeext conftest.$ac_ext
35356 fi
35357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35359 if test `eval echo '${'$as_ac_var'}'` = yes; then
35360 cat >>confdefs.h <<_ACEOF
35361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35362 _ACEOF
35363
35364 fi
35365 done
35366
35367
35368
35369
35370 for ac_func in putenv setenv
35371 do
35372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35373 echo "$as_me:$LINENO: checking for $ac_func" >&5
35374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35375 if eval "test \"\${$as_ac_var+set}\" = set"; then
35376 echo $ECHO_N "(cached) $ECHO_C" >&6
35377 else
35378 cat >conftest.$ac_ext <<_ACEOF
35379 /* confdefs.h. */
35380 _ACEOF
35381 cat confdefs.h >>conftest.$ac_ext
35382 cat >>conftest.$ac_ext <<_ACEOF
35383 /* end confdefs.h. */
35384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35386 #define $ac_func innocuous_$ac_func
35387
35388 /* System header to define __stub macros and hopefully few prototypes,
35389 which can conflict with char $ac_func (); below.
35390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35391 <limits.h> exists even on freestanding compilers. */
35392
35393 #ifdef __STDC__
35394 # include <limits.h>
35395 #else
35396 # include <assert.h>
35397 #endif
35398
35399 #undef $ac_func
35400
35401 /* Override any gcc2 internal prototype to avoid an error. */
35402 #ifdef __cplusplus
35403 extern "C"
35404 {
35405 #endif
35406 /* We use char because int might match the return type of a gcc2
35407 builtin and then its argument prototype would still apply. */
35408 char $ac_func ();
35409 /* The GNU C library defines this for functions which it implements
35410 to always fail with ENOSYS. Some functions are actually named
35411 something starting with __ and the normal name is an alias. */
35412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35413 choke me
35414 #else
35415 char (*f) () = $ac_func;
35416 #endif
35417 #ifdef __cplusplus
35418 }
35419 #endif
35420
35421 int
35422 main ()
35423 {
35424 return f != $ac_func;
35425 ;
35426 return 0;
35427 }
35428 _ACEOF
35429 rm -f conftest.$ac_objext conftest$ac_exeext
35430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35431 (eval $ac_link) 2>conftest.er1
35432 ac_status=$?
35433 grep -v '^ *+' conftest.er1 >conftest.err
35434 rm -f conftest.er1
35435 cat conftest.err >&5
35436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35437 (exit $ac_status); } &&
35438 { ac_try='test -z "$ac_c_werror_flag"
35439 || test ! -s conftest.err'
35440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441 (eval $ac_try) 2>&5
35442 ac_status=$?
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; } &&
35445 { ac_try='test -s conftest$ac_exeext'
35446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35447 (eval $ac_try) 2>&5
35448 ac_status=$?
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); }; }; then
35451 eval "$as_ac_var=yes"
35452 else
35453 echo "$as_me: failed program was:" >&5
35454 sed 's/^/| /' conftest.$ac_ext >&5
35455
35456 eval "$as_ac_var=no"
35457 fi
35458 rm -f conftest.err conftest.$ac_objext \
35459 conftest$ac_exeext conftest.$ac_ext
35460 fi
35461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35463 if test `eval echo '${'$as_ac_var'}'` = yes; then
35464 cat >>confdefs.h <<_ACEOF
35465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35466 _ACEOF
35467 break
35468 fi
35469 done
35470
35471
35472 HAVE_SOME_SLEEP_FUNC=0
35473 if test "$USE_BEOS" = 1; then
35474 cat >>confdefs.h <<\_ACEOF
35475 #define HAVE_SLEEP 1
35476 _ACEOF
35477
35478 HAVE_SOME_SLEEP_FUNC=1
35479 fi
35480
35481 if test "$USE_DARWIN" = 1; then
35482 cat >>confdefs.h <<\_ACEOF
35483 #define HAVE_USLEEP 1
35484 _ACEOF
35485
35486 HAVE_SOME_SLEEP_FUNC=1
35487 fi
35488
35489 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35490 POSIX4_LINK=
35491
35492 for ac_func in nanosleep
35493 do
35494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35495 echo "$as_me:$LINENO: checking for $ac_func" >&5
35496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35497 if eval "test \"\${$as_ac_var+set}\" = set"; then
35498 echo $ECHO_N "(cached) $ECHO_C" >&6
35499 else
35500 cat >conftest.$ac_ext <<_ACEOF
35501 /* confdefs.h. */
35502 _ACEOF
35503 cat confdefs.h >>conftest.$ac_ext
35504 cat >>conftest.$ac_ext <<_ACEOF
35505 /* end confdefs.h. */
35506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35508 #define $ac_func innocuous_$ac_func
35509
35510 /* System header to define __stub macros and hopefully few prototypes,
35511 which can conflict with char $ac_func (); below.
35512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35513 <limits.h> exists even on freestanding compilers. */
35514
35515 #ifdef __STDC__
35516 # include <limits.h>
35517 #else
35518 # include <assert.h>
35519 #endif
35520
35521 #undef $ac_func
35522
35523 /* Override any gcc2 internal prototype to avoid an error. */
35524 #ifdef __cplusplus
35525 extern "C"
35526 {
35527 #endif
35528 /* We use char because int might match the return type of a gcc2
35529 builtin and then its argument prototype would still apply. */
35530 char $ac_func ();
35531 /* The GNU C library defines this for functions which it implements
35532 to always fail with ENOSYS. Some functions are actually named
35533 something starting with __ and the normal name is an alias. */
35534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35535 choke me
35536 #else
35537 char (*f) () = $ac_func;
35538 #endif
35539 #ifdef __cplusplus
35540 }
35541 #endif
35542
35543 int
35544 main ()
35545 {
35546 return f != $ac_func;
35547 ;
35548 return 0;
35549 }
35550 _ACEOF
35551 rm -f conftest.$ac_objext conftest$ac_exeext
35552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35553 (eval $ac_link) 2>conftest.er1
35554 ac_status=$?
35555 grep -v '^ *+' conftest.er1 >conftest.err
35556 rm -f conftest.er1
35557 cat conftest.err >&5
35558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559 (exit $ac_status); } &&
35560 { ac_try='test -z "$ac_c_werror_flag"
35561 || test ! -s conftest.err'
35562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35563 (eval $ac_try) 2>&5
35564 ac_status=$?
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); }; } &&
35567 { ac_try='test -s conftest$ac_exeext'
35568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35569 (eval $ac_try) 2>&5
35570 ac_status=$?
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); }; }; then
35573 eval "$as_ac_var=yes"
35574 else
35575 echo "$as_me: failed program was:" >&5
35576 sed 's/^/| /' conftest.$ac_ext >&5
35577
35578 eval "$as_ac_var=no"
35579 fi
35580 rm -f conftest.err conftest.$ac_objext \
35581 conftest$ac_exeext conftest.$ac_ext
35582 fi
35583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35585 if test `eval echo '${'$as_ac_var'}'` = yes; then
35586 cat >>confdefs.h <<_ACEOF
35587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35588 _ACEOF
35589 cat >>confdefs.h <<\_ACEOF
35590 #define HAVE_NANOSLEEP 1
35591 _ACEOF
35592
35593 else
35594
35595 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35596 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35597 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35598 echo $ECHO_N "(cached) $ECHO_C" >&6
35599 else
35600 ac_check_lib_save_LIBS=$LIBS
35601 LIBS="-lposix4 $LIBS"
35602 cat >conftest.$ac_ext <<_ACEOF
35603 /* confdefs.h. */
35604 _ACEOF
35605 cat confdefs.h >>conftest.$ac_ext
35606 cat >>conftest.$ac_ext <<_ACEOF
35607 /* end confdefs.h. */
35608
35609 /* Override any gcc2 internal prototype to avoid an error. */
35610 #ifdef __cplusplus
35611 extern "C"
35612 #endif
35613 /* We use char because int might match the return type of a gcc2
35614 builtin and then its argument prototype would still apply. */
35615 char nanosleep ();
35616 int
35617 main ()
35618 {
35619 nanosleep ();
35620 ;
35621 return 0;
35622 }
35623 _ACEOF
35624 rm -f conftest.$ac_objext conftest$ac_exeext
35625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35626 (eval $ac_link) 2>conftest.er1
35627 ac_status=$?
35628 grep -v '^ *+' conftest.er1 >conftest.err
35629 rm -f conftest.er1
35630 cat conftest.err >&5
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); } &&
35633 { ac_try='test -z "$ac_c_werror_flag"
35634 || test ! -s conftest.err'
35635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35636 (eval $ac_try) 2>&5
35637 ac_status=$?
35638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35639 (exit $ac_status); }; } &&
35640 { ac_try='test -s conftest$ac_exeext'
35641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35642 (eval $ac_try) 2>&5
35643 ac_status=$?
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); }; }; then
35646 ac_cv_lib_posix4_nanosleep=yes
35647 else
35648 echo "$as_me: failed program was:" >&5
35649 sed 's/^/| /' conftest.$ac_ext >&5
35650
35651 ac_cv_lib_posix4_nanosleep=no
35652 fi
35653 rm -f conftest.err conftest.$ac_objext \
35654 conftest$ac_exeext conftest.$ac_ext
35655 LIBS=$ac_check_lib_save_LIBS
35656 fi
35657 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35658 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35659 if test $ac_cv_lib_posix4_nanosleep = yes; then
35660
35661 cat >>confdefs.h <<\_ACEOF
35662 #define HAVE_NANOSLEEP 1
35663 _ACEOF
35664
35665 POSIX4_LINK=" -lposix4"
35666
35667 else
35668
35669
35670 for ac_func in usleep
35671 do
35672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35673 echo "$as_me:$LINENO: checking for $ac_func" >&5
35674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35675 if eval "test \"\${$as_ac_var+set}\" = set"; then
35676 echo $ECHO_N "(cached) $ECHO_C" >&6
35677 else
35678 cat >conftest.$ac_ext <<_ACEOF
35679 /* confdefs.h. */
35680 _ACEOF
35681 cat confdefs.h >>conftest.$ac_ext
35682 cat >>conftest.$ac_ext <<_ACEOF
35683 /* end confdefs.h. */
35684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35686 #define $ac_func innocuous_$ac_func
35687
35688 /* System header to define __stub macros and hopefully few prototypes,
35689 which can conflict with char $ac_func (); below.
35690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35691 <limits.h> exists even on freestanding compilers. */
35692
35693 #ifdef __STDC__
35694 # include <limits.h>
35695 #else
35696 # include <assert.h>
35697 #endif
35698
35699 #undef $ac_func
35700
35701 /* Override any gcc2 internal prototype to avoid an error. */
35702 #ifdef __cplusplus
35703 extern "C"
35704 {
35705 #endif
35706 /* We use char because int might match the return type of a gcc2
35707 builtin and then its argument prototype would still apply. */
35708 char $ac_func ();
35709 /* The GNU C library defines this for functions which it implements
35710 to always fail with ENOSYS. Some functions are actually named
35711 something starting with __ and the normal name is an alias. */
35712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35713 choke me
35714 #else
35715 char (*f) () = $ac_func;
35716 #endif
35717 #ifdef __cplusplus
35718 }
35719 #endif
35720
35721 int
35722 main ()
35723 {
35724 return f != $ac_func;
35725 ;
35726 return 0;
35727 }
35728 _ACEOF
35729 rm -f conftest.$ac_objext conftest$ac_exeext
35730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35731 (eval $ac_link) 2>conftest.er1
35732 ac_status=$?
35733 grep -v '^ *+' conftest.er1 >conftest.err
35734 rm -f conftest.er1
35735 cat conftest.err >&5
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); } &&
35738 { ac_try='test -z "$ac_c_werror_flag"
35739 || test ! -s conftest.err'
35740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35741 (eval $ac_try) 2>&5
35742 ac_status=$?
35743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744 (exit $ac_status); }; } &&
35745 { ac_try='test -s conftest$ac_exeext'
35746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35747 (eval $ac_try) 2>&5
35748 ac_status=$?
35749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35750 (exit $ac_status); }; }; then
35751 eval "$as_ac_var=yes"
35752 else
35753 echo "$as_me: failed program was:" >&5
35754 sed 's/^/| /' conftest.$ac_ext >&5
35755
35756 eval "$as_ac_var=no"
35757 fi
35758 rm -f conftest.err conftest.$ac_objext \
35759 conftest$ac_exeext conftest.$ac_ext
35760 fi
35761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35763 if test `eval echo '${'$as_ac_var'}'` = yes; then
35764 cat >>confdefs.h <<_ACEOF
35765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35766 _ACEOF
35767 cat >>confdefs.h <<\_ACEOF
35768 #define HAVE_USLEEP 1
35769 _ACEOF
35770
35771 else
35772 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35773 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35774
35775 fi
35776 done
35777
35778
35779
35780 fi
35781
35782
35783
35784 fi
35785 done
35786
35787 fi
35788
35789
35790
35791 for ac_func in uname gethostname
35792 do
35793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35794 echo "$as_me:$LINENO: checking for $ac_func" >&5
35795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35796 if eval "test \"\${$as_ac_var+set}\" = set"; then
35797 echo $ECHO_N "(cached) $ECHO_C" >&6
35798 else
35799 cat >conftest.$ac_ext <<_ACEOF
35800 /* confdefs.h. */
35801 _ACEOF
35802 cat confdefs.h >>conftest.$ac_ext
35803 cat >>conftest.$ac_ext <<_ACEOF
35804 /* end confdefs.h. */
35805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35807 #define $ac_func innocuous_$ac_func
35808
35809 /* System header to define __stub macros and hopefully few prototypes,
35810 which can conflict with char $ac_func (); below.
35811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35812 <limits.h> exists even on freestanding compilers. */
35813
35814 #ifdef __STDC__
35815 # include <limits.h>
35816 #else
35817 # include <assert.h>
35818 #endif
35819
35820 #undef $ac_func
35821
35822 /* Override any gcc2 internal prototype to avoid an error. */
35823 #ifdef __cplusplus
35824 extern "C"
35825 {
35826 #endif
35827 /* We use char because int might match the return type of a gcc2
35828 builtin and then its argument prototype would still apply. */
35829 char $ac_func ();
35830 /* The GNU C library defines this for functions which it implements
35831 to always fail with ENOSYS. Some functions are actually named
35832 something starting with __ and the normal name is an alias. */
35833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35834 choke me
35835 #else
35836 char (*f) () = $ac_func;
35837 #endif
35838 #ifdef __cplusplus
35839 }
35840 #endif
35841
35842 int
35843 main ()
35844 {
35845 return f != $ac_func;
35846 ;
35847 return 0;
35848 }
35849 _ACEOF
35850 rm -f conftest.$ac_objext conftest$ac_exeext
35851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35852 (eval $ac_link) 2>conftest.er1
35853 ac_status=$?
35854 grep -v '^ *+' conftest.er1 >conftest.err
35855 rm -f conftest.er1
35856 cat conftest.err >&5
35857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35858 (exit $ac_status); } &&
35859 { ac_try='test -z "$ac_c_werror_flag"
35860 || test ! -s conftest.err'
35861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35862 (eval $ac_try) 2>&5
35863 ac_status=$?
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); }; } &&
35866 { ac_try='test -s conftest$ac_exeext'
35867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35868 (eval $ac_try) 2>&5
35869 ac_status=$?
35870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35871 (exit $ac_status); }; }; then
35872 eval "$as_ac_var=yes"
35873 else
35874 echo "$as_me: failed program was:" >&5
35875 sed 's/^/| /' conftest.$ac_ext >&5
35876
35877 eval "$as_ac_var=no"
35878 fi
35879 rm -f conftest.err conftest.$ac_objext \
35880 conftest$ac_exeext conftest.$ac_ext
35881 fi
35882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35884 if test `eval echo '${'$as_ac_var'}'` = yes; then
35885 cat >>confdefs.h <<_ACEOF
35886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35887 _ACEOF
35888 break
35889 fi
35890 done
35891
35892
35893 ac_ext=cc
35894 ac_cpp='$CXXCPP $CPPFLAGS'
35895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35898
35899
35900
35901 for ac_func in strtok_r
35902 do
35903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35904 echo "$as_me:$LINENO: checking for $ac_func" >&5
35905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35906 if eval "test \"\${$as_ac_var+set}\" = set"; then
35907 echo $ECHO_N "(cached) $ECHO_C" >&6
35908 else
35909 cat >conftest.$ac_ext <<_ACEOF
35910 /* confdefs.h. */
35911 _ACEOF
35912 cat confdefs.h >>conftest.$ac_ext
35913 cat >>conftest.$ac_ext <<_ACEOF
35914 /* end confdefs.h. */
35915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35917 #define $ac_func innocuous_$ac_func
35918
35919 /* System header to define __stub macros and hopefully few prototypes,
35920 which can conflict with char $ac_func (); below.
35921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35922 <limits.h> exists even on freestanding compilers. */
35923
35924 #ifdef __STDC__
35925 # include <limits.h>
35926 #else
35927 # include <assert.h>
35928 #endif
35929
35930 #undef $ac_func
35931
35932 /* Override any gcc2 internal prototype to avoid an error. */
35933 #ifdef __cplusplus
35934 extern "C"
35935 {
35936 #endif
35937 /* We use char because int might match the return type of a gcc2
35938 builtin and then its argument prototype would still apply. */
35939 char $ac_func ();
35940 /* The GNU C library defines this for functions which it implements
35941 to always fail with ENOSYS. Some functions are actually named
35942 something starting with __ and the normal name is an alias. */
35943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35944 choke me
35945 #else
35946 char (*f) () = $ac_func;
35947 #endif
35948 #ifdef __cplusplus
35949 }
35950 #endif
35951
35952 int
35953 main ()
35954 {
35955 return f != $ac_func;
35956 ;
35957 return 0;
35958 }
35959 _ACEOF
35960 rm -f conftest.$ac_objext conftest$ac_exeext
35961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35962 (eval $ac_link) 2>conftest.er1
35963 ac_status=$?
35964 grep -v '^ *+' conftest.er1 >conftest.err
35965 rm -f conftest.er1
35966 cat conftest.err >&5
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); } &&
35969 { ac_try='test -z "$ac_cxx_werror_flag"
35970 || test ! -s conftest.err'
35971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35972 (eval $ac_try) 2>&5
35973 ac_status=$?
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); }; } &&
35976 { ac_try='test -s conftest$ac_exeext'
35977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35978 (eval $ac_try) 2>&5
35979 ac_status=$?
35980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35981 (exit $ac_status); }; }; then
35982 eval "$as_ac_var=yes"
35983 else
35984 echo "$as_me: failed program was:" >&5
35985 sed 's/^/| /' conftest.$ac_ext >&5
35986
35987 eval "$as_ac_var=no"
35988 fi
35989 rm -f conftest.err conftest.$ac_objext \
35990 conftest$ac_exeext conftest.$ac_ext
35991 fi
35992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35994 if test `eval echo '${'$as_ac_var'}'` = yes; then
35995 cat >>confdefs.h <<_ACEOF
35996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35997 _ACEOF
35998
35999 fi
36000 done
36001
36002
36003 ac_ext=c
36004 ac_cpp='$CPP $CPPFLAGS'
36005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36008
36009
36010 INET_LINK=
36011
36012 for ac_func in inet_addr
36013 do
36014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36015 echo "$as_me:$LINENO: checking for $ac_func" >&5
36016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36017 if eval "test \"\${$as_ac_var+set}\" = set"; then
36018 echo $ECHO_N "(cached) $ECHO_C" >&6
36019 else
36020 cat >conftest.$ac_ext <<_ACEOF
36021 /* confdefs.h. */
36022 _ACEOF
36023 cat confdefs.h >>conftest.$ac_ext
36024 cat >>conftest.$ac_ext <<_ACEOF
36025 /* end confdefs.h. */
36026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36028 #define $ac_func innocuous_$ac_func
36029
36030 /* System header to define __stub macros and hopefully few prototypes,
36031 which can conflict with char $ac_func (); below.
36032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36033 <limits.h> exists even on freestanding compilers. */
36034
36035 #ifdef __STDC__
36036 # include <limits.h>
36037 #else
36038 # include <assert.h>
36039 #endif
36040
36041 #undef $ac_func
36042
36043 /* Override any gcc2 internal prototype to avoid an error. */
36044 #ifdef __cplusplus
36045 extern "C"
36046 {
36047 #endif
36048 /* We use char because int might match the return type of a gcc2
36049 builtin and then its argument prototype would still apply. */
36050 char $ac_func ();
36051 /* The GNU C library defines this for functions which it implements
36052 to always fail with ENOSYS. Some functions are actually named
36053 something starting with __ and the normal name is an alias. */
36054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36055 choke me
36056 #else
36057 char (*f) () = $ac_func;
36058 #endif
36059 #ifdef __cplusplus
36060 }
36061 #endif
36062
36063 int
36064 main ()
36065 {
36066 return f != $ac_func;
36067 ;
36068 return 0;
36069 }
36070 _ACEOF
36071 rm -f conftest.$ac_objext conftest$ac_exeext
36072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36073 (eval $ac_link) 2>conftest.er1
36074 ac_status=$?
36075 grep -v '^ *+' conftest.er1 >conftest.err
36076 rm -f conftest.er1
36077 cat conftest.err >&5
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); } &&
36080 { ac_try='test -z "$ac_c_werror_flag"
36081 || test ! -s conftest.err'
36082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36083 (eval $ac_try) 2>&5
36084 ac_status=$?
36085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36086 (exit $ac_status); }; } &&
36087 { ac_try='test -s conftest$ac_exeext'
36088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36089 (eval $ac_try) 2>&5
36090 ac_status=$?
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); }; }; then
36093 eval "$as_ac_var=yes"
36094 else
36095 echo "$as_me: failed program was:" >&5
36096 sed 's/^/| /' conftest.$ac_ext >&5
36097
36098 eval "$as_ac_var=no"
36099 fi
36100 rm -f conftest.err conftest.$ac_objext \
36101 conftest$ac_exeext conftest.$ac_ext
36102 fi
36103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36105 if test `eval echo '${'$as_ac_var'}'` = yes; then
36106 cat >>confdefs.h <<_ACEOF
36107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36108 _ACEOF
36109 cat >>confdefs.h <<\_ACEOF
36110 #define HAVE_INET_ADDR 1
36111 _ACEOF
36112
36113 else
36114
36115 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36116 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36117 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36118 echo $ECHO_N "(cached) $ECHO_C" >&6
36119 else
36120 ac_check_lib_save_LIBS=$LIBS
36121 LIBS="-lnsl $LIBS"
36122 cat >conftest.$ac_ext <<_ACEOF
36123 /* confdefs.h. */
36124 _ACEOF
36125 cat confdefs.h >>conftest.$ac_ext
36126 cat >>conftest.$ac_ext <<_ACEOF
36127 /* end confdefs.h. */
36128
36129 /* Override any gcc2 internal prototype to avoid an error. */
36130 #ifdef __cplusplus
36131 extern "C"
36132 #endif
36133 /* We use char because int might match the return type of a gcc2
36134 builtin and then its argument prototype would still apply. */
36135 char inet_addr ();
36136 int
36137 main ()
36138 {
36139 inet_addr ();
36140 ;
36141 return 0;
36142 }
36143 _ACEOF
36144 rm -f conftest.$ac_objext conftest$ac_exeext
36145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36146 (eval $ac_link) 2>conftest.er1
36147 ac_status=$?
36148 grep -v '^ *+' conftest.er1 >conftest.err
36149 rm -f conftest.er1
36150 cat conftest.err >&5
36151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36152 (exit $ac_status); } &&
36153 { ac_try='test -z "$ac_c_werror_flag"
36154 || test ! -s conftest.err'
36155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36156 (eval $ac_try) 2>&5
36157 ac_status=$?
36158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159 (exit $ac_status); }; } &&
36160 { ac_try='test -s conftest$ac_exeext'
36161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36162 (eval $ac_try) 2>&5
36163 ac_status=$?
36164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36165 (exit $ac_status); }; }; then
36166 ac_cv_lib_nsl_inet_addr=yes
36167 else
36168 echo "$as_me: failed program was:" >&5
36169 sed 's/^/| /' conftest.$ac_ext >&5
36170
36171 ac_cv_lib_nsl_inet_addr=no
36172 fi
36173 rm -f conftest.err conftest.$ac_objext \
36174 conftest$ac_exeext conftest.$ac_ext
36175 LIBS=$ac_check_lib_save_LIBS
36176 fi
36177 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36178 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36179 if test $ac_cv_lib_nsl_inet_addr = yes; then
36180 INET_LINK="nsl"
36181 else
36182
36183 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36184 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36185 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36186 echo $ECHO_N "(cached) $ECHO_C" >&6
36187 else
36188 ac_check_lib_save_LIBS=$LIBS
36189 LIBS="-lresolv $LIBS"
36190 cat >conftest.$ac_ext <<_ACEOF
36191 /* confdefs.h. */
36192 _ACEOF
36193 cat confdefs.h >>conftest.$ac_ext
36194 cat >>conftest.$ac_ext <<_ACEOF
36195 /* end confdefs.h. */
36196
36197 /* Override any gcc2 internal prototype to avoid an error. */
36198 #ifdef __cplusplus
36199 extern "C"
36200 #endif
36201 /* We use char because int might match the return type of a gcc2
36202 builtin and then its argument prototype would still apply. */
36203 char inet_addr ();
36204 int
36205 main ()
36206 {
36207 inet_addr ();
36208 ;
36209 return 0;
36210 }
36211 _ACEOF
36212 rm -f conftest.$ac_objext conftest$ac_exeext
36213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36214 (eval $ac_link) 2>conftest.er1
36215 ac_status=$?
36216 grep -v '^ *+' conftest.er1 >conftest.err
36217 rm -f conftest.er1
36218 cat conftest.err >&5
36219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36220 (exit $ac_status); } &&
36221 { ac_try='test -z "$ac_c_werror_flag"
36222 || test ! -s conftest.err'
36223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36224 (eval $ac_try) 2>&5
36225 ac_status=$?
36226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36227 (exit $ac_status); }; } &&
36228 { ac_try='test -s conftest$ac_exeext'
36229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36230 (eval $ac_try) 2>&5
36231 ac_status=$?
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); }; }; then
36234 ac_cv_lib_resolv_inet_addr=yes
36235 else
36236 echo "$as_me: failed program was:" >&5
36237 sed 's/^/| /' conftest.$ac_ext >&5
36238
36239 ac_cv_lib_resolv_inet_addr=no
36240 fi
36241 rm -f conftest.err conftest.$ac_objext \
36242 conftest$ac_exeext conftest.$ac_ext
36243 LIBS=$ac_check_lib_save_LIBS
36244 fi
36245 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36246 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36247 if test $ac_cv_lib_resolv_inet_addr = yes; then
36248 INET_LINK="resolv"
36249 else
36250
36251 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36252 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36253 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36254 echo $ECHO_N "(cached) $ECHO_C" >&6
36255 else
36256 ac_check_lib_save_LIBS=$LIBS
36257 LIBS="-lsocket $LIBS"
36258 cat >conftest.$ac_ext <<_ACEOF
36259 /* confdefs.h. */
36260 _ACEOF
36261 cat confdefs.h >>conftest.$ac_ext
36262 cat >>conftest.$ac_ext <<_ACEOF
36263 /* end confdefs.h. */
36264
36265 /* Override any gcc2 internal prototype to avoid an error. */
36266 #ifdef __cplusplus
36267 extern "C"
36268 #endif
36269 /* We use char because int might match the return type of a gcc2
36270 builtin and then its argument prototype would still apply. */
36271 char inet_addr ();
36272 int
36273 main ()
36274 {
36275 inet_addr ();
36276 ;
36277 return 0;
36278 }
36279 _ACEOF
36280 rm -f conftest.$ac_objext conftest$ac_exeext
36281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36282 (eval $ac_link) 2>conftest.er1
36283 ac_status=$?
36284 grep -v '^ *+' conftest.er1 >conftest.err
36285 rm -f conftest.er1
36286 cat conftest.err >&5
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); } &&
36289 { ac_try='test -z "$ac_c_werror_flag"
36290 || test ! -s conftest.err'
36291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36292 (eval $ac_try) 2>&5
36293 ac_status=$?
36294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36295 (exit $ac_status); }; } &&
36296 { ac_try='test -s conftest$ac_exeext'
36297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36298 (eval $ac_try) 2>&5
36299 ac_status=$?
36300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36301 (exit $ac_status); }; }; then
36302 ac_cv_lib_socket_inet_addr=yes
36303 else
36304 echo "$as_me: failed program was:" >&5
36305 sed 's/^/| /' conftest.$ac_ext >&5
36306
36307 ac_cv_lib_socket_inet_addr=no
36308 fi
36309 rm -f conftest.err conftest.$ac_objext \
36310 conftest$ac_exeext conftest.$ac_ext
36311 LIBS=$ac_check_lib_save_LIBS
36312 fi
36313 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36314 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36315 if test $ac_cv_lib_socket_inet_addr = yes; then
36316 INET_LINK="socket"
36317
36318 fi
36319
36320
36321
36322 fi
36323
36324
36325
36326 fi
36327
36328
36329
36330 fi
36331 done
36332
36333
36334
36335 for ac_func in inet_aton
36336 do
36337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36338 echo "$as_me:$LINENO: checking for $ac_func" >&5
36339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36340 if eval "test \"\${$as_ac_var+set}\" = set"; then
36341 echo $ECHO_N "(cached) $ECHO_C" >&6
36342 else
36343 cat >conftest.$ac_ext <<_ACEOF
36344 /* confdefs.h. */
36345 _ACEOF
36346 cat confdefs.h >>conftest.$ac_ext
36347 cat >>conftest.$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36351 #define $ac_func innocuous_$ac_func
36352
36353 /* System header to define __stub macros and hopefully few prototypes,
36354 which can conflict with char $ac_func (); below.
36355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36356 <limits.h> exists even on freestanding compilers. */
36357
36358 #ifdef __STDC__
36359 # include <limits.h>
36360 #else
36361 # include <assert.h>
36362 #endif
36363
36364 #undef $ac_func
36365
36366 /* Override any gcc2 internal prototype to avoid an error. */
36367 #ifdef __cplusplus
36368 extern "C"
36369 {
36370 #endif
36371 /* We use char because int might match the return type of a gcc2
36372 builtin and then its argument prototype would still apply. */
36373 char $ac_func ();
36374 /* The GNU C library defines this for functions which it implements
36375 to always fail with ENOSYS. Some functions are actually named
36376 something starting with __ and the normal name is an alias. */
36377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36378 choke me
36379 #else
36380 char (*f) () = $ac_func;
36381 #endif
36382 #ifdef __cplusplus
36383 }
36384 #endif
36385
36386 int
36387 main ()
36388 {
36389 return f != $ac_func;
36390 ;
36391 return 0;
36392 }
36393 _ACEOF
36394 rm -f conftest.$ac_objext conftest$ac_exeext
36395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36396 (eval $ac_link) 2>conftest.er1
36397 ac_status=$?
36398 grep -v '^ *+' conftest.er1 >conftest.err
36399 rm -f conftest.er1
36400 cat conftest.err >&5
36401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36402 (exit $ac_status); } &&
36403 { ac_try='test -z "$ac_c_werror_flag"
36404 || test ! -s conftest.err'
36405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36406 (eval $ac_try) 2>&5
36407 ac_status=$?
36408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409 (exit $ac_status); }; } &&
36410 { ac_try='test -s conftest$ac_exeext'
36411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36412 (eval $ac_try) 2>&5
36413 ac_status=$?
36414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36415 (exit $ac_status); }; }; then
36416 eval "$as_ac_var=yes"
36417 else
36418 echo "$as_me: failed program was:" >&5
36419 sed 's/^/| /' conftest.$ac_ext >&5
36420
36421 eval "$as_ac_var=no"
36422 fi
36423 rm -f conftest.err conftest.$ac_objext \
36424 conftest$ac_exeext conftest.$ac_ext
36425 fi
36426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36428 if test `eval echo '${'$as_ac_var'}'` = yes; then
36429 cat >>confdefs.h <<_ACEOF
36430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36431 _ACEOF
36432 cat >>confdefs.h <<\_ACEOF
36433 #define HAVE_INET_ATON 1
36434 _ACEOF
36435
36436 else
36437
36438 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36439 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36440 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36441 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36442 echo $ECHO_N "(cached) $ECHO_C" >&6
36443 else
36444 ac_check_lib_save_LIBS=$LIBS
36445 LIBS="-l$INET_LINK $LIBS"
36446 cat >conftest.$ac_ext <<_ACEOF
36447 /* confdefs.h. */
36448 _ACEOF
36449 cat confdefs.h >>conftest.$ac_ext
36450 cat >>conftest.$ac_ext <<_ACEOF
36451 /* end confdefs.h. */
36452
36453 /* Override any gcc2 internal prototype to avoid an error. */
36454 #ifdef __cplusplus
36455 extern "C"
36456 #endif
36457 /* We use char because int might match the return type of a gcc2
36458 builtin and then its argument prototype would still apply. */
36459 char inet_aton ();
36460 int
36461 main ()
36462 {
36463 inet_aton ();
36464 ;
36465 return 0;
36466 }
36467 _ACEOF
36468 rm -f conftest.$ac_objext conftest$ac_exeext
36469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36470 (eval $ac_link) 2>conftest.er1
36471 ac_status=$?
36472 grep -v '^ *+' conftest.er1 >conftest.err
36473 rm -f conftest.er1
36474 cat conftest.err >&5
36475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476 (exit $ac_status); } &&
36477 { ac_try='test -z "$ac_c_werror_flag"
36478 || test ! -s conftest.err'
36479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36480 (eval $ac_try) 2>&5
36481 ac_status=$?
36482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483 (exit $ac_status); }; } &&
36484 { ac_try='test -s conftest$ac_exeext'
36485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36486 (eval $ac_try) 2>&5
36487 ac_status=$?
36488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36489 (exit $ac_status); }; }; then
36490 eval "$as_ac_Lib=yes"
36491 else
36492 echo "$as_me: failed program was:" >&5
36493 sed 's/^/| /' conftest.$ac_ext >&5
36494
36495 eval "$as_ac_Lib=no"
36496 fi
36497 rm -f conftest.err conftest.$ac_objext \
36498 conftest$ac_exeext conftest.$ac_ext
36499 LIBS=$ac_check_lib_save_LIBS
36500 fi
36501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36502 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36503 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36504 cat >>confdefs.h <<\_ACEOF
36505 #define HAVE_INET_ATON 1
36506 _ACEOF
36507
36508 fi
36509
36510
36511 fi
36512 done
36513
36514
36515 if test "x$INET_LINK" != "x"; then
36516 cat >>confdefs.h <<\_ACEOF
36517 #define HAVE_INET_ADDR 1
36518 _ACEOF
36519
36520 INET_LINK=" -l$INET_LINK"
36521 fi
36522
36523 fi
36524
36525
36526
36527 EXTRALIBS_ESD=
36528 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36529 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36530 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36531 echo $ECHO_N "(cached) $ECHO_C" >&6
36532 else
36533 ac_check_lib_save_LIBS=$LIBS
36534 LIBS="-lesd $LIBS"
36535 cat >conftest.$ac_ext <<_ACEOF
36536 /* confdefs.h. */
36537 _ACEOF
36538 cat confdefs.h >>conftest.$ac_ext
36539 cat >>conftest.$ac_ext <<_ACEOF
36540 /* end confdefs.h. */
36541
36542 /* Override any gcc2 internal prototype to avoid an error. */
36543 #ifdef __cplusplus
36544 extern "C"
36545 #endif
36546 /* We use char because int might match the return type of a gcc2
36547 builtin and then its argument prototype would still apply. */
36548 char esd_close ();
36549 int
36550 main ()
36551 {
36552 esd_close ();
36553 ;
36554 return 0;
36555 }
36556 _ACEOF
36557 rm -f conftest.$ac_objext conftest$ac_exeext
36558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36559 (eval $ac_link) 2>conftest.er1
36560 ac_status=$?
36561 grep -v '^ *+' conftest.er1 >conftest.err
36562 rm -f conftest.er1
36563 cat conftest.err >&5
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); } &&
36566 { ac_try='test -z "$ac_c_werror_flag"
36567 || test ! -s conftest.err'
36568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36569 (eval $ac_try) 2>&5
36570 ac_status=$?
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); }; } &&
36573 { ac_try='test -s conftest$ac_exeext'
36574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36575 (eval $ac_try) 2>&5
36576 ac_status=$?
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); }; }; then
36579 ac_cv_lib_esd_esd_close=yes
36580 else
36581 echo "$as_me: failed program was:" >&5
36582 sed 's/^/| /' conftest.$ac_ext >&5
36583
36584 ac_cv_lib_esd_esd_close=no
36585 fi
36586 rm -f conftest.err conftest.$ac_objext \
36587 conftest$ac_exeext conftest.$ac_ext
36588 LIBS=$ac_check_lib_save_LIBS
36589 fi
36590 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36591 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36592 if test $ac_cv_lib_esd_esd_close = yes; then
36593
36594
36595 for ac_header in esd.h
36596 do
36597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36599 echo "$as_me:$LINENO: checking for $ac_header" >&5
36600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36602 echo $ECHO_N "(cached) $ECHO_C" >&6
36603 fi
36604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36606 else
36607 # Is the header compilable?
36608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36610 cat >conftest.$ac_ext <<_ACEOF
36611 /* confdefs.h. */
36612 _ACEOF
36613 cat confdefs.h >>conftest.$ac_ext
36614 cat >>conftest.$ac_ext <<_ACEOF
36615 /* end confdefs.h. */
36616 $ac_includes_default
36617 #include <$ac_header>
36618 _ACEOF
36619 rm -f conftest.$ac_objext
36620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36621 (eval $ac_compile) 2>conftest.er1
36622 ac_status=$?
36623 grep -v '^ *+' conftest.er1 >conftest.err
36624 rm -f conftest.er1
36625 cat conftest.err >&5
36626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36627 (exit $ac_status); } &&
36628 { ac_try='test -z "$ac_c_werror_flag"
36629 || test ! -s conftest.err'
36630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36631 (eval $ac_try) 2>&5
36632 ac_status=$?
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); }; } &&
36635 { ac_try='test -s conftest.$ac_objext'
36636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36637 (eval $ac_try) 2>&5
36638 ac_status=$?
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); }; }; then
36641 ac_header_compiler=yes
36642 else
36643 echo "$as_me: failed program was:" >&5
36644 sed 's/^/| /' conftest.$ac_ext >&5
36645
36646 ac_header_compiler=no
36647 fi
36648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36650 echo "${ECHO_T}$ac_header_compiler" >&6
36651
36652 # Is the header present?
36653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36655 cat >conftest.$ac_ext <<_ACEOF
36656 /* confdefs.h. */
36657 _ACEOF
36658 cat confdefs.h >>conftest.$ac_ext
36659 cat >>conftest.$ac_ext <<_ACEOF
36660 /* end confdefs.h. */
36661 #include <$ac_header>
36662 _ACEOF
36663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36665 ac_status=$?
36666 grep -v '^ *+' conftest.er1 >conftest.err
36667 rm -f conftest.er1
36668 cat conftest.err >&5
36669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36670 (exit $ac_status); } >/dev/null; then
36671 if test -s conftest.err; then
36672 ac_cpp_err=$ac_c_preproc_warn_flag
36673 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36674 else
36675 ac_cpp_err=
36676 fi
36677 else
36678 ac_cpp_err=yes
36679 fi
36680 if test -z "$ac_cpp_err"; then
36681 ac_header_preproc=yes
36682 else
36683 echo "$as_me: failed program was:" >&5
36684 sed 's/^/| /' conftest.$ac_ext >&5
36685
36686 ac_header_preproc=no
36687 fi
36688 rm -f conftest.err conftest.$ac_ext
36689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36690 echo "${ECHO_T}$ac_header_preproc" >&6
36691
36692 # So? What about this header?
36693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36694 yes:no: )
36695 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36698 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36699 ac_header_preproc=yes
36700 ;;
36701 no:yes:* )
36702 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36703 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36704 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36705 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36706 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36707 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36708 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36709 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36712 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36714 (
36715 cat <<\_ASBOX
36716 ## ----------------------------------------- ##
36717 ## Report this to wx-dev@lists.wxwidgets.org ##
36718 ## ----------------------------------------- ##
36719 _ASBOX
36720 ) |
36721 sed "s/^/$as_me: WARNING: /" >&2
36722 ;;
36723 esac
36724 echo "$as_me:$LINENO: checking for $ac_header" >&5
36725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36727 echo $ECHO_N "(cached) $ECHO_C" >&6
36728 else
36729 eval "$as_ac_Header=\$ac_header_preproc"
36730 fi
36731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36733
36734 fi
36735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36736 cat >>confdefs.h <<_ACEOF
36737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36738 _ACEOF
36739
36740 EXTRALIBS_ESD="-lesd"
36741
36742 fi
36743
36744 done
36745
36746
36747 fi
36748
36749
36750
36751 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36752 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36753 cat >conftest.$ac_ext <<_ACEOF
36754 /* confdefs.h. */
36755 _ACEOF
36756 cat confdefs.h >>conftest.$ac_ext
36757 cat >>conftest.$ac_ext <<_ACEOF
36758 /* end confdefs.h. */
36759 #ifdef __linux__
36760 #include <linux/cdrom.h>
36761 #else
36762 /* For Solaris */
36763 #include <sys/cdio.h>
36764 #endif
36765
36766 int
36767 main ()
36768 {
36769 struct cdrom_tocentry entry, old_entry;
36770 ;
36771 return 0;
36772 }
36773 _ACEOF
36774 rm -f conftest.$ac_objext
36775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36776 (eval $ac_compile) 2>conftest.er1
36777 ac_status=$?
36778 grep -v '^ *+' conftest.er1 >conftest.err
36779 rm -f conftest.er1
36780 cat conftest.err >&5
36781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36782 (exit $ac_status); } &&
36783 { ac_try='test -z "$ac_c_werror_flag"
36784 || test ! -s conftest.err'
36785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36786 (eval $ac_try) 2>&5
36787 ac_status=$?
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); }; } &&
36790 { ac_try='test -s conftest.$ac_objext'
36791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36792 (eval $ac_try) 2>&5
36793 ac_status=$?
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); }; }; then
36796 echo "$as_me:$LINENO: result: yes" >&5
36797 echo "${ECHO_T}yes" >&6
36798 cat >>confdefs.h <<\_ACEOF
36799 #define HAVE_KNOWN_CDROM_INTERFACE 1
36800 _ACEOF
36801
36802 else
36803 echo "$as_me: failed program was:" >&5
36804 sed 's/^/| /' conftest.$ac_ext >&5
36805
36806 echo "$as_me:$LINENO: result: no" >&5
36807 echo "${ECHO_T}no" >&6
36808 fi
36809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36810
36811
36812 cat >confcache <<\_ACEOF
36813 # This file is a shell script that caches the results of configure
36814 # tests run on this system so they can be shared between configure
36815 # scripts and configure runs, see configure's option --config-cache.
36816 # It is not useful on other systems. If it contains results you don't
36817 # want to keep, you may remove or edit it.
36818 #
36819 # config.status only pays attention to the cache file if you give it
36820 # the --recheck option to rerun configure.
36821 #
36822 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36824 # following values.
36825
36826 _ACEOF
36827
36828 # The following way of writing the cache mishandles newlines in values,
36829 # but we know of no workaround that is simple, portable, and efficient.
36830 # So, don't put newlines in cache variables' values.
36831 # Ultrix sh set writes to stderr and can't be redirected directly,
36832 # and sets the high bit in the cache file unless we assign to the vars.
36833 {
36834 (set) 2>&1 |
36835 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36836 *ac_space=\ *)
36837 # `set' does not quote correctly, so add quotes (double-quote
36838 # substitution turns \\\\ into \\, and sed turns \\ into \).
36839 sed -n \
36840 "s/'/'\\\\''/g;
36841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36842 ;;
36843 *)
36844 # `set' quotes correctly as required by POSIX, so do not add quotes.
36845 sed -n \
36846 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36847 ;;
36848 esac;
36849 } |
36850 sed '
36851 t clear
36852 : clear
36853 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36854 t end
36855 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36856 : end' >>confcache
36857 if diff $cache_file confcache >/dev/null 2>&1; then :; else
36858 if test -w $cache_file; then
36859 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36860 cat confcache >$cache_file
36861 else
36862 echo "not updating unwritable cache $cache_file"
36863 fi
36864 fi
36865 rm -f confcache
36866
36867
36868 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36869
36870
36871 THREADS_LINK=
36872 THREADS_CFLAGS=
36873
36874 if test "$wxUSE_THREADS" = "yes" ; then
36875 if test "$USE_BEOS" = 1; then
36876 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36877 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36878 wxUSE_THREADS="no"
36879 fi
36880 fi
36881
36882 if test "$wxUSE_THREADS" = "yes" ; then
36883
36884
36885 THREAD_OPTS="-pthread"
36886 case "${host}" in
36887 *-*-solaris2* | *-*-sunos4* )
36888 if test "x$GCC" = "xyes"; then
36889 THREAD_OPTS="-pthreads $THREAD_OPTS"
36890 else
36891 THREAD_OPTS="-mt $THREAD_OPTS"
36892 fi
36893 ;;
36894 *-*-freebsd*)
36895 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
36896 ;;
36897 *-*-darwin* | *-*-cygwin* )
36898 THREAD_OPTS=""
36899 ;;
36900 *-*-aix*)
36901 THREAD_OPTS="pthreads"
36902 ;;
36903 *-hp-hpux* )
36904 if test "x$GCC" = "xyes"; then
36905 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
36906 THREAD_OPTS=""
36907 else
36908 THREAD_OPTS="-mt"
36909 fi
36910 ;;
36911
36912 *-*-irix* )
36913 if test "x$GCC" = "xyes"; then
36914 THREAD_OPTS=""
36915 fi
36916 ;;
36917
36918 *-*-*UnixWare*)
36919 if test "x$GCC" != "xyes"; then
36920 THREAD_OPTS="-Ethread"
36921 fi
36922 ;;
36923 esac
36924
36925 THREAD_OPTS="$THREAD_OPTS pthread none"
36926
36927 THREADS_OK=no
36928 for flag in $THREAD_OPTS; do
36929 case $flag in
36930 none)
36931 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36932 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36933 ;;
36934
36935 -*)
36936 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36937 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36938 THREADS_CFLAGS="$flag"
36939 ;;
36940
36941 *)
36942 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36943 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36944 THREADS_LINK="-l$flag"
36945 ;;
36946 esac
36947
36948 save_LIBS="$LIBS"
36949 save_CFLAGS="$CFLAGS"
36950 LIBS="$THREADS_LINK $LIBS"
36951 CFLAGS="$THREADS_CFLAGS $CFLAGS"
36952
36953 cat >conftest.$ac_ext <<_ACEOF
36954 /* confdefs.h. */
36955 _ACEOF
36956 cat confdefs.h >>conftest.$ac_ext
36957 cat >>conftest.$ac_ext <<_ACEOF
36958 /* end confdefs.h. */
36959 #include <pthread.h>
36960 int
36961 main ()
36962 {
36963 pthread_create(0,0,0,0);
36964 ;
36965 return 0;
36966 }
36967 _ACEOF
36968 rm -f conftest.$ac_objext conftest$ac_exeext
36969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36970 (eval $ac_link) 2>conftest.er1
36971 ac_status=$?
36972 grep -v '^ *+' conftest.er1 >conftest.err
36973 rm -f conftest.er1
36974 cat conftest.err >&5
36975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36976 (exit $ac_status); } &&
36977 { ac_try='test -z "$ac_c_werror_flag"
36978 || test ! -s conftest.err'
36979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36980 (eval $ac_try) 2>&5
36981 ac_status=$?
36982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983 (exit $ac_status); }; } &&
36984 { ac_try='test -s conftest$ac_exeext'
36985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36986 (eval $ac_try) 2>&5
36987 ac_status=$?
36988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36989 (exit $ac_status); }; }; then
36990 THREADS_OK=yes
36991 else
36992 echo "$as_me: failed program was:" >&5
36993 sed 's/^/| /' conftest.$ac_ext >&5
36994
36995 fi
36996 rm -f conftest.err conftest.$ac_objext \
36997 conftest$ac_exeext conftest.$ac_ext
36998
36999 LIBS="$save_LIBS"
37000 CFLAGS="$save_CFLAGS"
37001
37002 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37003 echo "${ECHO_T}$THREADS_OK" >&6
37004 if test "x$THREADS_OK" = "xyes"; then
37005 break;
37006 fi
37007
37008 THREADS_LINK=""
37009 THREADS_CFLAGS=""
37010 done
37011
37012 if test "x$THREADS_OK" != "xyes"; then
37013 wxUSE_THREADS=no
37014 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37015 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37016 else
37017 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37018 LIBS="$THREADS_LINK $LIBS"
37019
37020 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37021 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37022 flag=no
37023 case "${host}" in
37024 *-aix*)
37025 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37026 flag="-D_THREAD_SAFE"
37027 ;;
37028 *-freebsd*)
37029 flag="-D_THREAD_SAFE"
37030 ;;
37031 *-hp-hpux* )
37032 flag="-D_REENTRANT"
37033 if test "x$GCC" != "xyes"; then
37034 flag="$flag -D_RWSTD_MULTI_THREAD"
37035 fi
37036 ;;
37037 *solaris* | alpha*-osf*)
37038 flag="-D_REENTRANT"
37039 ;;
37040 esac
37041 echo "$as_me:$LINENO: result: ${flag}" >&5
37042 echo "${ECHO_T}${flag}" >&6
37043 if test "x$flag" != xno; then
37044 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37045 fi
37046
37047 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37048 fi
37049 fi
37050
37051 if test "$wxUSE_THREADS" = "yes" ; then
37052
37053 for ac_func in thr_setconcurrency
37054 do
37055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37056 echo "$as_me:$LINENO: checking for $ac_func" >&5
37057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37058 if eval "test \"\${$as_ac_var+set}\" = set"; then
37059 echo $ECHO_N "(cached) $ECHO_C" >&6
37060 else
37061 cat >conftest.$ac_ext <<_ACEOF
37062 /* confdefs.h. */
37063 _ACEOF
37064 cat confdefs.h >>conftest.$ac_ext
37065 cat >>conftest.$ac_ext <<_ACEOF
37066 /* end confdefs.h. */
37067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37069 #define $ac_func innocuous_$ac_func
37070
37071 /* System header to define __stub macros and hopefully few prototypes,
37072 which can conflict with char $ac_func (); below.
37073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37074 <limits.h> exists even on freestanding compilers. */
37075
37076 #ifdef __STDC__
37077 # include <limits.h>
37078 #else
37079 # include <assert.h>
37080 #endif
37081
37082 #undef $ac_func
37083
37084 /* Override any gcc2 internal prototype to avoid an error. */
37085 #ifdef __cplusplus
37086 extern "C"
37087 {
37088 #endif
37089 /* We use char because int might match the return type of a gcc2
37090 builtin and then its argument prototype would still apply. */
37091 char $ac_func ();
37092 /* The GNU C library defines this for functions which it implements
37093 to always fail with ENOSYS. Some functions are actually named
37094 something starting with __ and the normal name is an alias. */
37095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37096 choke me
37097 #else
37098 char (*f) () = $ac_func;
37099 #endif
37100 #ifdef __cplusplus
37101 }
37102 #endif
37103
37104 int
37105 main ()
37106 {
37107 return f != $ac_func;
37108 ;
37109 return 0;
37110 }
37111 _ACEOF
37112 rm -f conftest.$ac_objext conftest$ac_exeext
37113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37114 (eval $ac_link) 2>conftest.er1
37115 ac_status=$?
37116 grep -v '^ *+' conftest.er1 >conftest.err
37117 rm -f conftest.er1
37118 cat conftest.err >&5
37119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37120 (exit $ac_status); } &&
37121 { ac_try='test -z "$ac_c_werror_flag"
37122 || test ! -s conftest.err'
37123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37124 (eval $ac_try) 2>&5
37125 ac_status=$?
37126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37127 (exit $ac_status); }; } &&
37128 { ac_try='test -s conftest$ac_exeext'
37129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37130 (eval $ac_try) 2>&5
37131 ac_status=$?
37132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37133 (exit $ac_status); }; }; then
37134 eval "$as_ac_var=yes"
37135 else
37136 echo "$as_me: failed program was:" >&5
37137 sed 's/^/| /' conftest.$ac_ext >&5
37138
37139 eval "$as_ac_var=no"
37140 fi
37141 rm -f conftest.err conftest.$ac_objext \
37142 conftest$ac_exeext conftest.$ac_ext
37143 fi
37144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37146 if test `eval echo '${'$as_ac_var'}'` = yes; then
37147 cat >>confdefs.h <<_ACEOF
37148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37149 _ACEOF
37150
37151 fi
37152 done
37153
37154
37155 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37156 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37157 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37158 echo $ECHO_N "(cached) $ECHO_C" >&6
37159 else
37160
37161 cat >conftest.$ac_ext <<_ACEOF
37162 /* confdefs.h. */
37163 _ACEOF
37164 cat confdefs.h >>conftest.$ac_ext
37165 cat >>conftest.$ac_ext <<_ACEOF
37166 /* end confdefs.h. */
37167 #include <pthread.h>
37168 void ThreadCleanupFunc(void *p);
37169
37170 int
37171 main ()
37172 {
37173
37174 void *p;
37175 pthread_cleanup_push(ThreadCleanupFunc, p);
37176 pthread_cleanup_pop(0);
37177
37178 ;
37179 return 0;
37180 }
37181 _ACEOF
37182 rm -f conftest.$ac_objext
37183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37184 (eval $ac_compile) 2>conftest.er1
37185 ac_status=$?
37186 grep -v '^ *+' conftest.er1 >conftest.err
37187 rm -f conftest.er1
37188 cat conftest.err >&5
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); } &&
37191 { ac_try='test -z "$ac_c_werror_flag"
37192 || test ! -s conftest.err'
37193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37194 (eval $ac_try) 2>&5
37195 ac_status=$?
37196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37197 (exit $ac_status); }; } &&
37198 { ac_try='test -s conftest.$ac_objext'
37199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37200 (eval $ac_try) 2>&5
37201 ac_status=$?
37202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203 (exit $ac_status); }; }; then
37204
37205 wx_cv_func_pthread_cleanup=yes
37206
37207 else
37208 echo "$as_me: failed program was:" >&5
37209 sed 's/^/| /' conftest.$ac_ext >&5
37210
37211
37212 wx_cv_func_pthread_cleanup=no
37213
37214
37215 fi
37216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37217
37218 fi
37219 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37220 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37221 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37222 cat >>confdefs.h <<\_ACEOF
37223 #define wxHAVE_PTHREAD_CLEANUP 1
37224 _ACEOF
37225
37226 fi
37227
37228
37229 for ac_header in sched.h
37230 do
37231 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37233 echo "$as_me:$LINENO: checking for $ac_header" >&5
37234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37236 echo $ECHO_N "(cached) $ECHO_C" >&6
37237 fi
37238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37240 else
37241 # Is the header compilable?
37242 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37243 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37244 cat >conftest.$ac_ext <<_ACEOF
37245 /* confdefs.h. */
37246 _ACEOF
37247 cat confdefs.h >>conftest.$ac_ext
37248 cat >>conftest.$ac_ext <<_ACEOF
37249 /* end confdefs.h. */
37250 $ac_includes_default
37251 #include <$ac_header>
37252 _ACEOF
37253 rm -f conftest.$ac_objext
37254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37255 (eval $ac_compile) 2>conftest.er1
37256 ac_status=$?
37257 grep -v '^ *+' conftest.er1 >conftest.err
37258 rm -f conftest.er1
37259 cat conftest.err >&5
37260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261 (exit $ac_status); } &&
37262 { ac_try='test -z "$ac_c_werror_flag"
37263 || test ! -s conftest.err'
37264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37265 (eval $ac_try) 2>&5
37266 ac_status=$?
37267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268 (exit $ac_status); }; } &&
37269 { ac_try='test -s conftest.$ac_objext'
37270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37271 (eval $ac_try) 2>&5
37272 ac_status=$?
37273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274 (exit $ac_status); }; }; then
37275 ac_header_compiler=yes
37276 else
37277 echo "$as_me: failed program was:" >&5
37278 sed 's/^/| /' conftest.$ac_ext >&5
37279
37280 ac_header_compiler=no
37281 fi
37282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37284 echo "${ECHO_T}$ac_header_compiler" >&6
37285
37286 # Is the header present?
37287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37289 cat >conftest.$ac_ext <<_ACEOF
37290 /* confdefs.h. */
37291 _ACEOF
37292 cat confdefs.h >>conftest.$ac_ext
37293 cat >>conftest.$ac_ext <<_ACEOF
37294 /* end confdefs.h. */
37295 #include <$ac_header>
37296 _ACEOF
37297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37299 ac_status=$?
37300 grep -v '^ *+' conftest.er1 >conftest.err
37301 rm -f conftest.er1
37302 cat conftest.err >&5
37303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37304 (exit $ac_status); } >/dev/null; then
37305 if test -s conftest.err; then
37306 ac_cpp_err=$ac_c_preproc_warn_flag
37307 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37308 else
37309 ac_cpp_err=
37310 fi
37311 else
37312 ac_cpp_err=yes
37313 fi
37314 if test -z "$ac_cpp_err"; then
37315 ac_header_preproc=yes
37316 else
37317 echo "$as_me: failed program was:" >&5
37318 sed 's/^/| /' conftest.$ac_ext >&5
37319
37320 ac_header_preproc=no
37321 fi
37322 rm -f conftest.err conftest.$ac_ext
37323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37324 echo "${ECHO_T}$ac_header_preproc" >&6
37325
37326 # So? What about this header?
37327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37328 yes:no: )
37329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37333 ac_header_preproc=yes
37334 ;;
37335 no:yes:* )
37336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37348 (
37349 cat <<\_ASBOX
37350 ## ----------------------------------------- ##
37351 ## Report this to wx-dev@lists.wxwidgets.org ##
37352 ## ----------------------------------------- ##
37353 _ASBOX
37354 ) |
37355 sed "s/^/$as_me: WARNING: /" >&2
37356 ;;
37357 esac
37358 echo "$as_me:$LINENO: checking for $ac_header" >&5
37359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37361 echo $ECHO_N "(cached) $ECHO_C" >&6
37362 else
37363 eval "$as_ac_Header=\$ac_header_preproc"
37364 fi
37365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37367
37368 fi
37369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37370 cat >>confdefs.h <<_ACEOF
37371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37372 _ACEOF
37373
37374 fi
37375
37376 done
37377
37378 if test "$ac_cv_header_sched_h" = "yes"; then
37379 echo "$as_me:$LINENO: checking for sched_yield" >&5
37380 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37381 if test "${ac_cv_func_sched_yield+set}" = set; then
37382 echo $ECHO_N "(cached) $ECHO_C" >&6
37383 else
37384 cat >conftest.$ac_ext <<_ACEOF
37385 /* confdefs.h. */
37386 _ACEOF
37387 cat confdefs.h >>conftest.$ac_ext
37388 cat >>conftest.$ac_ext <<_ACEOF
37389 /* end confdefs.h. */
37390 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37392 #define sched_yield innocuous_sched_yield
37393
37394 /* System header to define __stub macros and hopefully few prototypes,
37395 which can conflict with char sched_yield (); below.
37396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37397 <limits.h> exists even on freestanding compilers. */
37398
37399 #ifdef __STDC__
37400 # include <limits.h>
37401 #else
37402 # include <assert.h>
37403 #endif
37404
37405 #undef sched_yield
37406
37407 /* Override any gcc2 internal prototype to avoid an error. */
37408 #ifdef __cplusplus
37409 extern "C"
37410 {
37411 #endif
37412 /* We use char because int might match the return type of a gcc2
37413 builtin and then its argument prototype would still apply. */
37414 char sched_yield ();
37415 /* The GNU C library defines this for functions which it implements
37416 to always fail with ENOSYS. Some functions are actually named
37417 something starting with __ and the normal name is an alias. */
37418 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37419 choke me
37420 #else
37421 char (*f) () = sched_yield;
37422 #endif
37423 #ifdef __cplusplus
37424 }
37425 #endif
37426
37427 int
37428 main ()
37429 {
37430 return f != sched_yield;
37431 ;
37432 return 0;
37433 }
37434 _ACEOF
37435 rm -f conftest.$ac_objext conftest$ac_exeext
37436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37437 (eval $ac_link) 2>conftest.er1
37438 ac_status=$?
37439 grep -v '^ *+' conftest.er1 >conftest.err
37440 rm -f conftest.er1
37441 cat conftest.err >&5
37442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37443 (exit $ac_status); } &&
37444 { ac_try='test -z "$ac_c_werror_flag"
37445 || test ! -s conftest.err'
37446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37447 (eval $ac_try) 2>&5
37448 ac_status=$?
37449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37450 (exit $ac_status); }; } &&
37451 { ac_try='test -s conftest$ac_exeext'
37452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37453 (eval $ac_try) 2>&5
37454 ac_status=$?
37455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37456 (exit $ac_status); }; }; then
37457 ac_cv_func_sched_yield=yes
37458 else
37459 echo "$as_me: failed program was:" >&5
37460 sed 's/^/| /' conftest.$ac_ext >&5
37461
37462 ac_cv_func_sched_yield=no
37463 fi
37464 rm -f conftest.err conftest.$ac_objext \
37465 conftest$ac_exeext conftest.$ac_ext
37466 fi
37467 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37468 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37469 if test $ac_cv_func_sched_yield = yes; then
37470 cat >>confdefs.h <<\_ACEOF
37471 #define HAVE_SCHED_YIELD 1
37472 _ACEOF
37473
37474 else
37475
37476 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37477 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37478 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37479 echo $ECHO_N "(cached) $ECHO_C" >&6
37480 else
37481 ac_check_lib_save_LIBS=$LIBS
37482 LIBS="-lposix4 $LIBS"
37483 cat >conftest.$ac_ext <<_ACEOF
37484 /* confdefs.h. */
37485 _ACEOF
37486 cat confdefs.h >>conftest.$ac_ext
37487 cat >>conftest.$ac_ext <<_ACEOF
37488 /* end confdefs.h. */
37489
37490 /* Override any gcc2 internal prototype to avoid an error. */
37491 #ifdef __cplusplus
37492 extern "C"
37493 #endif
37494 /* We use char because int might match the return type of a gcc2
37495 builtin and then its argument prototype would still apply. */
37496 char sched_yield ();
37497 int
37498 main ()
37499 {
37500 sched_yield ();
37501 ;
37502 return 0;
37503 }
37504 _ACEOF
37505 rm -f conftest.$ac_objext conftest$ac_exeext
37506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37507 (eval $ac_link) 2>conftest.er1
37508 ac_status=$?
37509 grep -v '^ *+' conftest.er1 >conftest.err
37510 rm -f conftest.er1
37511 cat conftest.err >&5
37512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37513 (exit $ac_status); } &&
37514 { ac_try='test -z "$ac_c_werror_flag"
37515 || test ! -s conftest.err'
37516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37517 (eval $ac_try) 2>&5
37518 ac_status=$?
37519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37520 (exit $ac_status); }; } &&
37521 { ac_try='test -s conftest$ac_exeext'
37522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37523 (eval $ac_try) 2>&5
37524 ac_status=$?
37525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37526 (exit $ac_status); }; }; then
37527 ac_cv_lib_posix4_sched_yield=yes
37528 else
37529 echo "$as_me: failed program was:" >&5
37530 sed 's/^/| /' conftest.$ac_ext >&5
37531
37532 ac_cv_lib_posix4_sched_yield=no
37533 fi
37534 rm -f conftest.err conftest.$ac_objext \
37535 conftest$ac_exeext conftest.$ac_ext
37536 LIBS=$ac_check_lib_save_LIBS
37537 fi
37538 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37539 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37540 if test $ac_cv_lib_posix4_sched_yield = yes; then
37541 cat >>confdefs.h <<\_ACEOF
37542 #define HAVE_SCHED_YIELD 1
37543 _ACEOF
37544 POSIX4_LINK=" -lposix4"
37545 else
37546 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37547 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37548
37549 fi
37550
37551
37552
37553 fi
37554
37555 fi
37556
37557 HAVE_PRIOR_FUNCS=0
37558 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37559 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37560 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37561 echo $ECHO_N "(cached) $ECHO_C" >&6
37562 else
37563 cat >conftest.$ac_ext <<_ACEOF
37564 /* confdefs.h. */
37565 _ACEOF
37566 cat confdefs.h >>conftest.$ac_ext
37567 cat >>conftest.$ac_ext <<_ACEOF
37568 /* end confdefs.h. */
37569 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37571 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37572
37573 /* System header to define __stub macros and hopefully few prototypes,
37574 which can conflict with char pthread_attr_getschedpolicy (); below.
37575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37576 <limits.h> exists even on freestanding compilers. */
37577
37578 #ifdef __STDC__
37579 # include <limits.h>
37580 #else
37581 # include <assert.h>
37582 #endif
37583
37584 #undef pthread_attr_getschedpolicy
37585
37586 /* Override any gcc2 internal prototype to avoid an error. */
37587 #ifdef __cplusplus
37588 extern "C"
37589 {
37590 #endif
37591 /* We use char because int might match the return type of a gcc2
37592 builtin and then its argument prototype would still apply. */
37593 char pthread_attr_getschedpolicy ();
37594 /* The GNU C library defines this for functions which it implements
37595 to always fail with ENOSYS. Some functions are actually named
37596 something starting with __ and the normal name is an alias. */
37597 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37598 choke me
37599 #else
37600 char (*f) () = pthread_attr_getschedpolicy;
37601 #endif
37602 #ifdef __cplusplus
37603 }
37604 #endif
37605
37606 int
37607 main ()
37608 {
37609 return f != pthread_attr_getschedpolicy;
37610 ;
37611 return 0;
37612 }
37613 _ACEOF
37614 rm -f conftest.$ac_objext conftest$ac_exeext
37615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37616 (eval $ac_link) 2>conftest.er1
37617 ac_status=$?
37618 grep -v '^ *+' conftest.er1 >conftest.err
37619 rm -f conftest.er1
37620 cat conftest.err >&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); } &&
37623 { ac_try='test -z "$ac_c_werror_flag"
37624 || test ! -s conftest.err'
37625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37626 (eval $ac_try) 2>&5
37627 ac_status=$?
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); }; } &&
37630 { ac_try='test -s conftest$ac_exeext'
37631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37632 (eval $ac_try) 2>&5
37633 ac_status=$?
37634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37635 (exit $ac_status); }; }; then
37636 ac_cv_func_pthread_attr_getschedpolicy=yes
37637 else
37638 echo "$as_me: failed program was:" >&5
37639 sed 's/^/| /' conftest.$ac_ext >&5
37640
37641 ac_cv_func_pthread_attr_getschedpolicy=no
37642 fi
37643 rm -f conftest.err conftest.$ac_objext \
37644 conftest$ac_exeext conftest.$ac_ext
37645 fi
37646 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37647 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37648 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37649 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37650 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37651 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37652 echo $ECHO_N "(cached) $ECHO_C" >&6
37653 else
37654 cat >conftest.$ac_ext <<_ACEOF
37655 /* confdefs.h. */
37656 _ACEOF
37657 cat confdefs.h >>conftest.$ac_ext
37658 cat >>conftest.$ac_ext <<_ACEOF
37659 /* end confdefs.h. */
37660 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37662 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37663
37664 /* System header to define __stub macros and hopefully few prototypes,
37665 which can conflict with char pthread_attr_setschedparam (); below.
37666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37667 <limits.h> exists even on freestanding compilers. */
37668
37669 #ifdef __STDC__
37670 # include <limits.h>
37671 #else
37672 # include <assert.h>
37673 #endif
37674
37675 #undef pthread_attr_setschedparam
37676
37677 /* Override any gcc2 internal prototype to avoid an error. */
37678 #ifdef __cplusplus
37679 extern "C"
37680 {
37681 #endif
37682 /* We use char because int might match the return type of a gcc2
37683 builtin and then its argument prototype would still apply. */
37684 char pthread_attr_setschedparam ();
37685 /* The GNU C library defines this for functions which it implements
37686 to always fail with ENOSYS. Some functions are actually named
37687 something starting with __ and the normal name is an alias. */
37688 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37689 choke me
37690 #else
37691 char (*f) () = pthread_attr_setschedparam;
37692 #endif
37693 #ifdef __cplusplus
37694 }
37695 #endif
37696
37697 int
37698 main ()
37699 {
37700 return f != pthread_attr_setschedparam;
37701 ;
37702 return 0;
37703 }
37704 _ACEOF
37705 rm -f conftest.$ac_objext conftest$ac_exeext
37706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37707 (eval $ac_link) 2>conftest.er1
37708 ac_status=$?
37709 grep -v '^ *+' conftest.er1 >conftest.err
37710 rm -f conftest.er1
37711 cat conftest.err >&5
37712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713 (exit $ac_status); } &&
37714 { ac_try='test -z "$ac_c_werror_flag"
37715 || test ! -s conftest.err'
37716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37717 (eval $ac_try) 2>&5
37718 ac_status=$?
37719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37720 (exit $ac_status); }; } &&
37721 { ac_try='test -s conftest$ac_exeext'
37722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37723 (eval $ac_try) 2>&5
37724 ac_status=$?
37725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37726 (exit $ac_status); }; }; then
37727 ac_cv_func_pthread_attr_setschedparam=yes
37728 else
37729 echo "$as_me: failed program was:" >&5
37730 sed 's/^/| /' conftest.$ac_ext >&5
37731
37732 ac_cv_func_pthread_attr_setschedparam=no
37733 fi
37734 rm -f conftest.err conftest.$ac_objext \
37735 conftest$ac_exeext conftest.$ac_ext
37736 fi
37737 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37738 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37739 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37740 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37741 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37742 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37743 echo $ECHO_N "(cached) $ECHO_C" >&6
37744 else
37745 cat >conftest.$ac_ext <<_ACEOF
37746 /* confdefs.h. */
37747 _ACEOF
37748 cat confdefs.h >>conftest.$ac_ext
37749 cat >>conftest.$ac_ext <<_ACEOF
37750 /* end confdefs.h. */
37751 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37753 #define sched_get_priority_max innocuous_sched_get_priority_max
37754
37755 /* System header to define __stub macros and hopefully few prototypes,
37756 which can conflict with char sched_get_priority_max (); below.
37757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37758 <limits.h> exists even on freestanding compilers. */
37759
37760 #ifdef __STDC__
37761 # include <limits.h>
37762 #else
37763 # include <assert.h>
37764 #endif
37765
37766 #undef sched_get_priority_max
37767
37768 /* Override any gcc2 internal prototype to avoid an error. */
37769 #ifdef __cplusplus
37770 extern "C"
37771 {
37772 #endif
37773 /* We use char because int might match the return type of a gcc2
37774 builtin and then its argument prototype would still apply. */
37775 char sched_get_priority_max ();
37776 /* The GNU C library defines this for functions which it implements
37777 to always fail with ENOSYS. Some functions are actually named
37778 something starting with __ and the normal name is an alias. */
37779 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37780 choke me
37781 #else
37782 char (*f) () = sched_get_priority_max;
37783 #endif
37784 #ifdef __cplusplus
37785 }
37786 #endif
37787
37788 int
37789 main ()
37790 {
37791 return f != sched_get_priority_max;
37792 ;
37793 return 0;
37794 }
37795 _ACEOF
37796 rm -f conftest.$ac_objext conftest$ac_exeext
37797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37798 (eval $ac_link) 2>conftest.er1
37799 ac_status=$?
37800 grep -v '^ *+' conftest.er1 >conftest.err
37801 rm -f conftest.er1
37802 cat conftest.err >&5
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); } &&
37805 { ac_try='test -z "$ac_c_werror_flag"
37806 || test ! -s conftest.err'
37807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37808 (eval $ac_try) 2>&5
37809 ac_status=$?
37810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37811 (exit $ac_status); }; } &&
37812 { ac_try='test -s conftest$ac_exeext'
37813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37814 (eval $ac_try) 2>&5
37815 ac_status=$?
37816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37817 (exit $ac_status); }; }; then
37818 ac_cv_func_sched_get_priority_max=yes
37819 else
37820 echo "$as_me: failed program was:" >&5
37821 sed 's/^/| /' conftest.$ac_ext >&5
37822
37823 ac_cv_func_sched_get_priority_max=no
37824 fi
37825 rm -f conftest.err conftest.$ac_objext \
37826 conftest$ac_exeext conftest.$ac_ext
37827 fi
37828 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37829 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37830 if test $ac_cv_func_sched_get_priority_max = yes; then
37831 HAVE_PRIOR_FUNCS=1
37832 else
37833 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37834 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37835 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37836 echo $ECHO_N "(cached) $ECHO_C" >&6
37837 else
37838 ac_check_lib_save_LIBS=$LIBS
37839 LIBS="-lposix4 $LIBS"
37840 cat >conftest.$ac_ext <<_ACEOF
37841 /* confdefs.h. */
37842 _ACEOF
37843 cat confdefs.h >>conftest.$ac_ext
37844 cat >>conftest.$ac_ext <<_ACEOF
37845 /* end confdefs.h. */
37846
37847 /* Override any gcc2 internal prototype to avoid an error. */
37848 #ifdef __cplusplus
37849 extern "C"
37850 #endif
37851 /* We use char because int might match the return type of a gcc2
37852 builtin and then its argument prototype would still apply. */
37853 char sched_get_priority_max ();
37854 int
37855 main ()
37856 {
37857 sched_get_priority_max ();
37858 ;
37859 return 0;
37860 }
37861 _ACEOF
37862 rm -f conftest.$ac_objext conftest$ac_exeext
37863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37864 (eval $ac_link) 2>conftest.er1
37865 ac_status=$?
37866 grep -v '^ *+' conftest.er1 >conftest.err
37867 rm -f conftest.er1
37868 cat conftest.err >&5
37869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37870 (exit $ac_status); } &&
37871 { ac_try='test -z "$ac_c_werror_flag"
37872 || test ! -s conftest.err'
37873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37874 (eval $ac_try) 2>&5
37875 ac_status=$?
37876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877 (exit $ac_status); }; } &&
37878 { ac_try='test -s conftest$ac_exeext'
37879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37880 (eval $ac_try) 2>&5
37881 ac_status=$?
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); }; }; then
37884 ac_cv_lib_posix4_sched_get_priority_max=yes
37885 else
37886 echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.$ac_ext >&5
37888
37889 ac_cv_lib_posix4_sched_get_priority_max=no
37890 fi
37891 rm -f conftest.err conftest.$ac_objext \
37892 conftest$ac_exeext conftest.$ac_ext
37893 LIBS=$ac_check_lib_save_LIBS
37894 fi
37895 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37896 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37897 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37898
37899 HAVE_PRIOR_FUNCS=1
37900 POSIX4_LINK=" -lposix4"
37901
37902 fi
37903
37904
37905 fi
37906
37907
37908 fi
37909
37910
37911 fi
37912
37913
37914 if test "$HAVE_PRIOR_FUNCS" = 1; then
37915 cat >>confdefs.h <<\_ACEOF
37916 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37917 _ACEOF
37918
37919 else
37920 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37921 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37922 fi
37923
37924 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37925 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37926 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37927 echo $ECHO_N "(cached) $ECHO_C" >&6
37928 else
37929 cat >conftest.$ac_ext <<_ACEOF
37930 /* confdefs.h. */
37931 _ACEOF
37932 cat confdefs.h >>conftest.$ac_ext
37933 cat >>conftest.$ac_ext <<_ACEOF
37934 /* end confdefs.h. */
37935 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37937 #define pthread_cancel innocuous_pthread_cancel
37938
37939 /* System header to define __stub macros and hopefully few prototypes,
37940 which can conflict with char pthread_cancel (); below.
37941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37942 <limits.h> exists even on freestanding compilers. */
37943
37944 #ifdef __STDC__
37945 # include <limits.h>
37946 #else
37947 # include <assert.h>
37948 #endif
37949
37950 #undef pthread_cancel
37951
37952 /* Override any gcc2 internal prototype to avoid an error. */
37953 #ifdef __cplusplus
37954 extern "C"
37955 {
37956 #endif
37957 /* We use char because int might match the return type of a gcc2
37958 builtin and then its argument prototype would still apply. */
37959 char pthread_cancel ();
37960 /* The GNU C library defines this for functions which it implements
37961 to always fail with ENOSYS. Some functions are actually named
37962 something starting with __ and the normal name is an alias. */
37963 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37964 choke me
37965 #else
37966 char (*f) () = pthread_cancel;
37967 #endif
37968 #ifdef __cplusplus
37969 }
37970 #endif
37971
37972 int
37973 main ()
37974 {
37975 return f != pthread_cancel;
37976 ;
37977 return 0;
37978 }
37979 _ACEOF
37980 rm -f conftest.$ac_objext conftest$ac_exeext
37981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37982 (eval $ac_link) 2>conftest.er1
37983 ac_status=$?
37984 grep -v '^ *+' conftest.er1 >conftest.err
37985 rm -f conftest.er1
37986 cat conftest.err >&5
37987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37988 (exit $ac_status); } &&
37989 { ac_try='test -z "$ac_c_werror_flag"
37990 || test ! -s conftest.err'
37991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37992 (eval $ac_try) 2>&5
37993 ac_status=$?
37994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37995 (exit $ac_status); }; } &&
37996 { ac_try='test -s conftest$ac_exeext'
37997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37998 (eval $ac_try) 2>&5
37999 ac_status=$?
38000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38001 (exit $ac_status); }; }; then
38002 ac_cv_func_pthread_cancel=yes
38003 else
38004 echo "$as_me: failed program was:" >&5
38005 sed 's/^/| /' conftest.$ac_ext >&5
38006
38007 ac_cv_func_pthread_cancel=no
38008 fi
38009 rm -f conftest.err conftest.$ac_objext \
38010 conftest$ac_exeext conftest.$ac_ext
38011 fi
38012 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38013 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38014 if test $ac_cv_func_pthread_cancel = yes; then
38015 cat >>confdefs.h <<\_ACEOF
38016 #define HAVE_PTHREAD_CANCEL 1
38017 _ACEOF
38018
38019 else
38020 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38021 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38022 fi
38023
38024
38025 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38026 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38027 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38028 echo $ECHO_N "(cached) $ECHO_C" >&6
38029 else
38030 cat >conftest.$ac_ext <<_ACEOF
38031 /* confdefs.h. */
38032 _ACEOF
38033 cat confdefs.h >>conftest.$ac_ext
38034 cat >>conftest.$ac_ext <<_ACEOF
38035 /* end confdefs.h. */
38036 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38038 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38039
38040 /* System header to define __stub macros and hopefully few prototypes,
38041 which can conflict with char pthread_attr_setstacksize (); below.
38042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38043 <limits.h> exists even on freestanding compilers. */
38044
38045 #ifdef __STDC__
38046 # include <limits.h>
38047 #else
38048 # include <assert.h>
38049 #endif
38050
38051 #undef pthread_attr_setstacksize
38052
38053 /* Override any gcc2 internal prototype to avoid an error. */
38054 #ifdef __cplusplus
38055 extern "C"
38056 {
38057 #endif
38058 /* We use char because int might match the return type of a gcc2
38059 builtin and then its argument prototype would still apply. */
38060 char pthread_attr_setstacksize ();
38061 /* The GNU C library defines this for functions which it implements
38062 to always fail with ENOSYS. Some functions are actually named
38063 something starting with __ and the normal name is an alias. */
38064 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38065 choke me
38066 #else
38067 char (*f) () = pthread_attr_setstacksize;
38068 #endif
38069 #ifdef __cplusplus
38070 }
38071 #endif
38072
38073 int
38074 main ()
38075 {
38076 return f != pthread_attr_setstacksize;
38077 ;
38078 return 0;
38079 }
38080 _ACEOF
38081 rm -f conftest.$ac_objext conftest$ac_exeext
38082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38083 (eval $ac_link) 2>conftest.er1
38084 ac_status=$?
38085 grep -v '^ *+' conftest.er1 >conftest.err
38086 rm -f conftest.er1
38087 cat conftest.err >&5
38088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38089 (exit $ac_status); } &&
38090 { ac_try='test -z "$ac_c_werror_flag"
38091 || test ! -s conftest.err'
38092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38093 (eval $ac_try) 2>&5
38094 ac_status=$?
38095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38096 (exit $ac_status); }; } &&
38097 { ac_try='test -s conftest$ac_exeext'
38098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38099 (eval $ac_try) 2>&5
38100 ac_status=$?
38101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38102 (exit $ac_status); }; }; then
38103 ac_cv_func_pthread_attr_setstacksize=yes
38104 else
38105 echo "$as_me: failed program was:" >&5
38106 sed 's/^/| /' conftest.$ac_ext >&5
38107
38108 ac_cv_func_pthread_attr_setstacksize=no
38109 fi
38110 rm -f conftest.err conftest.$ac_objext \
38111 conftest$ac_exeext conftest.$ac_ext
38112 fi
38113 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38114 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38115 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38116 cat >>confdefs.h <<\_ACEOF
38117 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38118 _ACEOF
38119
38120 fi
38121
38122
38123
38124 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38125 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38126 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38127 echo $ECHO_N "(cached) $ECHO_C" >&6
38128 else
38129
38130 cat >conftest.$ac_ext <<_ACEOF
38131 /* confdefs.h. */
38132 _ACEOF
38133 cat confdefs.h >>conftest.$ac_ext
38134 cat >>conftest.$ac_ext <<_ACEOF
38135 /* end confdefs.h. */
38136 #include <pthread.h>
38137 int
38138 main ()
38139 {
38140
38141 pthread_mutexattr_t attr;
38142 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38143
38144 ;
38145 return 0;
38146 }
38147 _ACEOF
38148 rm -f conftest.$ac_objext
38149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38150 (eval $ac_compile) 2>conftest.er1
38151 ac_status=$?
38152 grep -v '^ *+' conftest.er1 >conftest.err
38153 rm -f conftest.er1
38154 cat conftest.err >&5
38155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38156 (exit $ac_status); } &&
38157 { ac_try='test -z "$ac_c_werror_flag"
38158 || test ! -s conftest.err'
38159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38160 (eval $ac_try) 2>&5
38161 ac_status=$?
38162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38163 (exit $ac_status); }; } &&
38164 { ac_try='test -s conftest.$ac_objext'
38165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38166 (eval $ac_try) 2>&5
38167 ac_status=$?
38168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38169 (exit $ac_status); }; }; then
38170 wx_cv_type_pthread_mutexattr_t=yes
38171 else
38172 echo "$as_me: failed program was:" >&5
38173 sed 's/^/| /' conftest.$ac_ext >&5
38174
38175 wx_cv_type_pthread_mutexattr_t=no
38176
38177 fi
38178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38179
38180 fi
38181 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38182 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38183
38184 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38185 cat >>confdefs.h <<\_ACEOF
38186 #define HAVE_PTHREAD_MUTEXATTR_T 1
38187 _ACEOF
38188
38189
38190 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38191 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38192 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38193 echo $ECHO_N "(cached) $ECHO_C" >&6
38194 else
38195
38196 cat >conftest.$ac_ext <<_ACEOF
38197 /* confdefs.h. */
38198 _ACEOF
38199 cat confdefs.h >>conftest.$ac_ext
38200 cat >>conftest.$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38202 #include <pthread.h>
38203 int
38204 main ()
38205 {
38206
38207 pthread_mutexattr_t attr;
38208 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38209
38210 ;
38211 return 0;
38212 }
38213 _ACEOF
38214 rm -f conftest.$ac_objext
38215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38216 (eval $ac_compile) 2>conftest.er1
38217 ac_status=$?
38218 grep -v '^ *+' conftest.er1 >conftest.err
38219 rm -f conftest.er1
38220 cat conftest.err >&5
38221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38222 (exit $ac_status); } &&
38223 { ac_try='test -z "$ac_c_werror_flag"
38224 || test ! -s conftest.err'
38225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38226 (eval $ac_try) 2>&5
38227 ac_status=$?
38228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38229 (exit $ac_status); }; } &&
38230 { ac_try='test -s conftest.$ac_objext'
38231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38232 (eval $ac_try) 2>&5
38233 ac_status=$?
38234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38235 (exit $ac_status); }; }; then
38236 wx_cv_func_pthread_mutexattr_settype_decl=yes
38237 else
38238 echo "$as_me: failed program was:" >&5
38239 sed 's/^/| /' conftest.$ac_ext >&5
38240
38241 wx_cv_func_pthread_mutexattr_settype_decl=no
38242
38243 fi
38244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38245
38246 fi
38247 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38248 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38249 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38250 cat >>confdefs.h <<\_ACEOF
38251 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38252 _ACEOF
38253
38254 fi
38255 else
38256 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38257 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38258 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38259 echo $ECHO_N "(cached) $ECHO_C" >&6
38260 else
38261
38262 cat >conftest.$ac_ext <<_ACEOF
38263 /* confdefs.h. */
38264 _ACEOF
38265 cat confdefs.h >>conftest.$ac_ext
38266 cat >>conftest.$ac_ext <<_ACEOF
38267 /* end confdefs.h. */
38268 #include <pthread.h>
38269 int
38270 main ()
38271 {
38272
38273 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38274
38275 ;
38276 return 0;
38277 }
38278 _ACEOF
38279 rm -f conftest.$ac_objext
38280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38281 (eval $ac_compile) 2>conftest.er1
38282 ac_status=$?
38283 grep -v '^ *+' conftest.er1 >conftest.err
38284 rm -f conftest.er1
38285 cat conftest.err >&5
38286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38287 (exit $ac_status); } &&
38288 { ac_try='test -z "$ac_c_werror_flag"
38289 || test ! -s conftest.err'
38290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38291 (eval $ac_try) 2>&5
38292 ac_status=$?
38293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38294 (exit $ac_status); }; } &&
38295 { ac_try='test -s conftest.$ac_objext'
38296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38297 (eval $ac_try) 2>&5
38298 ac_status=$?
38299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38300 (exit $ac_status); }; }; then
38301
38302 wx_cv_type_pthread_rec_mutex_init=yes
38303
38304 else
38305 echo "$as_me: failed program was:" >&5
38306 sed 's/^/| /' conftest.$ac_ext >&5
38307
38308
38309 wx_cv_type_pthread_rec_mutex_init=no
38310
38311
38312 fi
38313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38314
38315 fi
38316 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38317 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38318 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38319 cat >>confdefs.h <<\_ACEOF
38320 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38321 _ACEOF
38322
38323 else
38324 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38325 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38326 fi
38327 fi
38328 fi
38329
38330 else
38331 if test "$wxUSE_THREADS" = "yes" ; then
38332 case "${host}" in
38333 *-*-mingw32* )
38334 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38335 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38336 if test "${wx_cv_cflags_mthread+set}" = set; then
38337 echo $ECHO_N "(cached) $ECHO_C" >&6
38338 else
38339
38340 CFLAGS_OLD="$CFLAGS"
38341 CFLAGS="-mthreads $CFLAGS"
38342 cat >conftest.$ac_ext <<_ACEOF
38343 /* confdefs.h. */
38344 _ACEOF
38345 cat confdefs.h >>conftest.$ac_ext
38346 cat >>conftest.$ac_ext <<_ACEOF
38347 /* end confdefs.h. */
38348
38349 int
38350 main ()
38351 {
38352
38353 ;
38354 return 0;
38355 }
38356 _ACEOF
38357 rm -f conftest.$ac_objext
38358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38359 (eval $ac_compile) 2>conftest.er1
38360 ac_status=$?
38361 grep -v '^ *+' conftest.er1 >conftest.err
38362 rm -f conftest.er1
38363 cat conftest.err >&5
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); } &&
38366 { ac_try='test -z "$ac_c_werror_flag"
38367 || test ! -s conftest.err'
38368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38369 (eval $ac_try) 2>&5
38370 ac_status=$?
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); }; } &&
38373 { ac_try='test -s conftest.$ac_objext'
38374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38375 (eval $ac_try) 2>&5
38376 ac_status=$?
38377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38378 (exit $ac_status); }; }; then
38379 wx_cv_cflags_mthread=yes
38380 else
38381 echo "$as_me: failed program was:" >&5
38382 sed 's/^/| /' conftest.$ac_ext >&5
38383
38384 wx_cv_cflags_mthread=no
38385
38386 fi
38387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38388
38389
38390 fi
38391 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38392 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38393
38394 if test "$wx_cv_cflags_mthread" = "yes"; then
38395 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38396 LDFLAGS="$LDFLAGS -mthreads"
38397 else
38398 CFLAGS="$CFLAGS_OLD"
38399 fi
38400 ;;
38401 *-pc-os2*emx )
38402 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38403 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38404 LDFLAGS="$LDFLAGS -Zmt"
38405 ;;
38406 esac
38407 fi
38408 fi
38409
38410 echo "$as_me:$LINENO: checking for localtime_r" >&5
38411 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38412 if test "${ac_cv_func_localtime_r+set}" = set; then
38413 echo $ECHO_N "(cached) $ECHO_C" >&6
38414 else
38415 cat >conftest.$ac_ext <<_ACEOF
38416 /* confdefs.h. */
38417 _ACEOF
38418 cat confdefs.h >>conftest.$ac_ext
38419 cat >>conftest.$ac_ext <<_ACEOF
38420 /* end confdefs.h. */
38421 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38423 #define localtime_r innocuous_localtime_r
38424
38425 /* System header to define __stub macros and hopefully few prototypes,
38426 which can conflict with char localtime_r (); below.
38427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38428 <limits.h> exists even on freestanding compilers. */
38429
38430 #ifdef __STDC__
38431 # include <limits.h>
38432 #else
38433 # include <assert.h>
38434 #endif
38435
38436 #undef localtime_r
38437
38438 /* Override any gcc2 internal prototype to avoid an error. */
38439 #ifdef __cplusplus
38440 extern "C"
38441 {
38442 #endif
38443 /* We use char because int might match the return type of a gcc2
38444 builtin and then its argument prototype would still apply. */
38445 char localtime_r ();
38446 /* The GNU C library defines this for functions which it implements
38447 to always fail with ENOSYS. Some functions are actually named
38448 something starting with __ and the normal name is an alias. */
38449 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38450 choke me
38451 #else
38452 char (*f) () = localtime_r;
38453 #endif
38454 #ifdef __cplusplus
38455 }
38456 #endif
38457
38458 int
38459 main ()
38460 {
38461 return f != localtime_r;
38462 ;
38463 return 0;
38464 }
38465 _ACEOF
38466 rm -f conftest.$ac_objext conftest$ac_exeext
38467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38468 (eval $ac_link) 2>conftest.er1
38469 ac_status=$?
38470 grep -v '^ *+' conftest.er1 >conftest.err
38471 rm -f conftest.er1
38472 cat conftest.err >&5
38473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38474 (exit $ac_status); } &&
38475 { ac_try='test -z "$ac_c_werror_flag"
38476 || test ! -s conftest.err'
38477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38478 (eval $ac_try) 2>&5
38479 ac_status=$?
38480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38481 (exit $ac_status); }; } &&
38482 { ac_try='test -s conftest$ac_exeext'
38483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38484 (eval $ac_try) 2>&5
38485 ac_status=$?
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); }; }; then
38488 ac_cv_func_localtime_r=yes
38489 else
38490 echo "$as_me: failed program was:" >&5
38491 sed 's/^/| /' conftest.$ac_ext >&5
38492
38493 ac_cv_func_localtime_r=no
38494 fi
38495 rm -f conftest.err conftest.$ac_objext \
38496 conftest$ac_exeext conftest.$ac_ext
38497 fi
38498 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38499 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38500 if test $ac_cv_func_localtime_r = yes; then
38501 cat >>confdefs.h <<\_ACEOF
38502 #define HAVE_LOCALTIME_R 1
38503 _ACEOF
38504
38505 fi
38506
38507 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38508 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38509 if test "${ac_cv_func_gmtime_r+set}" = set; then
38510 echo $ECHO_N "(cached) $ECHO_C" >&6
38511 else
38512 cat >conftest.$ac_ext <<_ACEOF
38513 /* confdefs.h. */
38514 _ACEOF
38515 cat confdefs.h >>conftest.$ac_ext
38516 cat >>conftest.$ac_ext <<_ACEOF
38517 /* end confdefs.h. */
38518 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38520 #define gmtime_r innocuous_gmtime_r
38521
38522 /* System header to define __stub macros and hopefully few prototypes,
38523 which can conflict with char gmtime_r (); below.
38524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38525 <limits.h> exists even on freestanding compilers. */
38526
38527 #ifdef __STDC__
38528 # include <limits.h>
38529 #else
38530 # include <assert.h>
38531 #endif
38532
38533 #undef gmtime_r
38534
38535 /* Override any gcc2 internal prototype to avoid an error. */
38536 #ifdef __cplusplus
38537 extern "C"
38538 {
38539 #endif
38540 /* We use char because int might match the return type of a gcc2
38541 builtin and then its argument prototype would still apply. */
38542 char gmtime_r ();
38543 /* The GNU C library defines this for functions which it implements
38544 to always fail with ENOSYS. Some functions are actually named
38545 something starting with __ and the normal name is an alias. */
38546 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38547 choke me
38548 #else
38549 char (*f) () = gmtime_r;
38550 #endif
38551 #ifdef __cplusplus
38552 }
38553 #endif
38554
38555 int
38556 main ()
38557 {
38558 return f != gmtime_r;
38559 ;
38560 return 0;
38561 }
38562 _ACEOF
38563 rm -f conftest.$ac_objext conftest$ac_exeext
38564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38565 (eval $ac_link) 2>conftest.er1
38566 ac_status=$?
38567 grep -v '^ *+' conftest.er1 >conftest.err
38568 rm -f conftest.er1
38569 cat conftest.err >&5
38570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38571 (exit $ac_status); } &&
38572 { ac_try='test -z "$ac_c_werror_flag"
38573 || test ! -s conftest.err'
38574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38575 (eval $ac_try) 2>&5
38576 ac_status=$?
38577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38578 (exit $ac_status); }; } &&
38579 { ac_try='test -s conftest$ac_exeext'
38580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38581 (eval $ac_try) 2>&5
38582 ac_status=$?
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); }; }; then
38585 ac_cv_func_gmtime_r=yes
38586 else
38587 echo "$as_me: failed program was:" >&5
38588 sed 's/^/| /' conftest.$ac_ext >&5
38589
38590 ac_cv_func_gmtime_r=no
38591 fi
38592 rm -f conftest.err conftest.$ac_objext \
38593 conftest$ac_exeext conftest.$ac_ext
38594 fi
38595 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38596 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38597 if test $ac_cv_func_gmtime_r = yes; then
38598 cat >>confdefs.h <<\_ACEOF
38599 #define HAVE_GMTIME_R 1
38600 _ACEOF
38601
38602 fi
38603
38604 echo "$as_me:$LINENO: checking for readdir_r" >&5
38605 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38606 if test "${ac_cv_func_readdir_r+set}" = set; then
38607 echo $ECHO_N "(cached) $ECHO_C" >&6
38608 else
38609 cat >conftest.$ac_ext <<_ACEOF
38610 /* confdefs.h. */
38611 _ACEOF
38612 cat confdefs.h >>conftest.$ac_ext
38613 cat >>conftest.$ac_ext <<_ACEOF
38614 /* end confdefs.h. */
38615 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38617 #define readdir_r innocuous_readdir_r
38618
38619 /* System header to define __stub macros and hopefully few prototypes,
38620 which can conflict with char readdir_r (); below.
38621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38622 <limits.h> exists even on freestanding compilers. */
38623
38624 #ifdef __STDC__
38625 # include <limits.h>
38626 #else
38627 # include <assert.h>
38628 #endif
38629
38630 #undef readdir_r
38631
38632 /* Override any gcc2 internal prototype to avoid an error. */
38633 #ifdef __cplusplus
38634 extern "C"
38635 {
38636 #endif
38637 /* We use char because int might match the return type of a gcc2
38638 builtin and then its argument prototype would still apply. */
38639 char readdir_r ();
38640 /* The GNU C library defines this for functions which it implements
38641 to always fail with ENOSYS. Some functions are actually named
38642 something starting with __ and the normal name is an alias. */
38643 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38644 choke me
38645 #else
38646 char (*f) () = readdir_r;
38647 #endif
38648 #ifdef __cplusplus
38649 }
38650 #endif
38651
38652 int
38653 main ()
38654 {
38655 return f != readdir_r;
38656 ;
38657 return 0;
38658 }
38659 _ACEOF
38660 rm -f conftest.$ac_objext conftest$ac_exeext
38661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38662 (eval $ac_link) 2>conftest.er1
38663 ac_status=$?
38664 grep -v '^ *+' conftest.er1 >conftest.err
38665 rm -f conftest.er1
38666 cat conftest.err >&5
38667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38668 (exit $ac_status); } &&
38669 { ac_try='test -z "$ac_c_werror_flag"
38670 || test ! -s conftest.err'
38671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38672 (eval $ac_try) 2>&5
38673 ac_status=$?
38674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38675 (exit $ac_status); }; } &&
38676 { ac_try='test -s conftest$ac_exeext'
38677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38678 (eval $ac_try) 2>&5
38679 ac_status=$?
38680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38681 (exit $ac_status); }; }; then
38682 ac_cv_func_readdir_r=yes
38683 else
38684 echo "$as_me: failed program was:" >&5
38685 sed 's/^/| /' conftest.$ac_ext >&5
38686
38687 ac_cv_func_readdir_r=no
38688 fi
38689 rm -f conftest.err conftest.$ac_objext \
38690 conftest$ac_exeext conftest.$ac_ext
38691 fi
38692 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38693 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38694 if test $ac_cv_func_readdir_r = yes; then
38695 cat >>confdefs.h <<\_ACEOF
38696 #define HAVE_READDIR_R 1
38697 _ACEOF
38698
38699 fi
38700
38701
38702 ac_ext=cc
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707
38708
38709
38710 ac_ext=c
38711 ac_cpp='$CPP $CPPFLAGS'
38712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38715
38716 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38717 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38718
38719 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38720 echo $ECHO_N "(cached) $ECHO_C" >&6
38721 else
38722
38723
38724 ################################################################
38725
38726 ac_cv_func_which_gethostbyname_r=unknown
38727
38728 #
38729 # ONE ARGUMENT (sanity check)
38730 #
38731
38732 # This should fail, as there is no variant of gethostbyname_r() that takes
38733 # a single argument. If it actually compiles, then we can assume that
38734 # netdb.h is not declaring the function, and the compiler is thereby
38735 # assuming an implicit prototype. In which case, we're out of luck.
38736 #
38737 cat >conftest.$ac_ext <<_ACEOF
38738 /* confdefs.h. */
38739 _ACEOF
38740 cat confdefs.h >>conftest.$ac_ext
38741 cat >>conftest.$ac_ext <<_ACEOF
38742 /* end confdefs.h. */
38743 #include <netdb.h>
38744 int
38745 main ()
38746 {
38747
38748 char *name = "www.gnu.org";
38749 (void)gethostbyname_r(name) /* ; */
38750
38751 ;
38752 return 0;
38753 }
38754 _ACEOF
38755 rm -f conftest.$ac_objext
38756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38757 (eval $ac_compile) 2>conftest.er1
38758 ac_status=$?
38759 grep -v '^ *+' conftest.er1 >conftest.err
38760 rm -f conftest.er1
38761 cat conftest.err >&5
38762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763 (exit $ac_status); } &&
38764 { ac_try='test -z "$ac_c_werror_flag"
38765 || test ! -s conftest.err'
38766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38767 (eval $ac_try) 2>&5
38768 ac_status=$?
38769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38770 (exit $ac_status); }; } &&
38771 { ac_try='test -s conftest.$ac_objext'
38772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38773 (eval $ac_try) 2>&5
38774 ac_status=$?
38775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38776 (exit $ac_status); }; }; then
38777 ac_cv_func_which_gethostbyname_r=no
38778 else
38779 echo "$as_me: failed program was:" >&5
38780 sed 's/^/| /' conftest.$ac_ext >&5
38781
38782 fi
38783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38784
38785 #
38786 # SIX ARGUMENTS
38787 # (e.g. Linux)
38788 #
38789
38790 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38791
38792 cat >conftest.$ac_ext <<_ACEOF
38793 /* confdefs.h. */
38794 _ACEOF
38795 cat confdefs.h >>conftest.$ac_ext
38796 cat >>conftest.$ac_ext <<_ACEOF
38797 /* end confdefs.h. */
38798 #include <netdb.h>
38799 int
38800 main ()
38801 {
38802
38803 char *name = "www.gnu.org";
38804 struct hostent ret, *retp;
38805 char buf[1024];
38806 int buflen = 1024;
38807 int my_h_errno;
38808 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38809
38810 ;
38811 return 0;
38812 }
38813 _ACEOF
38814 rm -f conftest.$ac_objext
38815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38816 (eval $ac_compile) 2>conftest.er1
38817 ac_status=$?
38818 grep -v '^ *+' conftest.er1 >conftest.err
38819 rm -f conftest.er1
38820 cat conftest.err >&5
38821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38822 (exit $ac_status); } &&
38823 { ac_try='test -z "$ac_c_werror_flag"
38824 || test ! -s conftest.err'
38825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38826 (eval $ac_try) 2>&5
38827 ac_status=$?
38828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38829 (exit $ac_status); }; } &&
38830 { ac_try='test -s conftest.$ac_objext'
38831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38832 (eval $ac_try) 2>&5
38833 ac_status=$?
38834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38835 (exit $ac_status); }; }; then
38836 ac_cv_func_which_gethostbyname_r=six
38837 else
38838 echo "$as_me: failed program was:" >&5
38839 sed 's/^/| /' conftest.$ac_ext >&5
38840
38841 fi
38842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38843
38844 fi
38845
38846 #
38847 # FIVE ARGUMENTS
38848 # (e.g. Solaris)
38849 #
38850
38851 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38852
38853 cat >conftest.$ac_ext <<_ACEOF
38854 /* confdefs.h. */
38855 _ACEOF
38856 cat confdefs.h >>conftest.$ac_ext
38857 cat >>conftest.$ac_ext <<_ACEOF
38858 /* end confdefs.h. */
38859 #include <netdb.h>
38860 int
38861 main ()
38862 {
38863
38864 char *name = "www.gnu.org";
38865 struct hostent ret;
38866 char buf[1024];
38867 int buflen = 1024;
38868 int my_h_errno;
38869 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
38870
38871 ;
38872 return 0;
38873 }
38874 _ACEOF
38875 rm -f conftest.$ac_objext
38876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38877 (eval $ac_compile) 2>conftest.er1
38878 ac_status=$?
38879 grep -v '^ *+' conftest.er1 >conftest.err
38880 rm -f conftest.er1
38881 cat conftest.err >&5
38882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883 (exit $ac_status); } &&
38884 { ac_try='test -z "$ac_c_werror_flag"
38885 || test ! -s conftest.err'
38886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38887 (eval $ac_try) 2>&5
38888 ac_status=$?
38889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38890 (exit $ac_status); }; } &&
38891 { ac_try='test -s conftest.$ac_objext'
38892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38893 (eval $ac_try) 2>&5
38894 ac_status=$?
38895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38896 (exit $ac_status); }; }; then
38897 ac_cv_func_which_gethostbyname_r=five
38898 else
38899 echo "$as_me: failed program was:" >&5
38900 sed 's/^/| /' conftest.$ac_ext >&5
38901
38902 fi
38903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38904
38905 fi
38906
38907 #
38908 # THREE ARGUMENTS
38909 # (e.g. AIX, HP-UX, Tru64)
38910 #
38911
38912 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38913
38914 cat >conftest.$ac_ext <<_ACEOF
38915 /* confdefs.h. */
38916 _ACEOF
38917 cat confdefs.h >>conftest.$ac_ext
38918 cat >>conftest.$ac_ext <<_ACEOF
38919 /* end confdefs.h. */
38920 #include <netdb.h>
38921 int
38922 main ()
38923 {
38924
38925 char *name = "www.gnu.org";
38926 struct hostent ret;
38927 struct hostent_data data;
38928 (void)gethostbyname_r(name, &ret, &data) /* ; */
38929
38930 ;
38931 return 0;
38932 }
38933 _ACEOF
38934 rm -f conftest.$ac_objext
38935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38936 (eval $ac_compile) 2>conftest.er1
38937 ac_status=$?
38938 grep -v '^ *+' conftest.er1 >conftest.err
38939 rm -f conftest.er1
38940 cat conftest.err >&5
38941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38942 (exit $ac_status); } &&
38943 { ac_try='test -z "$ac_c_werror_flag"
38944 || test ! -s conftest.err'
38945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38946 (eval $ac_try) 2>&5
38947 ac_status=$?
38948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38949 (exit $ac_status); }; } &&
38950 { ac_try='test -s conftest.$ac_objext'
38951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38952 (eval $ac_try) 2>&5
38953 ac_status=$?
38954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38955 (exit $ac_status); }; }; then
38956 ac_cv_func_which_gethostbyname_r=three
38957 else
38958 echo "$as_me: failed program was:" >&5
38959 sed 's/^/| /' conftest.$ac_ext >&5
38960
38961 fi
38962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38963
38964 fi
38965
38966 ################################################################
38967
38968
38969 fi
38970
38971 case "$ac_cv_func_which_gethostbyname_r" in
38972 three)
38973 echo "$as_me:$LINENO: result: three" >&5
38974 echo "${ECHO_T}three" >&6
38975 cat >>confdefs.h <<\_ACEOF
38976 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
38977 _ACEOF
38978
38979 ;;
38980
38981 five)
38982 echo "$as_me:$LINENO: result: five" >&5
38983 echo "${ECHO_T}five" >&6
38984 cat >>confdefs.h <<\_ACEOF
38985 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
38986 _ACEOF
38987
38988 ;;
38989
38990 six)
38991 echo "$as_me:$LINENO: result: six" >&5
38992 echo "${ECHO_T}six" >&6
38993 cat >>confdefs.h <<\_ACEOF
38994 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
38995 _ACEOF
38996
38997 ;;
38998
38999 no)
39000 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39001 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39002 ;;
39003
39004 unknown)
39005 echo "$as_me:$LINENO: result: can't tell" >&5
39006 echo "${ECHO_T}can't tell" >&6
39007 ;;
39008
39009 *)
39010 { { echo "$as_me:$LINENO: error: internal error" >&5
39011 echo "$as_me: error: internal error" >&2;}
39012 { (exit 1); exit 1; }; }
39013 ;;
39014 esac
39015
39016 ac_ext=cc
39017 ac_cpp='$CXXCPP $CPPFLAGS'
39018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39021
39022
39023
39024 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39025 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39026 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39027 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39028 if test "${ac_cv_func_gethostbyname+set}" = set; then
39029 echo $ECHO_N "(cached) $ECHO_C" >&6
39030 else
39031 cat >conftest.$ac_ext <<_ACEOF
39032 /* confdefs.h. */
39033 _ACEOF
39034 cat confdefs.h >>conftest.$ac_ext
39035 cat >>conftest.$ac_ext <<_ACEOF
39036 /* end confdefs.h. */
39037 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39039 #define gethostbyname innocuous_gethostbyname
39040
39041 /* System header to define __stub macros and hopefully few prototypes,
39042 which can conflict with char gethostbyname (); below.
39043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39044 <limits.h> exists even on freestanding compilers. */
39045
39046 #ifdef __STDC__
39047 # include <limits.h>
39048 #else
39049 # include <assert.h>
39050 #endif
39051
39052 #undef gethostbyname
39053
39054 /* Override any gcc2 internal prototype to avoid an error. */
39055 #ifdef __cplusplus
39056 extern "C"
39057 {
39058 #endif
39059 /* We use char because int might match the return type of a gcc2
39060 builtin and then its argument prototype would still apply. */
39061 char gethostbyname ();
39062 /* The GNU C library defines this for functions which it implements
39063 to always fail with ENOSYS. Some functions are actually named
39064 something starting with __ and the normal name is an alias. */
39065 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39066 choke me
39067 #else
39068 char (*f) () = gethostbyname;
39069 #endif
39070 #ifdef __cplusplus
39071 }
39072 #endif
39073
39074 int
39075 main ()
39076 {
39077 return f != gethostbyname;
39078 ;
39079 return 0;
39080 }
39081 _ACEOF
39082 rm -f conftest.$ac_objext conftest$ac_exeext
39083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39084 (eval $ac_link) 2>conftest.er1
39085 ac_status=$?
39086 grep -v '^ *+' conftest.er1 >conftest.err
39087 rm -f conftest.er1
39088 cat conftest.err >&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } &&
39091 { ac_try='test -z "$ac_cxx_werror_flag"
39092 || test ! -s conftest.err'
39093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39094 (eval $ac_try) 2>&5
39095 ac_status=$?
39096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39097 (exit $ac_status); }; } &&
39098 { ac_try='test -s conftest$ac_exeext'
39099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39100 (eval $ac_try) 2>&5
39101 ac_status=$?
39102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39103 (exit $ac_status); }; }; then
39104 ac_cv_func_gethostbyname=yes
39105 else
39106 echo "$as_me: failed program was:" >&5
39107 sed 's/^/| /' conftest.$ac_ext >&5
39108
39109 ac_cv_func_gethostbyname=no
39110 fi
39111 rm -f conftest.err conftest.$ac_objext \
39112 conftest$ac_exeext conftest.$ac_ext
39113 fi
39114 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39115 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39116 if test $ac_cv_func_gethostbyname = yes; then
39117 cat >>confdefs.h <<\_ACEOF
39118 #define HAVE_GETHOSTBYNAME 1
39119 _ACEOF
39120
39121 fi
39122
39123 fi
39124 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39125 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39126 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39127 echo $ECHO_N "(cached) $ECHO_C" >&6
39128 else
39129 cat >conftest.$ac_ext <<_ACEOF
39130 /* confdefs.h. */
39131 _ACEOF
39132 cat confdefs.h >>conftest.$ac_ext
39133 cat >>conftest.$ac_ext <<_ACEOF
39134 /* end confdefs.h. */
39135 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39137 #define getservbyname_r innocuous_getservbyname_r
39138
39139 /* System header to define __stub macros and hopefully few prototypes,
39140 which can conflict with char getservbyname_r (); below.
39141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39142 <limits.h> exists even on freestanding compilers. */
39143
39144 #ifdef __STDC__
39145 # include <limits.h>
39146 #else
39147 # include <assert.h>
39148 #endif
39149
39150 #undef getservbyname_r
39151
39152 /* Override any gcc2 internal prototype to avoid an error. */
39153 #ifdef __cplusplus
39154 extern "C"
39155 {
39156 #endif
39157 /* We use char because int might match the return type of a gcc2
39158 builtin and then its argument prototype would still apply. */
39159 char getservbyname_r ();
39160 /* The GNU C library defines this for functions which it implements
39161 to always fail with ENOSYS. Some functions are actually named
39162 something starting with __ and the normal name is an alias. */
39163 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39164 choke me
39165 #else
39166 char (*f) () = getservbyname_r;
39167 #endif
39168 #ifdef __cplusplus
39169 }
39170 #endif
39171
39172 int
39173 main ()
39174 {
39175 return f != getservbyname_r;
39176 ;
39177 return 0;
39178 }
39179 _ACEOF
39180 rm -f conftest.$ac_objext conftest$ac_exeext
39181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39182 (eval $ac_link) 2>conftest.er1
39183 ac_status=$?
39184 grep -v '^ *+' conftest.er1 >conftest.err
39185 rm -f conftest.er1
39186 cat conftest.err >&5
39187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39188 (exit $ac_status); } &&
39189 { ac_try='test -z "$ac_cxx_werror_flag"
39190 || test ! -s conftest.err'
39191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39192 (eval $ac_try) 2>&5
39193 ac_status=$?
39194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39195 (exit $ac_status); }; } &&
39196 { ac_try='test -s conftest$ac_exeext'
39197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39198 (eval $ac_try) 2>&5
39199 ac_status=$?
39200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39201 (exit $ac_status); }; }; then
39202 ac_cv_func_getservbyname_r=yes
39203 else
39204 echo "$as_me: failed program was:" >&5
39205 sed 's/^/| /' conftest.$ac_ext >&5
39206
39207 ac_cv_func_getservbyname_r=no
39208 fi
39209 rm -f conftest.err conftest.$ac_objext \
39210 conftest$ac_exeext conftest.$ac_ext
39211 fi
39212 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39213 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39214 if test $ac_cv_func_getservbyname_r = yes; then
39215 cat >conftest.$ac_ext <<_ACEOF
39216 /* confdefs.h. */
39217 _ACEOF
39218 cat confdefs.h >>conftest.$ac_ext
39219 cat >>conftest.$ac_ext <<_ACEOF
39220 /* end confdefs.h. */
39221 #include <netdb.h>
39222 int
39223 main ()
39224 {
39225
39226 char *name;
39227 char *proto;
39228 struct servent *se;
39229 struct servent_data data;
39230 (void) getservbyname_r(name, proto, se, &data);
39231
39232 ;
39233 return 0;
39234 }
39235 _ACEOF
39236 rm -f conftest.$ac_objext
39237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39238 (eval $ac_compile) 2>conftest.er1
39239 ac_status=$?
39240 grep -v '^ *+' conftest.er1 >conftest.err
39241 rm -f conftest.er1
39242 cat conftest.err >&5
39243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39244 (exit $ac_status); } &&
39245 { ac_try='test -z "$ac_cxx_werror_flag"
39246 || test ! -s conftest.err'
39247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39248 (eval $ac_try) 2>&5
39249 ac_status=$?
39250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251 (exit $ac_status); }; } &&
39252 { ac_try='test -s conftest.$ac_objext'
39253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39254 (eval $ac_try) 2>&5
39255 ac_status=$?
39256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39257 (exit $ac_status); }; }; then
39258 ac_cv_func_which_getservbyname_r=four
39259 else
39260 echo "$as_me: failed program was:" >&5
39261 sed 's/^/| /' conftest.$ac_ext >&5
39262
39263 cat >conftest.$ac_ext <<_ACEOF
39264 /* confdefs.h. */
39265 _ACEOF
39266 cat confdefs.h >>conftest.$ac_ext
39267 cat >>conftest.$ac_ext <<_ACEOF
39268 /* end confdefs.h. */
39269 #include <netdb.h>
39270 int
39271 main ()
39272 {
39273
39274 char *name;
39275 char *proto;
39276 struct servent *se, *res;
39277 char buffer[2048];
39278 int buflen = 2048;
39279 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39280
39281 ;
39282 return 0;
39283 }
39284 _ACEOF
39285 rm -f conftest.$ac_objext
39286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39287 (eval $ac_compile) 2>conftest.er1
39288 ac_status=$?
39289 grep -v '^ *+' conftest.er1 >conftest.err
39290 rm -f conftest.er1
39291 cat conftest.err >&5
39292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39293 (exit $ac_status); } &&
39294 { ac_try='test -z "$ac_cxx_werror_flag"
39295 || test ! -s conftest.err'
39296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39297 (eval $ac_try) 2>&5
39298 ac_status=$?
39299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39300 (exit $ac_status); }; } &&
39301 { ac_try='test -s conftest.$ac_objext'
39302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39303 (eval $ac_try) 2>&5
39304 ac_status=$?
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); }; }; then
39307 ac_cv_func_which_getservbyname_r=six
39308 else
39309 echo "$as_me: failed program was:" >&5
39310 sed 's/^/| /' conftest.$ac_ext >&5
39311
39312 cat >conftest.$ac_ext <<_ACEOF
39313 /* confdefs.h. */
39314 _ACEOF
39315 cat confdefs.h >>conftest.$ac_ext
39316 cat >>conftest.$ac_ext <<_ACEOF
39317 /* end confdefs.h. */
39318 #include <netdb.h>
39319 int
39320 main ()
39321 {
39322
39323 char *name;
39324 char *proto;
39325 struct servent *se;
39326 char buffer[2048];
39327 int buflen = 2048;
39328 (void) getservbyname_r(name, proto, se, buffer, buflen)
39329
39330 ;
39331 return 0;
39332 }
39333 _ACEOF
39334 rm -f conftest.$ac_objext
39335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39336 (eval $ac_compile) 2>conftest.er1
39337 ac_status=$?
39338 grep -v '^ *+' conftest.er1 >conftest.err
39339 rm -f conftest.er1
39340 cat conftest.err >&5
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); } &&
39343 { ac_try='test -z "$ac_cxx_werror_flag"
39344 || test ! -s conftest.err'
39345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39346 (eval $ac_try) 2>&5
39347 ac_status=$?
39348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39349 (exit $ac_status); }; } &&
39350 { ac_try='test -s conftest.$ac_objext'
39351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39352 (eval $ac_try) 2>&5
39353 ac_status=$?
39354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39355 (exit $ac_status); }; }; then
39356 ac_cv_func_which_getservbyname_r=five
39357 else
39358 echo "$as_me: failed program was:" >&5
39359 sed 's/^/| /' conftest.$ac_ext >&5
39360
39361 ac_cv_func_which_getservbyname_r=no
39362
39363 fi
39364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39365
39366 fi
39367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39368
39369 fi
39370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39371 else
39372 ac_cv_func_which_getservbyname_r=no
39373 fi
39374
39375
39376 if test $ac_cv_func_which_getservbyname_r = six; then
39377 cat >>confdefs.h <<\_ACEOF
39378 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39379 _ACEOF
39380
39381 elif test $ac_cv_func_which_getservbyname_r = five; then
39382 cat >>confdefs.h <<\_ACEOF
39383 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39384 _ACEOF
39385
39386 elif test $ac_cv_func_which_getservbyname_r = four; then
39387 cat >>confdefs.h <<\_ACEOF
39388 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39389 _ACEOF
39390
39391 fi
39392
39393
39394 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39395 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39396
39397 for ac_func in getservbyname
39398 do
39399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39400 echo "$as_me:$LINENO: checking for $ac_func" >&5
39401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39402 if eval "test \"\${$as_ac_var+set}\" = set"; then
39403 echo $ECHO_N "(cached) $ECHO_C" >&6
39404 else
39405 cat >conftest.$ac_ext <<_ACEOF
39406 /* confdefs.h. */
39407 _ACEOF
39408 cat confdefs.h >>conftest.$ac_ext
39409 cat >>conftest.$ac_ext <<_ACEOF
39410 /* end confdefs.h. */
39411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39413 #define $ac_func innocuous_$ac_func
39414
39415 /* System header to define __stub macros and hopefully few prototypes,
39416 which can conflict with char $ac_func (); below.
39417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39418 <limits.h> exists even on freestanding compilers. */
39419
39420 #ifdef __STDC__
39421 # include <limits.h>
39422 #else
39423 # include <assert.h>
39424 #endif
39425
39426 #undef $ac_func
39427
39428 /* Override any gcc2 internal prototype to avoid an error. */
39429 #ifdef __cplusplus
39430 extern "C"
39431 {
39432 #endif
39433 /* We use char because int might match the return type of a gcc2
39434 builtin and then its argument prototype would still apply. */
39435 char $ac_func ();
39436 /* The GNU C library defines this for functions which it implements
39437 to always fail with ENOSYS. Some functions are actually named
39438 something starting with __ and the normal name is an alias. */
39439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39440 choke me
39441 #else
39442 char (*f) () = $ac_func;
39443 #endif
39444 #ifdef __cplusplus
39445 }
39446 #endif
39447
39448 int
39449 main ()
39450 {
39451 return f != $ac_func;
39452 ;
39453 return 0;
39454 }
39455 _ACEOF
39456 rm -f conftest.$ac_objext conftest$ac_exeext
39457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39458 (eval $ac_link) 2>conftest.er1
39459 ac_status=$?
39460 grep -v '^ *+' conftest.er1 >conftest.err
39461 rm -f conftest.er1
39462 cat conftest.err >&5
39463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464 (exit $ac_status); } &&
39465 { ac_try='test -z "$ac_cxx_werror_flag"
39466 || test ! -s conftest.err'
39467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39468 (eval $ac_try) 2>&5
39469 ac_status=$?
39470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39471 (exit $ac_status); }; } &&
39472 { ac_try='test -s conftest$ac_exeext'
39473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39474 (eval $ac_try) 2>&5
39475 ac_status=$?
39476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39477 (exit $ac_status); }; }; then
39478 eval "$as_ac_var=yes"
39479 else
39480 echo "$as_me: failed program was:" >&5
39481 sed 's/^/| /' conftest.$ac_ext >&5
39482
39483 eval "$as_ac_var=no"
39484 fi
39485 rm -f conftest.err conftest.$ac_objext \
39486 conftest$ac_exeext conftest.$ac_ext
39487 fi
39488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39490 if test `eval echo '${'$as_ac_var'}'` = yes; then
39491 cat >>confdefs.h <<_ACEOF
39492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39493 _ACEOF
39494 cat >>confdefs.h <<\_ACEOF
39495 #define HAVE_GETSERVBYNAME 1
39496 _ACEOF
39497
39498 fi
39499 done
39500
39501 fi
39502 ac_ext=c
39503 ac_cpp='$CPP $CPPFLAGS'
39504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39507
39508
39509 if test "$wxUSE_THREADS" = "yes"; then
39510 cat >>confdefs.h <<\_ACEOF
39511 #define wxUSE_THREADS 1
39512 _ACEOF
39513
39514
39515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
39516 else
39517 if test "$ac_cv_func_strtok_r" = "yes"; then
39518 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39519 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39520 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39521 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39522 echo "$as_me:$LINENO: result: yes" >&5
39523 echo "${ECHO_T}yes" >&6
39524 else
39525 echo "$as_me:$LINENO: result: no" >&5
39526 echo "${ECHO_T}no" >&6
39527 fi
39528 fi
39529 fi
39530
39531 if test "$WXGTK20" = 1 ; then
39532 cat >>confdefs.h <<_ACEOF
39533 #define __WXGTK20__ $WXGTK20
39534 _ACEOF
39535
39536 WXGTK12=1
39537 fi
39538
39539 if test "$WXGTK12" = 1 ; then
39540 cat >>confdefs.h <<_ACEOF
39541 #define __WXGTK12__ $WXGTK12
39542 _ACEOF
39543
39544 fi
39545
39546 if test "$WXGTK127" = 1 ; then
39547 cat >>confdefs.h <<_ACEOF
39548 #define __WXGTK127__ $WXGTK127
39549 _ACEOF
39550
39551 fi
39552
39553 if test "$WXGPE" = 1 ; then
39554 cat >>confdefs.h <<_ACEOF
39555 #define __WXGPE__ $WXGPE
39556 _ACEOF
39557
39558 fi
39559
39560 DEBUG_CFLAGS=
39561 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39562 DEBUG_CFLAGS="-g"
39563 wxUSE_OPTIMISE=no
39564 fi
39565
39566 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39567 wxUSE_DEBUG_INFO=yes
39568 if test "$GCC" = yes; then
39569 DEBUG_CFLAGS="-ggdb"
39570 fi
39571 fi
39572
39573 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39574 cat >>confdefs.h <<\_ACEOF
39575 #define WXDEBUG 1
39576 _ACEOF
39577
39578 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39579 else
39580 if test "$wxUSE_GTK" = 1 ; then
39581 if test "x$wxGTK_VERSION" = "x1" ; then
39582 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39583 fi
39584 fi
39585 fi
39586
39587 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39588 cat >>confdefs.h <<\_ACEOF
39589 #define wxUSE_MEMORY_TRACING 1
39590 _ACEOF
39591
39592 cat >>confdefs.h <<\_ACEOF
39593 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39594 _ACEOF
39595
39596 cat >>confdefs.h <<\_ACEOF
39597 #define wxUSE_DEBUG_NEW_ALWAYS 1
39598 _ACEOF
39599
39600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
39601 fi
39602
39603 if test "$wxUSE_DMALLOC" = "yes" ; then
39604 DMALLOC_LIBS="-ldmallocthcxx"
39605 fi
39606
39607 PROFILE_FLAGS=
39608 if test "$wxUSE_PROFILE" = "yes" ; then
39609 PROFILE_FLAGS=" -pg"
39610 fi
39611
39612 if test "$GCC" = "yes" ; then
39613 if test "$wxUSE_NO_RTTI" = "yes" ; then
39614 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
39615 fi
39616 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39617 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
39618 fi
39619 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39620 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
39621 fi
39622
39623 case "${host}" in
39624 powerpc*-*-aix* )
39625 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
39626 ;;
39627 *-hppa* )
39628 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
39629 ;;
39630 esac
39631 fi
39632
39633 OPTIMISE_CFLAGS=
39634 if test "$wxUSE_OPTIMISE" = "no" ; then
39635 if test "$GCC" = yes ; then
39636 OPTIMISE_CFLAGS="-O0"
39637 fi
39638 else
39639 if test "$GCC" = yes ; then
39640 OPTIMISE_CFLAGS="-O2"
39641 else
39642 OPTIMISE_CFLAGS="-O"
39643 fi
39644 fi
39645
39646
39647 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39648 cat >>confdefs.h <<\_ACEOF
39649 #define WXWIN_COMPATIBILITY_2_4 1
39650 _ACEOF
39651
39652
39653 WXWIN_COMPATIBILITY_2_6="yes"
39654 fi
39655
39656 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39657 cat >>confdefs.h <<\_ACEOF
39658 #define WXWIN_COMPATIBILITY_2_6 1
39659 _ACEOF
39660
39661 fi
39662
39663
39664 if test "$wxUSE_GUI" = "yes"; then
39665 cat >>confdefs.h <<\_ACEOF
39666 #define wxUSE_GUI 1
39667 _ACEOF
39668
39669
39670 fi
39671
39672
39673 if test "$wxUSE_UNIX" = "yes"; then
39674 cat >>confdefs.h <<\_ACEOF
39675 #define wxUSE_UNIX 1
39676 _ACEOF
39677
39678 fi
39679
39680
39681 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39682
39683 HAVE_DL_FUNCS=0
39684 HAVE_SHL_FUNCS=0
39685 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39686 if test "$USE_DARWIN" = 1; then
39687 HAVE_DL_FUNCS=1
39688 elif test "$USE_DOS" = 1; then
39689 HAVE_DL_FUNCS=0
39690 else
39691
39692 for ac_func in dlopen
39693 do
39694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39695 echo "$as_me:$LINENO: checking for $ac_func" >&5
39696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39697 if eval "test \"\${$as_ac_var+set}\" = set"; then
39698 echo $ECHO_N "(cached) $ECHO_C" >&6
39699 else
39700 cat >conftest.$ac_ext <<_ACEOF
39701 /* confdefs.h. */
39702 _ACEOF
39703 cat confdefs.h >>conftest.$ac_ext
39704 cat >>conftest.$ac_ext <<_ACEOF
39705 /* end confdefs.h. */
39706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39708 #define $ac_func innocuous_$ac_func
39709
39710 /* System header to define __stub macros and hopefully few prototypes,
39711 which can conflict with char $ac_func (); below.
39712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39713 <limits.h> exists even on freestanding compilers. */
39714
39715 #ifdef __STDC__
39716 # include <limits.h>
39717 #else
39718 # include <assert.h>
39719 #endif
39720
39721 #undef $ac_func
39722
39723 /* Override any gcc2 internal prototype to avoid an error. */
39724 #ifdef __cplusplus
39725 extern "C"
39726 {
39727 #endif
39728 /* We use char because int might match the return type of a gcc2
39729 builtin and then its argument prototype would still apply. */
39730 char $ac_func ();
39731 /* The GNU C library defines this for functions which it implements
39732 to always fail with ENOSYS. Some functions are actually named
39733 something starting with __ and the normal name is an alias. */
39734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39735 choke me
39736 #else
39737 char (*f) () = $ac_func;
39738 #endif
39739 #ifdef __cplusplus
39740 }
39741 #endif
39742
39743 int
39744 main ()
39745 {
39746 return f != $ac_func;
39747 ;
39748 return 0;
39749 }
39750 _ACEOF
39751 rm -f conftest.$ac_objext conftest$ac_exeext
39752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39753 (eval $ac_link) 2>conftest.er1
39754 ac_status=$?
39755 grep -v '^ *+' conftest.er1 >conftest.err
39756 rm -f conftest.er1
39757 cat conftest.err >&5
39758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39759 (exit $ac_status); } &&
39760 { ac_try='test -z "$ac_c_werror_flag"
39761 || test ! -s conftest.err'
39762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39763 (eval $ac_try) 2>&5
39764 ac_status=$?
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); }; } &&
39767 { ac_try='test -s conftest$ac_exeext'
39768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39769 (eval $ac_try) 2>&5
39770 ac_status=$?
39771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772 (exit $ac_status); }; }; then
39773 eval "$as_ac_var=yes"
39774 else
39775 echo "$as_me: failed program was:" >&5
39776 sed 's/^/| /' conftest.$ac_ext >&5
39777
39778 eval "$as_ac_var=no"
39779 fi
39780 rm -f conftest.err conftest.$ac_objext \
39781 conftest$ac_exeext conftest.$ac_ext
39782 fi
39783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39785 if test `eval echo '${'$as_ac_var'}'` = yes; then
39786 cat >>confdefs.h <<_ACEOF
39787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39788 _ACEOF
39789
39790 cat >>confdefs.h <<\_ACEOF
39791 #define HAVE_DLOPEN 1
39792 _ACEOF
39793
39794 HAVE_DL_FUNCS=1
39795
39796 else
39797
39798 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39799 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39800 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39801 echo $ECHO_N "(cached) $ECHO_C" >&6
39802 else
39803 ac_check_lib_save_LIBS=$LIBS
39804 LIBS="-ldl $LIBS"
39805 cat >conftest.$ac_ext <<_ACEOF
39806 /* confdefs.h. */
39807 _ACEOF
39808 cat confdefs.h >>conftest.$ac_ext
39809 cat >>conftest.$ac_ext <<_ACEOF
39810 /* end confdefs.h. */
39811
39812 /* Override any gcc2 internal prototype to avoid an error. */
39813 #ifdef __cplusplus
39814 extern "C"
39815 #endif
39816 /* We use char because int might match the return type of a gcc2
39817 builtin and then its argument prototype would still apply. */
39818 char dlopen ();
39819 int
39820 main ()
39821 {
39822 dlopen ();
39823 ;
39824 return 0;
39825 }
39826 _ACEOF
39827 rm -f conftest.$ac_objext conftest$ac_exeext
39828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39829 (eval $ac_link) 2>conftest.er1
39830 ac_status=$?
39831 grep -v '^ *+' conftest.er1 >conftest.err
39832 rm -f conftest.er1
39833 cat conftest.err >&5
39834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39835 (exit $ac_status); } &&
39836 { ac_try='test -z "$ac_c_werror_flag"
39837 || test ! -s conftest.err'
39838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39839 (eval $ac_try) 2>&5
39840 ac_status=$?
39841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39842 (exit $ac_status); }; } &&
39843 { ac_try='test -s conftest$ac_exeext'
39844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39845 (eval $ac_try) 2>&5
39846 ac_status=$?
39847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848 (exit $ac_status); }; }; then
39849 ac_cv_lib_dl_dlopen=yes
39850 else
39851 echo "$as_me: failed program was:" >&5
39852 sed 's/^/| /' conftest.$ac_ext >&5
39853
39854 ac_cv_lib_dl_dlopen=no
39855 fi
39856 rm -f conftest.err conftest.$ac_objext \
39857 conftest$ac_exeext conftest.$ac_ext
39858 LIBS=$ac_check_lib_save_LIBS
39859 fi
39860 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
39861 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
39862 if test $ac_cv_lib_dl_dlopen = yes; then
39863
39864 cat >>confdefs.h <<\_ACEOF
39865 #define HAVE_DLOPEN 1
39866 _ACEOF
39867
39868 HAVE_DL_FUNCS=1
39869 DL_LINK=" -ldl$DL_LINK"
39870
39871 else
39872
39873
39874 for ac_func in shl_load
39875 do
39876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39877 echo "$as_me:$LINENO: checking for $ac_func" >&5
39878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39879 if eval "test \"\${$as_ac_var+set}\" = set"; then
39880 echo $ECHO_N "(cached) $ECHO_C" >&6
39881 else
39882 cat >conftest.$ac_ext <<_ACEOF
39883 /* confdefs.h. */
39884 _ACEOF
39885 cat confdefs.h >>conftest.$ac_ext
39886 cat >>conftest.$ac_ext <<_ACEOF
39887 /* end confdefs.h. */
39888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39890 #define $ac_func innocuous_$ac_func
39891
39892 /* System header to define __stub macros and hopefully few prototypes,
39893 which can conflict with char $ac_func (); below.
39894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39895 <limits.h> exists even on freestanding compilers. */
39896
39897 #ifdef __STDC__
39898 # include <limits.h>
39899 #else
39900 # include <assert.h>
39901 #endif
39902
39903 #undef $ac_func
39904
39905 /* Override any gcc2 internal prototype to avoid an error. */
39906 #ifdef __cplusplus
39907 extern "C"
39908 {
39909 #endif
39910 /* We use char because int might match the return type of a gcc2
39911 builtin and then its argument prototype would still apply. */
39912 char $ac_func ();
39913 /* The GNU C library defines this for functions which it implements
39914 to always fail with ENOSYS. Some functions are actually named
39915 something starting with __ and the normal name is an alias. */
39916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39917 choke me
39918 #else
39919 char (*f) () = $ac_func;
39920 #endif
39921 #ifdef __cplusplus
39922 }
39923 #endif
39924
39925 int
39926 main ()
39927 {
39928 return f != $ac_func;
39929 ;
39930 return 0;
39931 }
39932 _ACEOF
39933 rm -f conftest.$ac_objext conftest$ac_exeext
39934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39935 (eval $ac_link) 2>conftest.er1
39936 ac_status=$?
39937 grep -v '^ *+' conftest.er1 >conftest.err
39938 rm -f conftest.er1
39939 cat conftest.err >&5
39940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941 (exit $ac_status); } &&
39942 { ac_try='test -z "$ac_c_werror_flag"
39943 || test ! -s conftest.err'
39944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39945 (eval $ac_try) 2>&5
39946 ac_status=$?
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); }; } &&
39949 { ac_try='test -s conftest$ac_exeext'
39950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39951 (eval $ac_try) 2>&5
39952 ac_status=$?
39953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39954 (exit $ac_status); }; }; then
39955 eval "$as_ac_var=yes"
39956 else
39957 echo "$as_me: failed program was:" >&5
39958 sed 's/^/| /' conftest.$ac_ext >&5
39959
39960 eval "$as_ac_var=no"
39961 fi
39962 rm -f conftest.err conftest.$ac_objext \
39963 conftest$ac_exeext conftest.$ac_ext
39964 fi
39965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39967 if test `eval echo '${'$as_ac_var'}'` = yes; then
39968 cat >>confdefs.h <<_ACEOF
39969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39970 _ACEOF
39971
39972 cat >>confdefs.h <<\_ACEOF
39973 #define HAVE_SHL_LOAD 1
39974 _ACEOF
39975
39976 HAVE_SHL_FUNCS=1
39977
39978 else
39979
39980 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
39981 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
39982 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
39983 echo $ECHO_N "(cached) $ECHO_C" >&6
39984 else
39985 ac_check_lib_save_LIBS=$LIBS
39986 LIBS="-lshl_load $LIBS"
39987 cat >conftest.$ac_ext <<_ACEOF
39988 /* confdefs.h. */
39989 _ACEOF
39990 cat confdefs.h >>conftest.$ac_ext
39991 cat >>conftest.$ac_ext <<_ACEOF
39992 /* end confdefs.h. */
39993
39994 /* Override any gcc2 internal prototype to avoid an error. */
39995 #ifdef __cplusplus
39996 extern "C"
39997 #endif
39998 /* We use char because int might match the return type of a gcc2
39999 builtin and then its argument prototype would still apply. */
40000 char dld ();
40001 int
40002 main ()
40003 {
40004 dld ();
40005 ;
40006 return 0;
40007 }
40008 _ACEOF
40009 rm -f conftest.$ac_objext conftest$ac_exeext
40010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40011 (eval $ac_link) 2>conftest.er1
40012 ac_status=$?
40013 grep -v '^ *+' conftest.er1 >conftest.err
40014 rm -f conftest.er1
40015 cat conftest.err >&5
40016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40017 (exit $ac_status); } &&
40018 { ac_try='test -z "$ac_c_werror_flag"
40019 || test ! -s conftest.err'
40020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40021 (eval $ac_try) 2>&5
40022 ac_status=$?
40023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024 (exit $ac_status); }; } &&
40025 { ac_try='test -s conftest$ac_exeext'
40026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40027 (eval $ac_try) 2>&5
40028 ac_status=$?
40029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40030 (exit $ac_status); }; }; then
40031 ac_cv_lib_shl_load_dld=yes
40032 else
40033 echo "$as_me: failed program was:" >&5
40034 sed 's/^/| /' conftest.$ac_ext >&5
40035
40036 ac_cv_lib_shl_load_dld=no
40037 fi
40038 rm -f conftest.err conftest.$ac_objext \
40039 conftest$ac_exeext conftest.$ac_ext
40040 LIBS=$ac_check_lib_save_LIBS
40041 fi
40042 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40043 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40044 if test $ac_cv_lib_shl_load_dld = yes; then
40045
40046 HAVE_SHL_FUNCS=1
40047 DL_LINK=" -ldld$DL_LINK"
40048
40049 fi
40050
40051
40052 fi
40053 done
40054
40055
40056 fi
40057
40058
40059 fi
40060 done
40061
40062
40063 if test "$HAVE_DL_FUNCS" = 1; then
40064
40065 for ac_func in dlerror
40066 do
40067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40068 echo "$as_me:$LINENO: checking for $ac_func" >&5
40069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40070 if eval "test \"\${$as_ac_var+set}\" = set"; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40072 else
40073 cat >conftest.$ac_ext <<_ACEOF
40074 /* confdefs.h. */
40075 _ACEOF
40076 cat confdefs.h >>conftest.$ac_ext
40077 cat >>conftest.$ac_ext <<_ACEOF
40078 /* end confdefs.h. */
40079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40081 #define $ac_func innocuous_$ac_func
40082
40083 /* System header to define __stub macros and hopefully few prototypes,
40084 which can conflict with char $ac_func (); below.
40085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40086 <limits.h> exists even on freestanding compilers. */
40087
40088 #ifdef __STDC__
40089 # include <limits.h>
40090 #else
40091 # include <assert.h>
40092 #endif
40093
40094 #undef $ac_func
40095
40096 /* Override any gcc2 internal prototype to avoid an error. */
40097 #ifdef __cplusplus
40098 extern "C"
40099 {
40100 #endif
40101 /* We use char because int might match the return type of a gcc2
40102 builtin and then its argument prototype would still apply. */
40103 char $ac_func ();
40104 /* The GNU C library defines this for functions which it implements
40105 to always fail with ENOSYS. Some functions are actually named
40106 something starting with __ and the normal name is an alias. */
40107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40108 choke me
40109 #else
40110 char (*f) () = $ac_func;
40111 #endif
40112 #ifdef __cplusplus
40113 }
40114 #endif
40115
40116 int
40117 main ()
40118 {
40119 return f != $ac_func;
40120 ;
40121 return 0;
40122 }
40123 _ACEOF
40124 rm -f conftest.$ac_objext conftest$ac_exeext
40125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40126 (eval $ac_link) 2>conftest.er1
40127 ac_status=$?
40128 grep -v '^ *+' conftest.er1 >conftest.err
40129 rm -f conftest.er1
40130 cat conftest.err >&5
40131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132 (exit $ac_status); } &&
40133 { ac_try='test -z "$ac_c_werror_flag"
40134 || test ! -s conftest.err'
40135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40136 (eval $ac_try) 2>&5
40137 ac_status=$?
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); }; } &&
40140 { ac_try='test -s conftest$ac_exeext'
40141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40142 (eval $ac_try) 2>&5
40143 ac_status=$?
40144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40145 (exit $ac_status); }; }; then
40146 eval "$as_ac_var=yes"
40147 else
40148 echo "$as_me: failed program was:" >&5
40149 sed 's/^/| /' conftest.$ac_ext >&5
40150
40151 eval "$as_ac_var=no"
40152 fi
40153 rm -f conftest.err conftest.$ac_objext \
40154 conftest$ac_exeext conftest.$ac_ext
40155 fi
40156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40158 if test `eval echo '${'$as_ac_var'}'` = yes; then
40159 cat >>confdefs.h <<_ACEOF
40160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40161 _ACEOF
40162 cat >>confdefs.h <<\_ACEOF
40163 #define HAVE_DLERROR 1
40164 _ACEOF
40165
40166 else
40167
40168 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40169 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40170 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40171 echo $ECHO_N "(cached) $ECHO_C" >&6
40172 else
40173 ac_check_lib_save_LIBS=$LIBS
40174 LIBS="-ldl $LIBS"
40175 cat >conftest.$ac_ext <<_ACEOF
40176 /* confdefs.h. */
40177 _ACEOF
40178 cat confdefs.h >>conftest.$ac_ext
40179 cat >>conftest.$ac_ext <<_ACEOF
40180 /* end confdefs.h. */
40181
40182 /* Override any gcc2 internal prototype to avoid an error. */
40183 #ifdef __cplusplus
40184 extern "C"
40185 #endif
40186 /* We use char because int might match the return type of a gcc2
40187 builtin and then its argument prototype would still apply. */
40188 char dlerror ();
40189 int
40190 main ()
40191 {
40192 dlerror ();
40193 ;
40194 return 0;
40195 }
40196 _ACEOF
40197 rm -f conftest.$ac_objext conftest$ac_exeext
40198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40199 (eval $ac_link) 2>conftest.er1
40200 ac_status=$?
40201 grep -v '^ *+' conftest.er1 >conftest.err
40202 rm -f conftest.er1
40203 cat conftest.err >&5
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); } &&
40206 { ac_try='test -z "$ac_c_werror_flag"
40207 || test ! -s conftest.err'
40208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40209 (eval $ac_try) 2>&5
40210 ac_status=$?
40211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40212 (exit $ac_status); }; } &&
40213 { ac_try='test -s conftest$ac_exeext'
40214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40215 (eval $ac_try) 2>&5
40216 ac_status=$?
40217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40218 (exit $ac_status); }; }; then
40219 ac_cv_lib_dl_dlerror=yes
40220 else
40221 echo "$as_me: failed program was:" >&5
40222 sed 's/^/| /' conftest.$ac_ext >&5
40223
40224 ac_cv_lib_dl_dlerror=no
40225 fi
40226 rm -f conftest.err conftest.$ac_objext \
40227 conftest$ac_exeext conftest.$ac_ext
40228 LIBS=$ac_check_lib_save_LIBS
40229 fi
40230 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40231 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40232 if test $ac_cv_lib_dl_dlerror = yes; then
40233 cat >>confdefs.h <<\_ACEOF
40234 #define HAVE_DLERROR 1
40235 _ACEOF
40236
40237 fi
40238
40239
40240
40241 fi
40242 done
40243
40244 fi
40245 fi
40246
40247 if test "$HAVE_DL_FUNCS" = 0; then
40248 if test "$HAVE_SHL_FUNCS" = 0; then
40249 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40250 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40251 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40252 wxUSE_DYNAMIC_LOADER=no
40253 wxUSE_DYNLIB_CLASS=no
40254 else
40255 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40256 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40257 fi
40258 fi
40259 fi
40260 fi
40261 fi
40262
40263 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40264 cat >>confdefs.h <<\_ACEOF
40265 #define wxUSE_DYNAMIC_LOADER 1
40266 _ACEOF
40267
40268 fi
40269 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40270 cat >>confdefs.h <<\_ACEOF
40271 #define wxUSE_DYNLIB_CLASS 1
40272 _ACEOF
40273
40274 fi
40275
40276
40277
40278 if test "$wxUSE_PLUGINS" = "yes" ; then
40279 if test "$wxUSE_SHARED" = "no" ; then
40280 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40281 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40282 wxUSE_PLUGINS=no
40283 fi
40284 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40285 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40286 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40287 wxUSE_PLUGINS=no
40288 fi
40289 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40290 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40291 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40292 wxUSE_PLUGINS=no
40293 fi
40294 if test "$wxUSE_PLUGINS" = "yes" ; then
40295 cat >>confdefs.h <<\_ACEOF
40296 #define wxUSE_PLUGINS 1
40297 _ACEOF
40298
40299 fi
40300 fi
40301
40302
40303 if test "$wxUSE_STL" = "yes"; then
40304 cat >>confdefs.h <<\_ACEOF
40305 #define wxUSE_STL 1
40306 _ACEOF
40307
40308 fi
40309
40310 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40311 cat >>confdefs.h <<\_ACEOF
40312 #define wxUSE_APPLE_IEEE 1
40313 _ACEOF
40314
40315 fi
40316
40317 if test "$wxUSE_TIMER" = "yes"; then
40318 cat >>confdefs.h <<\_ACEOF
40319 #define wxUSE_TIMER 1
40320 _ACEOF
40321
40322 fi
40323
40324 if test "$USE_UNIX" = "1" ; then
40325 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40326 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40327 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40328 echo $ECHO_N "(cached) $ECHO_C" >&6
40329 else
40330
40331 cat >conftest.$ac_ext <<_ACEOF
40332 /* confdefs.h. */
40333 _ACEOF
40334 cat confdefs.h >>conftest.$ac_ext
40335 cat >>conftest.$ac_ext <<_ACEOF
40336 /* end confdefs.h. */
40337
40338 #include <sys/soundcard.h>
40339
40340 int
40341 main ()
40342 {
40343
40344 ioctl(0, SNDCTL_DSP_SYNC, 0);
40345
40346 ;
40347 return 0;
40348 }
40349 _ACEOF
40350 rm -f conftest.$ac_objext conftest$ac_exeext
40351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40352 (eval $ac_link) 2>conftest.er1
40353 ac_status=$?
40354 grep -v '^ *+' conftest.er1 >conftest.err
40355 rm -f conftest.er1
40356 cat conftest.err >&5
40357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40358 (exit $ac_status); } &&
40359 { ac_try='test -z "$ac_c_werror_flag"
40360 || test ! -s conftest.err'
40361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40362 (eval $ac_try) 2>&5
40363 ac_status=$?
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); }; } &&
40366 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
40372 ac_cv_header_sys_soundcard=yes
40373 else
40374 echo "$as_me: failed program was:" >&5
40375 sed 's/^/| /' conftest.$ac_ext >&5
40376
40377
40378 saveLibs="$LIBS"
40379 LIBS="$saveLibs -lossaudio"
40380 cat >conftest.$ac_ext <<_ACEOF
40381 /* confdefs.h. */
40382 _ACEOF
40383 cat confdefs.h >>conftest.$ac_ext
40384 cat >>conftest.$ac_ext <<_ACEOF
40385 /* end confdefs.h. */
40386
40387 #include <sys/soundcard.h>
40388
40389 int
40390 main ()
40391 {
40392
40393 ioctl(0, SNDCTL_DSP_SYNC, 0);
40394
40395 ;
40396 return 0;
40397 }
40398 _ACEOF
40399 rm -f conftest.$ac_objext conftest$ac_exeext
40400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40401 (eval $ac_link) 2>conftest.er1
40402 ac_status=$?
40403 grep -v '^ *+' conftest.er1 >conftest.err
40404 rm -f conftest.er1
40405 cat conftest.err >&5
40406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40407 (exit $ac_status); } &&
40408 { ac_try='test -z "$ac_c_werror_flag"
40409 || test ! -s conftest.err'
40410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40411 (eval $ac_try) 2>&5
40412 ac_status=$?
40413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40414 (exit $ac_status); }; } &&
40415 { ac_try='test -s conftest$ac_exeext'
40416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40417 (eval $ac_try) 2>&5
40418 ac_status=$?
40419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40420 (exit $ac_status); }; }; then
40421 ac_cv_header_sys_soundcard=yes
40422 else
40423 echo "$as_me: failed program was:" >&5
40424 sed 's/^/| /' conftest.$ac_ext >&5
40425
40426
40427 LIBS="$saveLibs"
40428 ac_cv_header_sys_soundcard=no
40429
40430
40431 fi
40432 rm -f conftest.err conftest.$ac_objext \
40433 conftest$ac_exeext conftest.$ac_ext
40434
40435
40436 fi
40437 rm -f conftest.err conftest.$ac_objext \
40438 conftest$ac_exeext conftest.$ac_ext
40439
40440 fi
40441 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40442 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40443
40444 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40445 cat >>confdefs.h <<\_ACEOF
40446 #define HAVE_SYS_SOUNDCARD_H 1
40447 _ACEOF
40448
40449 else
40450 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
40451 fi
40452 fi
40453 WITH_PLUGIN_SDL=0
40454 if test "$wxUSE_SOUND" = "yes"; then
40455 if test "$USE_UNIX" = "1" ; then
40456 if test "$wxUSE_LIBSDL" != "no"; then
40457
40458 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40459 if test "${with_sdl_prefix+set}" = set; then
40460 withval="$with_sdl_prefix"
40461 sdl_prefix="$withval"
40462 else
40463 sdl_prefix=""
40464 fi;
40465
40466 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40467 if test "${with_sdl_exec_prefix+set}" = set; then
40468 withval="$with_sdl_exec_prefix"
40469 sdl_exec_prefix="$withval"
40470 else
40471 sdl_exec_prefix=""
40472 fi;
40473 # Check whether --enable-sdltest or --disable-sdltest was given.
40474 if test "${enable_sdltest+set}" = set; then
40475 enableval="$enable_sdltest"
40476
40477 else
40478 enable_sdltest=yes
40479 fi;
40480
40481 if test x$sdl_exec_prefix != x ; then
40482 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40483 if test x${SDL_CONFIG+set} != xset ; then
40484 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40485 fi
40486 fi
40487 if test x$sdl_prefix != x ; then
40488 sdl_args="$sdl_args --prefix=$sdl_prefix"
40489 if test x${SDL_CONFIG+set} != xset ; then
40490 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40491 fi
40492 fi
40493
40494
40495 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
40496 # Extract the first word of "sdl-config", so it can be a program name with args.
40497 set dummy sdl-config; ac_word=$2
40498 echo "$as_me:$LINENO: checking for $ac_word" >&5
40499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40500 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40501 echo $ECHO_N "(cached) $ECHO_C" >&6
40502 else
40503 case $SDL_CONFIG in
40504 [\\/]* | ?:[\\/]*)
40505 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40506 ;;
40507 *)
40508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40509 for as_dir in $PATH
40510 do
40511 IFS=$as_save_IFS
40512 test -z "$as_dir" && as_dir=.
40513 for ac_exec_ext in '' $ac_executable_extensions; do
40514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40515 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40517 break 2
40518 fi
40519 done
40520 done
40521
40522 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
40523 ;;
40524 esac
40525 fi
40526 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
40527
40528 if test -n "$SDL_CONFIG"; then
40529 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40530 echo "${ECHO_T}$SDL_CONFIG" >&6
40531 else
40532 echo "$as_me:$LINENO: result: no" >&5
40533 echo "${ECHO_T}no" >&6
40534 fi
40535
40536 min_sdl_version=1.2.0
40537 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40538 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40539 no_sdl=""
40540 if test "$SDL_CONFIG" = "no" ; then
40541 no_sdl=yes
40542 else
40543 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
40544 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
40545
40546 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
40547 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40548 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
40549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40550 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
40551 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40552 if test "x$enable_sdltest" = "xyes" ; then
40553 ac_save_CFLAGS="$CFLAGS"
40554 ac_save_CXXFLAGS="$CXXFLAGS"
40555 ac_save_LIBS="$LIBS"
40556 CFLAGS="$CFLAGS $SDL_CFLAGS"
40557 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
40558 LIBS="$LIBS $SDL_LIBS"
40559 rm -f conf.sdltest
40560 if test "$cross_compiling" = yes; then
40561 echo $ac_n "cross compiling; assumed OK... $ac_c"
40562 else
40563 cat >conftest.$ac_ext <<_ACEOF
40564 /* confdefs.h. */
40565 _ACEOF
40566 cat confdefs.h >>conftest.$ac_ext
40567 cat >>conftest.$ac_ext <<_ACEOF
40568 /* end confdefs.h. */
40569
40570 #include <stdio.h>
40571 #include <stdlib.h>
40572 #include <string.h>
40573 #include "SDL.h"
40574
40575 char*
40576 my_strdup (char *str)
40577 {
40578 char *new_str;
40579
40580 if (str)
40581 {
40582 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40583 strcpy (new_str, str);
40584 }
40585 else
40586 new_str = NULL;
40587
40588 return new_str;
40589 }
40590
40591 int main (int argc, char *argv[])
40592 {
40593 int major, minor, micro;
40594 char *tmp_version;
40595
40596 /* This hangs on some systems (?)
40597 system ("touch conf.sdltest");
40598 */
40599 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40600
40601 /* HP/UX 9 (%@#!) writes to sscanf strings */
40602 tmp_version = my_strdup("$min_sdl_version");
40603 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
40604 printf("%s, bad version string\n", "$min_sdl_version");
40605 exit(1);
40606 }
40607
40608 if (($sdl_major_version > major) ||
40609 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40610 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40611 {
40612 return 0;
40613 }
40614 else
40615 {
40616 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40617 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40618 printf("*** best to upgrade to the required version.\n");
40619 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40620 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40621 printf("*** config.cache before re-running configure\n");
40622 return 1;
40623 }
40624 }
40625
40626
40627 _ACEOF
40628 rm -f conftest$ac_exeext
40629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40630 (eval $ac_link) 2>&5
40631 ac_status=$?
40632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40635 (eval $ac_try) 2>&5
40636 ac_status=$?
40637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40638 (exit $ac_status); }; }; then
40639 :
40640 else
40641 echo "$as_me: program exited with status $ac_status" >&5
40642 echo "$as_me: failed program was:" >&5
40643 sed 's/^/| /' conftest.$ac_ext >&5
40644
40645 ( exit $ac_status )
40646 no_sdl=yes
40647 fi
40648 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40649 fi
40650 CFLAGS="$ac_save_CFLAGS"
40651 CXXFLAGS="$ac_save_CXXFLAGS"
40652 LIBS="$ac_save_LIBS"
40653 fi
40654 fi
40655 if test "x$no_sdl" = x ; then
40656 echo "$as_me:$LINENO: result: yes" >&5
40657 echo "${ECHO_T}yes" >&6
40658
40659 EXTRALIBS_SDL="$SDL_LIBS"
40660 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
40661 cat >>confdefs.h <<\_ACEOF
40662 #define wxUSE_LIBSDL 1
40663 _ACEOF
40664
40665
40666 else
40667 echo "$as_me:$LINENO: result: no" >&5
40668 echo "${ECHO_T}no" >&6
40669 if test "$SDL_CONFIG" = "no" ; then
40670 echo "*** The sdl-config script installed by SDL could not be found"
40671 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40672 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40673 echo "*** full path to sdl-config."
40674 else
40675 if test -f conf.sdltest ; then
40676 :
40677 else
40678 echo "*** Could not run SDL test program, checking why..."
40679 CFLAGS="$CFLAGS $SDL_CFLAGS"
40680 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
40681 LIBS="$LIBS $SDL_LIBS"
40682 cat >conftest.$ac_ext <<_ACEOF
40683 /* confdefs.h. */
40684 _ACEOF
40685 cat confdefs.h >>conftest.$ac_ext
40686 cat >>conftest.$ac_ext <<_ACEOF
40687 /* end confdefs.h. */
40688
40689 #include <stdio.h>
40690 #include "SDL.h"
40691
40692 int main(int argc, char *argv[])
40693 { return 0; }
40694 #undef main
40695 #define main K_and_R_C_main
40696
40697 int
40698 main ()
40699 {
40700 return 0;
40701 ;
40702 return 0;
40703 }
40704 _ACEOF
40705 rm -f conftest.$ac_objext conftest$ac_exeext
40706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40707 (eval $ac_link) 2>conftest.er1
40708 ac_status=$?
40709 grep -v '^ *+' conftest.er1 >conftest.err
40710 rm -f conftest.er1
40711 cat conftest.err >&5
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); } &&
40714 { ac_try='test -z "$ac_c_werror_flag"
40715 || test ! -s conftest.err'
40716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40717 (eval $ac_try) 2>&5
40718 ac_status=$?
40719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40720 (exit $ac_status); }; } &&
40721 { ac_try='test -s conftest$ac_exeext'
40722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40723 (eval $ac_try) 2>&5
40724 ac_status=$?
40725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726 (exit $ac_status); }; }; then
40727 echo "*** The test program compiled, but did not run. This usually means"
40728 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40729 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40730 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40731 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40732 echo "*** is required on your system"
40733 echo "***"
40734 echo "*** If you have an old version installed, it is best to remove it, although"
40735 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40736 else
40737 echo "$as_me: failed program was:" >&5
40738 sed 's/^/| /' conftest.$ac_ext >&5
40739
40740 echo "*** The test program failed to compile or link. See the file config.log for the"
40741 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40742 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40743 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40744 fi
40745 rm -f conftest.err conftest.$ac_objext \
40746 conftest$ac_exeext conftest.$ac_ext
40747 CFLAGS="$ac_save_CFLAGS"
40748 CXXFLAGS="$ac_save_CXXFLAGS"
40749 LIBS="$ac_save_LIBS"
40750 fi
40751 fi
40752 SDL_CFLAGS=""
40753 SDL_LIBS=""
40754 wxUSE_LIBSDL="no"
40755 fi
40756
40757
40758 rm -f conf.sdltest
40759
40760 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40761 WITH_PLUGIN_SDL=1
40762 fi
40763 fi
40764 fi
40765
40766 cat >>confdefs.h <<\_ACEOF
40767 #define wxUSE_SOUND 1
40768 _ACEOF
40769
40770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
40771 fi
40772
40773 if test "$WXGTK20" = 1; then
40774 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40775 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40776
40777
40778 succeeded=no
40779
40780 if test -z "$PKG_CONFIG"; then
40781 # Extract the first word of "pkg-config", so it can be a program name with args.
40782 set dummy pkg-config; ac_word=$2
40783 echo "$as_me:$LINENO: checking for $ac_word" >&5
40784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40785 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40786 echo $ECHO_N "(cached) $ECHO_C" >&6
40787 else
40788 case $PKG_CONFIG in
40789 [\\/]* | ?:[\\/]*)
40790 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40791 ;;
40792 *)
40793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40794 for as_dir in $PATH
40795 do
40796 IFS=$as_save_IFS
40797 test -z "$as_dir" && as_dir=.
40798 for ac_exec_ext in '' $ac_executable_extensions; do
40799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40800 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40802 break 2
40803 fi
40804 done
40805 done
40806
40807 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40808 ;;
40809 esac
40810 fi
40811 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40812
40813 if test -n "$PKG_CONFIG"; then
40814 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40815 echo "${ECHO_T}$PKG_CONFIG" >&6
40816 else
40817 echo "$as_me:$LINENO: result: no" >&5
40818 echo "${ECHO_T}no" >&6
40819 fi
40820
40821 fi
40822
40823 if test "$PKG_CONFIG" = "no" ; then
40824 echo "*** The pkg-config script could not be found. Make sure it is"
40825 echo "*** in your path, or set the PKG_CONFIG environment variable"
40826 echo "*** to the full path to pkg-config."
40827 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40828 else
40829 PKG_CONFIG_MIN_VERSION=0.9.0
40830 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40831 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40832 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40833
40834 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40835 echo "$as_me:$LINENO: result: yes" >&5
40836 echo "${ECHO_T}yes" >&6
40837 succeeded=yes
40838
40839 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40840 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40841 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40842 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40843 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40844
40845 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40846 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40847 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40848 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40849 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40850 else
40851 LIBGNOMEPRINTUI_CFLAGS=""
40852 LIBGNOMEPRINTUI_LIBS=""
40853 ## If we have a custom action on failure, don't print errors, but
40854 ## do set a variable so people can do so.
40855 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40856
40857 fi
40858
40859
40860
40861 else
40862 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40863 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40864 fi
40865 fi
40866
40867 if test $succeeded = yes; then
40868
40869 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
40870 cat >>confdefs.h <<\_ACEOF
40871 #define wxUSE_LIBGNOMEPRINT 1
40872 _ACEOF
40873
40874
40875 else
40876
40877 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
40878 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
40879 wxUSE_LIBGNOMEPRINT="no"
40880
40881
40882 fi
40883
40884 fi
40885 fi
40886 fi
40887
40888 if test "$WXGTK20" = 1; then
40889 if test "$wxUSE_LIBHILDON" = "yes" ; then
40890
40891 succeeded=no
40892
40893 if test -z "$PKG_CONFIG"; then
40894 # Extract the first word of "pkg-config", so it can be a program name with args.
40895 set dummy pkg-config; ac_word=$2
40896 echo "$as_me:$LINENO: checking for $ac_word" >&5
40897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40898 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40899 echo $ECHO_N "(cached) $ECHO_C" >&6
40900 else
40901 case $PKG_CONFIG in
40902 [\\/]* | ?:[\\/]*)
40903 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40904 ;;
40905 *)
40906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40907 for as_dir in $PATH
40908 do
40909 IFS=$as_save_IFS
40910 test -z "$as_dir" && as_dir=.
40911 for ac_exec_ext in '' $ac_executable_extensions; do
40912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40913 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40915 break 2
40916 fi
40917 done
40918 done
40919
40920 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40921 ;;
40922 esac
40923 fi
40924 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40925
40926 if test -n "$PKG_CONFIG"; then
40927 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40928 echo "${ECHO_T}$PKG_CONFIG" >&6
40929 else
40930 echo "$as_me:$LINENO: result: no" >&5
40931 echo "${ECHO_T}no" >&6
40932 fi
40933
40934 fi
40935
40936 if test "$PKG_CONFIG" = "no" ; then
40937 echo "*** The pkg-config script could not be found. Make sure it is"
40938 echo "*** in your path, or set the PKG_CONFIG environment variable"
40939 echo "*** to the full path to pkg-config."
40940 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40941 else
40942 PKG_CONFIG_MIN_VERSION=0.9.0
40943 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40944 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
40945 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
40946
40947 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
40948 echo "$as_me:$LINENO: result: yes" >&5
40949 echo "${ECHO_T}yes" >&6
40950 succeeded=yes
40951
40952 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
40953 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
40954 HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
40955 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
40956 echo "${ECHO_T}$HILDON_CFLAGS" >&6
40957
40958 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
40959 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
40960 HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
40961 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
40962 echo "${ECHO_T}$HILDON_LIBS" >&6
40963 else
40964 HILDON_CFLAGS=""
40965 HILDON_LIBS=""
40966 ## If we have a custom action on failure, don't print errors, but
40967 ## do set a variable so people can do so.
40968 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
40969
40970 fi
40971
40972
40973
40974 else
40975 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40976 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40977 fi
40978 fi
40979
40980 if test $succeeded = yes; then
40981
40982 EXTRALIBS_HILDON="$HILDON_LIBS"
40983 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
40984 cat >>confdefs.h <<\_ACEOF
40985 #define wxUSE_LIBHILDON 1
40986 _ACEOF
40987
40988
40989 else
40990
40991 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
40992 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
40993 wxUSE_LIBHILDON="no"
40994
40995
40996 fi
40997
40998 fi
40999 fi
41000
41001 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41002 cat >>confdefs.h <<\_ACEOF
41003 #define wxUSE_CMDLINE_PARSER 1
41004 _ACEOF
41005
41006 fi
41007
41008 if test "$wxUSE_STOPWATCH" = "yes"; then
41009 cat >>confdefs.h <<\_ACEOF
41010 #define wxUSE_STOPWATCH 1
41011 _ACEOF
41012
41013 fi
41014
41015 if test "$wxUSE_DATETIME" = "yes"; then
41016 cat >>confdefs.h <<\_ACEOF
41017 #define wxUSE_DATETIME 1
41018 _ACEOF
41019
41020 fi
41021
41022 if test "$wxUSE_FILE" = "yes"; then
41023 cat >>confdefs.h <<\_ACEOF
41024 #define wxUSE_FILE 1
41025 _ACEOF
41026
41027 fi
41028
41029 if test "$wxUSE_FFILE" = "yes"; then
41030 cat >>confdefs.h <<\_ACEOF
41031 #define wxUSE_FFILE 1
41032 _ACEOF
41033
41034 fi
41035
41036 if test "$wxUSE_FILESYSTEM" = "yes"; then
41037 cat >>confdefs.h <<\_ACEOF
41038 #define wxUSE_FILESYSTEM 1
41039 _ACEOF
41040
41041 fi
41042
41043 if test "$wxUSE_FS_ZIP" = "yes"; then
41044 cat >>confdefs.h <<\_ACEOF
41045 #define wxUSE_FS_ZIP 1
41046 _ACEOF
41047
41048 fi
41049
41050 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41051 cat >>confdefs.h <<\_ACEOF
41052 #define wxUSE_ARCHIVE_STREAMS 1
41053 _ACEOF
41054
41055 fi
41056
41057 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41058 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41059 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41060 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41061 elif test "$wxUSE_ZLIB" = "no"; then
41062 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41063 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41064 else
41065 cat >>confdefs.h <<\_ACEOF
41066 #define wxUSE_ZIPSTREAM 1
41067 _ACEOF
41068
41069 fi
41070 fi
41071
41072 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41073 if test "$USE_UNIX" != 1; then
41074 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41075 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41076 wxUSE_ON_FATAL_EXCEPTION=no
41077 else
41078 cat >>confdefs.h <<\_ACEOF
41079 #define wxUSE_ON_FATAL_EXCEPTION 1
41080 _ACEOF
41081
41082 fi
41083 fi
41084
41085 if test "$wxUSE_STACKWALKER" = "yes"; then
41086 cat >>confdefs.h <<\_ACEOF
41087 #define wxUSE_STACKWALKER 1
41088 _ACEOF
41089
41090 fi
41091
41092 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41093 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41094 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41095 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41096 wxUSE_DEBUGREPORT=no
41097 else
41098 cat >>confdefs.h <<\_ACEOF
41099 #define wxUSE_DEBUGREPORT 1
41100 _ACEOF
41101
41102 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41104 fi
41105 fi
41106 fi
41107
41108 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41109 cat >>confdefs.h <<\_ACEOF
41110 #define wxUSE_SNGLINST_CHECKER 1
41111 _ACEOF
41112
41113 fi
41114
41115 if test "$wxUSE_BUSYINFO" = "yes"; then
41116 cat >>confdefs.h <<\_ACEOF
41117 #define wxUSE_BUSYINFO 1
41118 _ACEOF
41119
41120 fi
41121
41122 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41123 cat >>confdefs.h <<\_ACEOF
41124 #define wxUSE_STD_IOSTREAM 1
41125 _ACEOF
41126
41127 fi
41128
41129 if test "$wxUSE_STD_STRING" = "yes"; then
41130 cat >>confdefs.h <<\_ACEOF
41131 #define wxUSE_STD_STRING 1
41132 _ACEOF
41133
41134 fi
41135
41136 if test "$wxUSE_STDPATHS" = "yes"; then
41137 cat >>confdefs.h <<\_ACEOF
41138 #define wxUSE_STDPATHS 1
41139 _ACEOF
41140
41141 fi
41142
41143 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41144 cat >>confdefs.h <<\_ACEOF
41145 #define wxUSE_TEXTBUFFER 1
41146 _ACEOF
41147
41148 fi
41149
41150 if test "$wxUSE_TEXTFILE" = "yes"; then
41151 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41152 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41153 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41154 else
41155 cat >>confdefs.h <<\_ACEOF
41156 #define wxUSE_TEXTFILE 1
41157 _ACEOF
41158
41159 fi
41160 fi
41161
41162 if test "$wxUSE_CONFIG" = "yes" ; then
41163 if test "$wxUSE_TEXTFILE" != "yes"; then
41164 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41165 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41166 else
41167 cat >>confdefs.h <<\_ACEOF
41168 #define wxUSE_CONFIG 1
41169 _ACEOF
41170
41171 cat >>confdefs.h <<\_ACEOF
41172 #define wxUSE_CONFIG_NATIVE 1
41173 _ACEOF
41174
41175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41176 fi
41177 fi
41178
41179 if test "$wxUSE_INTL" = "yes" ; then
41180 if test "$wxUSE_FILE" != "yes"; then
41181 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41182 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41183 else
41184 cat >>confdefs.h <<\_ACEOF
41185 #define wxUSE_INTL 1
41186 _ACEOF
41187
41188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41189 GUIDIST="$GUIDIST INTL_DIST"
41190 fi
41191 fi
41192
41193 if test "$wxUSE_LOG" = "yes"; then
41194 cat >>confdefs.h <<\_ACEOF
41195 #define wxUSE_LOG 1
41196 _ACEOF
41197
41198
41199 if test "$wxUSE_LOGGUI" = "yes"; then
41200 cat >>confdefs.h <<\_ACEOF
41201 #define wxUSE_LOGGUI 1
41202 _ACEOF
41203
41204 fi
41205
41206 if test "$wxUSE_LOGWINDOW" = "yes"; then
41207 cat >>confdefs.h <<\_ACEOF
41208 #define wxUSE_LOGWINDOW 1
41209 _ACEOF
41210
41211 fi
41212
41213 if test "$wxUSE_LOGDIALOG" = "yes"; then
41214 cat >>confdefs.h <<\_ACEOF
41215 #define wxUSE_LOG_DIALOG 1
41216 _ACEOF
41217
41218 fi
41219
41220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41221 fi
41222
41223 if test "$wxUSE_LONGLONG" = "yes"; then
41224 cat >>confdefs.h <<\_ACEOF
41225 #define wxUSE_LONGLONG 1
41226 _ACEOF
41227
41228 fi
41229
41230 if test "$wxUSE_GEOMETRY" = "yes"; then
41231 cat >>confdefs.h <<\_ACEOF
41232 #define wxUSE_GEOMETRY 1
41233 _ACEOF
41234
41235 fi
41236
41237 if test "$wxUSE_STREAMS" = "yes" ; then
41238 cat >>confdefs.h <<\_ACEOF
41239 #define wxUSE_STREAMS 1
41240 _ACEOF
41241
41242 fi
41243
41244
41245 if test "$wxUSE_DATETIME" = "yes"; then
41246
41247 for ac_func in strptime
41248 do
41249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41250 echo "$as_me:$LINENO: checking for $ac_func" >&5
41251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41252 if eval "test \"\${$as_ac_var+set}\" = set"; then
41253 echo $ECHO_N "(cached) $ECHO_C" >&6
41254 else
41255 cat >conftest.$ac_ext <<_ACEOF
41256 /* confdefs.h. */
41257 _ACEOF
41258 cat confdefs.h >>conftest.$ac_ext
41259 cat >>conftest.$ac_ext <<_ACEOF
41260 /* end confdefs.h. */
41261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41263 #define $ac_func innocuous_$ac_func
41264
41265 /* System header to define __stub macros and hopefully few prototypes,
41266 which can conflict with char $ac_func (); below.
41267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41268 <limits.h> exists even on freestanding compilers. */
41269
41270 #ifdef __STDC__
41271 # include <limits.h>
41272 #else
41273 # include <assert.h>
41274 #endif
41275
41276 #undef $ac_func
41277
41278 /* Override any gcc2 internal prototype to avoid an error. */
41279 #ifdef __cplusplus
41280 extern "C"
41281 {
41282 #endif
41283 /* We use char because int might match the return type of a gcc2
41284 builtin and then its argument prototype would still apply. */
41285 char $ac_func ();
41286 /* The GNU C library defines this for functions which it implements
41287 to always fail with ENOSYS. Some functions are actually named
41288 something starting with __ and the normal name is an alias. */
41289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41290 choke me
41291 #else
41292 char (*f) () = $ac_func;
41293 #endif
41294 #ifdef __cplusplus
41295 }
41296 #endif
41297
41298 int
41299 main ()
41300 {
41301 return f != $ac_func;
41302 ;
41303 return 0;
41304 }
41305 _ACEOF
41306 rm -f conftest.$ac_objext conftest$ac_exeext
41307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41308 (eval $ac_link) 2>conftest.er1
41309 ac_status=$?
41310 grep -v '^ *+' conftest.er1 >conftest.err
41311 rm -f conftest.er1
41312 cat conftest.err >&5
41313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41314 (exit $ac_status); } &&
41315 { ac_try='test -z "$ac_c_werror_flag"
41316 || test ! -s conftest.err'
41317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41318 (eval $ac_try) 2>&5
41319 ac_status=$?
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); }; } &&
41322 { ac_try='test -s conftest$ac_exeext'
41323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41324 (eval $ac_try) 2>&5
41325 ac_status=$?
41326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41327 (exit $ac_status); }; }; then
41328 eval "$as_ac_var=yes"
41329 else
41330 echo "$as_me: failed program was:" >&5
41331 sed 's/^/| /' conftest.$ac_ext >&5
41332
41333 eval "$as_ac_var=no"
41334 fi
41335 rm -f conftest.err conftest.$ac_objext \
41336 conftest$ac_exeext conftest.$ac_ext
41337 fi
41338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41340 if test `eval echo '${'$as_ac_var'}'` = yes; then
41341 cat >>confdefs.h <<_ACEOF
41342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41343 _ACEOF
41344
41345 fi
41346 done
41347
41348 if test "$ac_cv_func_strptime" = "yes"; then
41349 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41350 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41351 if test "${wx_cv_func_strptime_decl+set}" = set; then
41352 echo $ECHO_N "(cached) $ECHO_C" >&6
41353 else
41354
41355 ac_ext=cc
41356 ac_cpp='$CXXCPP $CPPFLAGS'
41357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41360
41361 cat >conftest.$ac_ext <<_ACEOF
41362 /* confdefs.h. */
41363 _ACEOF
41364 cat confdefs.h >>conftest.$ac_ext
41365 cat >>conftest.$ac_ext <<_ACEOF
41366 /* end confdefs.h. */
41367
41368 #include <time.h>
41369
41370 int
41371 main ()
41372 {
41373
41374 struct tm t;
41375 strptime("foo", "bar", &t);
41376
41377 ;
41378 return 0;
41379 }
41380 _ACEOF
41381 rm -f conftest.$ac_objext
41382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41383 (eval $ac_compile) 2>conftest.er1
41384 ac_status=$?
41385 grep -v '^ *+' conftest.er1 >conftest.err
41386 rm -f conftest.er1
41387 cat conftest.err >&5
41388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41389 (exit $ac_status); } &&
41390 { ac_try='test -z "$ac_cxx_werror_flag"
41391 || test ! -s conftest.err'
41392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41393 (eval $ac_try) 2>&5
41394 ac_status=$?
41395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41396 (exit $ac_status); }; } &&
41397 { ac_try='test -s conftest.$ac_objext'
41398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41399 (eval $ac_try) 2>&5
41400 ac_status=$?
41401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41402 (exit $ac_status); }; }; then
41403 wx_cv_func_strptime_decl=yes
41404 else
41405 echo "$as_me: failed program was:" >&5
41406 sed 's/^/| /' conftest.$ac_ext >&5
41407
41408 wx_cv_func_strptime_decl=no
41409
41410 fi
41411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41412 ac_ext=c
41413 ac_cpp='$CPP $CPPFLAGS'
41414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41417
41418
41419
41420 fi
41421 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41422 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41423 fi
41424 if test "$wx_cv_func_strptime_decl" = "yes"; then
41425 cat >>confdefs.h <<\_ACEOF
41426 #define HAVE_STRPTIME_DECL 1
41427 _ACEOF
41428
41429 fi
41430
41431 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41432 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41433 if test "${wx_cv_var_timezone+set}" = set; then
41434 echo $ECHO_N "(cached) $ECHO_C" >&6
41435 else
41436
41437 cat >conftest.$ac_ext <<_ACEOF
41438 /* confdefs.h. */
41439 _ACEOF
41440 cat confdefs.h >>conftest.$ac_ext
41441 cat >>conftest.$ac_ext <<_ACEOF
41442 /* end confdefs.h. */
41443
41444 #include <time.h>
41445
41446 int
41447 main ()
41448 {
41449
41450 int tz;
41451 tz = timezone;
41452
41453 ;
41454 return 0;
41455 }
41456 _ACEOF
41457 rm -f conftest.$ac_objext
41458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41459 (eval $ac_compile) 2>conftest.er1
41460 ac_status=$?
41461 grep -v '^ *+' conftest.er1 >conftest.err
41462 rm -f conftest.er1
41463 cat conftest.err >&5
41464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465 (exit $ac_status); } &&
41466 { ac_try='test -z "$ac_c_werror_flag"
41467 || test ! -s conftest.err'
41468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41469 (eval $ac_try) 2>&5
41470 ac_status=$?
41471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41472 (exit $ac_status); }; } &&
41473 { ac_try='test -s conftest.$ac_objext'
41474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41475 (eval $ac_try) 2>&5
41476 ac_status=$?
41477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41478 (exit $ac_status); }; }; then
41479
41480 wx_cv_var_timezone=timezone
41481
41482 else
41483 echo "$as_me: failed program was:" >&5
41484 sed 's/^/| /' conftest.$ac_ext >&5
41485
41486
41487 cat >conftest.$ac_ext <<_ACEOF
41488 /* confdefs.h. */
41489 _ACEOF
41490 cat confdefs.h >>conftest.$ac_ext
41491 cat >>conftest.$ac_ext <<_ACEOF
41492 /* end confdefs.h. */
41493
41494 #include <time.h>
41495
41496 int
41497 main ()
41498 {
41499
41500 int tz;
41501 tz = _timezone;
41502
41503 ;
41504 return 0;
41505 }
41506 _ACEOF
41507 rm -f conftest.$ac_objext
41508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41509 (eval $ac_compile) 2>conftest.er1
41510 ac_status=$?
41511 grep -v '^ *+' conftest.er1 >conftest.err
41512 rm -f conftest.er1
41513 cat conftest.err >&5
41514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41515 (exit $ac_status); } &&
41516 { ac_try='test -z "$ac_c_werror_flag"
41517 || test ! -s conftest.err'
41518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41519 (eval $ac_try) 2>&5
41520 ac_status=$?
41521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41522 (exit $ac_status); }; } &&
41523 { ac_try='test -s conftest.$ac_objext'
41524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41525 (eval $ac_try) 2>&5
41526 ac_status=$?
41527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41528 (exit $ac_status); }; }; then
41529
41530 wx_cv_var_timezone=_timezone
41531
41532 else
41533 echo "$as_me: failed program was:" >&5
41534 sed 's/^/| /' conftest.$ac_ext >&5
41535
41536
41537 cat >conftest.$ac_ext <<_ACEOF
41538 /* confdefs.h. */
41539 _ACEOF
41540 cat confdefs.h >>conftest.$ac_ext
41541 cat >>conftest.$ac_ext <<_ACEOF
41542 /* end confdefs.h. */
41543
41544 #include <time.h>
41545
41546 int
41547 main ()
41548 {
41549
41550 int tz;
41551 tz = __timezone;
41552
41553 ;
41554 return 0;
41555 }
41556 _ACEOF
41557 rm -f conftest.$ac_objext
41558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41559 (eval $ac_compile) 2>conftest.er1
41560 ac_status=$?
41561 grep -v '^ *+' conftest.er1 >conftest.err
41562 rm -f conftest.er1
41563 cat conftest.err >&5
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); } &&
41566 { ac_try='test -z "$ac_c_werror_flag"
41567 || test ! -s conftest.err'
41568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41569 (eval $ac_try) 2>&5
41570 ac_status=$?
41571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41572 (exit $ac_status); }; } &&
41573 { ac_try='test -s conftest.$ac_objext'
41574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41575 (eval $ac_try) 2>&5
41576 ac_status=$?
41577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41578 (exit $ac_status); }; }; then
41579
41580 wx_cv_var_timezone=__timezone
41581
41582 else
41583 echo "$as_me: failed program was:" >&5
41584 sed 's/^/| /' conftest.$ac_ext >&5
41585
41586
41587 if test "$USE_DOS" = 0 ; then
41588 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41589 echo "$as_me: WARNING: no timezone variable" >&2;}
41590 fi
41591
41592
41593 fi
41594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41595
41596
41597 fi
41598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41599
41600
41601 fi
41602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41603
41604
41605 fi
41606 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41607 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41608
41609 if test "x$wx_cv_var_timezone" != x ; then
41610 cat >>confdefs.h <<_ACEOF
41611 #define WX_TIMEZONE $wx_cv_var_timezone
41612 _ACEOF
41613
41614 fi
41615
41616
41617 for ac_func in localtime
41618 do
41619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41620 echo "$as_me:$LINENO: checking for $ac_func" >&5
41621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41622 if eval "test \"\${$as_ac_var+set}\" = set"; then
41623 echo $ECHO_N "(cached) $ECHO_C" >&6
41624 else
41625 cat >conftest.$ac_ext <<_ACEOF
41626 /* confdefs.h. */
41627 _ACEOF
41628 cat confdefs.h >>conftest.$ac_ext
41629 cat >>conftest.$ac_ext <<_ACEOF
41630 /* end confdefs.h. */
41631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41633 #define $ac_func innocuous_$ac_func
41634
41635 /* System header to define __stub macros and hopefully few prototypes,
41636 which can conflict with char $ac_func (); below.
41637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41638 <limits.h> exists even on freestanding compilers. */
41639
41640 #ifdef __STDC__
41641 # include <limits.h>
41642 #else
41643 # include <assert.h>
41644 #endif
41645
41646 #undef $ac_func
41647
41648 /* Override any gcc2 internal prototype to avoid an error. */
41649 #ifdef __cplusplus
41650 extern "C"
41651 {
41652 #endif
41653 /* We use char because int might match the return type of a gcc2
41654 builtin and then its argument prototype would still apply. */
41655 char $ac_func ();
41656 /* The GNU C library defines this for functions which it implements
41657 to always fail with ENOSYS. Some functions are actually named
41658 something starting with __ and the normal name is an alias. */
41659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41660 choke me
41661 #else
41662 char (*f) () = $ac_func;
41663 #endif
41664 #ifdef __cplusplus
41665 }
41666 #endif
41667
41668 int
41669 main ()
41670 {
41671 return f != $ac_func;
41672 ;
41673 return 0;
41674 }
41675 _ACEOF
41676 rm -f conftest.$ac_objext conftest$ac_exeext
41677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41678 (eval $ac_link) 2>conftest.er1
41679 ac_status=$?
41680 grep -v '^ *+' conftest.er1 >conftest.err
41681 rm -f conftest.er1
41682 cat conftest.err >&5
41683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41684 (exit $ac_status); } &&
41685 { ac_try='test -z "$ac_c_werror_flag"
41686 || test ! -s conftest.err'
41687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41688 (eval $ac_try) 2>&5
41689 ac_status=$?
41690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41691 (exit $ac_status); }; } &&
41692 { ac_try='test -s conftest$ac_exeext'
41693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41694 (eval $ac_try) 2>&5
41695 ac_status=$?
41696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41697 (exit $ac_status); }; }; then
41698 eval "$as_ac_var=yes"
41699 else
41700 echo "$as_me: failed program was:" >&5
41701 sed 's/^/| /' conftest.$ac_ext >&5
41702
41703 eval "$as_ac_var=no"
41704 fi
41705 rm -f conftest.err conftest.$ac_objext \
41706 conftest$ac_exeext conftest.$ac_ext
41707 fi
41708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41710 if test `eval echo '${'$as_ac_var'}'` = yes; then
41711 cat >>confdefs.h <<_ACEOF
41712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41713 _ACEOF
41714
41715 fi
41716 done
41717
41718
41719 if test "$ac_cv_func_localtime" = "yes"; then
41720 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41721 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41722 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41723 echo $ECHO_N "(cached) $ECHO_C" >&6
41724 else
41725
41726 cat >conftest.$ac_ext <<_ACEOF
41727 /* confdefs.h. */
41728 _ACEOF
41729 cat confdefs.h >>conftest.$ac_ext
41730 cat >>conftest.$ac_ext <<_ACEOF
41731 /* end confdefs.h. */
41732
41733 #include <time.h>
41734
41735 int
41736 main ()
41737 {
41738
41739 struct tm tm;
41740 tm.tm_gmtoff++;
41741
41742 ;
41743 return 0;
41744 }
41745 _ACEOF
41746 rm -f conftest.$ac_objext
41747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41748 (eval $ac_compile) 2>conftest.er1
41749 ac_status=$?
41750 grep -v '^ *+' conftest.er1 >conftest.err
41751 rm -f conftest.er1
41752 cat conftest.err >&5
41753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41754 (exit $ac_status); } &&
41755 { ac_try='test -z "$ac_c_werror_flag"
41756 || test ! -s conftest.err'
41757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41758 (eval $ac_try) 2>&5
41759 ac_status=$?
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); }; } &&
41762 { ac_try='test -s conftest.$ac_objext'
41763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41764 (eval $ac_try) 2>&5
41765 ac_status=$?
41766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41767 (exit $ac_status); }; }; then
41768
41769 wx_cv_struct_tm_has_gmtoff=yes
41770
41771 else
41772 echo "$as_me: failed program was:" >&5
41773 sed 's/^/| /' conftest.$ac_ext >&5
41774
41775 wx_cv_struct_tm_has_gmtoff=no
41776
41777 fi
41778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41779
41780 fi
41781 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
41782 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
41783 fi
41784
41785 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
41786 cat >>confdefs.h <<\_ACEOF
41787 #define WX_GMTOFF_IN_TM 1
41788 _ACEOF
41789
41790 fi
41791
41792
41793
41794 for ac_func in gettimeofday ftime
41795 do
41796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41797 echo "$as_me:$LINENO: checking for $ac_func" >&5
41798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41799 if eval "test \"\${$as_ac_var+set}\" = set"; then
41800 echo $ECHO_N "(cached) $ECHO_C" >&6
41801 else
41802 cat >conftest.$ac_ext <<_ACEOF
41803 /* confdefs.h. */
41804 _ACEOF
41805 cat confdefs.h >>conftest.$ac_ext
41806 cat >>conftest.$ac_ext <<_ACEOF
41807 /* end confdefs.h. */
41808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41810 #define $ac_func innocuous_$ac_func
41811
41812 /* System header to define __stub macros and hopefully few prototypes,
41813 which can conflict with char $ac_func (); below.
41814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41815 <limits.h> exists even on freestanding compilers. */
41816
41817 #ifdef __STDC__
41818 # include <limits.h>
41819 #else
41820 # include <assert.h>
41821 #endif
41822
41823 #undef $ac_func
41824
41825 /* Override any gcc2 internal prototype to avoid an error. */
41826 #ifdef __cplusplus
41827 extern "C"
41828 {
41829 #endif
41830 /* We use char because int might match the return type of a gcc2
41831 builtin and then its argument prototype would still apply. */
41832 char $ac_func ();
41833 /* The GNU C library defines this for functions which it implements
41834 to always fail with ENOSYS. Some functions are actually named
41835 something starting with __ and the normal name is an alias. */
41836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41837 choke me
41838 #else
41839 char (*f) () = $ac_func;
41840 #endif
41841 #ifdef __cplusplus
41842 }
41843 #endif
41844
41845 int
41846 main ()
41847 {
41848 return f != $ac_func;
41849 ;
41850 return 0;
41851 }
41852 _ACEOF
41853 rm -f conftest.$ac_objext conftest$ac_exeext
41854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41855 (eval $ac_link) 2>conftest.er1
41856 ac_status=$?
41857 grep -v '^ *+' conftest.er1 >conftest.err
41858 rm -f conftest.er1
41859 cat conftest.err >&5
41860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861 (exit $ac_status); } &&
41862 { ac_try='test -z "$ac_c_werror_flag"
41863 || test ! -s conftest.err'
41864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41865 (eval $ac_try) 2>&5
41866 ac_status=$?
41867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41868 (exit $ac_status); }; } &&
41869 { ac_try='test -s conftest$ac_exeext'
41870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41871 (eval $ac_try) 2>&5
41872 ac_status=$?
41873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41874 (exit $ac_status); }; }; then
41875 eval "$as_ac_var=yes"
41876 else
41877 echo "$as_me: failed program was:" >&5
41878 sed 's/^/| /' conftest.$ac_ext >&5
41879
41880 eval "$as_ac_var=no"
41881 fi
41882 rm -f conftest.err conftest.$ac_objext \
41883 conftest$ac_exeext conftest.$ac_ext
41884 fi
41885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41887 if test `eval echo '${'$as_ac_var'}'` = yes; then
41888 cat >>confdefs.h <<_ACEOF
41889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41890 _ACEOF
41891 break
41892 fi
41893 done
41894
41895
41896 if test "$ac_cv_func_gettimeofday" = "yes"; then
41897 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
41898 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
41899 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
41900 echo $ECHO_N "(cached) $ECHO_C" >&6
41901 else
41902
41903 ac_ext=cc
41904 ac_cpp='$CXXCPP $CPPFLAGS'
41905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41908
41909
41910 cat >conftest.$ac_ext <<_ACEOF
41911 /* confdefs.h. */
41912 _ACEOF
41913 cat confdefs.h >>conftest.$ac_ext
41914 cat >>conftest.$ac_ext <<_ACEOF
41915 /* end confdefs.h. */
41916
41917 #include <sys/time.h>
41918 #include <unistd.h>
41919
41920 int
41921 main ()
41922 {
41923
41924 struct timeval tv;
41925 gettimeofday(&tv, NULL);
41926
41927 ;
41928 return 0;
41929 }
41930 _ACEOF
41931 rm -f conftest.$ac_objext
41932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41933 (eval $ac_compile) 2>conftest.er1
41934 ac_status=$?
41935 grep -v '^ *+' conftest.er1 >conftest.err
41936 rm -f conftest.er1
41937 cat conftest.err >&5
41938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939 (exit $ac_status); } &&
41940 { ac_try='test -z "$ac_cxx_werror_flag"
41941 || test ! -s conftest.err'
41942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41943 (eval $ac_try) 2>&5
41944 ac_status=$?
41945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946 (exit $ac_status); }; } &&
41947 { ac_try='test -s conftest.$ac_objext'
41948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41949 (eval $ac_try) 2>&5
41950 ac_status=$?
41951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41952 (exit $ac_status); }; }; then
41953 wx_cv_func_gettimeofday_has_2_args=yes
41954 else
41955 echo "$as_me: failed program was:" >&5
41956 sed 's/^/| /' conftest.$ac_ext >&5
41957
41958 cat >conftest.$ac_ext <<_ACEOF
41959 /* confdefs.h. */
41960 _ACEOF
41961 cat confdefs.h >>conftest.$ac_ext
41962 cat >>conftest.$ac_ext <<_ACEOF
41963 /* end confdefs.h. */
41964
41965 #include <sys/time.h>
41966 #include <unistd.h>
41967
41968 int
41969 main ()
41970 {
41971
41972 struct timeval tv;
41973 gettimeofday(&tv);
41974
41975 ;
41976 return 0;
41977 }
41978 _ACEOF
41979 rm -f conftest.$ac_objext
41980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41981 (eval $ac_compile) 2>conftest.er1
41982 ac_status=$?
41983 grep -v '^ *+' conftest.er1 >conftest.err
41984 rm -f conftest.er1
41985 cat conftest.err >&5
41986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41987 (exit $ac_status); } &&
41988 { ac_try='test -z "$ac_cxx_werror_flag"
41989 || test ! -s conftest.err'
41990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41991 (eval $ac_try) 2>&5
41992 ac_status=$?
41993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41994 (exit $ac_status); }; } &&
41995 { ac_try='test -s conftest.$ac_objext'
41996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41997 (eval $ac_try) 2>&5
41998 ac_status=$?
41999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42000 (exit $ac_status); }; }; then
42001 wx_cv_func_gettimeofday_has_2_args=no
42002 else
42003 echo "$as_me: failed program was:" >&5
42004 sed 's/^/| /' conftest.$ac_ext >&5
42005
42006
42007 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42008 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42009 wx_cv_func_gettimeofday_has_2_args=unknown
42010
42011
42012 fi
42013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42014
42015 fi
42016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42017 ac_ext=c
42018 ac_cpp='$CPP $CPPFLAGS'
42019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42022
42023
42024 fi
42025 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42026 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42027
42028 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42029 cat >>confdefs.h <<\_ACEOF
42030 #define WX_GETTIMEOFDAY_NO_TZ 1
42031 _ACEOF
42032
42033 fi
42034 fi
42035
42036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42037 fi
42038
42039
42040 if test "$wxUSE_SOCKETS" = "yes"; then
42041 if test "$wxUSE_MGL" = "1"; then
42042 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42043 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42044 wxUSE_SOCKETS="no"
42045 fi
42046 fi
42047
42048 if test "$wxUSE_SOCKETS" = "yes"; then
42049 if test "$TOOLKIT" != "MSW"; then
42050 echo "$as_me:$LINENO: checking for socket" >&5
42051 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42052 if test "${ac_cv_func_socket+set}" = set; then
42053 echo $ECHO_N "(cached) $ECHO_C" >&6
42054 else
42055 cat >conftest.$ac_ext <<_ACEOF
42056 /* confdefs.h. */
42057 _ACEOF
42058 cat confdefs.h >>conftest.$ac_ext
42059 cat >>conftest.$ac_ext <<_ACEOF
42060 /* end confdefs.h. */
42061 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42063 #define socket innocuous_socket
42064
42065 /* System header to define __stub macros and hopefully few prototypes,
42066 which can conflict with char socket (); below.
42067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42068 <limits.h> exists even on freestanding compilers. */
42069
42070 #ifdef __STDC__
42071 # include <limits.h>
42072 #else
42073 # include <assert.h>
42074 #endif
42075
42076 #undef socket
42077
42078 /* Override any gcc2 internal prototype to avoid an error. */
42079 #ifdef __cplusplus
42080 extern "C"
42081 {
42082 #endif
42083 /* We use char because int might match the return type of a gcc2
42084 builtin and then its argument prototype would still apply. */
42085 char socket ();
42086 /* The GNU C library defines this for functions which it implements
42087 to always fail with ENOSYS. Some functions are actually named
42088 something starting with __ and the normal name is an alias. */
42089 #if defined (__stub_socket) || defined (__stub___socket)
42090 choke me
42091 #else
42092 char (*f) () = socket;
42093 #endif
42094 #ifdef __cplusplus
42095 }
42096 #endif
42097
42098 int
42099 main ()
42100 {
42101 return f != socket;
42102 ;
42103 return 0;
42104 }
42105 _ACEOF
42106 rm -f conftest.$ac_objext conftest$ac_exeext
42107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42108 (eval $ac_link) 2>conftest.er1
42109 ac_status=$?
42110 grep -v '^ *+' conftest.er1 >conftest.err
42111 rm -f conftest.er1
42112 cat conftest.err >&5
42113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42114 (exit $ac_status); } &&
42115 { ac_try='test -z "$ac_c_werror_flag"
42116 || test ! -s conftest.err'
42117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42118 (eval $ac_try) 2>&5
42119 ac_status=$?
42120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42121 (exit $ac_status); }; } &&
42122 { ac_try='test -s conftest$ac_exeext'
42123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42124 (eval $ac_try) 2>&5
42125 ac_status=$?
42126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42127 (exit $ac_status); }; }; then
42128 ac_cv_func_socket=yes
42129 else
42130 echo "$as_me: failed program was:" >&5
42131 sed 's/^/| /' conftest.$ac_ext >&5
42132
42133 ac_cv_func_socket=no
42134 fi
42135 rm -f conftest.err conftest.$ac_objext \
42136 conftest$ac_exeext conftest.$ac_ext
42137 fi
42138 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42139 echo "${ECHO_T}$ac_cv_func_socket" >&6
42140 if test $ac_cv_func_socket = yes; then
42141 :
42142 else
42143
42144 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42145 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42146 if test "${ac_cv_lib_socket_socket+set}" = set; then
42147 echo $ECHO_N "(cached) $ECHO_C" >&6
42148 else
42149 ac_check_lib_save_LIBS=$LIBS
42150 LIBS="-lsocket $LIBS"
42151 cat >conftest.$ac_ext <<_ACEOF
42152 /* confdefs.h. */
42153 _ACEOF
42154 cat confdefs.h >>conftest.$ac_ext
42155 cat >>conftest.$ac_ext <<_ACEOF
42156 /* end confdefs.h. */
42157
42158 /* Override any gcc2 internal prototype to avoid an error. */
42159 #ifdef __cplusplus
42160 extern "C"
42161 #endif
42162 /* We use char because int might match the return type of a gcc2
42163 builtin and then its argument prototype would still apply. */
42164 char socket ();
42165 int
42166 main ()
42167 {
42168 socket ();
42169 ;
42170 return 0;
42171 }
42172 _ACEOF
42173 rm -f conftest.$ac_objext conftest$ac_exeext
42174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42175 (eval $ac_link) 2>conftest.er1
42176 ac_status=$?
42177 grep -v '^ *+' conftest.er1 >conftest.err
42178 rm -f conftest.er1
42179 cat conftest.err >&5
42180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42181 (exit $ac_status); } &&
42182 { ac_try='test -z "$ac_c_werror_flag"
42183 || test ! -s conftest.err'
42184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42185 (eval $ac_try) 2>&5
42186 ac_status=$?
42187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42188 (exit $ac_status); }; } &&
42189 { ac_try='test -s conftest$ac_exeext'
42190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42191 (eval $ac_try) 2>&5
42192 ac_status=$?
42193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42194 (exit $ac_status); }; }; then
42195 ac_cv_lib_socket_socket=yes
42196 else
42197 echo "$as_me: failed program was:" >&5
42198 sed 's/^/| /' conftest.$ac_ext >&5
42199
42200 ac_cv_lib_socket_socket=no
42201 fi
42202 rm -f conftest.err conftest.$ac_objext \
42203 conftest$ac_exeext conftest.$ac_ext
42204 LIBS=$ac_check_lib_save_LIBS
42205 fi
42206 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42207 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42208 if test $ac_cv_lib_socket_socket = yes; then
42209 if test "$INET_LINK" != " -lsocket"; then
42210 INET_LINK="$INET_LINK -lsocket"
42211 fi
42212 else
42213
42214 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42215 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42216 wxUSE_SOCKETS=no
42217
42218
42219 fi
42220
42221
42222
42223 fi
42224
42225 fi
42226 fi
42227
42228 if test "$wxUSE_SOCKETS" = "yes" ; then
42229 if test "$TOOLKIT" != "MSW"; then
42230 ac_ext=cc
42231 ac_cpp='$CXXCPP $CPPFLAGS'
42232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42235
42236 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42237 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42238 if test "${wx_cv_type_getsockname3+set}" = set; then
42239 echo $ECHO_N "(cached) $ECHO_C" >&6
42240 else
42241
42242 cat >conftest.$ac_ext <<_ACEOF
42243 /* confdefs.h. */
42244 _ACEOF
42245 cat confdefs.h >>conftest.$ac_ext
42246 cat >>conftest.$ac_ext <<_ACEOF
42247 /* end confdefs.h. */
42248
42249 #include <sys/types.h>
42250 #include <sys/socket.h>
42251
42252 int
42253 main ()
42254 {
42255
42256 socklen_t len;
42257 getsockname(0, 0, &len);
42258
42259 ;
42260 return 0;
42261 }
42262 _ACEOF
42263 rm -f conftest.$ac_objext
42264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42265 (eval $ac_compile) 2>conftest.er1
42266 ac_status=$?
42267 grep -v '^ *+' conftest.er1 >conftest.err
42268 rm -f conftest.er1
42269 cat conftest.err >&5
42270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271 (exit $ac_status); } &&
42272 { ac_try='test -z "$ac_cxx_werror_flag"
42273 || test ! -s conftest.err'
42274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42275 (eval $ac_try) 2>&5
42276 ac_status=$?
42277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42278 (exit $ac_status); }; } &&
42279 { ac_try='test -s conftest.$ac_objext'
42280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42281 (eval $ac_try) 2>&5
42282 ac_status=$?
42283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42284 (exit $ac_status); }; }; then
42285 wx_cv_type_getsockname3=socklen_t
42286 else
42287 echo "$as_me: failed program was:" >&5
42288 sed 's/^/| /' conftest.$ac_ext >&5
42289
42290
42291 CXXFLAGS_OLD="$CXXFLAGS"
42292 if test "$GCC" = yes ; then
42293 CXXFLAGS="-Werror $CXXFLAGS"
42294 fi
42295
42296 cat >conftest.$ac_ext <<_ACEOF
42297 /* confdefs.h. */
42298 _ACEOF
42299 cat confdefs.h >>conftest.$ac_ext
42300 cat >>conftest.$ac_ext <<_ACEOF
42301 /* end confdefs.h. */
42302
42303 #include <sys/types.h>
42304 #include <sys/socket.h>
42305
42306 int
42307 main ()
42308 {
42309
42310 size_t len;
42311 getsockname(0, 0, &len);
42312
42313 ;
42314 return 0;
42315 }
42316 _ACEOF
42317 rm -f conftest.$ac_objext
42318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42319 (eval $ac_compile) 2>conftest.er1
42320 ac_status=$?
42321 grep -v '^ *+' conftest.er1 >conftest.err
42322 rm -f conftest.er1
42323 cat conftest.err >&5
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); } &&
42326 { ac_try='test -z "$ac_cxx_werror_flag"
42327 || test ! -s conftest.err'
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); }; } &&
42333 { ac_try='test -s conftest.$ac_objext'
42334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42335 (eval $ac_try) 2>&5
42336 ac_status=$?
42337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42338 (exit $ac_status); }; }; then
42339 wx_cv_type_getsockname3=size_t
42340 else
42341 echo "$as_me: failed program was:" >&5
42342 sed 's/^/| /' conftest.$ac_ext >&5
42343
42344 cat >conftest.$ac_ext <<_ACEOF
42345 /* confdefs.h. */
42346 _ACEOF
42347 cat confdefs.h >>conftest.$ac_ext
42348 cat >>conftest.$ac_ext <<_ACEOF
42349 /* end confdefs.h. */
42350
42351 #include <sys/types.h>
42352 #include <sys/socket.h>
42353
42354 int
42355 main ()
42356 {
42357
42358 int len;
42359 getsockname(0, 0, &len);
42360
42361 ;
42362 return 0;
42363 }
42364 _ACEOF
42365 rm -f conftest.$ac_objext
42366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42367 (eval $ac_compile) 2>conftest.er1
42368 ac_status=$?
42369 grep -v '^ *+' conftest.er1 >conftest.err
42370 rm -f conftest.er1
42371 cat conftest.err >&5
42372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373 (exit $ac_status); } &&
42374 { ac_try='test -z "$ac_cxx_werror_flag"
42375 || test ! -s conftest.err'
42376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42377 (eval $ac_try) 2>&5
42378 ac_status=$?
42379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380 (exit $ac_status); }; } &&
42381 { ac_try='test -s conftest.$ac_objext'
42382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42383 (eval $ac_try) 2>&5
42384 ac_status=$?
42385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42386 (exit $ac_status); }; }; then
42387 wx_cv_type_getsockname3=int
42388 else
42389 echo "$as_me: failed program was:" >&5
42390 sed 's/^/| /' conftest.$ac_ext >&5
42391
42392 wx_cv_type_getsockname3=unknown
42393
42394 fi
42395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42396
42397 fi
42398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42399
42400 CXXFLAGS="$CXXFLAGS_OLD"
42401
42402
42403 fi
42404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42405
42406 fi
42407 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42408 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42409
42410 if test "$wx_cv_type_getsockname3" = "unknown"; then
42411 wxUSE_SOCKETS=no
42412 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42413 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42414 else
42415 cat >>confdefs.h <<_ACEOF
42416 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42417 _ACEOF
42418
42419 fi
42420 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42421 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42422 if test "${wx_cv_type_getsockopt5+set}" = set; then
42423 echo $ECHO_N "(cached) $ECHO_C" >&6
42424 else
42425
42426 cat >conftest.$ac_ext <<_ACEOF
42427 /* confdefs.h. */
42428 _ACEOF
42429 cat confdefs.h >>conftest.$ac_ext
42430 cat >>conftest.$ac_ext <<_ACEOF
42431 /* end confdefs.h. */
42432
42433 #include <sys/types.h>
42434 #include <sys/socket.h>
42435
42436 int
42437 main ()
42438 {
42439
42440 socklen_t len;
42441 getsockopt(0, 0, 0, 0, &len);
42442
42443 ;
42444 return 0;
42445 }
42446 _ACEOF
42447 rm -f conftest.$ac_objext
42448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42449 (eval $ac_compile) 2>conftest.er1
42450 ac_status=$?
42451 grep -v '^ *+' conftest.er1 >conftest.err
42452 rm -f conftest.er1
42453 cat conftest.err >&5
42454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42455 (exit $ac_status); } &&
42456 { ac_try='test -z "$ac_cxx_werror_flag"
42457 || test ! -s conftest.err'
42458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42459 (eval $ac_try) 2>&5
42460 ac_status=$?
42461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42462 (exit $ac_status); }; } &&
42463 { ac_try='test -s conftest.$ac_objext'
42464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42465 (eval $ac_try) 2>&5
42466 ac_status=$?
42467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42468 (exit $ac_status); }; }; then
42469 wx_cv_type_getsockopt5=socklen_t
42470 else
42471 echo "$as_me: failed program was:" >&5
42472 sed 's/^/| /' conftest.$ac_ext >&5
42473
42474
42475 CXXFLAGS_OLD="$CXXFLAGS"
42476 if test "$GCC" = yes ; then
42477 CXXFLAGS="-Werror $CXXFLAGS"
42478 fi
42479
42480 cat >conftest.$ac_ext <<_ACEOF
42481 /* confdefs.h. */
42482 _ACEOF
42483 cat confdefs.h >>conftest.$ac_ext
42484 cat >>conftest.$ac_ext <<_ACEOF
42485 /* end confdefs.h. */
42486
42487 #include <sys/types.h>
42488 #include <sys/socket.h>
42489
42490 int
42491 main ()
42492 {
42493
42494 size_t len;
42495 getsockopt(0, 0, 0, 0, &len);
42496
42497 ;
42498 return 0;
42499 }
42500 _ACEOF
42501 rm -f conftest.$ac_objext
42502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42503 (eval $ac_compile) 2>conftest.er1
42504 ac_status=$?
42505 grep -v '^ *+' conftest.er1 >conftest.err
42506 rm -f conftest.er1
42507 cat conftest.err >&5
42508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42509 (exit $ac_status); } &&
42510 { ac_try='test -z "$ac_cxx_werror_flag"
42511 || test ! -s conftest.err'
42512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42513 (eval $ac_try) 2>&5
42514 ac_status=$?
42515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42516 (exit $ac_status); }; } &&
42517 { ac_try='test -s conftest.$ac_objext'
42518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42519 (eval $ac_try) 2>&5
42520 ac_status=$?
42521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42522 (exit $ac_status); }; }; then
42523 wx_cv_type_getsockopt5=size_t
42524 else
42525 echo "$as_me: failed program was:" >&5
42526 sed 's/^/| /' conftest.$ac_ext >&5
42527
42528 cat >conftest.$ac_ext <<_ACEOF
42529 /* confdefs.h. */
42530 _ACEOF
42531 cat confdefs.h >>conftest.$ac_ext
42532 cat >>conftest.$ac_ext <<_ACEOF
42533 /* end confdefs.h. */
42534
42535 #include <sys/types.h>
42536 #include <sys/socket.h>
42537
42538 int
42539 main ()
42540 {
42541
42542 int len;
42543 getsockopt(0, 0, 0, 0, &len);
42544
42545 ;
42546 return 0;
42547 }
42548 _ACEOF
42549 rm -f conftest.$ac_objext
42550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42551 (eval $ac_compile) 2>conftest.er1
42552 ac_status=$?
42553 grep -v '^ *+' conftest.er1 >conftest.err
42554 rm -f conftest.er1
42555 cat conftest.err >&5
42556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42557 (exit $ac_status); } &&
42558 { ac_try='test -z "$ac_cxx_werror_flag"
42559 || test ! -s conftest.err'
42560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42561 (eval $ac_try) 2>&5
42562 ac_status=$?
42563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42564 (exit $ac_status); }; } &&
42565 { ac_try='test -s conftest.$ac_objext'
42566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42567 (eval $ac_try) 2>&5
42568 ac_status=$?
42569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42570 (exit $ac_status); }; }; then
42571 wx_cv_type_getsockopt5=int
42572 else
42573 echo "$as_me: failed program was:" >&5
42574 sed 's/^/| /' conftest.$ac_ext >&5
42575
42576 wx_cv_type_getsockopt5=unknown
42577
42578 fi
42579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42580
42581 fi
42582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42583
42584 CXXFLAGS="$CXXFLAGS_OLD"
42585
42586
42587 fi
42588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42589
42590 fi
42591 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42592 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42593
42594 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42595 wxUSE_SOCKETS=no
42596 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42597 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42598 else
42599 cat >>confdefs.h <<_ACEOF
42600 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42601 _ACEOF
42602
42603 fi
42604 ac_ext=c
42605 ac_cpp='$CPP $CPPFLAGS'
42606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42609
42610 fi
42611 fi
42612
42613 if test "$wxUSE_SOCKETS" = "yes" ; then
42614 cat >>confdefs.h <<\_ACEOF
42615 #define wxUSE_SOCKETS 1
42616 _ACEOF
42617
42618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
42619 fi
42620
42621 if test "$wxUSE_PROTOCOL" = "yes"; then
42622 if test "$wxUSE_SOCKETS" != "yes"; then
42623 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42624 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42625 wxUSE_PROTOCOL=no
42626 fi
42627 fi
42628
42629 if test "$wxUSE_PROTOCOL" = "yes"; then
42630 cat >>confdefs.h <<\_ACEOF
42631 #define wxUSE_PROTOCOL 1
42632 _ACEOF
42633
42634
42635 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42636 cat >>confdefs.h <<\_ACEOF
42637 #define wxUSE_PROTOCOL_HTTP 1
42638 _ACEOF
42639
42640 fi
42641 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42642 cat >>confdefs.h <<\_ACEOF
42643 #define wxUSE_PROTOCOL_FTP 1
42644 _ACEOF
42645
42646 fi
42647 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_PROTOCOL_FILE 1
42650 _ACEOF
42651
42652 fi
42653 else
42654 if test "$wxUSE_FS_INET" = "yes"; then
42655 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42656 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42657 wxUSE_FS_INET="no"
42658 fi
42659 fi
42660
42661 if test "$wxUSE_URL" = "yes"; then
42662 if test "$wxUSE_PROTOCOL" != "yes"; then
42663 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42664 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42665 wxUSE_URL=no
42666 fi
42667 if test "$wxUSE_URL" = "yes"; then
42668 cat >>confdefs.h <<\_ACEOF
42669 #define wxUSE_URL 1
42670 _ACEOF
42671
42672 fi
42673 fi
42674
42675 if test "$wxUSE_FS_INET" = "yes"; then
42676 cat >>confdefs.h <<\_ACEOF
42677 #define wxUSE_FS_INET 1
42678 _ACEOF
42679
42680 fi
42681
42682
42683 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42684 wxUSE_JOYSTICK=no
42685
42686 if test "$TOOLKIT" = "MSW"; then
42687 wxUSE_JOYSTICK=yes
42688
42689 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42690 if test "$USE_DARWIN" = 1; then
42691 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42692 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42693 ac_ext=cc
42694 ac_cpp='$CXXCPP $CPPFLAGS'
42695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42698
42699 cat >conftest.$ac_ext <<_ACEOF
42700 /* confdefs.h. */
42701 _ACEOF
42702 cat confdefs.h >>conftest.$ac_ext
42703 cat >>conftest.$ac_ext <<_ACEOF
42704 /* end confdefs.h. */
42705 #include <IOKit/hid/IOHIDLib.h>
42706 int
42707 main ()
42708 {
42709 IOHIDQueueInterface *qi = NULL;
42710 IOHIDCallbackFunction cb = NULL;
42711 qi->setEventCallout(NULL, cb, NULL, NULL);
42712 ;
42713 return 0;
42714 }
42715 _ACEOF
42716 rm -f conftest.$ac_objext
42717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42718 (eval $ac_compile) 2>conftest.er1
42719 ac_status=$?
42720 grep -v '^ *+' conftest.er1 >conftest.err
42721 rm -f conftest.er1
42722 cat conftest.err >&5
42723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42724 (exit $ac_status); } &&
42725 { ac_try='test -z "$ac_cxx_werror_flag"
42726 || test ! -s conftest.err'
42727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42728 (eval $ac_try) 2>&5
42729 ac_status=$?
42730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42731 (exit $ac_status); }; } &&
42732 { ac_try='test -s conftest.$ac_objext'
42733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42734 (eval $ac_try) 2>&5
42735 ac_status=$?
42736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42737 (exit $ac_status); }; }; then
42738 wxUSE_JOYSTICK=yes
42739
42740 else
42741 echo "$as_me: failed program was:" >&5
42742 sed 's/^/| /' conftest.$ac_ext >&5
42743
42744 fi
42745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42746 ac_ext=c
42747 ac_cpp='$CPP $CPPFLAGS'
42748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42751
42752 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42753 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42754 fi
42755
42756 else
42757
42758 for ac_header in linux/joystick.h
42759 do
42760 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42762 echo "$as_me:$LINENO: checking for $ac_header" >&5
42763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42765 echo $ECHO_N "(cached) $ECHO_C" >&6
42766 fi
42767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42769 else
42770 # Is the header compilable?
42771 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42772 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42773 cat >conftest.$ac_ext <<_ACEOF
42774 /* confdefs.h. */
42775 _ACEOF
42776 cat confdefs.h >>conftest.$ac_ext
42777 cat >>conftest.$ac_ext <<_ACEOF
42778 /* end confdefs.h. */
42779 $ac_includes_default
42780 #include <$ac_header>
42781 _ACEOF
42782 rm -f conftest.$ac_objext
42783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42784 (eval $ac_compile) 2>conftest.er1
42785 ac_status=$?
42786 grep -v '^ *+' conftest.er1 >conftest.err
42787 rm -f conftest.er1
42788 cat conftest.err >&5
42789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790 (exit $ac_status); } &&
42791 { ac_try='test -z "$ac_c_werror_flag"
42792 || test ! -s conftest.err'
42793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42794 (eval $ac_try) 2>&5
42795 ac_status=$?
42796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42797 (exit $ac_status); }; } &&
42798 { ac_try='test -s conftest.$ac_objext'
42799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42800 (eval $ac_try) 2>&5
42801 ac_status=$?
42802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42803 (exit $ac_status); }; }; then
42804 ac_header_compiler=yes
42805 else
42806 echo "$as_me: failed program was:" >&5
42807 sed 's/^/| /' conftest.$ac_ext >&5
42808
42809 ac_header_compiler=no
42810 fi
42811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42812 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42813 echo "${ECHO_T}$ac_header_compiler" >&6
42814
42815 # Is the header present?
42816 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42817 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42818 cat >conftest.$ac_ext <<_ACEOF
42819 /* confdefs.h. */
42820 _ACEOF
42821 cat confdefs.h >>conftest.$ac_ext
42822 cat >>conftest.$ac_ext <<_ACEOF
42823 /* end confdefs.h. */
42824 #include <$ac_header>
42825 _ACEOF
42826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42827 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42828 ac_status=$?
42829 grep -v '^ *+' conftest.er1 >conftest.err
42830 rm -f conftest.er1
42831 cat conftest.err >&5
42832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42833 (exit $ac_status); } >/dev/null; then
42834 if test -s conftest.err; then
42835 ac_cpp_err=$ac_c_preproc_warn_flag
42836 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42837 else
42838 ac_cpp_err=
42839 fi
42840 else
42841 ac_cpp_err=yes
42842 fi
42843 if test -z "$ac_cpp_err"; then
42844 ac_header_preproc=yes
42845 else
42846 echo "$as_me: failed program was:" >&5
42847 sed 's/^/| /' conftest.$ac_ext >&5
42848
42849 ac_header_preproc=no
42850 fi
42851 rm -f conftest.err conftest.$ac_ext
42852 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42853 echo "${ECHO_T}$ac_header_preproc" >&6
42854
42855 # So? What about this header?
42856 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42857 yes:no: )
42858 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42859 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42861 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42862 ac_header_preproc=yes
42863 ;;
42864 no:yes:* )
42865 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42866 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42867 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42868 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42869 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42870 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42871 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42872 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42875 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42876 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42877 (
42878 cat <<\_ASBOX
42879 ## ----------------------------------------- ##
42880 ## Report this to wx-dev@lists.wxwidgets.org ##
42881 ## ----------------------------------------- ##
42882 _ASBOX
42883 ) |
42884 sed "s/^/$as_me: WARNING: /" >&2
42885 ;;
42886 esac
42887 echo "$as_me:$LINENO: checking for $ac_header" >&5
42888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42890 echo $ECHO_N "(cached) $ECHO_C" >&6
42891 else
42892 eval "$as_ac_Header=\$ac_header_preproc"
42893 fi
42894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42896
42897 fi
42898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42899 cat >>confdefs.h <<_ACEOF
42900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42901 _ACEOF
42902 wxUSE_JOYSTICK=yes
42903 fi
42904
42905 done
42906
42907 fi
42908
42909 if test "$wxUSE_JOYSTICK" = "yes"; then
42910 cat >>confdefs.h <<\_ACEOF
42911 #define wxUSE_JOYSTICK 1
42912 _ACEOF
42913
42914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
42915 else
42916 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
42917 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
42918 fi
42919 fi
42920
42921
42922
42923 if test "$wxUSE_FONTMAP" = "yes" ; then
42924 cat >>confdefs.h <<\_ACEOF
42925 #define wxUSE_FONTMAP 1
42926 _ACEOF
42927
42928 fi
42929
42930 if test "$wxUSE_UNICODE" = "yes" ; then
42931 cat >>confdefs.h <<\_ACEOF
42932 #define wxUSE_UNICODE 1
42933 _ACEOF
42934
42935
42936 if test "$USE_WIN32" != 1; then
42937 wxUSE_UNICODE_MSLU=no
42938 fi
42939
42940 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
42941 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
42942 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
42943 if test "${ac_cv_lib_unicows_main+set}" = set; then
42944 echo $ECHO_N "(cached) $ECHO_C" >&6
42945 else
42946 ac_check_lib_save_LIBS=$LIBS
42947 LIBS="-lunicows $LIBS"
42948 cat >conftest.$ac_ext <<_ACEOF
42949 /* confdefs.h. */
42950 _ACEOF
42951 cat confdefs.h >>conftest.$ac_ext
42952 cat >>conftest.$ac_ext <<_ACEOF
42953 /* end confdefs.h. */
42954
42955
42956 int
42957 main ()
42958 {
42959 main ();
42960 ;
42961 return 0;
42962 }
42963 _ACEOF
42964 rm -f conftest.$ac_objext conftest$ac_exeext
42965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42966 (eval $ac_link) 2>conftest.er1
42967 ac_status=$?
42968 grep -v '^ *+' conftest.er1 >conftest.err
42969 rm -f conftest.er1
42970 cat conftest.err >&5
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); } &&
42973 { ac_try='test -z "$ac_c_werror_flag"
42974 || test ! -s conftest.err'
42975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42976 (eval $ac_try) 2>&5
42977 ac_status=$?
42978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979 (exit $ac_status); }; } &&
42980 { ac_try='test -s conftest$ac_exeext'
42981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42982 (eval $ac_try) 2>&5
42983 ac_status=$?
42984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42985 (exit $ac_status); }; }; then
42986 ac_cv_lib_unicows_main=yes
42987 else
42988 echo "$as_me: failed program was:" >&5
42989 sed 's/^/| /' conftest.$ac_ext >&5
42990
42991 ac_cv_lib_unicows_main=no
42992 fi
42993 rm -f conftest.err conftest.$ac_objext \
42994 conftest$ac_exeext conftest.$ac_ext
42995 LIBS=$ac_check_lib_save_LIBS
42996 fi
42997 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
42998 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
42999 if test $ac_cv_lib_unicows_main = yes; then
43000
43001 cat >>confdefs.h <<\_ACEOF
43002 #define wxUSE_UNICODE_MSLU 1
43003 _ACEOF
43004
43005
43006 else
43007
43008 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43009 Applications will only run on Windows NT/2000/XP!" >&5
43010 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43011 Applications will only run on Windows NT/2000/XP!" >&2;}
43012 wxUSE_UNICODE_MSLU=no
43013
43014 fi
43015
43016 fi
43017 fi
43018
43019 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43020 cat >>confdefs.h <<\_ACEOF
43021 #define wxUSE_EXPERIMENTAL_PRINTF 1
43022 _ACEOF
43023
43024 fi
43025
43026
43027 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43028 cat >>confdefs.h <<\_ACEOF
43029 #define wxUSE_POSTSCRIPT 1
43030 _ACEOF
43031
43032 fi
43033
43034 cat >>confdefs.h <<\_ACEOF
43035 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43036 _ACEOF
43037
43038
43039 cat >>confdefs.h <<\_ACEOF
43040 #define wxUSE_NORMALIZED_PS_FONTS 1
43041 _ACEOF
43042
43043
43044
43045 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43046 cat >>confdefs.h <<\_ACEOF
43047 #define wxUSE_CONSTRAINTS 1
43048 _ACEOF
43049
43050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43051 fi
43052
43053 if test "$wxUSE_MDI" = "yes"; then
43054 cat >>confdefs.h <<\_ACEOF
43055 #define wxUSE_MDI 1
43056 _ACEOF
43057
43058
43059 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43060 cat >>confdefs.h <<\_ACEOF
43061 #define wxUSE_MDI_ARCHITECTURE 1
43062 _ACEOF
43063
43064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43065 fi
43066 fi
43067
43068 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43069 cat >>confdefs.h <<\_ACEOF
43070 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43071 _ACEOF
43072
43073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43074 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43076 fi
43077 fi
43078
43079 if test "$wxUSE_HELP" = "yes"; then
43080 cat >>confdefs.h <<\_ACEOF
43081 #define wxUSE_HELP 1
43082 _ACEOF
43083
43084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43085
43086 if test "$wxUSE_MSW" = 1; then
43087 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43088 cat >>confdefs.h <<\_ACEOF
43089 #define wxUSE_MS_HTML_HELP 1
43090 _ACEOF
43091
43092 fi
43093 fi
43094
43095 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43096 if test "$wxUSE_HTML" = "yes"; then
43097 cat >>confdefs.h <<\_ACEOF
43098 #define wxUSE_WXHTML_HELP 1
43099 _ACEOF
43100
43101 else
43102 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43103 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43104 wxUSE_WXHTML_HELP=no
43105 fi
43106 fi
43107 fi
43108
43109 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43110 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43111 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43112 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43113 else
43114 cat >>confdefs.h <<\_ACEOF
43115 #define wxUSE_PRINTING_ARCHITECTURE 1
43116 _ACEOF
43117
43118 fi
43119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43120 fi
43121
43122 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43123 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43124 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43125 { (exit 1); exit 1; }; }
43126 fi
43127
43128
43129 if test "$wxUSE_METAFILE" = "yes"; then
43130 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43131 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43132 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43133 wxUSE_METAFILE=no
43134 fi
43135 fi
43136
43137
43138 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43139 -o "$wxUSE_CLIPBOARD" = "yes" \
43140 -o "$wxUSE_OLE" = "yes" \
43141 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43142
43143 for ac_header in ole2.h
43144 do
43145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43147 echo "$as_me:$LINENO: checking for $ac_header" >&5
43148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43150 echo $ECHO_N "(cached) $ECHO_C" >&6
43151 fi
43152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43154 else
43155 # Is the header compilable?
43156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43158 cat >conftest.$ac_ext <<_ACEOF
43159 /* confdefs.h. */
43160 _ACEOF
43161 cat confdefs.h >>conftest.$ac_ext
43162 cat >>conftest.$ac_ext <<_ACEOF
43163 /* end confdefs.h. */
43164 $ac_includes_default
43165 #include <$ac_header>
43166 _ACEOF
43167 rm -f conftest.$ac_objext
43168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43169 (eval $ac_compile) 2>conftest.er1
43170 ac_status=$?
43171 grep -v '^ *+' conftest.er1 >conftest.err
43172 rm -f conftest.er1
43173 cat conftest.err >&5
43174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43175 (exit $ac_status); } &&
43176 { ac_try='test -z "$ac_c_werror_flag"
43177 || test ! -s conftest.err'
43178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43179 (eval $ac_try) 2>&5
43180 ac_status=$?
43181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43182 (exit $ac_status); }; } &&
43183 { ac_try='test -s conftest.$ac_objext'
43184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43185 (eval $ac_try) 2>&5
43186 ac_status=$?
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); }; }; then
43189 ac_header_compiler=yes
43190 else
43191 echo "$as_me: failed program was:" >&5
43192 sed 's/^/| /' conftest.$ac_ext >&5
43193
43194 ac_header_compiler=no
43195 fi
43196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43198 echo "${ECHO_T}$ac_header_compiler" >&6
43199
43200 # Is the header present?
43201 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43203 cat >conftest.$ac_ext <<_ACEOF
43204 /* confdefs.h. */
43205 _ACEOF
43206 cat confdefs.h >>conftest.$ac_ext
43207 cat >>conftest.$ac_ext <<_ACEOF
43208 /* end confdefs.h. */
43209 #include <$ac_header>
43210 _ACEOF
43211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43213 ac_status=$?
43214 grep -v '^ *+' conftest.er1 >conftest.err
43215 rm -f conftest.er1
43216 cat conftest.err >&5
43217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43218 (exit $ac_status); } >/dev/null; then
43219 if test -s conftest.err; then
43220 ac_cpp_err=$ac_c_preproc_warn_flag
43221 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43222 else
43223 ac_cpp_err=
43224 fi
43225 else
43226 ac_cpp_err=yes
43227 fi
43228 if test -z "$ac_cpp_err"; then
43229 ac_header_preproc=yes
43230 else
43231 echo "$as_me: failed program was:" >&5
43232 sed 's/^/| /' conftest.$ac_ext >&5
43233
43234 ac_header_preproc=no
43235 fi
43236 rm -f conftest.err conftest.$ac_ext
43237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43238 echo "${ECHO_T}$ac_header_preproc" >&6
43239
43240 # So? What about this header?
43241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43242 yes:no: )
43243 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43246 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43247 ac_header_preproc=yes
43248 ;;
43249 no:yes:* )
43250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43254 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43255 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43256 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43257 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43260 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43261 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43262 (
43263 cat <<\_ASBOX
43264 ## ----------------------------------------- ##
43265 ## Report this to wx-dev@lists.wxwidgets.org ##
43266 ## ----------------------------------------- ##
43267 _ASBOX
43268 ) |
43269 sed "s/^/$as_me: WARNING: /" >&2
43270 ;;
43271 esac
43272 echo "$as_me:$LINENO: checking for $ac_header" >&5
43273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43275 echo $ECHO_N "(cached) $ECHO_C" >&6
43276 else
43277 eval "$as_ac_Header=\$ac_header_preproc"
43278 fi
43279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43281
43282 fi
43283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43284 cat >>confdefs.h <<_ACEOF
43285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43286 _ACEOF
43287
43288 fi
43289
43290 done
43291
43292
43293 if test "$ac_cv_header_ole2_h" = "yes" ; then
43294 if test "$GCC" = yes ; then
43295 ac_ext=cc
43296 ac_cpp='$CXXCPP $CPPFLAGS'
43297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43300
43301
43302 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43303 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43304 cat >conftest.$ac_ext <<_ACEOF
43305 /* confdefs.h. */
43306 _ACEOF
43307 cat confdefs.h >>conftest.$ac_ext
43308 cat >>conftest.$ac_ext <<_ACEOF
43309 /* end confdefs.h. */
43310 #include <windows.h>
43311 #include <ole2.h>
43312 int
43313 main ()
43314 {
43315
43316 ;
43317 return 0;
43318 }
43319 _ACEOF
43320 rm -f conftest.$ac_objext
43321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43322 (eval $ac_compile) 2>conftest.er1
43323 ac_status=$?
43324 grep -v '^ *+' conftest.er1 >conftest.err
43325 rm -f conftest.er1
43326 cat conftest.err >&5
43327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43328 (exit $ac_status); } &&
43329 { ac_try='test -z "$ac_cxx_werror_flag"
43330 || test ! -s conftest.err'
43331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43332 (eval $ac_try) 2>&5
43333 ac_status=$?
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); }; } &&
43336 { ac_try='test -s conftest.$ac_objext'
43337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43338 (eval $ac_try) 2>&5
43339 ac_status=$?
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); }; }; then
43342 echo "$as_me:$LINENO: result: no" >&5
43343 echo "${ECHO_T}no" >&6
43344 else
43345 echo "$as_me: failed program was:" >&5
43346 sed 's/^/| /' conftest.$ac_ext >&5
43347
43348 echo "$as_me:$LINENO: result: yes" >&5
43349 echo "${ECHO_T}yes" >&6
43350 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43351 fi
43352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43353 ac_ext=c
43354 ac_cpp='$CPP $CPPFLAGS'
43355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43358
43359 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43360 if test "$wxUSE_OLE" = "yes" ; then
43361 cat >>confdefs.h <<\_ACEOF
43362 #define wxUSE_OLE 1
43363 _ACEOF
43364
43365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43366 fi
43367 fi
43368
43369 if test "$wxUSE_DATAOBJ" = "yes" ; then
43370 cat >>confdefs.h <<\_ACEOF
43371 #define wxUSE_DATAOBJ 1
43372 _ACEOF
43373
43374 fi
43375 else
43376 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43377 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43378
43379 wxUSE_CLIPBOARD=no
43380 wxUSE_DRAG_AND_DROP=no
43381 wxUSE_DATAOBJ=no
43382 wxUSE_OLE=no
43383 fi
43384
43385 if test "$wxUSE_METAFILE" = "yes"; then
43386 cat >>confdefs.h <<\_ACEOF
43387 #define wxUSE_METAFILE 1
43388 _ACEOF
43389
43390
43391 cat >>confdefs.h <<\_ACEOF
43392 #define wxUSE_ENH_METAFILE 1
43393 _ACEOF
43394
43395 fi
43396 fi
43397
43398 if test "$wxUSE_IPC" = "yes"; then
43399 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43400 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43401 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43402 wxUSE_IPC=no
43403 fi
43404
43405 if test "$wxUSE_IPC" = "yes"; then
43406 cat >>confdefs.h <<\_ACEOF
43407 #define wxUSE_IPC 1
43408 _ACEOF
43409
43410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43411 fi
43412 fi
43413
43414 if test "$wxUSE_DATAOBJ" = "yes"; then
43415 if test "$wxUSE_MGL" = 1; then
43416 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43417 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43418 wxUSE_DATAOBJ=no
43419 else
43420 cat >>confdefs.h <<\_ACEOF
43421 #define wxUSE_DATAOBJ 1
43422 _ACEOF
43423
43424 fi
43425 else
43426 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43427 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43428 wxUSE_CLIPBOARD=no
43429 wxUSE_DRAG_AND_DROP=no
43430 fi
43431
43432 if test "$wxUSE_CLIPBOARD" = "yes"; then
43433 if test "$wxUSE_MGL" = 1; then
43434 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43435 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43436 wxUSE_CLIPBOARD=no
43437 fi
43438
43439 if test "$wxUSE_CLIPBOARD" = "yes"; then
43440 cat >>confdefs.h <<\_ACEOF
43441 #define wxUSE_CLIPBOARD 1
43442 _ACEOF
43443
43444 fi
43445 fi
43446
43447 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43448 if test "$wxUSE_GTK" = 1; then
43449 if test "$WXGTK12" != 1; then
43450 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43451 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43452 wxUSE_DRAG_AND_DROP=no
43453 fi
43454 fi
43455
43456 if test "$wxUSE_MOTIF" = 1; then
43457 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43458 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43459 wxUSE_DRAG_AND_DROP=no
43460 fi
43461
43462 if test "$wxUSE_X11" = 1; then
43463 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43464 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43465 wxUSE_DRAG_AND_DROP=no
43466 fi
43467
43468 if test "$wxUSE_MGL" = 1; then
43469 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43470 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43471 wxUSE_DRAG_AND_DROP=no
43472 fi
43473
43474 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43475 cat >>confdefs.h <<\_ACEOF
43476 #define wxUSE_DRAG_AND_DROP 1
43477 _ACEOF
43478
43479 fi
43480
43481 fi
43482
43483 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43485 fi
43486
43487 if test "$wxUSE_SPLINES" = "yes" ; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_SPLINES 1
43490 _ACEOF
43491
43492 fi
43493
43494 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43495 cat >>confdefs.h <<\_ACEOF
43496 #define wxUSE_MOUSEWHEEL 1
43497 _ACEOF
43498
43499 fi
43500
43501
43502 USES_CONTROLS=0
43503 if test "$wxUSE_CONTROLS" = "yes"; then
43504 USES_CONTROLS=1
43505 fi
43506
43507 if test "$wxUSE_ACCEL" = "yes"; then
43508 cat >>confdefs.h <<\_ACEOF
43509 #define wxUSE_ACCEL 1
43510 _ACEOF
43511
43512 USES_CONTROLS=1
43513 fi
43514
43515 if test "$wxUSE_BUTTON" = "yes"; then
43516 cat >>confdefs.h <<\_ACEOF
43517 #define wxUSE_BUTTON 1
43518 _ACEOF
43519
43520 USES_CONTROLS=1
43521 fi
43522
43523 if test "$wxUSE_BMPBUTTON" = "yes"; then
43524 cat >>confdefs.h <<\_ACEOF
43525 #define wxUSE_BMPBUTTON 1
43526 _ACEOF
43527
43528 USES_CONTROLS=1
43529 fi
43530
43531 if test "$wxUSE_CALCTRL" = "yes"; then
43532 cat >>confdefs.h <<\_ACEOF
43533 #define wxUSE_CALENDARCTRL 1
43534 _ACEOF
43535
43536 USES_CONTROLS=1
43537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
43538 fi
43539
43540 if test "$wxUSE_CARET" = "yes"; then
43541 cat >>confdefs.h <<\_ACEOF
43542 #define wxUSE_CARET 1
43543 _ACEOF
43544
43545 USES_CONTROLS=1
43546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
43547 fi
43548
43549 if test "$wxUSE_COMBOBOX" = "yes"; then
43550 cat >>confdefs.h <<\_ACEOF
43551 #define wxUSE_COMBOBOX 1
43552 _ACEOF
43553
43554 USES_CONTROLS=1
43555 fi
43556
43557 if test "$wxUSE_CHOICE" = "yes"; then
43558 cat >>confdefs.h <<\_ACEOF
43559 #define wxUSE_CHOICE 1
43560 _ACEOF
43561
43562 USES_CONTROLS=1
43563 fi
43564
43565 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43566 cat >>confdefs.h <<\_ACEOF
43567 #define wxUSE_CHOICEBOOK 1
43568 _ACEOF
43569
43570 USES_CONTROLS=1
43571 fi
43572
43573 if test "$wxUSE_CHECKBOX" = "yes"; then
43574 cat >>confdefs.h <<\_ACEOF
43575 #define wxUSE_CHECKBOX 1
43576 _ACEOF
43577
43578 USES_CONTROLS=1
43579 fi
43580
43581 if test "$wxUSE_CHECKLST" = "yes"; then
43582 cat >>confdefs.h <<\_ACEOF
43583 #define wxUSE_CHECKLISTBOX 1
43584 _ACEOF
43585
43586 USES_CONTROLS=1
43587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
43588 fi
43589
43590 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43591 cat >>confdefs.h <<\_ACEOF
43592 #define wxUSE_DATEPICKCTRL 1
43593 _ACEOF
43594
43595 USES_CONTROLS=1
43596 fi
43597
43598 if test "$wxUSE_DISPLAY" = "yes"; then
43599 cat >>confdefs.h <<\_ACEOF
43600 #define wxUSE_DISPLAY 1
43601 _ACEOF
43602
43603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
43604 fi
43605
43606 if test "$wxUSE_GAUGE" = "yes"; then
43607 cat >>confdefs.h <<\_ACEOF
43608 #define wxUSE_GAUGE 1
43609 _ACEOF
43610
43611 USES_CONTROLS=1
43612 fi
43613
43614 if test "$wxUSE_GRID" = "yes"; then
43615 cat >>confdefs.h <<\_ACEOF
43616 #define wxUSE_GRID 1
43617 _ACEOF
43618
43619 USES_CONTROLS=1
43620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
43621 fi
43622
43623 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43624 cat >>confdefs.h <<\_ACEOF
43625 #define wxUSE_DATAVIEWCTRL 1
43626 _ACEOF
43627
43628 USES_CONTROLS=1
43629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
43630 fi
43631
43632 if test "$wxUSE_IMAGLIST" = "yes"; then
43633 cat >>confdefs.h <<\_ACEOF
43634 #define wxUSE_IMAGLIST 1
43635 _ACEOF
43636
43637 fi
43638
43639 if test "$wxUSE_LISTBOOK" = "yes"; then
43640 cat >>confdefs.h <<\_ACEOF
43641 #define wxUSE_LISTBOOK 1
43642 _ACEOF
43643
43644 USES_CONTROLS=1
43645 fi
43646
43647 if test "$wxUSE_LISTBOX" = "yes"; then
43648 cat >>confdefs.h <<\_ACEOF
43649 #define wxUSE_LISTBOX 1
43650 _ACEOF
43651
43652 USES_CONTROLS=1
43653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
43654 fi
43655
43656 if test "$wxUSE_LISTCTRL" = "yes"; then
43657 if test "$wxUSE_IMAGLIST" = "yes"; then
43658 cat >>confdefs.h <<\_ACEOF
43659 #define wxUSE_LISTCTRL 1
43660 _ACEOF
43661
43662 USES_CONTROLS=1
43663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
43664 else
43665 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43666 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43667 fi
43668 fi
43669
43670 if test "$wxUSE_NOTEBOOK" = "yes"; then
43671 cat >>confdefs.h <<\_ACEOF
43672 #define wxUSE_NOTEBOOK 1
43673 _ACEOF
43674
43675 USES_CONTROLS=1
43676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
43677 fi
43678
43679
43680 if test "$wxUSE_RADIOBOX" = "yes"; then
43681 cat >>confdefs.h <<\_ACEOF
43682 #define wxUSE_RADIOBOX 1
43683 _ACEOF
43684
43685 USES_CONTROLS=1
43686 fi
43687
43688 if test "$wxUSE_RADIOBTN" = "yes"; then
43689 cat >>confdefs.h <<\_ACEOF
43690 #define wxUSE_RADIOBTN 1
43691 _ACEOF
43692
43693 USES_CONTROLS=1
43694 fi
43695
43696 if test "$wxUSE_SASH" = "yes"; then
43697 cat >>confdefs.h <<\_ACEOF
43698 #define wxUSE_SASH 1
43699 _ACEOF
43700
43701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
43702 fi
43703
43704 if test "$wxUSE_SCROLLBAR" = "yes"; then
43705 cat >>confdefs.h <<\_ACEOF
43706 #define wxUSE_SCROLLBAR 1
43707 _ACEOF
43708
43709 USES_CONTROLS=1
43710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
43711 fi
43712
43713 if test "$wxUSE_SLIDER" = "yes"; then
43714 cat >>confdefs.h <<\_ACEOF
43715 #define wxUSE_SLIDER 1
43716 _ACEOF
43717
43718 USES_CONTROLS=1
43719 fi
43720
43721 if test "$wxUSE_SPINBTN" = "yes"; then
43722 cat >>confdefs.h <<\_ACEOF
43723 #define wxUSE_SPINBTN 1
43724 _ACEOF
43725
43726 USES_CONTROLS=1
43727 fi
43728
43729 if test "$wxUSE_SPINCTRL" = "yes"; then
43730 cat >>confdefs.h <<\_ACEOF
43731 #define wxUSE_SPINCTRL 1
43732 _ACEOF
43733
43734 USES_CONTROLS=1
43735 fi
43736
43737 if test "$wxUSE_SPLITTER" = "yes"; then
43738 cat >>confdefs.h <<\_ACEOF
43739 #define wxUSE_SPLITTER 1
43740 _ACEOF
43741
43742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
43743 fi
43744
43745 if test "$wxUSE_STATBMP" = "yes"; then
43746 cat >>confdefs.h <<\_ACEOF
43747 #define wxUSE_STATBMP 1
43748 _ACEOF
43749
43750 USES_CONTROLS=1
43751 fi
43752
43753 if test "$wxUSE_STATBOX" = "yes"; then
43754 cat >>confdefs.h <<\_ACEOF
43755 #define wxUSE_STATBOX 1
43756 _ACEOF
43757
43758 USES_CONTROLS=1
43759 fi
43760
43761 if test "$wxUSE_STATTEXT" = "yes"; then
43762 cat >>confdefs.h <<\_ACEOF
43763 #define wxUSE_STATTEXT 1
43764 _ACEOF
43765
43766 USES_CONTROLS=1
43767 fi
43768
43769 if test "$wxUSE_STATLINE" = "yes"; then
43770 cat >>confdefs.h <<\_ACEOF
43771 #define wxUSE_STATLINE 1
43772 _ACEOF
43773
43774 USES_CONTROLS=1
43775 fi
43776
43777 if test "$wxUSE_STATUSBAR" = "yes"; then
43778 cat >>confdefs.h <<\_ACEOF
43779 #define wxUSE_NATIVE_STATUSBAR 1
43780 _ACEOF
43781
43782 cat >>confdefs.h <<\_ACEOF
43783 #define wxUSE_STATUSBAR 1
43784 _ACEOF
43785
43786 USES_CONTROLS=1
43787
43788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
43789 fi
43790
43791 if test "$wxUSE_TABDIALOG" = "yes"; then
43792 cat >>confdefs.h <<\_ACEOF
43793 #define wxUSE_TAB_DIALOG 1
43794 _ACEOF
43795
43796 fi
43797
43798 if test "$wxUSE_TEXTCTRL" = "yes"; then
43799 cat >>confdefs.h <<\_ACEOF
43800 #define wxUSE_TEXTCTRL 1
43801 _ACEOF
43802
43803 USES_CONTROLS=1
43804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
43805 fi
43806
43807 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43808 if test "$wxUSE_COCOA" = 1 ; then
43809 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
43810 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
43811 wxUSE_TOGGLEBTN=no
43812 fi
43813 if test "$wxUSE_UNIVERSAL" = "yes"; then
43814 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
43815 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
43816 wxUSE_TOGGLEBTN=no
43817 fi
43818
43819 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43820 cat >>confdefs.h <<\_ACEOF
43821 #define wxUSE_TOGGLEBTN 1
43822 _ACEOF
43823
43824 USES_CONTROLS=1
43825 fi
43826 fi
43827
43828 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
43829 cat >>confdefs.h <<\_ACEOF
43830 #define wxUSE_TOOLBAR_SIMPLE 1
43831 _ACEOF
43832
43833 wxUSE_TOOLBAR="yes"
43834 USES_CONTROLS=1
43835 fi
43836
43837 if test "$wxUSE_TOOLBAR" = "yes"; then
43838 cat >>confdefs.h <<\_ACEOF
43839 #define wxUSE_TOOLBAR 1
43840 _ACEOF
43841
43842 USES_CONTROLS=1
43843
43844 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
43845 wxUSE_TOOLBAR_NATIVE="yes"
43846 fi
43847
43848 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
43849 cat >>confdefs.h <<\_ACEOF
43850 #define wxUSE_TOOLBAR_NATIVE 1
43851 _ACEOF
43852
43853 USES_CONTROLS=1
43854 fi
43855
43856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
43857 fi
43858
43859 if test "$wxUSE_TOOLTIPS" = "yes"; then
43860 if test "$wxUSE_MOTIF" = 1; then
43861 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
43862 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
43863 else
43864 if test "$wxUSE_UNIVERSAL" = "yes"; then
43865 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
43866 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
43867 else
43868 cat >>confdefs.h <<\_ACEOF
43869 #define wxUSE_TOOLTIPS 1
43870 _ACEOF
43871
43872 fi
43873 fi
43874 fi
43875
43876 if test "$wxUSE_TREEBOOK" = "yes"; then
43877 cat >>confdefs.h <<\_ACEOF
43878 #define wxUSE_TREEBOOK 1
43879 _ACEOF
43880
43881 USES_CONTROLS=1
43882 fi
43883
43884 if test "$wxUSE_TOOLBOOK" = "yes"; then
43885 cat >>confdefs.h <<\_ACEOF
43886 #define wxUSE_TOOLBOOK 1
43887 _ACEOF
43888
43889 USES_CONTROLS=1
43890 fi
43891
43892 if test "$wxUSE_TREECTRL" = "yes"; then
43893 if test "$wxUSE_IMAGLIST" = "yes"; then
43894 cat >>confdefs.h <<\_ACEOF
43895 #define wxUSE_TREECTRL 1
43896 _ACEOF
43897
43898 USES_CONTROLS=1
43899 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
43900 else
43901 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
43902 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
43903 fi
43904 fi
43905
43906 if test "$wxUSE_POPUPWIN" = "yes"; then
43907 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43908 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
43909 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
43910 else
43911 if test "$wxUSE_PM" = 1; then
43912 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
43913 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
43914 else
43915 cat >>confdefs.h <<\_ACEOF
43916 #define wxUSE_POPUPWIN 1
43917 _ACEOF
43918
43919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
43920
43921 USES_CONTROLS=1
43922 fi
43923 fi
43924 fi
43925
43926 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
43927 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43928 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
43929 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
43930 else
43931 cat >>confdefs.h <<\_ACEOF
43932 #define wxUSE_DIALUP_MANAGER 1
43933 _ACEOF
43934
43935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
43936 fi
43937 fi
43938
43939 if test "$wxUSE_TIPWINDOW" = "yes"; then
43940 if test "$wxUSE_PM" = 1; then
43941 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
43942 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
43943 else
43944 cat >>confdefs.h <<\_ACEOF
43945 #define wxUSE_TIPWINDOW 1
43946 _ACEOF
43947
43948 fi
43949 fi
43950
43951 if test "$USES_CONTROLS" = 1; then
43952 cat >>confdefs.h <<\_ACEOF
43953 #define wxUSE_CONTROLS 1
43954 _ACEOF
43955
43956 fi
43957
43958
43959 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
43960 cat >>confdefs.h <<\_ACEOF
43961 #define wxUSE_ACCESSIBILITY 1
43962 _ACEOF
43963
43964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
43965 fi
43966
43967 if test "$wxUSE_DC_CACHEING" = "yes"; then
43968 cat >>confdefs.h <<\_ACEOF
43969 #define wxUSE_DC_CACHEING 1
43970 _ACEOF
43971
43972 fi
43973
43974 if test "$wxUSE_DRAGIMAGE" = "yes"; then
43975 cat >>confdefs.h <<\_ACEOF
43976 #define wxUSE_DRAGIMAGE 1
43977 _ACEOF
43978
43979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
43980 fi
43981
43982 if test "$wxUSE_EXCEPTIONS" = "yes"; then
43983 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43984 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
43985 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
43986 else
43987 cat >>confdefs.h <<\_ACEOF
43988 #define wxUSE_EXCEPTIONS 1
43989 _ACEOF
43990
43991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
43992 fi
43993 fi
43994
43995 USE_HTML=0
43996 if test "$wxUSE_HTML" = "yes"; then
43997 cat >>confdefs.h <<\_ACEOF
43998 #define wxUSE_HTML 1
43999 _ACEOF
44000
44001 USE_HTML=1
44002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44003 if test "$wxUSE_MAC" = 1; then
44004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44005 fi
44006 fi
44007 if test "$wxUSE_WEBKIT" = "yes"; then
44008 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44009 old_CPPFLAGS="$CPPFLAGS"
44010 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44011 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44012 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44013 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44014 echo $ECHO_N "(cached) $ECHO_C" >&6
44015 else
44016 cat >conftest.$ac_ext <<_ACEOF
44017 /* confdefs.h. */
44018 _ACEOF
44019 cat confdefs.h >>conftest.$ac_ext
44020 cat >>conftest.$ac_ext <<_ACEOF
44021 /* end confdefs.h. */
44022 #include <Carbon/Carbon.h>
44023
44024 #include <WebKit/HIWebView.h>
44025 _ACEOF
44026 rm -f conftest.$ac_objext
44027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44028 (eval $ac_compile) 2>conftest.er1
44029 ac_status=$?
44030 grep -v '^ *+' conftest.er1 >conftest.err
44031 rm -f conftest.er1
44032 cat conftest.err >&5
44033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44034 (exit $ac_status); } &&
44035 { ac_try='test -z "$ac_c_werror_flag"
44036 || test ! -s conftest.err'
44037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44038 (eval $ac_try) 2>&5
44039 ac_status=$?
44040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44041 (exit $ac_status); }; } &&
44042 { ac_try='test -s conftest.$ac_objext'
44043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44044 (eval $ac_try) 2>&5
44045 ac_status=$?
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); }; }; then
44048 ac_cv_header_WebKit_HIWebView_h=yes
44049 else
44050 echo "$as_me: failed program was:" >&5
44051 sed 's/^/| /' conftest.$ac_ext >&5
44052
44053 ac_cv_header_WebKit_HIWebView_h=no
44054 fi
44055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44056 fi
44057 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44058 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44059 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44060
44061 cat >>confdefs.h <<\_ACEOF
44062 #define wxUSE_WEBKIT 1
44063 _ACEOF
44064
44065 WEBKIT_LINK="-framework WebKit"
44066
44067 else
44068
44069 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44070 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44071 wxUSE_WEBKIT=no
44072
44073 fi
44074
44075
44076 CPPFLAGS="$old_CPPFLAGS"
44077 elif test "$wxUSE_COCOA" = 1; then
44078 cat >>confdefs.h <<\_ACEOF
44079 #define wxUSE_WEBKIT 1
44080 _ACEOF
44081
44082 else
44083 wxUSE_WEBKIT=no
44084 fi
44085 fi
44086
44087 USE_XRC=0
44088 if test "$wxUSE_XRC" = "yes"; then
44089 if test "$wxUSE_XML" != "yes"; then
44090 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44091 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44092 wxUSE_XRC=no
44093 else
44094 cat >>confdefs.h <<\_ACEOF
44095 #define wxUSE_XRC 1
44096 _ACEOF
44097
44098 USE_XRC=1
44099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44100 fi
44101 fi
44102
44103 if test "$wxUSE_MENUS" = "yes"; then
44104 cat >>confdefs.h <<\_ACEOF
44105 #define wxUSE_MENUS 1
44106 _ACEOF
44107
44108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44109 fi
44110
44111 if test "$wxUSE_METAFILE" = "yes"; then
44112 cat >>confdefs.h <<\_ACEOF
44113 #define wxUSE_METAFILE 1
44114 _ACEOF
44115
44116 fi
44117
44118 if test "$wxUSE_MIMETYPE" = "yes"; then
44119 cat >>confdefs.h <<\_ACEOF
44120 #define wxUSE_MIMETYPE 1
44121 _ACEOF
44122
44123 fi
44124
44125 if test "$wxUSE_MINIFRAME" = "yes"; then
44126 cat >>confdefs.h <<\_ACEOF
44127 #define wxUSE_MINIFRAME 1
44128 _ACEOF
44129
44130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44131 fi
44132
44133 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44134 cat >>confdefs.h <<\_ACEOF
44135 #define wxUSE_SYSTEM_OPTIONS 1
44136 _ACEOF
44137
44138 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44139 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44141 fi
44142 fi
44143
44144
44145 if test "$wxUSE_VALIDATORS" = "yes"; then
44146 cat >>confdefs.h <<\_ACEOF
44147 #define wxUSE_VALIDATORS 1
44148 _ACEOF
44149
44150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44151 fi
44152
44153 if test "$wxUSE_PALETTE" = "yes" ; then
44154 cat >>confdefs.h <<\_ACEOF
44155 #define wxUSE_PALETTE 1
44156 _ACEOF
44157
44158 fi
44159
44160 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44161 LIBS=" -lunicows $LIBS"
44162 fi
44163
44164 USE_RICHTEXT=0
44165 if test "$wxUSE_RICHTEXT" = "yes"; then
44166 cat >>confdefs.h <<\_ACEOF
44167 #define wxUSE_RICHTEXT 1
44168 _ACEOF
44169
44170 USE_RICHTEXT=1
44171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44172 fi
44173
44174
44175 if test "$wxUSE_IMAGE" = "yes" ; then
44176 cat >>confdefs.h <<\_ACEOF
44177 #define wxUSE_IMAGE 1
44178 _ACEOF
44179
44180
44181 if test "$wxUSE_GIF" = "yes" ; then
44182 cat >>confdefs.h <<\_ACEOF
44183 #define wxUSE_GIF 1
44184 _ACEOF
44185
44186 fi
44187
44188 if test "$wxUSE_PCX" = "yes" ; then
44189 cat >>confdefs.h <<\_ACEOF
44190 #define wxUSE_PCX 1
44191 _ACEOF
44192
44193 fi
44194
44195 if test "$wxUSE_IFF" = "yes" ; then
44196 cat >>confdefs.h <<\_ACEOF
44197 #define wxUSE_IFF 1
44198 _ACEOF
44199
44200 fi
44201
44202 if test "$wxUSE_PNM" = "yes" ; then
44203 cat >>confdefs.h <<\_ACEOF
44204 #define wxUSE_PNM 1
44205 _ACEOF
44206
44207 fi
44208
44209 if test "$wxUSE_XPM" = "yes" ; then
44210 cat >>confdefs.h <<\_ACEOF
44211 #define wxUSE_XPM 1
44212 _ACEOF
44213
44214 fi
44215
44216 if test "$wxUSE_ICO_CUR" = "yes" ; then
44217 cat >>confdefs.h <<\_ACEOF
44218 #define wxUSE_ICO_CUR 1
44219 _ACEOF
44220
44221 fi
44222 fi
44223
44224
44225 if test "$wxUSE_CHOICEDLG" = "yes"; then
44226 cat >>confdefs.h <<\_ACEOF
44227 #define wxUSE_CHOICEDLG 1
44228 _ACEOF
44229
44230 fi
44231
44232 if test "$wxUSE_COLOURDLG" = "yes"; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define wxUSE_COLOURDLG 1
44235 _ACEOF
44236
44237 fi
44238
44239 if test "$wxUSE_FILEDLG" = "yes"; then
44240 cat >>confdefs.h <<\_ACEOF
44241 #define wxUSE_FILEDLG 1
44242 _ACEOF
44243
44244 fi
44245
44246 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44247 cat >>confdefs.h <<\_ACEOF
44248 #define wxUSE_FINDREPLDLG 1
44249 _ACEOF
44250
44251 fi
44252
44253 if test "$wxUSE_FONTDLG" = "yes"; then
44254 cat >>confdefs.h <<\_ACEOF
44255 #define wxUSE_FONTDLG 1
44256 _ACEOF
44257
44258 fi
44259
44260 if test "$wxUSE_DIRDLG" = "yes"; then
44261 if test "$wxUSE_TREECTRL" != "yes"; then
44262 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44263 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44264 else
44265 cat >>confdefs.h <<\_ACEOF
44266 #define wxUSE_DIRDLG 1
44267 _ACEOF
44268
44269 fi
44270 fi
44271
44272 if test "$wxUSE_MSGDLG" = "yes"; then
44273 cat >>confdefs.h <<\_ACEOF
44274 #define wxUSE_MSGDLG 1
44275 _ACEOF
44276
44277 fi
44278
44279 if test "$wxUSE_NUMBERDLG" = "yes"; then
44280 cat >>confdefs.h <<\_ACEOF
44281 #define wxUSE_NUMBERDLG 1
44282 _ACEOF
44283
44284 fi
44285
44286 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44287 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44288 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44289 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44290 else
44291 cat >>confdefs.h <<\_ACEOF
44292 #define wxUSE_PROGRESSDLG 1
44293 _ACEOF
44294
44295 fi
44296 fi
44297
44298 if test "$wxUSE_SPLASH" = "yes"; then
44299 cat >>confdefs.h <<\_ACEOF
44300 #define wxUSE_SPLASH 1
44301 _ACEOF
44302
44303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44304 fi
44305
44306 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44307 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44308 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44309 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44310 else
44311 cat >>confdefs.h <<\_ACEOF
44312 #define wxUSE_STARTUP_TIPS 1
44313 _ACEOF
44314
44315 fi
44316 fi
44317
44318 if test "$wxUSE_TEXTDLG" = "yes"; then
44319 cat >>confdefs.h <<\_ACEOF
44320 #define wxUSE_TEXTDLG 1
44321 _ACEOF
44322
44323 fi
44324
44325 if test "$wxUSE_WIZARDDLG" = "yes"; then
44326 cat >>confdefs.h <<\_ACEOF
44327 #define wxUSE_WIZARDDLG 1
44328 _ACEOF
44329
44330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44331 fi
44332
44333
44334 if test "$wxUSE_MEDIACTRL" = "yes"; then
44335 if test "$wxUSE_GTK" = 1; then
44336 wxUSE_GSTREAMER="yes"
44337
44338
44339 succeeded=no
44340
44341 if test -z "$PKG_CONFIG"; then
44342 # Extract the first word of "pkg-config", so it can be a program name with args.
44343 set dummy pkg-config; ac_word=$2
44344 echo "$as_me:$LINENO: checking for $ac_word" >&5
44345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44346 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44347 echo $ECHO_N "(cached) $ECHO_C" >&6
44348 else
44349 case $PKG_CONFIG in
44350 [\\/]* | ?:[\\/]*)
44351 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44352 ;;
44353 *)
44354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44355 for as_dir in $PATH
44356 do
44357 IFS=$as_save_IFS
44358 test -z "$as_dir" && as_dir=.
44359 for ac_exec_ext in '' $ac_executable_extensions; do
44360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44361 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44363 break 2
44364 fi
44365 done
44366 done
44367
44368 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
44369 ;;
44370 esac
44371 fi
44372 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44373
44374 if test -n "$PKG_CONFIG"; then
44375 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44376 echo "${ECHO_T}$PKG_CONFIG" >&6
44377 else
44378 echo "$as_me:$LINENO: result: no" >&5
44379 echo "${ECHO_T}no" >&6
44380 fi
44381
44382 fi
44383
44384 if test "$PKG_CONFIG" = "no" ; then
44385 echo "*** The pkg-config script could not be found. Make sure it is"
44386 echo "*** in your path, or set the PKG_CONFIG environment variable"
44387 echo "*** to the full path to pkg-config."
44388 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44389 else
44390 PKG_CONFIG_MIN_VERSION=0.9.0
44391 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44392 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
44393 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
44394
44395 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
44396 echo "$as_me:$LINENO: result: yes" >&5
44397 echo "${ECHO_T}yes" >&6
44398 succeeded=yes
44399
44400 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
44401 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
44402 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
44403 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
44404 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
44405
44406 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
44407 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
44408 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
44409 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
44410 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
44411 else
44412 GSTREAMER_CFLAGS=""
44413 GSTREAMER_LIBS=""
44414 ## If we have a custom action on failure, don't print errors, but
44415 ## do set a variable so people can do so.
44416 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
44417
44418 fi
44419
44420
44421
44422 else
44423 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44424 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44425 fi
44426 fi
44427
44428 if test $succeeded = yes; then
44429
44430 CPPFLAGS="$GSTREAMER_CFLAGS $CPPFLAGS"
44431 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
44432
44433 else
44434
44435 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
44436 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
44437 wxUSE_GSTREAMER="no"
44438
44439 fi
44440
44441
44442
44443
44444
44445 if test "x$GST_INSPECT" == "x"; then
44446 # Extract the first word of "gst-inspect", so it can be a program name with args.
44447 set dummy gst-inspect; ac_word=$2
44448 echo "$as_me:$LINENO: checking for $ac_word" >&5
44449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44450 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
44451 echo $ECHO_N "(cached) $ECHO_C" >&6
44452 else
44453 if test -n "$GST_INSPECT"; then
44454 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
44455 else
44456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44457 for as_dir in $PATH
44458 do
44459 IFS=$as_save_IFS
44460 test -z "$as_dir" && as_dir=.
44461 for ac_exec_ext in '' $ac_executable_extensions; do
44462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44463 ac_cv_prog_GST_INSPECT="gst-inspect"
44464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44465 break 2
44466 fi
44467 done
44468 done
44469
44470 fi
44471 fi
44472 GST_INSPECT=$ac_cv_prog_GST_INSPECT
44473 if test -n "$GST_INSPECT"; then
44474 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
44475 echo "${ECHO_T}$GST_INSPECT" >&6
44476 else
44477 echo "$as_me:$LINENO: result: no" >&5
44478 echo "${ECHO_T}no" >&6
44479 fi
44480
44481 fi
44482
44483 if test "x$GST_INSPECT" != "x"; then
44484 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
44485 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
44486 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
44487 echo "$as_me:$LINENO: result: found." >&5
44488 echo "${ECHO_T}found." >&6
44489
44490 else
44491 echo "$as_me:$LINENO: result: not found." >&5
44492 echo "${ECHO_T}not found." >&6
44493
44494 wxUSE_GSTREAMER="no"
44495 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
44496 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
44497
44498 fi
44499 fi
44500
44501
44502 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
44503 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
44504 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
44505 echo $ECHO_N "(cached) $ECHO_C" >&6
44506 else
44507 cat >conftest.$ac_ext <<_ACEOF
44508 /* confdefs.h. */
44509 _ACEOF
44510 cat confdefs.h >>conftest.$ac_ext
44511 cat >>conftest.$ac_ext <<_ACEOF
44512 /* end confdefs.h. */
44513 #include <gst/gst.h>
44514
44515 #include <gst/xoverlay/xoverlay.h>
44516 _ACEOF
44517 rm -f conftest.$ac_objext
44518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44519 (eval $ac_compile) 2>conftest.er1
44520 ac_status=$?
44521 grep -v '^ *+' conftest.er1 >conftest.err
44522 rm -f conftest.er1
44523 cat conftest.err >&5
44524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44525 (exit $ac_status); } &&
44526 { ac_try='test -z "$ac_c_werror_flag"
44527 || test ! -s conftest.err'
44528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44529 (eval $ac_try) 2>&5
44530 ac_status=$?
44531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44532 (exit $ac_status); }; } &&
44533 { ac_try='test -s conftest.$ac_objext'
44534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44535 (eval $ac_try) 2>&5
44536 ac_status=$?
44537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44538 (exit $ac_status); }; }; then
44539 ac_cv_header_gst_xoverlay_xoverlay_h=yes
44540 else
44541 echo "$as_me: failed program was:" >&5
44542 sed 's/^/| /' conftest.$ac_ext >&5
44543
44544 ac_cv_header_gst_xoverlay_xoverlay_h=no
44545 fi
44546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44547 fi
44548 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
44549 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
44550 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
44551 :
44552 else
44553
44554 wxUSE_GSTREAMER="no"
44555 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
44556 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
44557
44558 fi
44559
44560
44561
44562 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
44563 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
44564
44565 ac_find_libraries=
44566 for ac_dir in $SEARCH_LIB;
44567 do
44568 for ac_extension in a so sl dylib dll.a; do
44569 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
44570 ac_find_libraries=$ac_dir
44571 break 2
44572 fi
44573 done
44574 done
44575
44576
44577 if test "$ac_find_libraries" = "" ; then
44578 echo "$as_me:$LINENO: result: no" >&5
44579 echo "${ECHO_T}no" >&6
44580 wxUSE_GSTREAMER="no"
44581 else
44582 echo "$as_me:$LINENO: result: yes" >&5
44583 echo "${ECHO_T}yes" >&6
44584 fi
44585
44586 if test "$wxUSE_GSTREAMER" = "yes"; then
44587 cat >>confdefs.h <<\_ACEOF
44588 #define wxUSE_GSTREAMER 1
44589 _ACEOF
44590
44591 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44592 echo "${ECHO_T}GStreamer detection successful" >&6
44593 fi
44594 fi
44595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
44596 cat >>confdefs.h <<\_ACEOF
44597 #define wxUSE_MEDIACTRL 1
44598 _ACEOF
44599
44600 fi
44601
44602
44603 if test "$cross_compiling" = "yes"; then
44604 OSINFO="\"$host\""
44605 else
44606 OSINFO=`uname -s -r -m`
44607 OSINFO="\"$OSINFO\""
44608 fi
44609
44610 cat >>confdefs.h <<_ACEOF
44611 #define WXWIN_OS_DESCRIPTION $OSINFO
44612 _ACEOF
44613
44614
44615
44616 if test "x$prefix" != "xNONE"; then
44617 wxPREFIX=$prefix
44618 else
44619 wxPREFIX=$ac_default_prefix
44620 fi
44621
44622 cat >>confdefs.h <<_ACEOF
44623 #define wxINSTALL_PREFIX "$wxPREFIX"
44624 _ACEOF
44625
44626
44627
44628
44629 CORE_BASE_LIBS="net base"
44630 CORE_GUI_LIBS="adv core"
44631
44632 if test "$wxUSE_XML" = "yes" ; then
44633 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
44634 fi
44635 if test "$wxUSE_ODBC" != "no" ; then
44636 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
44637 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
44638 fi
44639 if test "$wxUSE_HTML" = "yes" ; then
44640 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
44641 fi
44642 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44643 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
44644 fi
44645 if test "$wxUSE_XRC" = "yes" ; then
44646 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
44647 fi
44648
44649 if test "$wxUSE_GUI" != "yes"; then
44650 CORE_GUI_LIBS=""
44651 fi
44652
44653
44654
44655
44656
44657
44658
44659 if test "$wxUSE_MAC" = 1 ; then
44660 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44661 if test "$USE_DARWIN" = 1; then
44662 LDFLAGS="$LDFLAGS -framework QuickTime"
44663 else
44664 LDFLAGS="$LDFLAGS -lQuickTimeLib"
44665 fi
44666 fi
44667 if test "$USE_DARWIN" = 1; then
44668 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44669 else
44670 LDFLAGS="$LDFLAGS -lCarbonLib"
44671 fi
44672 fi
44673 if test "$wxUSE_COCOA" = 1 ; then
44674 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
44675 if test "$wxUSE_MEDIACTRL" = "yes"; then
44676 LDFLAGS="$LDFLAGS -framework QuickTime"
44677 fi
44678 fi
44679 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44680 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44681 fi
44682
44683
44684 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44685
44686 have_cos=0
44687 have_floor=0
44688
44689 for ac_func in cos
44690 do
44691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44692 echo "$as_me:$LINENO: checking for $ac_func" >&5
44693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44694 if eval "test \"\${$as_ac_var+set}\" = set"; then
44695 echo $ECHO_N "(cached) $ECHO_C" >&6
44696 else
44697 cat >conftest.$ac_ext <<_ACEOF
44698 /* confdefs.h. */
44699 _ACEOF
44700 cat confdefs.h >>conftest.$ac_ext
44701 cat >>conftest.$ac_ext <<_ACEOF
44702 /* end confdefs.h. */
44703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44705 #define $ac_func innocuous_$ac_func
44706
44707 /* System header to define __stub macros and hopefully few prototypes,
44708 which can conflict with char $ac_func (); below.
44709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44710 <limits.h> exists even on freestanding compilers. */
44711
44712 #ifdef __STDC__
44713 # include <limits.h>
44714 #else
44715 # include <assert.h>
44716 #endif
44717
44718 #undef $ac_func
44719
44720 /* Override any gcc2 internal prototype to avoid an error. */
44721 #ifdef __cplusplus
44722 extern "C"
44723 {
44724 #endif
44725 /* We use char because int might match the return type of a gcc2
44726 builtin and then its argument prototype would still apply. */
44727 char $ac_func ();
44728 /* The GNU C library defines this for functions which it implements
44729 to always fail with ENOSYS. Some functions are actually named
44730 something starting with __ and the normal name is an alias. */
44731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44732 choke me
44733 #else
44734 char (*f) () = $ac_func;
44735 #endif
44736 #ifdef __cplusplus
44737 }
44738 #endif
44739
44740 int
44741 main ()
44742 {
44743 return f != $ac_func;
44744 ;
44745 return 0;
44746 }
44747 _ACEOF
44748 rm -f conftest.$ac_objext conftest$ac_exeext
44749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44750 (eval $ac_link) 2>conftest.er1
44751 ac_status=$?
44752 grep -v '^ *+' conftest.er1 >conftest.err
44753 rm -f conftest.er1
44754 cat conftest.err >&5
44755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44756 (exit $ac_status); } &&
44757 { ac_try='test -z "$ac_c_werror_flag"
44758 || test ! -s conftest.err'
44759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44760 (eval $ac_try) 2>&5
44761 ac_status=$?
44762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44763 (exit $ac_status); }; } &&
44764 { ac_try='test -s conftest$ac_exeext'
44765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44766 (eval $ac_try) 2>&5
44767 ac_status=$?
44768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44769 (exit $ac_status); }; }; then
44770 eval "$as_ac_var=yes"
44771 else
44772 echo "$as_me: failed program was:" >&5
44773 sed 's/^/| /' conftest.$ac_ext >&5
44774
44775 eval "$as_ac_var=no"
44776 fi
44777 rm -f conftest.err conftest.$ac_objext \
44778 conftest$ac_exeext conftest.$ac_ext
44779 fi
44780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44782 if test `eval echo '${'$as_ac_var'}'` = yes; then
44783 cat >>confdefs.h <<_ACEOF
44784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44785 _ACEOF
44786 have_cos=1
44787 fi
44788 done
44789
44790
44791 for ac_func in floor
44792 do
44793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44794 echo "$as_me:$LINENO: checking for $ac_func" >&5
44795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44796 if eval "test \"\${$as_ac_var+set}\" = set"; then
44797 echo $ECHO_N "(cached) $ECHO_C" >&6
44798 else
44799 cat >conftest.$ac_ext <<_ACEOF
44800 /* confdefs.h. */
44801 _ACEOF
44802 cat confdefs.h >>conftest.$ac_ext
44803 cat >>conftest.$ac_ext <<_ACEOF
44804 /* end confdefs.h. */
44805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44807 #define $ac_func innocuous_$ac_func
44808
44809 /* System header to define __stub macros and hopefully few prototypes,
44810 which can conflict with char $ac_func (); below.
44811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44812 <limits.h> exists even on freestanding compilers. */
44813
44814 #ifdef __STDC__
44815 # include <limits.h>
44816 #else
44817 # include <assert.h>
44818 #endif
44819
44820 #undef $ac_func
44821
44822 /* Override any gcc2 internal prototype to avoid an error. */
44823 #ifdef __cplusplus
44824 extern "C"
44825 {
44826 #endif
44827 /* We use char because int might match the return type of a gcc2
44828 builtin and then its argument prototype would still apply. */
44829 char $ac_func ();
44830 /* The GNU C library defines this for functions which it implements
44831 to always fail with ENOSYS. Some functions are actually named
44832 something starting with __ and the normal name is an alias. */
44833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44834 choke me
44835 #else
44836 char (*f) () = $ac_func;
44837 #endif
44838 #ifdef __cplusplus
44839 }
44840 #endif
44841
44842 int
44843 main ()
44844 {
44845 return f != $ac_func;
44846 ;
44847 return 0;
44848 }
44849 _ACEOF
44850 rm -f conftest.$ac_objext conftest$ac_exeext
44851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44852 (eval $ac_link) 2>conftest.er1
44853 ac_status=$?
44854 grep -v '^ *+' conftest.er1 >conftest.err
44855 rm -f conftest.er1
44856 cat conftest.err >&5
44857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44858 (exit $ac_status); } &&
44859 { ac_try='test -z "$ac_c_werror_flag"
44860 || test ! -s conftest.err'
44861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44862 (eval $ac_try) 2>&5
44863 ac_status=$?
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); }; } &&
44866 { ac_try='test -s conftest$ac_exeext'
44867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44868 (eval $ac_try) 2>&5
44869 ac_status=$?
44870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871 (exit $ac_status); }; }; then
44872 eval "$as_ac_var=yes"
44873 else
44874 echo "$as_me: failed program was:" >&5
44875 sed 's/^/| /' conftest.$ac_ext >&5
44876
44877 eval "$as_ac_var=no"
44878 fi
44879 rm -f conftest.err conftest.$ac_objext \
44880 conftest$ac_exeext conftest.$ac_ext
44881 fi
44882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44884 if test `eval echo '${'$as_ac_var'}'` = yes; then
44885 cat >>confdefs.h <<_ACEOF
44886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44887 _ACEOF
44888 have_floor=1
44889 fi
44890 done
44891
44892 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
44893 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
44894 if test "$have_cos" = 1 -a "$have_floor" = 1; then
44895 echo "$as_me:$LINENO: result: yes" >&5
44896 echo "${ECHO_T}yes" >&6
44897 else
44898 echo "$as_me:$LINENO: result: no" >&5
44899 echo "${ECHO_T}no" >&6
44900 LIBS="$LIBS -lm"
44901 # use different functions to avoid configure caching
44902 have_sin=0
44903 have_ceil=0
44904
44905 for ac_func in sin
44906 do
44907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44908 echo "$as_me:$LINENO: checking for $ac_func" >&5
44909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44910 if eval "test \"\${$as_ac_var+set}\" = set"; then
44911 echo $ECHO_N "(cached) $ECHO_C" >&6
44912 else
44913 cat >conftest.$ac_ext <<_ACEOF
44914 /* confdefs.h. */
44915 _ACEOF
44916 cat confdefs.h >>conftest.$ac_ext
44917 cat >>conftest.$ac_ext <<_ACEOF
44918 /* end confdefs.h. */
44919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44921 #define $ac_func innocuous_$ac_func
44922
44923 /* System header to define __stub macros and hopefully few prototypes,
44924 which can conflict with char $ac_func (); below.
44925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44926 <limits.h> exists even on freestanding compilers. */
44927
44928 #ifdef __STDC__
44929 # include <limits.h>
44930 #else
44931 # include <assert.h>
44932 #endif
44933
44934 #undef $ac_func
44935
44936 /* Override any gcc2 internal prototype to avoid an error. */
44937 #ifdef __cplusplus
44938 extern "C"
44939 {
44940 #endif
44941 /* We use char because int might match the return type of a gcc2
44942 builtin and then its argument prototype would still apply. */
44943 char $ac_func ();
44944 /* The GNU C library defines this for functions which it implements
44945 to always fail with ENOSYS. Some functions are actually named
44946 something starting with __ and the normal name is an alias. */
44947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44948 choke me
44949 #else
44950 char (*f) () = $ac_func;
44951 #endif
44952 #ifdef __cplusplus
44953 }
44954 #endif
44955
44956 int
44957 main ()
44958 {
44959 return f != $ac_func;
44960 ;
44961 return 0;
44962 }
44963 _ACEOF
44964 rm -f conftest.$ac_objext conftest$ac_exeext
44965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44966 (eval $ac_link) 2>conftest.er1
44967 ac_status=$?
44968 grep -v '^ *+' conftest.er1 >conftest.err
44969 rm -f conftest.er1
44970 cat conftest.err >&5
44971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44972 (exit $ac_status); } &&
44973 { ac_try='test -z "$ac_c_werror_flag"
44974 || test ! -s conftest.err'
44975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44976 (eval $ac_try) 2>&5
44977 ac_status=$?
44978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44979 (exit $ac_status); }; } &&
44980 { ac_try='test -s conftest$ac_exeext'
44981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44982 (eval $ac_try) 2>&5
44983 ac_status=$?
44984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44985 (exit $ac_status); }; }; then
44986 eval "$as_ac_var=yes"
44987 else
44988 echo "$as_me: failed program was:" >&5
44989 sed 's/^/| /' conftest.$ac_ext >&5
44990
44991 eval "$as_ac_var=no"
44992 fi
44993 rm -f conftest.err conftest.$ac_objext \
44994 conftest$ac_exeext conftest.$ac_ext
44995 fi
44996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44998 if test `eval echo '${'$as_ac_var'}'` = yes; then
44999 cat >>confdefs.h <<_ACEOF
45000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45001 _ACEOF
45002 have_sin=1
45003 fi
45004 done
45005
45006
45007 for ac_func in ceil
45008 do
45009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45010 echo "$as_me:$LINENO: checking for $ac_func" >&5
45011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45012 if eval "test \"\${$as_ac_var+set}\" = set"; then
45013 echo $ECHO_N "(cached) $ECHO_C" >&6
45014 else
45015 cat >conftest.$ac_ext <<_ACEOF
45016 /* confdefs.h. */
45017 _ACEOF
45018 cat confdefs.h >>conftest.$ac_ext
45019 cat >>conftest.$ac_ext <<_ACEOF
45020 /* end confdefs.h. */
45021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45023 #define $ac_func innocuous_$ac_func
45024
45025 /* System header to define __stub macros and hopefully few prototypes,
45026 which can conflict with char $ac_func (); below.
45027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45028 <limits.h> exists even on freestanding compilers. */
45029
45030 #ifdef __STDC__
45031 # include <limits.h>
45032 #else
45033 # include <assert.h>
45034 #endif
45035
45036 #undef $ac_func
45037
45038 /* Override any gcc2 internal prototype to avoid an error. */
45039 #ifdef __cplusplus
45040 extern "C"
45041 {
45042 #endif
45043 /* We use char because int might match the return type of a gcc2
45044 builtin and then its argument prototype would still apply. */
45045 char $ac_func ();
45046 /* The GNU C library defines this for functions which it implements
45047 to always fail with ENOSYS. Some functions are actually named
45048 something starting with __ and the normal name is an alias. */
45049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45050 choke me
45051 #else
45052 char (*f) () = $ac_func;
45053 #endif
45054 #ifdef __cplusplus
45055 }
45056 #endif
45057
45058 int
45059 main ()
45060 {
45061 return f != $ac_func;
45062 ;
45063 return 0;
45064 }
45065 _ACEOF
45066 rm -f conftest.$ac_objext conftest$ac_exeext
45067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45068 (eval $ac_link) 2>conftest.er1
45069 ac_status=$?
45070 grep -v '^ *+' conftest.er1 >conftest.err
45071 rm -f conftest.er1
45072 cat conftest.err >&5
45073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45074 (exit $ac_status); } &&
45075 { ac_try='test -z "$ac_c_werror_flag"
45076 || test ! -s conftest.err'
45077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45078 (eval $ac_try) 2>&5
45079 ac_status=$?
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); }; } &&
45082 { ac_try='test -s conftest$ac_exeext'
45083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45084 (eval $ac_try) 2>&5
45085 ac_status=$?
45086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45087 (exit $ac_status); }; }; then
45088 eval "$as_ac_var=yes"
45089 else
45090 echo "$as_me: failed program was:" >&5
45091 sed 's/^/| /' conftest.$ac_ext >&5
45092
45093 eval "$as_ac_var=no"
45094 fi
45095 rm -f conftest.err conftest.$ac_objext \
45096 conftest$ac_exeext conftest.$ac_ext
45097 fi
45098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45100 if test `eval echo '${'$as_ac_var'}'` = yes; then
45101 cat >>confdefs.h <<_ACEOF
45102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45103 _ACEOF
45104 have_ceil=1
45105 fi
45106 done
45107
45108 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
45109 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
45110 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
45111 echo "$as_me:$LINENO: result: yes" >&5
45112 echo "${ECHO_T}yes" >&6
45113 else
45114 echo "$as_me:$LINENO: result: no" >&5
45115 echo "${ECHO_T}no" >&6
45116 # not sure we should warn the user, crash, etc.
45117 fi
45118 fi
45119
45120 if test "$wxUSE_GUI" = "yes"; then
45121
45122
45123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45124 dynamic erase event exec font image minimal mobile \
45125 mobile/wxedit mobile/styles propsize render \
45126 rotate shaped vscroll widgets"
45127
45128 if test "$wxUSE_MONOLITHIC" != "yes"; then
45129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45130 fi
45131 if test "$TOOLKIT" = "MSW"; then
45132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45133 if test "$wxUSE_UNIVERSAL" != "yes"; then
45134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45135 fi
45136 fi
45137 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45139 fi
45140 else
45141 SAMPLES_SUBDIRS="console"
45142 fi
45143
45144
45145 if test "x$INTELCC" = "xyes" ; then
45146 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45147 elif test "$GCC" = yes ; then
45148 CWARNINGS="-Wall -Wundef"
45149 fi
45150
45151 if test "x$INTELCXX" = "xyes" ; then
45152 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45153 elif test "$GXX" = yes ; then
45154 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45155 fi
45156
45157
45158 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45159 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45160
45161
45162 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45163 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45164 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45165 $CPPFLAGS `
45166
45167 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45168 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45169 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45170
45171 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45172
45173
45174 if test "x$MWCC" = "xyes"; then
45175
45176 CC="$CC -cwd source -I-"
45177 CXX="$CXX -cwd source -I-"
45178 fi
45179
45180
45181 LIBS=`echo $LIBS`
45182 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45183 EXTRALIBS_XML="$EXPAT_LINK"
45184 EXTRALIBS_HTML="$MSPACK_LINK"
45185 EXTRALIBS_ODBC="$ODBC_LINK"
45186 if test "$wxUSE_GUI" = "yes"; then
45187 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEPRINT`
45188 fi
45189 if test "$wxUSE_OPENGL" = "yes"; then
45190 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45191 fi
45192
45193 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45194
45195 WXCONFIG_LIBS="$LIBS"
45196
45197 if test "$wxUSE_REGEX" = "builtin" ; then
45198 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45199 fi
45200 if test "$wxUSE_EXPAT" = "builtin" ; then
45201 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45202 fi
45203 if test "$wxUSE_ODBC" = "builtin" ; then
45204 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45205 fi
45206 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45207 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45208 fi
45209 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45210 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45211 fi
45212 if test "$wxUSE_LIBPNG" = "builtin" ; then
45213 wxconfig_3rdparty="png $wxconfig_3rdparty"
45214 fi
45215 if test "$wxUSE_ZLIB" = "builtin" ; then
45216 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45217 fi
45218
45219 for i in $wxconfig_3rdparty ; do
45220 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45221 done
45222
45223
45224 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45225 WXUNIV=1
45226 else
45227 WXUNIV=0
45228 fi
45229
45230
45231
45232
45233
45234
45235
45236
45237
45238 if test $wxUSE_MONOLITHIC = "yes" ; then
45239 MONOLITHIC=1
45240 else
45241 MONOLITHIC=0
45242 fi
45243
45244 if test $wxUSE_PLUGINS = "yes" ; then
45245 USE_PLUGINS=1
45246 else
45247 USE_PLUGINS=0
45248 fi
45249
45250 if test $wxUSE_ODBC != "no" ; then
45251 USE_ODBC=1
45252 else
45253 USE_ODBC=0
45254 fi
45255
45256 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45257 USE_QA=1
45258 else
45259 USE_QA=0
45260 fi
45261
45262 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45263 OFFICIAL_BUILD=1
45264 else
45265 OFFICIAL_BUILD=0
45266 fi
45267
45268
45269
45270
45271
45272
45273
45274
45275
45276
45277
45278
45279
45280
45281
45282
45283
45284
45285
45286
45287
45288
45289
45290
45291 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45292
45293
45294
45295
45296
45297
45298
45299
45300 case "$TOOLKIT" in
45301 GTK)
45302 TOOLKIT_USER="GTK+"
45303 if test "$WXGTK20" = 1; then
45304 TOOLKIT_USER="$TOOLKIT_USER 2"
45305 fi
45306 ;;
45307
45308 *)
45309 TOOLKIT_USER=$TOOLKIT_LOWERCASE
45310 ;;
45311 esac
45312
45313 if test "$wxUSE_WINE" = "yes"; then
45314 BAKEFILE_FORCE_PLATFORM=win32
45315 fi
45316
45317 if test "$wxUSE_MAC" = 1 ; then
45318 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45319 CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45320 CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45321 LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45322 bk_use_pch=no
45323 fi
45324 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45325 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45326 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45327 fi
45328
45329
45330
45331
45332 if test "x$BAKEFILE_HOST" = "x"; then
45333 BAKEFILE_HOST="${host}"
45334 fi
45335
45336 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45337
45338 if test -n "$ac_tool_prefix"; then
45339 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45340 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45341 echo "$as_me:$LINENO: checking for $ac_word" >&5
45342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45343 if test "${ac_cv_prog_RANLIB+set}" = set; then
45344 echo $ECHO_N "(cached) $ECHO_C" >&6
45345 else
45346 if test -n "$RANLIB"; then
45347 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45348 else
45349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45350 for as_dir in $PATH
45351 do
45352 IFS=$as_save_IFS
45353 test -z "$as_dir" && as_dir=.
45354 for ac_exec_ext in '' $ac_executable_extensions; do
45355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45356 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45358 break 2
45359 fi
45360 done
45361 done
45362
45363 fi
45364 fi
45365 RANLIB=$ac_cv_prog_RANLIB
45366 if test -n "$RANLIB"; then
45367 echo "$as_me:$LINENO: result: $RANLIB" >&5
45368 echo "${ECHO_T}$RANLIB" >&6
45369 else
45370 echo "$as_me:$LINENO: result: no" >&5
45371 echo "${ECHO_T}no" >&6
45372 fi
45373
45374 fi
45375 if test -z "$ac_cv_prog_RANLIB"; then
45376 ac_ct_RANLIB=$RANLIB
45377 # Extract the first word of "ranlib", so it can be a program name with args.
45378 set dummy ranlib; ac_word=$2
45379 echo "$as_me:$LINENO: checking for $ac_word" >&5
45380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45381 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45382 echo $ECHO_N "(cached) $ECHO_C" >&6
45383 else
45384 if test -n "$ac_ct_RANLIB"; then
45385 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45386 else
45387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45388 for as_dir in $PATH
45389 do
45390 IFS=$as_save_IFS
45391 test -z "$as_dir" && as_dir=.
45392 for ac_exec_ext in '' $ac_executable_extensions; do
45393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45394 ac_cv_prog_ac_ct_RANLIB="ranlib"
45395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45396 break 2
45397 fi
45398 done
45399 done
45400
45401 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
45402 fi
45403 fi
45404 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45405 if test -n "$ac_ct_RANLIB"; then
45406 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45407 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45408 else
45409 echo "$as_me:$LINENO: result: no" >&5
45410 echo "${ECHO_T}no" >&6
45411 fi
45412
45413 RANLIB=$ac_ct_RANLIB
45414 else
45415 RANLIB="$ac_cv_prog_RANLIB"
45416 fi
45417
45418 # Find a good install program. We prefer a C program (faster),
45419 # so one script is as good as another. But avoid the broken or
45420 # incompatible versions:
45421 # SysV /etc/install, /usr/sbin/install
45422 # SunOS /usr/etc/install
45423 # IRIX /sbin/install
45424 # AIX /bin/install
45425 # AmigaOS /C/install, which installs bootblocks on floppy discs
45426 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45427 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45428 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45429 # OS/2's system install, which has a completely different semantic
45430 # ./install, which can be erroneously created by make from ./install.sh.
45431 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45432 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45433 if test -z "$INSTALL"; then
45434 if test "${ac_cv_path_install+set}" = set; then
45435 echo $ECHO_N "(cached) $ECHO_C" >&6
45436 else
45437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45438 for as_dir in $PATH
45439 do
45440 IFS=$as_save_IFS
45441 test -z "$as_dir" && as_dir=.
45442 # Account for people who put trailing slashes in PATH elements.
45443 case $as_dir/ in
45444 ./ | .// | /cC/* | \
45445 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45446 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45447 /usr/ucb/* ) ;;
45448 *)
45449 # OSF1 and SCO ODT 3.0 have their own names for install.
45450 # Don't use installbsd from OSF since it installs stuff as root
45451 # by default.
45452 for ac_prog in ginstall scoinst install; do
45453 for ac_exec_ext in '' $ac_executable_extensions; do
45454 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45455 if test $ac_prog = install &&
45456 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45457 # AIX install. It has an incompatible calling convention.
45458 :
45459 elif test $ac_prog = install &&
45460 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45461 # program-specific install script used by HP pwplus--don't use.
45462 :
45463 else
45464 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45465 break 3
45466 fi
45467 fi
45468 done
45469 done
45470 ;;
45471 esac
45472 done
45473
45474
45475 fi
45476 if test "${ac_cv_path_install+set}" = set; then
45477 INSTALL=$ac_cv_path_install
45478 else
45479 # As a last resort, use the slow shell script. We don't cache a
45480 # path for INSTALL within a source directory, because that will
45481 # break other packages using the cache if that directory is
45482 # removed, or if the path is relative.
45483 INSTALL=$ac_install_sh
45484 fi
45485 fi
45486 echo "$as_me:$LINENO: result: $INSTALL" >&5
45487 echo "${ECHO_T}$INSTALL" >&6
45488
45489 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45490 # It thinks the first close brace ends the variable substitution.
45491 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45492
45493 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45494
45495 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45496
45497 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45498 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45499 LN_S=$as_ln_s
45500 if test "$LN_S" = "ln -s"; then
45501 echo "$as_me:$LINENO: result: yes" >&5
45502 echo "${ECHO_T}yes" >&6
45503 else
45504 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45505 echo "${ECHO_T}no, using $LN_S" >&6
45506 fi
45507
45508
45509 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45510 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45511 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45512 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45513 echo $ECHO_N "(cached) $ECHO_C" >&6
45514 else
45515 cat >conftest.make <<\_ACEOF
45516 all:
45517 @echo 'ac_maketemp="$(MAKE)"'
45518 _ACEOF
45519 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45520 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45521 if test -n "$ac_maketemp"; then
45522 eval ac_cv_prog_make_${ac_make}_set=yes
45523 else
45524 eval ac_cv_prog_make_${ac_make}_set=no
45525 fi
45526 rm -f conftest.make
45527 fi
45528 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45529 echo "$as_me:$LINENO: result: yes" >&5
45530 echo "${ECHO_T}yes" >&6
45531 SET_MAKE=
45532 else
45533 echo "$as_me:$LINENO: result: no" >&5
45534 echo "${ECHO_T}no" >&6
45535 SET_MAKE="MAKE=${MAKE-make}"
45536 fi
45537
45538
45539
45540 if test -n "$ac_tool_prefix"; then
45541 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45542 set dummy ${ac_tool_prefix}ar; ac_word=$2
45543 echo "$as_me:$LINENO: checking for $ac_word" >&5
45544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45545 if test "${ac_cv_prog_AR+set}" = set; then
45546 echo $ECHO_N "(cached) $ECHO_C" >&6
45547 else
45548 if test -n "$AR"; then
45549 ac_cv_prog_AR="$AR" # Let the user override the test.
45550 else
45551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45552 for as_dir in $PATH
45553 do
45554 IFS=$as_save_IFS
45555 test -z "$as_dir" && as_dir=.
45556 for ac_exec_ext in '' $ac_executable_extensions; do
45557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45558 ac_cv_prog_AR="${ac_tool_prefix}ar"
45559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45560 break 2
45561 fi
45562 done
45563 done
45564
45565 fi
45566 fi
45567 AR=$ac_cv_prog_AR
45568 if test -n "$AR"; then
45569 echo "$as_me:$LINENO: result: $AR" >&5
45570 echo "${ECHO_T}$AR" >&6
45571 else
45572 echo "$as_me:$LINENO: result: no" >&5
45573 echo "${ECHO_T}no" >&6
45574 fi
45575
45576 fi
45577 if test -z "$ac_cv_prog_AR"; then
45578 ac_ct_AR=$AR
45579 # Extract the first word of "ar", so it can be a program name with args.
45580 set dummy ar; ac_word=$2
45581 echo "$as_me:$LINENO: checking for $ac_word" >&5
45582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45583 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45584 echo $ECHO_N "(cached) $ECHO_C" >&6
45585 else
45586 if test -n "$ac_ct_AR"; then
45587 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45588 else
45589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45590 for as_dir in $PATH
45591 do
45592 IFS=$as_save_IFS
45593 test -z "$as_dir" && as_dir=.
45594 for ac_exec_ext in '' $ac_executable_extensions; do
45595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45596 ac_cv_prog_ac_ct_AR="ar"
45597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45598 break 2
45599 fi
45600 done
45601 done
45602
45603 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
45604 fi
45605 fi
45606 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45607 if test -n "$ac_ct_AR"; then
45608 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45609 echo "${ECHO_T}$ac_ct_AR" >&6
45610 else
45611 echo "$as_me:$LINENO: result: no" >&5
45612 echo "${ECHO_T}no" >&6
45613 fi
45614
45615 AR=$ac_ct_AR
45616 else
45617 AR="$ac_cv_prog_AR"
45618 fi
45619
45620 if test -n "$ac_tool_prefix"; then
45621 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45622 set dummy ${ac_tool_prefix}strip; ac_word=$2
45623 echo "$as_me:$LINENO: checking for $ac_word" >&5
45624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45625 if test "${ac_cv_prog_STRIP+set}" = set; then
45626 echo $ECHO_N "(cached) $ECHO_C" >&6
45627 else
45628 if test -n "$STRIP"; then
45629 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45630 else
45631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45632 for as_dir in $PATH
45633 do
45634 IFS=$as_save_IFS
45635 test -z "$as_dir" && as_dir=.
45636 for ac_exec_ext in '' $ac_executable_extensions; do
45637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45638 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45640 break 2
45641 fi
45642 done
45643 done
45644
45645 fi
45646 fi
45647 STRIP=$ac_cv_prog_STRIP
45648 if test -n "$STRIP"; then
45649 echo "$as_me:$LINENO: result: $STRIP" >&5
45650 echo "${ECHO_T}$STRIP" >&6
45651 else
45652 echo "$as_me:$LINENO: result: no" >&5
45653 echo "${ECHO_T}no" >&6
45654 fi
45655
45656 fi
45657 if test -z "$ac_cv_prog_STRIP"; then
45658 ac_ct_STRIP=$STRIP
45659 # Extract the first word of "strip", so it can be a program name with args.
45660 set dummy strip; ac_word=$2
45661 echo "$as_me:$LINENO: checking for $ac_word" >&5
45662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45663 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45664 echo $ECHO_N "(cached) $ECHO_C" >&6
45665 else
45666 if test -n "$ac_ct_STRIP"; then
45667 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45668 else
45669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45670 for as_dir in $PATH
45671 do
45672 IFS=$as_save_IFS
45673 test -z "$as_dir" && as_dir=.
45674 for ac_exec_ext in '' $ac_executable_extensions; do
45675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45676 ac_cv_prog_ac_ct_STRIP="strip"
45677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45678 break 2
45679 fi
45680 done
45681 done
45682
45683 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
45684 fi
45685 fi
45686 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45687 if test -n "$ac_ct_STRIP"; then
45688 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45689 echo "${ECHO_T}$ac_ct_STRIP" >&6
45690 else
45691 echo "$as_me:$LINENO: result: no" >&5
45692 echo "${ECHO_T}no" >&6
45693 fi
45694
45695 STRIP=$ac_ct_STRIP
45696 else
45697 STRIP="$ac_cv_prog_STRIP"
45698 fi
45699
45700 if test -n "$ac_tool_prefix"; then
45701 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45702 set dummy ${ac_tool_prefix}nm; ac_word=$2
45703 echo "$as_me:$LINENO: checking for $ac_word" >&5
45704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45705 if test "${ac_cv_prog_NM+set}" = set; then
45706 echo $ECHO_N "(cached) $ECHO_C" >&6
45707 else
45708 if test -n "$NM"; then
45709 ac_cv_prog_NM="$NM" # Let the user override the test.
45710 else
45711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45712 for as_dir in $PATH
45713 do
45714 IFS=$as_save_IFS
45715 test -z "$as_dir" && as_dir=.
45716 for ac_exec_ext in '' $ac_executable_extensions; do
45717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45718 ac_cv_prog_NM="${ac_tool_prefix}nm"
45719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45720 break 2
45721 fi
45722 done
45723 done
45724
45725 fi
45726 fi
45727 NM=$ac_cv_prog_NM
45728 if test -n "$NM"; then
45729 echo "$as_me:$LINENO: result: $NM" >&5
45730 echo "${ECHO_T}$NM" >&6
45731 else
45732 echo "$as_me:$LINENO: result: no" >&5
45733 echo "${ECHO_T}no" >&6
45734 fi
45735
45736 fi
45737 if test -z "$ac_cv_prog_NM"; then
45738 ac_ct_NM=$NM
45739 # Extract the first word of "nm", so it can be a program name with args.
45740 set dummy nm; ac_word=$2
45741 echo "$as_me:$LINENO: checking for $ac_word" >&5
45742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45743 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45744 echo $ECHO_N "(cached) $ECHO_C" >&6
45745 else
45746 if test -n "$ac_ct_NM"; then
45747 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
45748 else
45749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45750 for as_dir in $PATH
45751 do
45752 IFS=$as_save_IFS
45753 test -z "$as_dir" && as_dir=.
45754 for ac_exec_ext in '' $ac_executable_extensions; do
45755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45756 ac_cv_prog_ac_ct_NM="nm"
45757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45758 break 2
45759 fi
45760 done
45761 done
45762
45763 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
45764 fi
45765 fi
45766 ac_ct_NM=$ac_cv_prog_ac_ct_NM
45767 if test -n "$ac_ct_NM"; then
45768 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45769 echo "${ECHO_T}$ac_ct_NM" >&6
45770 else
45771 echo "$as_me:$LINENO: result: no" >&5
45772 echo "${ECHO_T}no" >&6
45773 fi
45774
45775 NM=$ac_ct_NM
45776 else
45777 NM="$ac_cv_prog_NM"
45778 fi
45779
45780
45781 case ${BAKEFILE_HOST} in
45782 *-hp-hpux* )
45783 INSTALL_DIR="mkdir -p"
45784 ;;
45785 *) INSTALL_DIR="$INSTALL -d"
45786 ;;
45787 esac
45788
45789
45790 LDFLAGS_GUI=
45791 case ${BAKEFILE_HOST} in
45792 *-*-cygwin* | *-*-mingw32* )
45793 LDFLAGS_GUI="-mwindows"
45794 esac
45795
45796
45797 fi
45798
45799 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45800 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45801 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45802 echo $ECHO_N "(cached) $ECHO_C" >&6
45803 else
45804
45805 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
45806 egrep -s GNU > /dev/null); then
45807 bakefile_cv_prog_makeisgnu="yes"
45808 else
45809 bakefile_cv_prog_makeisgnu="no"
45810 fi
45811
45812 fi
45813 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45814 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45815
45816 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45817 IF_GNU_MAKE=""
45818 else
45819 IF_GNU_MAKE="#"
45820 fi
45821
45822
45823
45824 PLATFORM_UNIX=0
45825 PLATFORM_WIN32=0
45826 PLATFORM_MSDOS=0
45827 PLATFORM_MAC=0
45828 PLATFORM_MACOS=0
45829 PLATFORM_MACOSX=0
45830 PLATFORM_OS2=0
45831 PLATFORM_BEOS=0
45832
45833 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45834 case "${BAKEFILE_HOST}" in
45835 *-*-mingw32* )
45836 PLATFORM_WIN32=1
45837 ;;
45838 *-pc-msdosdjgpp )
45839 PLATFORM_MSDOS=1
45840 ;;
45841 *-pc-os2_emx | *-pc-os2-emx )
45842 PLATFORM_OS2=1
45843 ;;
45844 *-*-darwin* )
45845 PLATFORM_MAC=1
45846 PLATFORM_MACOSX=1
45847 ;;
45848 *-*-beos* )
45849 PLATFORM_BEOS=1
45850 ;;
45851 powerpc-apple-macos* )
45852 PLATFORM_MAC=1
45853 PLATFORM_MACOS=1
45854 ;;
45855 * )
45856 PLATFORM_UNIX=1
45857 ;;
45858 esac
45859 else
45860 case "$BAKEFILE_FORCE_PLATFORM" in
45861 win32 )
45862 PLATFORM_WIN32=1
45863 ;;
45864 msdos )
45865 PLATFORM_MSDOS=1
45866 ;;
45867 os2 )
45868 PLATFORM_OS2=1
45869 ;;
45870 darwin )
45871 PLATFORM_MAC=1
45872 PLATFORM_MACOSX=1
45873 ;;
45874 unix )
45875 PLATFORM_UNIX=1
45876 ;;
45877 beos )
45878 PLATFORM_BEOS=1
45879 ;;
45880 * )
45881 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45882 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45883 { (exit 1); exit 1; }; }
45884 ;;
45885 esac
45886 fi
45887
45888
45889
45890
45891
45892
45893
45894
45895
45896
45897
45898 # Check whether --enable-omf or --disable-omf was given.
45899 if test "${enable_omf+set}" = set; then
45900 enableval="$enable_omf"
45901 bk_os2_use_omf="$enableval"
45902 fi;
45903
45904 case "${BAKEFILE_HOST}" in
45905 *-*-darwin* )
45906 if test "x$GCC" = "xyes"; then
45907 CFLAGS="$CFLAGS -fno-common"
45908 CXXFLAGS="$CXXFLAGS -fno-common"
45909 fi
45910 if test "x$XLCC" = "xyes"; then
45911 CFLAGS="$CFLAGS -qnocommon"
45912 CXXFLAGS="$CXXFLAGS -qnocommon"
45913 fi
45914 ;;
45915
45916 *-pc-os2_emx | *-pc-os2-emx )
45917 if test "x$bk_os2_use_omf" = "xyes" ; then
45918 AR=emxomfar
45919 RANLIB=:
45920 LDFLAGS="-Zomf $LDFLAGS"
45921 CFLAGS="-Zomf $CFLAGS"
45922 CXXFLAGS="-Zomf $CXXFLAGS"
45923 OS2_LIBEXT="lib"
45924 else
45925 OS2_LIBEXT="a"
45926 fi
45927 ;;
45928
45929 i*86-*-beos* )
45930 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
45931 ;;
45932 esac
45933
45934
45935 SO_SUFFIX="so"
45936 SO_SUFFIX_MODULE="so"
45937 EXEEXT=""
45938 LIBPREFIX="lib"
45939 LIBEXT=".a"
45940 DLLPREFIX="lib"
45941 DLLPREFIX_MODULE=""
45942 DLLIMP_SUFFIX=""
45943 dlldir="$libdir"
45944
45945 case "${BAKEFILE_HOST}" in
45946 *-hp-hpux* )
45947 SO_SUFFIX="sl"
45948 SO_SUFFIX_MODULE="sl"
45949 ;;
45950 *-*-aix* )
45951 SO_SUFFIX="a"
45952 SO_SUFFIX_MODULE="a"
45953 ;;
45954 *-*-cygwin* )
45955 SO_SUFFIX="dll"
45956 SO_SUFFIX_MODULE="dll"
45957 DLLIMP_SUFFIX="dll.a"
45958 EXEEXT=".exe"
45959 DLLPREFIX="cyg"
45960 dlldir="$bindir"
45961 ;;
45962 *-*-mingw32* )
45963 SO_SUFFIX="dll"
45964 SO_SUFFIX_MODULE="dll"
45965 DLLIMP_SUFFIX="dll.a"
45966 EXEEXT=".exe"
45967 DLLPREFIX=""
45968 dlldir="$bindir"
45969 ;;
45970 *-pc-msdosdjgpp )
45971 EXEEXT=".exe"
45972 DLLPREFIX=""
45973 dlldir="$bindir"
45974 ;;
45975 *-pc-os2_emx | *-pc-os2-emx )
45976 SO_SUFFIX="dll"
45977 SO_SUFFIX_MODULE="dll"
45978 DLLIMP_SUFFIX=$OS2_LIBEXT
45979 EXEEXT=".exe"
45980 DLLPREFIX=""
45981 LIBPREFIX=""
45982 LIBEXT=".$OS2_LIBEXT"
45983 dlldir="$bindir"
45984 ;;
45985 *-*-darwin* )
45986 SO_SUFFIX="dylib"
45987 SO_SUFFIX_MODULE="bundle"
45988 ;;
45989 esac
45990
45991 if test "x$DLLIMP_SUFFIX" = "x" ; then
45992 DLLIMP_SUFFIX="$SO_SUFFIX"
45993 fi
45994
45995
45996
45997
45998
45999
46000
46001
46002
46003
46004
46005
46006 PIC_FLAG=""
46007 if test "x$GCC" = "xyes"; then
46008 PIC_FLAG="-fPIC"
46009 fi
46010
46011 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46012 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46013 WINDOWS_IMPLIB=0
46014
46015 case "${BAKEFILE_HOST}" in
46016 *-hp-hpux* )
46017 if test "x$GCC" != "xyes"; then
46018 LDFLAGS="$LDFLAGS -L/usr/lib"
46019
46020 SHARED_LD_CC="${CC} -b -o"
46021 SHARED_LD_CXX="${CXX} -b -o"
46022 PIC_FLAG="+Z"
46023 fi
46024 ;;
46025
46026 *-*-linux* )
46027 if test "x$GCC" != "xyes"; then
46028 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46029 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46030 if test "${bakefile_cv_prog_icc+set}" = set; then
46031 echo $ECHO_N "(cached) $ECHO_C" >&6
46032 else
46033
46034 cat >conftest.$ac_ext <<_ACEOF
46035 /* confdefs.h. */
46036 _ACEOF
46037 cat confdefs.h >>conftest.$ac_ext
46038 cat >>conftest.$ac_ext <<_ACEOF
46039 /* end confdefs.h. */
46040
46041 int
46042 main ()
46043 {
46044
46045 #ifndef __INTEL_COMPILER
46046 #error Not icc
46047 #endif
46048
46049 ;
46050 return 0;
46051 }
46052 _ACEOF
46053 rm -f conftest.$ac_objext
46054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46055 (eval $ac_compile) 2>conftest.er1
46056 ac_status=$?
46057 grep -v '^ *+' conftest.er1 >conftest.err
46058 rm -f conftest.er1
46059 cat conftest.err >&5
46060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46061 (exit $ac_status); } &&
46062 { ac_try='test -z "$ac_c_werror_flag"
46063 || test ! -s conftest.err'
46064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46065 (eval $ac_try) 2>&5
46066 ac_status=$?
46067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46068 (exit $ac_status); }; } &&
46069 { ac_try='test -s conftest.$ac_objext'
46070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46071 (eval $ac_try) 2>&5
46072 ac_status=$?
46073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46074 (exit $ac_status); }; }; then
46075 bakefile_cv_prog_icc=yes
46076 else
46077 echo "$as_me: failed program was:" >&5
46078 sed 's/^/| /' conftest.$ac_ext >&5
46079
46080 bakefile_cv_prog_icc=no
46081
46082 fi
46083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46084
46085 fi
46086 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46087 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46088 if test "$bakefile_cv_prog_icc" = "yes"; then
46089 PIC_FLAG="-KPIC"
46090 fi
46091 fi
46092 ;;
46093
46094 *-*-solaris2* )
46095 if test "x$GCC" != xyes ; then
46096 SHARED_LD_CC="${CC} -G -o"
46097 SHARED_LD_CXX="${CXX} -G -o"
46098 PIC_FLAG="-KPIC"
46099 fi
46100 ;;
46101
46102 *-*-darwin* )
46103
46104 D='$'
46105 cat <<EOF >shared-ld-sh
46106 #!/bin/sh
46107 #-----------------------------------------------------------------------------
46108 #-- Name: distrib/mac/shared-ld-sh
46109 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46110 #-- Author: Gilles Depeyrot
46111 #-- Copyright: (c) 2002 Gilles Depeyrot
46112 #-- Licence: any use permitted
46113 #-----------------------------------------------------------------------------
46114
46115 verbose=0
46116 args=""
46117 objects=""
46118 linking_flag="-dynamiclib"
46119 ldargs="-r -keep_private_externs -nostdlib"
46120
46121 while test ${D}# -gt 0; do
46122 case ${D}1 in
46123
46124 -v)
46125 verbose=1
46126 ;;
46127
46128 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46129 # collect these options and values
46130 args="${D}{args} ${D}1 ${D}2"
46131 shift
46132 ;;
46133
46134 -s|-Wl,*)
46135 # collect these load args
46136 ldargs="${D}{ldargs} ${D}1"
46137 ;;
46138
46139 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46140 # collect these options
46141 args="${D}{args} ${D}1"
46142 ;;
46143
46144 -dynamiclib|-bundle)
46145 linking_flag="${D}1"
46146 ;;
46147
46148 -*)
46149 echo "shared-ld: unhandled option '${D}1'"
46150 exit 1
46151 ;;
46152
46153 *.o | *.a | *.dylib)
46154 # collect object files
46155 objects="${D}{objects} ${D}1"
46156 ;;
46157
46158 *)
46159 echo "shared-ld: unhandled argument '${D}1'"
46160 exit 1
46161 ;;
46162
46163 esac
46164 shift
46165 done
46166
46167 status=0
46168
46169 #
46170 # Link one module containing all the others
46171 #
46172 if test ${D}{verbose} = 1; then
46173 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46174 fi
46175 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46176 status=${D}?
46177
46178 #
46179 # Link the shared library from the single module created, but only if the
46180 # previous command didn't fail:
46181 #
46182 if test ${D}{status} = 0; then
46183 if test ${D}{verbose} = 1; then
46184 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46185 fi
46186 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46187 status=${D}?
46188 fi
46189
46190 #
46191 # Remove intermediate module
46192 #
46193 rm -f master.${D}${D}.o
46194
46195 exit ${D}status
46196 EOF
46197
46198 chmod +x shared-ld-sh
46199
46200 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46201 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46202
46203
46204 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46205 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46206 if test "${bakefile_cv_gcc31+set}" = set; then
46207 echo $ECHO_N "(cached) $ECHO_C" >&6
46208 else
46209
46210 cat >conftest.$ac_ext <<_ACEOF
46211 /* confdefs.h. */
46212 _ACEOF
46213 cat confdefs.h >>conftest.$ac_ext
46214 cat >>conftest.$ac_ext <<_ACEOF
46215 /* end confdefs.h. */
46216
46217 int
46218 main ()
46219 {
46220
46221 #if (__GNUC__ < 3) || \
46222 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46223 #error old gcc
46224 #endif
46225
46226 ;
46227 return 0;
46228 }
46229 _ACEOF
46230 rm -f conftest.$ac_objext
46231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46232 (eval $ac_compile) 2>conftest.er1
46233 ac_status=$?
46234 grep -v '^ *+' conftest.er1 >conftest.err
46235 rm -f conftest.er1
46236 cat conftest.err >&5
46237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46238 (exit $ac_status); } &&
46239 { ac_try='test -z "$ac_c_werror_flag"
46240 || test ! -s conftest.err'
46241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46242 (eval $ac_try) 2>&5
46243 ac_status=$?
46244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46245 (exit $ac_status); }; } &&
46246 { ac_try='test -s conftest.$ac_objext'
46247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46248 (eval $ac_try) 2>&5
46249 ac_status=$?
46250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46251 (exit $ac_status); }; }; then
46252
46253 bakefile_cv_gcc31=yes
46254
46255 else
46256 echo "$as_me: failed program was:" >&5
46257 sed 's/^/| /' conftest.$ac_ext >&5
46258
46259
46260 bakefile_cv_gcc31=no
46261
46262
46263 fi
46264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46265
46266 fi
46267 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46268 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46269 if test "$bakefile_cv_gcc31" = "no"; then
46270 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46271 SHARED_LD_CXX="$SHARED_LD_CC"
46272 else
46273 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46274 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46275 fi
46276
46277 if test "x$GCC" == "xyes"; then
46278 PIC_FLAG="-dynamic -fPIC"
46279 fi
46280 if test "x$XLCC" = "xyes"; then
46281 PIC_FLAG="-dynamic -DPIC"
46282 fi
46283 ;;
46284
46285 *-*-aix* )
46286 if test "x$GCC" = "xyes"; then
46287 PIC_FLAG=""
46288
46289 case "${BAKEFILE_HOST}" in
46290 *-*-aix5* )
46291 LD_EXPFULL="-Wl,-bexpfull"
46292 ;;
46293 esac
46294
46295 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46296 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46297 else
46298 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46299 set dummy makeC++SharedLib; ac_word=$2
46300 echo "$as_me:$LINENO: checking for $ac_word" >&5
46301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46302 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46303 echo $ECHO_N "(cached) $ECHO_C" >&6
46304 else
46305 if test -n "$AIX_CXX_LD"; then
46306 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46307 else
46308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46309 for as_dir in $PATH
46310 do
46311 IFS=$as_save_IFS
46312 test -z "$as_dir" && as_dir=.
46313 for ac_exec_ext in '' $ac_executable_extensions; do
46314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46315 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46317 break 2
46318 fi
46319 done
46320 done
46321
46322 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46323 fi
46324 fi
46325 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46326 if test -n "$AIX_CXX_LD"; then
46327 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46328 echo "${ECHO_T}$AIX_CXX_LD" >&6
46329 else
46330 echo "$as_me:$LINENO: result: no" >&5
46331 echo "${ECHO_T}no" >&6
46332 fi
46333
46334 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46335 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46336 fi
46337 ;;
46338
46339 *-*-beos* )
46340 SHARED_LD_CC="${LD} -nostart -o"
46341 SHARED_LD_CXX="${LD} -nostart -o"
46342 ;;
46343
46344 *-*-irix* )
46345 if test "x$GCC" != "xyes"; then
46346 PIC_FLAG="-KPIC"
46347 fi
46348 ;;
46349
46350 *-*-cygwin* | *-*-mingw32* )
46351 PIC_FLAG=""
46352 SHARED_LD_CC="\$(CC) -shared -o"
46353 SHARED_LD_CXX="\$(CXX) -shared -o"
46354 WINDOWS_IMPLIB=1
46355 ;;
46356
46357 *-pc-os2_emx | *-pc-os2-emx )
46358 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46359 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46360 PIC_FLAG=""
46361
46362 D='$'
46363 cat <<EOF >dllar.sh
46364 #!/bin/sh
46365 #
46366 # dllar - a tool to build both a .dll and an .a file
46367 # from a set of object (.o) files for EMX/OS2.
46368 #
46369 # Written by Andrew Zabolotny, bit@freya.etu.ru
46370 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46371 #
46372 # This script will accept a set of files on the command line.
46373 # All the public symbols from the .o files will be exported into
46374 # a .DEF file, then linker will be run (through gcc) against them to
46375 # build a shared library consisting of all given .o files. All libraries
46376 # (.a) will be first decompressed into component .o files then act as
46377 # described above. You can optionally give a description (-d "description")
46378 # which will be put into .DLL. To see the list of accepted options (as well
46379 # as command-line format) simply run this program without options. The .DLL
46380 # is built to be imported by name (there is no guarantee that new versions
46381 # of the library you build will have same ordinals for same symbols).
46382 #
46383 # dllar is free software; you can redistribute it and/or modify
46384 # it under the terms of the GNU General Public License as published by
46385 # the Free Software Foundation; either version 2, or (at your option)
46386 # any later version.
46387 #
46388 # dllar is distributed in the hope that it will be useful,
46389 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46390 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46391 # GNU General Public License for more details.
46392 #
46393 # You should have received a copy of the GNU General Public License
46394 # along with dllar; see the file COPYING. If not, write to the Free
46395 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46396 # 02111-1307, USA.
46397
46398 # To successfuly run this program you will need:
46399 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46400 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46401 # - gcc
46402 # (used to build the .dll)
46403 # - emxexp
46404 # (used to create .def file from .o files)
46405 # - emximp
46406 # (used to create .a file from .def file)
46407 # - GNU text utilites (cat, sort, uniq)
46408 # used to process emxexp output
46409 # - GNU file utilities (mv, rm)
46410 # - GNU sed
46411 # - lxlite (optional, see flag below)
46412 # (used for general .dll cleanup)
46413 #
46414
46415 flag_USE_LXLITE=1;
46416
46417 #
46418 # helper functions
46419 # basnam, variant of basename, which does _not_ remove the path, _iff_
46420 # second argument (suffix to remove) is given
46421 basnam(){
46422 case ${D}# in
46423 1)
46424 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46425 ;;
46426 2)
46427 echo ${D}1 | sed 's/'${D}2'${D}//'
46428 ;;
46429 *)
46430 echo "error in basnam ${D}*"
46431 exit 8
46432 ;;
46433 esac
46434 }
46435
46436 # Cleanup temporary files and output
46437 CleanUp() {
46438 cd ${D}curDir
46439 for i in ${D}inputFiles ; do
46440 case ${D}i in
46441 *!)
46442 rm -rf \`basnam ${D}i !\`
46443 ;;
46444 *)
46445 ;;
46446 esac
46447 done
46448
46449 # Kill result in case of failure as there is just to many stupid make/nmake
46450 # things out there which doesn't do this.
46451 if [ ${D}# -eq 0 ]; then
46452 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46453 fi
46454 }
46455
46456 # Print usage and exit script with rc=1.
46457 PrintHelp() {
46458 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46459 echo ' [-name-mangler-script script.sh]'
46460 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46461 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46462 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46463 echo ' [*.o] [*.a]'
46464 echo '*> "output_file" should have no extension.'
46465 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46466 echo ' The import library name is derived from this and is set to "name".a,'
46467 echo ' unless overridden by -import'
46468 echo '*> "importlib_name" should have no extension.'
46469 echo ' If it has the .o, or .a extension, it is automatically removed.'
46470 echo ' This name is used as the import library name and may be longer and'
46471 echo ' more descriptive than the DLL name which has to follow the old '
46472 echo ' 8.3 convention of FAT.'
46473 echo '*> "script.sh may be given to override the output_file name by a'
46474 echo ' different name. It is mainly useful if the regular make process'
46475 echo ' of some package does not take into account OS/2 restriction of'
46476 echo ' DLL name lengths. It takes the importlib name as input and is'
46477 echo ' supposed to procude a shorter name as output. The script should'
46478 echo ' expect to get importlib_name without extension and should produce'
46479 echo ' a (max.) 8 letter name without extension.'
46480 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46481 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46482 echo ' These flags will be put at the start of GCC command line.'
46483 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46484 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46485 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46486 echo ' If the last character of a symbol is "*", all symbols beginning'
46487 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46488 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46489 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46490 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46491 echo ' C runtime DLLs.'
46492 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46493 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46494 echo ' unchanged to GCC at the end of command line.'
46495 echo '*> If you create a DLL from a library and you do not specify -o,'
46496 echo ' the basename for DLL and import library will be set to library name,'
46497 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46498 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46499 echo ' library will be renamed into gcc_s.a.'
46500 echo '--------'
46501 echo 'Example:'
46502 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46503 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46504 CleanUp
46505 exit 1
46506 }
46507
46508 # Execute a command.
46509 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46510 # @Uses Whatever CleanUp() uses.
46511 doCommand() {
46512 echo "${D}*"
46513 eval ${D}*
46514 rcCmd=${D}?
46515
46516 if [ ${D}rcCmd -ne 0 ]; then
46517 echo "command failed, exit code="${D}rcCmd
46518 CleanUp
46519 exit ${D}rcCmd
46520 fi
46521 }
46522
46523 # main routine
46524 # setup globals
46525 cmdLine=${D}*
46526 outFile=""
46527 outimpFile=""
46528 inputFiles=""
46529 renameScript=""
46530 description=""
46531 CC=gcc.exe
46532 CFLAGS="-s -Zcrtdll"
46533 EXTRA_CFLAGS=""
46534 EXPORT_BY_ORDINALS=0
46535 exclude_symbols=""
46536 library_flags=""
46537 curDir=\`pwd\`
46538 curDirS=curDir
46539 case ${D}curDirS in
46540 */)
46541 ;;
46542 *)
46543 curDirS=${D}{curDirS}"/"
46544 ;;
46545 esac
46546 # Parse commandline
46547 libsToLink=0
46548 omfLinking=0
46549 while [ ${D}1 ]; do
46550 case ${D}1 in
46551 -ord*)
46552 EXPORT_BY_ORDINALS=1;
46553 ;;
46554 -o*)
46555 shift
46556 outFile=${D}1
46557 ;;
46558 -i*)
46559 shift
46560 outimpFile=${D}1
46561 ;;
46562 -name-mangler-script)
46563 shift
46564 renameScript=${D}1
46565 ;;
46566 -d*)
46567 shift
46568 description=${D}1
46569 ;;
46570 -f*)
46571 shift
46572 CFLAGS=${D}1
46573 ;;
46574 -c*)
46575 shift
46576 CC=${D}1
46577 ;;
46578 -h*)
46579 PrintHelp
46580 ;;
46581 -ex*)
46582 shift
46583 exclude_symbols=${D}{exclude_symbols}${D}1" "
46584 ;;
46585 -libf*)
46586 shift
46587 library_flags=${D}{library_flags}${D}1" "
46588 ;;
46589 -nocrt*)
46590 CFLAGS="-s"
46591 ;;
46592 -nolxl*)
46593 flag_USE_LXLITE=0
46594 ;;
46595 -* | /*)
46596 case ${D}1 in
46597 -L* | -l*)
46598 libsToLink=1
46599 ;;
46600 -Zomf)
46601 omfLinking=1
46602 ;;
46603 *)
46604 ;;
46605 esac
46606 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46607 ;;
46608 *.dll)
46609 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46610 if [ ${D}omfLinking -eq 1 ]; then
46611 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46612 else
46613 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46614 fi
46615 ;;
46616 *)
46617 found=0;
46618 if [ ${D}libsToLink -ne 0 ]; then
46619 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46620 else
46621 for file in ${D}1 ; do
46622 if [ -f ${D}file ]; then
46623 inputFiles="${D}{inputFiles} ${D}file"
46624 found=1
46625 fi
46626 done
46627 if [ ${D}found -eq 0 ]; then
46628 echo "ERROR: No file(s) found: "${D}1
46629 exit 8
46630 fi
46631 fi
46632 ;;
46633 esac
46634 shift
46635 done # iterate cmdline words
46636
46637 #
46638 if [ -z "${D}inputFiles" ]; then
46639 echo "dllar: no input files"
46640 PrintHelp
46641 fi
46642
46643 # Now extract all .o files from .a files
46644 newInputFiles=""
46645 for file in ${D}inputFiles ; do
46646 case ${D}file in
46647 *.a | *.lib)
46648 case ${D}file in
46649 *.a)
46650 suffix=".a"
46651 AR="ar"
46652 ;;
46653 *.lib)
46654 suffix=".lib"
46655 AR="emxomfar"
46656 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46657 ;;
46658 *)
46659 ;;
46660 esac
46661 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46662 mkdir ${D}dirname
46663 if [ ${D}? -ne 0 ]; then
46664 echo "Failed to create subdirectory ./${D}dirname"
46665 CleanUp
46666 exit 8;
46667 fi
46668 # Append '!' to indicate archive
46669 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46670 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46671 cd ${D}curDir
46672 found=0;
46673 for subfile in ${D}dirname/*.o* ; do
46674 if [ -f ${D}subfile ]; then
46675 found=1
46676 if [ -s ${D}subfile ]; then
46677 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46678 newInputFiles="${D}newInputFiles ${D}subfile"
46679 fi
46680 fi
46681 done
46682 if [ ${D}found -eq 0 ]; then
46683 echo "WARNING: there are no files in archive \\'${D}file\\'"
46684 fi
46685 ;;
46686 *)
46687 newInputFiles="${D}{newInputFiles} ${D}file"
46688 ;;
46689 esac
46690 done
46691 inputFiles="${D}newInputFiles"
46692
46693 # Output filename(s).
46694 do_backup=0;
46695 if [ -z ${D}outFile ]; then
46696 do_backup=1;
46697 set outFile ${D}inputFiles; outFile=${D}2
46698 fi
46699
46700 # If it is an archive, remove the '!' and the '_%' suffixes
46701 case ${D}outFile in
46702 *_%!)
46703 outFile=\`basnam ${D}outFile _%!\`
46704 ;;
46705 *)
46706 ;;
46707 esac
46708 case ${D}outFile in
46709 *.dll)
46710 outFile=\`basnam ${D}outFile .dll\`
46711 ;;
46712 *.DLL)
46713 outFile=\`basnam ${D}outFile .DLL\`
46714 ;;
46715 *.o)
46716 outFile=\`basnam ${D}outFile .o\`
46717 ;;
46718 *.obj)
46719 outFile=\`basnam ${D}outFile .obj\`
46720 ;;
46721 *.a)
46722 outFile=\`basnam ${D}outFile .a\`
46723 ;;
46724 *.lib)
46725 outFile=\`basnam ${D}outFile .lib\`
46726 ;;
46727 *)
46728 ;;
46729 esac
46730 case ${D}outimpFile in
46731 *.a)
46732 outimpFile=\`basnam ${D}outimpFile .a\`
46733 ;;
46734 *.lib)
46735 outimpFile=\`basnam ${D}outimpFile .lib\`
46736 ;;
46737 *)
46738 ;;
46739 esac
46740 if [ -z ${D}outimpFile ]; then
46741 outimpFile=${D}outFile
46742 fi
46743 defFile="${D}{outFile}.def"
46744 arcFile="${D}{outimpFile}.a"
46745 arcFile2="${D}{outimpFile}.lib"
46746
46747 #create ${D}dllFile as something matching 8.3 restrictions,
46748 if [ -z ${D}renameScript ] ; then
46749 dllFile="${D}outFile"
46750 else
46751 dllFile=\`${D}renameScript ${D}outimpFile\`
46752 fi
46753
46754 if [ ${D}do_backup -ne 0 ] ; then
46755 if [ -f ${D}arcFile ] ; then
46756 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46757 fi
46758 if [ -f ${D}arcFile2 ] ; then
46759 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46760 fi
46761 fi
46762
46763 # Extract public symbols from all the object files.
46764 tmpdefFile=${D}{defFile}_%
46765 rm -f ${D}tmpdefFile
46766 for file in ${D}inputFiles ; do
46767 case ${D}file in
46768 *!)
46769 ;;
46770 *)
46771 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46772 ;;
46773 esac
46774 done
46775
46776 # Create the def file.
46777 rm -f ${D}defFile
46778 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46779 dllFile="${D}{dllFile}.dll"
46780 if [ ! -z ${D}description ]; then
46781 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46782 fi
46783 echo "EXPORTS" >> ${D}defFile
46784
46785 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46786 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46787
46788 # Checks if the export is ok or not.
46789 for word in ${D}exclude_symbols; do
46790 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46791 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46792 done
46793
46794
46795 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46796 sed "=" < ${D}tmpdefFile | \\
46797 sed '
46798 N
46799 : loop
46800 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46801 t loop
46802 ' > ${D}{tmpdefFile}%
46803 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46804 else
46805 rm -f ${D}{tmpdefFile}%
46806 fi
46807 cat ${D}tmpdefFile >> ${D}defFile
46808 rm -f ${D}tmpdefFile
46809
46810 # Do linking, create implib, and apply lxlite.
46811 gccCmdl="";
46812 for file in ${D}inputFiles ; do
46813 case ${D}file in
46814 *!)
46815 ;;
46816 *)
46817 gccCmdl="${D}gccCmdl ${D}file"
46818 ;;
46819 esac
46820 done
46821 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46822 touch "${D}{outFile}.dll"
46823
46824 doCommand "emximp -o ${D}arcFile ${D}defFile"
46825 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46826 add_flags="";
46827 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46828 add_flags="-ynd"
46829 fi
46830 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46831 fi
46832 doCommand "emxomf -s -l ${D}arcFile"
46833
46834 # Successful exit.
46835 CleanUp 1
46836 exit 0
46837 EOF
46838
46839 chmod +x dllar.sh
46840 ;;
46841
46842 powerpc-apple-macos* | \
46843 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
46844 *-*-sunos4* | \
46845 *-*-osf* | \
46846 *-*-dgux5* | \
46847 *-*-sysv5* | \
46848 *-pc-msdosdjgpp )
46849 ;;
46850
46851 *)
46852 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46853 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46854 { (exit 1); exit 1; }; }
46855 esac
46856
46857 if test "x$PIC_FLAG" != "x" ; then
46858 PIC_FLAG="$PIC_FLAG -DPIC"
46859 fi
46860
46861 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46862 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
46863 fi
46864 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46865 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
46866 fi
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876 USE_SOVERSION=0
46877 USE_SOVERLINUX=0
46878 USE_SOVERSOLARIS=0
46879 USE_SOVERCYGWIN=0
46880 USE_SOSYMLINKS=0
46881 USE_MACVERSION=0
46882 SONAME_FLAG=
46883
46884 case "${BAKEFILE_HOST}" in
46885 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
46886 SONAME_FLAG="-Wl,-soname,"
46887 USE_SOVERSION=1
46888 USE_SOVERLINUX=1
46889 USE_SOSYMLINKS=1
46890 ;;
46891
46892 *-*-solaris2* )
46893 SONAME_FLAG="-h "
46894 USE_SOVERSION=1
46895 USE_SOVERSOLARIS=1
46896 USE_SOSYMLINKS=1
46897 ;;
46898
46899 *-*-darwin* )
46900 USE_MACVERSION=1
46901 USE_SOVERSION=1
46902 USE_SOSYMLINKS=1
46903 ;;
46904
46905 *-*-cygwin* )
46906 USE_SOVERSION=1
46907 USE_SOVERCYGWIN=1
46908 ;;
46909 esac
46910
46911
46912
46913
46914
46915
46916
46917
46918
46919
46920 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
46921 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
46922 DEPS_TRACKING=1
46923
46924 if test "x$GCC" = "xyes"; then
46925 DEPSMODE=gcc
46926 case "${BAKEFILE_HOST}" in
46927 *-*-darwin* )
46928 DEPSFLAG="-no-cpp-precomp -MMD"
46929 ;;
46930 * )
46931 DEPSFLAG="-MMD"
46932 ;;
46933 esac
46934 echo "$as_me:$LINENO: result: gcc" >&5
46935 echo "${ECHO_T}gcc" >&6
46936 elif test "x$MWCC" = "xyes"; then
46937 DEPSMODE=mwcc
46938 DEPSFLAG="-MM"
46939 echo "$as_me:$LINENO: result: mwcc" >&5
46940 echo "${ECHO_T}mwcc" >&6
46941 elif test "x$SUNCC" = "xyes"; then
46942 DEPSMODE=unixcc
46943 DEPSFLAG="-xM1"
46944 echo "$as_me:$LINENO: result: Sun cc" >&5
46945 echo "${ECHO_T}Sun cc" >&6
46946 elif test "x$SGICC" = "xyes"; then
46947 DEPSMODE=unixcc
46948 DEPSFLAG="-M"
46949 echo "$as_me:$LINENO: result: SGI cc" >&5
46950 echo "${ECHO_T}SGI cc" >&6
46951 elif test "x$HPCC" = "xyes"; then
46952 DEPSMODE=unixcc
46953 DEPSFLAG="+make"
46954 echo "$as_me:$LINENO: result: HP cc" >&5
46955 echo "${ECHO_T}HP cc" >&6
46956 elif test "x$COMPAQCC" = "xyes"; then
46957 DEPSMODE=gcc
46958 DEPSFLAG="-MD"
46959 echo "$as_me:$LINENO: result: Compaq cc" >&5
46960 echo "${ECHO_T}Compaq cc" >&6
46961 else
46962 DEPS_TRACKING=0
46963 echo "$as_me:$LINENO: result: none" >&5
46964 echo "${ECHO_T}none" >&6
46965 fi
46966
46967 if test $DEPS_TRACKING = 1 ; then
46968
46969 D='$'
46970 cat <<EOF >bk-deps
46971 #!/bin/sh
46972
46973 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
46974 # script. It is used to track C/C++ files dependencies in portable way.
46975 #
46976 # Permission is given to use this file in any way.
46977
46978 DEPSMODE=${DEPSMODE}
46979 DEPSDIR=.deps
46980 DEPSFLAG="${DEPSFLAG}"
46981
46982 mkdir -p ${D}DEPSDIR
46983
46984 if test ${D}DEPSMODE = gcc ; then
46985 ${D}* ${D}{DEPSFLAG}
46986 status=${D}?
46987 if test ${D}{status} != 0 ; then
46988 exit ${D}{status}
46989 fi
46990 # move created file to the location we want it in:
46991 while test ${D}# -gt 0; do
46992 case "${D}1" in
46993 -o )
46994 shift
46995 objfile=${D}1
46996 ;;
46997 -* )
46998 ;;
46999 * )
47000 srcfile=${D}1
47001 ;;
47002 esac
47003 shift
47004 done
47005 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47006 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47007 if test -f ${D}depfile ; then
47008 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47009 rm -f ${D}depfile
47010 else
47011 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47012 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47013 if test ! -f ${D}depfile ; then
47014 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47015 depfile="${D}objfile.d"
47016 fi
47017 if test -f ${D}depfile ; then
47018 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47019 rm -f ${D}depfile
47020 fi
47021 fi
47022 exit 0
47023 elif test ${D}DEPSMODE = mwcc ; then
47024 ${D}* || exit ${D}?
47025 # Run mwcc again with -MM and redirect into the dep file we want
47026 # NOTE: We can't use shift here because we need ${D}* to be valid
47027 prevarg=
47028 for arg in ${D}* ; do
47029 if test "${D}prevarg" = "-o"; then
47030 objfile=${D}arg
47031 else
47032 case "${D}arg" in
47033 -* )
47034 ;;
47035 * )
47036 srcfile=${D}arg
47037 ;;
47038 esac
47039 fi
47040 prevarg="${D}arg"
47041 done
47042 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47043 exit 0
47044 elif test ${D}DEPSMODE = unixcc; then
47045 ${D}* || exit ${D}?
47046 # Run compiler again with deps flag and redirect into the dep file.
47047 # It doesn't work if the '-o FILE' option is used, but without it the
47048 # dependency file will contain the wrong name for the object. So it is
47049 # removed from the command line, and the dep file is fixed with sed.
47050 cmd=""
47051 while test ${D}# -gt 0; do
47052 case "${D}1" in
47053 -o )
47054 shift
47055 objfile=${D}1
47056 ;;
47057 * )
47058 eval arg${D}#=\\${D}1
47059 cmd="${D}cmd \\${D}arg${D}#"
47060 ;;
47061 esac
47062 shift
47063 done
47064 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47065 exit 0
47066 else
47067 ${D}*
47068 exit ${D}?
47069 fi
47070 EOF
47071
47072 chmod +x bk-deps
47073 fi
47074
47075
47076
47077
47078 case ${BAKEFILE_HOST} in
47079 *-*-cygwin* | *-*-mingw32* )
47080 if test -n "$ac_tool_prefix"; then
47081 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47082 set dummy ${ac_tool_prefix}windres; ac_word=$2
47083 echo "$as_me:$LINENO: checking for $ac_word" >&5
47084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47085 if test "${ac_cv_prog_WINDRES+set}" = set; then
47086 echo $ECHO_N "(cached) $ECHO_C" >&6
47087 else
47088 if test -n "$WINDRES"; then
47089 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47090 else
47091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47092 for as_dir in $PATH
47093 do
47094 IFS=$as_save_IFS
47095 test -z "$as_dir" && as_dir=.
47096 for ac_exec_ext in '' $ac_executable_extensions; do
47097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47098 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47100 break 2
47101 fi
47102 done
47103 done
47104
47105 fi
47106 fi
47107 WINDRES=$ac_cv_prog_WINDRES
47108 if test -n "$WINDRES"; then
47109 echo "$as_me:$LINENO: result: $WINDRES" >&5
47110 echo "${ECHO_T}$WINDRES" >&6
47111 else
47112 echo "$as_me:$LINENO: result: no" >&5
47113 echo "${ECHO_T}no" >&6
47114 fi
47115
47116 fi
47117 if test -z "$ac_cv_prog_WINDRES"; then
47118 ac_ct_WINDRES=$WINDRES
47119 # Extract the first word of "windres", so it can be a program name with args.
47120 set dummy windres; ac_word=$2
47121 echo "$as_me:$LINENO: checking for $ac_word" >&5
47122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47123 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47124 echo $ECHO_N "(cached) $ECHO_C" >&6
47125 else
47126 if test -n "$ac_ct_WINDRES"; then
47127 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47128 else
47129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47130 for as_dir in $PATH
47131 do
47132 IFS=$as_save_IFS
47133 test -z "$as_dir" && as_dir=.
47134 for ac_exec_ext in '' $ac_executable_extensions; do
47135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47136 ac_cv_prog_ac_ct_WINDRES="windres"
47137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47138 break 2
47139 fi
47140 done
47141 done
47142
47143 fi
47144 fi
47145 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47146 if test -n "$ac_ct_WINDRES"; then
47147 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47148 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47149 else
47150 echo "$as_me:$LINENO: result: no" >&5
47151 echo "${ECHO_T}no" >&6
47152 fi
47153
47154 WINDRES=$ac_ct_WINDRES
47155 else
47156 WINDRES="$ac_cv_prog_WINDRES"
47157 fi
47158
47159 ;;
47160
47161 *-*-darwin* | powerpc-apple-macos* )
47162 # Extract the first word of "Rez", so it can be a program name with args.
47163 set dummy Rez; ac_word=$2
47164 echo "$as_me:$LINENO: checking for $ac_word" >&5
47165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47166 if test "${ac_cv_prog_REZ+set}" = set; then
47167 echo $ECHO_N "(cached) $ECHO_C" >&6
47168 else
47169 if test -n "$REZ"; then
47170 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47171 else
47172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47173 for as_dir in $PATH
47174 do
47175 IFS=$as_save_IFS
47176 test -z "$as_dir" && as_dir=.
47177 for ac_exec_ext in '' $ac_executable_extensions; do
47178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47179 ac_cv_prog_REZ="Rez"
47180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47181 break 2
47182 fi
47183 done
47184 done
47185
47186 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47187 fi
47188 fi
47189 REZ=$ac_cv_prog_REZ
47190 if test -n "$REZ"; then
47191 echo "$as_me:$LINENO: result: $REZ" >&5
47192 echo "${ECHO_T}$REZ" >&6
47193 else
47194 echo "$as_me:$LINENO: result: no" >&5
47195 echo "${ECHO_T}no" >&6
47196 fi
47197
47198 # Extract the first word of "SetFile", so it can be a program name with args.
47199 set dummy SetFile; ac_word=$2
47200 echo "$as_me:$LINENO: checking for $ac_word" >&5
47201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47202 if test "${ac_cv_prog_SETFILE+set}" = set; then
47203 echo $ECHO_N "(cached) $ECHO_C" >&6
47204 else
47205 if test -n "$SETFILE"; then
47206 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47207 else
47208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47209 for as_dir in $PATH
47210 do
47211 IFS=$as_save_IFS
47212 test -z "$as_dir" && as_dir=.
47213 for ac_exec_ext in '' $ac_executable_extensions; do
47214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47215 ac_cv_prog_SETFILE="SetFile"
47216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47217 break 2
47218 fi
47219 done
47220 done
47221
47222 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47223 fi
47224 fi
47225 SETFILE=$ac_cv_prog_SETFILE
47226 if test -n "$SETFILE"; then
47227 echo "$as_me:$LINENO: result: $SETFILE" >&5
47228 echo "${ECHO_T}$SETFILE" >&6
47229 else
47230 echo "$as_me:$LINENO: result: no" >&5
47231 echo "${ECHO_T}no" >&6
47232 fi
47233
47234 ;;
47235 esac
47236
47237
47238
47239
47240
47241
47242 BAKEFILE_BAKEFILE_M4_VERSION="0.1.9"
47243
47244
47245 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.9"
47246
47247
47248
47249 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47250 if test "${enable_precomp_headers+set}" = set; then
47251 enableval="$enable_precomp_headers"
47252 bk_use_pch="$enableval"
47253 fi;
47254
47255 GCC_PCH=0
47256
47257 case ${BAKEFILE_HOST} in
47258 *-*-cygwin* )
47259 bk_use_pch="no"
47260 ;;
47261 esac
47262
47263 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47264 if test "x$GCC" = "xyes"; then
47265 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47266 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47267 cat >conftest.$ac_ext <<_ACEOF
47268 /* confdefs.h. */
47269 _ACEOF
47270 cat confdefs.h >>conftest.$ac_ext
47271 cat >>conftest.$ac_ext <<_ACEOF
47272 /* end confdefs.h. */
47273
47274 int
47275 main ()
47276 {
47277
47278 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47279 #error "no pch support"
47280 #endif
47281 #if (__GNUC__ < 3)
47282 #error "no pch support"
47283 #endif
47284 #if (__GNUC__ == 3) && \
47285 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47286 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
47287 #error "no pch support"
47288 #endif
47289
47290 ;
47291 return 0;
47292 }
47293 _ACEOF
47294 rm -f conftest.$ac_objext
47295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47296 (eval $ac_compile) 2>conftest.er1
47297 ac_status=$?
47298 grep -v '^ *+' conftest.er1 >conftest.err
47299 rm -f conftest.er1
47300 cat conftest.err >&5
47301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47302 (exit $ac_status); } &&
47303 { ac_try='test -z "$ac_c_werror_flag"
47304 || test ! -s conftest.err'
47305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47306 (eval $ac_try) 2>&5
47307 ac_status=$?
47308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47309 (exit $ac_status); }; } &&
47310 { ac_try='test -s conftest.$ac_objext'
47311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47312 (eval $ac_try) 2>&5
47313 ac_status=$?
47314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47315 (exit $ac_status); }; }; then
47316
47317 echo "$as_me:$LINENO: result: yes" >&5
47318 echo "${ECHO_T}yes" >&6
47319 GCC_PCH=1
47320
47321 else
47322 echo "$as_me: failed program was:" >&5
47323 sed 's/^/| /' conftest.$ac_ext >&5
47324
47325
47326 echo "$as_me:$LINENO: result: no" >&5
47327 echo "${ECHO_T}no" >&6
47328
47329 fi
47330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47331 if test $GCC_PCH = 1 ; then
47332
47333 D='$'
47334 cat <<EOF >bk-make-pch
47335 #!/bin/sh
47336
47337 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47338 # script. It is used to generated precompiled headers.
47339 #
47340 # Permission is given to use this file in any way.
47341
47342 outfile="${D}{1}"
47343 header="${D}{2}"
47344 shift
47345 shift
47346
47347 compiler=
47348 headerfile=
47349 while test ${D}{#} -gt 0; do
47350 case "${D}{1}" in
47351 -I* )
47352 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47353 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47354 headerfile="${D}{incdir}/${D}{header}"
47355 fi
47356 ;;
47357 esac
47358 compiler="${D}{compiler} ${D}{1}"
47359 shift
47360 done
47361
47362 if test "x${D}{headerfile}" = "x" ; then
47363 echo "error: can't find header ${D}{header} in include paths" >2
47364 else
47365 if test -f ${D}{outfile} ; then
47366 rm -f ${D}{outfile}
47367 else
47368 mkdir -p \`dirname ${D}{outfile}\`
47369 fi
47370 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47371 mkdir -p .deps
47372 # can do this because gcc is >= 3.4:
47373 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47374 exit ${D}{?}
47375 fi
47376 EOF
47377
47378 chmod +x bk-make-pch
47379 fi
47380 fi
47381 fi
47382
47383
47384
47385 COND_BUILD_DEBUG="#"
47386 if test "x$BUILD" = "xdebug" ; then
47387 COND_BUILD_DEBUG=""
47388 fi
47389
47390 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47391 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47392 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47393 fi
47394
47395 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47396 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47397 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47398 fi
47399
47400 COND_BUILD_DEBUG_UNICODE_0="#"
47401 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47402 COND_BUILD_DEBUG_UNICODE_0=""
47403 fi
47404
47405 COND_BUILD_DEBUG_UNICODE_1="#"
47406 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47407 COND_BUILD_DEBUG_UNICODE_1=""
47408 fi
47409
47410 COND_BUILD_RELEASE="#"
47411 if test "x$BUILD" = "xrelease" ; then
47412 COND_BUILD_RELEASE=""
47413 fi
47414
47415 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47416 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47417 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47418 fi
47419
47420 COND_BUILD_RELEASE_UNICODE_0="#"
47421 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47422 COND_BUILD_RELEASE_UNICODE_0=""
47423 fi
47424
47425 COND_BUILD_RELEASE_UNICODE_1="#"
47426 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47427 COND_BUILD_RELEASE_UNICODE_1=""
47428 fi
47429
47430 COND_DEBUG_FLAG_1="#"
47431 if test "x$DEBUG_FLAG" = "x1" ; then
47432 COND_DEBUG_FLAG_1=""
47433 fi
47434
47435 COND_DEBUG_INFO_0="#"
47436 if test "x$DEBUG_INFO" = "x0" ; then
47437 COND_DEBUG_INFO_0=""
47438 fi
47439
47440 COND_DEBUG_INFO_1="#"
47441 if test "x$DEBUG_INFO" = "x1" ; then
47442 COND_DEBUG_INFO_1=""
47443 fi
47444
47445 COND_DEPS_TRACKING_0="#"
47446 if test "x$DEPS_TRACKING" = "x0" ; then
47447 COND_DEPS_TRACKING_0=""
47448 fi
47449
47450 COND_DEPS_TRACKING_1="#"
47451 if test "x$DEPS_TRACKING" = "x1" ; then
47452 COND_DEPS_TRACKING_1=""
47453 fi
47454
47455 COND_GCC_PCH_1="#"
47456 if test "x$GCC_PCH" = "x1" ; then
47457 COND_GCC_PCH_1=""
47458 fi
47459
47460 COND_MONOLITHIC_0="#"
47461 if test "x$MONOLITHIC" = "x0" ; then
47462 COND_MONOLITHIC_0=""
47463 fi
47464
47465 COND_MONOLITHIC_0_SHARED_0="#"
47466 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47467 COND_MONOLITHIC_0_SHARED_0=""
47468 fi
47469
47470 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47471 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47472 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47473 fi
47474
47475 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47476 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47477 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47478 fi
47479
47480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47481 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47482 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47483 fi
47484
47485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47486 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47487 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47488 fi
47489
47490 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47491 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47492 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47493 fi
47494
47495 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47496 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47497 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47498 fi
47499
47500 COND_MONOLITHIC_0_SHARED_1="#"
47501 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47502 COND_MONOLITHIC_0_SHARED_1=""
47503 fi
47504
47505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47506 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47507 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47508 fi
47509
47510 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47512 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47513 fi
47514
47515 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47517 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47518 fi
47519
47520 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47522 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47523 fi
47524
47525 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47526 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47527 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47528 fi
47529
47530 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
47531 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47532 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
47533 fi
47534
47535 COND_MONOLITHIC_0_USE_ODBC_1="#"
47536 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47537 COND_MONOLITHIC_0_USE_ODBC_1=""
47538 fi
47539
47540 COND_MONOLITHIC_1="#"
47541 if test "x$MONOLITHIC" = "x1" ; then
47542 COND_MONOLITHIC_1=""
47543 fi
47544
47545 COND_MONOLITHIC_1_SHARED_0="#"
47546 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47547 COND_MONOLITHIC_1_SHARED_0=""
47548 fi
47549
47550 COND_MONOLITHIC_1_SHARED_1="#"
47551 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47552 COND_MONOLITHIC_1_SHARED_1=""
47553 fi
47554
47555 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
47556 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47557 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
47558 fi
47559
47560 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
47561 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47562 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
47563 fi
47564
47565 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
47566 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47567 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
47568 fi
47569
47570 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
47571 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47572 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
47573 fi
47574
47575 COND_PLATFORM_MACOSX_1="#"
47576 if test "x$PLATFORM_MACOSX" = "x1" ; then
47577 COND_PLATFORM_MACOSX_1=""
47578 fi
47579
47580 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
47581 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47582 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
47583 fi
47584
47585 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
47586 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47587 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
47588 fi
47589
47590 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
47591 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47592 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
47593 fi
47594
47595 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
47596 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47597 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
47598 fi
47599
47600 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
47601 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47602 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
47603 fi
47604
47605 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
47606 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47607 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
47608 fi
47609
47610 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
47611 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47612 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
47613 fi
47614
47615 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
47616 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47617 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
47618 fi
47619
47620 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
47621 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47622 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
47623 fi
47624
47625 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
47626 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47627 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
47628 fi
47629
47630 COND_PLATFORM_MACOS_1="#"
47631 if test "x$PLATFORM_MACOS" = "x1" ; then
47632 COND_PLATFORM_MACOS_1=""
47633 fi
47634
47635 COND_PLATFORM_MAC_1="#"
47636 if test "x$PLATFORM_MAC" = "x1" ; then
47637 COND_PLATFORM_MAC_1=""
47638 fi
47639
47640 COND_PLATFORM_MSDOS_1="#"
47641 if test "x$PLATFORM_MSDOS" = "x1" ; then
47642 COND_PLATFORM_MSDOS_1=""
47643 fi
47644
47645 COND_PLATFORM_OS2_1="#"
47646 if test "x$PLATFORM_OS2" = "x1" ; then
47647 COND_PLATFORM_OS2_1=""
47648 fi
47649
47650 COND_PLATFORM_UNIX_0="#"
47651 if test "x$PLATFORM_UNIX" = "x0" ; then
47652 COND_PLATFORM_UNIX_0=""
47653 fi
47654
47655 COND_PLATFORM_UNIX_1="#"
47656 if test "x$PLATFORM_UNIX" = "x1" ; then
47657 COND_PLATFORM_UNIX_1=""
47658 fi
47659
47660 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
47661 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47662 COND_PLATFORM_UNIX_1_USE_GUI_1=""
47663 fi
47664
47665 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
47666 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47667 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
47668 fi
47669
47670 COND_PLATFORM_WIN32_0="#"
47671 if test "x$PLATFORM_WIN32" = "x0" ; then
47672 COND_PLATFORM_WIN32_0=""
47673 fi
47674
47675 COND_PLATFORM_WIN32_1="#"
47676 if test "x$PLATFORM_WIN32" = "x1" ; then
47677 COND_PLATFORM_WIN32_1=""
47678 fi
47679
47680 COND_SHARED_0="#"
47681 if test "x$SHARED" = "x0" ; then
47682 COND_SHARED_0=""
47683 fi
47684
47685 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
47686 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47687 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
47688 fi
47689
47690 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
47691 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47692 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
47693 fi
47694
47695 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
47696 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47697 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
47698 fi
47699
47700 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
47701 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47702 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
47703 fi
47704
47705 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
47706 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47707 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
47708 fi
47709
47710 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
47711 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47712 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
47713 fi
47714
47715 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
47716 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47717 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
47718 fi
47719
47720 COND_SHARED_0_USE_XRC_1="#"
47721 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47722 COND_SHARED_0_USE_XRC_1=""
47723 fi
47724
47725 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
47726 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47727 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
47728 fi
47729
47730 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
47731 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47732 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
47733 fi
47734
47735 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
47736 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47737 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
47738 fi
47739
47740 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
47741 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47742 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
47743 fi
47744
47745 COND_SHARED_1="#"
47746 if test "x$SHARED" = "x1" ; then
47747 COND_SHARED_1=""
47748 fi
47749
47750 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
47751 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47752 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
47753 fi
47754
47755 COND_SHARED_1_USE_XRC_1="#"
47756 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47757 COND_SHARED_1_USE_XRC_1=""
47758 fi
47759
47760 COND_TOOLKIT_="#"
47761 if test "x$TOOLKIT" = "x" ; then
47762 COND_TOOLKIT_=""
47763 fi
47764
47765 COND_TOOLKIT_COCOA="#"
47766 if test "x$TOOLKIT" = "xCOCOA" ; then
47767 COND_TOOLKIT_COCOA=""
47768 fi
47769
47770 COND_TOOLKIT_COCOA_USE_GUI_1="#"
47771 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47772 COND_TOOLKIT_COCOA_USE_GUI_1=""
47773 fi
47774
47775 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
47776 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47777 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
47778 fi
47779
47780 COND_TOOLKIT_GTK="#"
47781 if test "x$TOOLKIT" = "xGTK" ; then
47782 COND_TOOLKIT_GTK=""
47783 fi
47784
47785 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
47786 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
47787 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
47788 fi
47789
47790 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
47791 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
47792 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
47793 fi
47794
47795 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
47796 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
47797 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
47798 fi
47799
47800 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
47801 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47802 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
47803 fi
47804
47805 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
47806 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
47807 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
47808 fi
47809
47810 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
47811 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47812 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
47813 fi
47814
47815 COND_TOOLKIT_GTK_USE_GUI_1="#"
47816 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
47817 COND_TOOLKIT_GTK_USE_GUI_1=""
47818 fi
47819
47820 COND_TOOLKIT_MAC="#"
47821 if test "x$TOOLKIT" = "xMAC" ; then
47822 COND_TOOLKIT_MAC=""
47823 fi
47824
47825 COND_TOOLKIT_MAC_USE_GUI_1="#"
47826 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47827 COND_TOOLKIT_MAC_USE_GUI_1=""
47828 fi
47829
47830 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
47831 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47832 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
47833 fi
47834
47835 COND_TOOLKIT_MGL="#"
47836 if test "x$TOOLKIT" = "xMGL" ; then
47837 COND_TOOLKIT_MGL=""
47838 fi
47839
47840 COND_TOOLKIT_MGL_USE_GUI_1="#"
47841 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
47842 COND_TOOLKIT_MGL_USE_GUI_1=""
47843 fi
47844
47845 COND_TOOLKIT_MOTIF="#"
47846 if test "x$TOOLKIT" = "xMOTIF" ; then
47847 COND_TOOLKIT_MOTIF=""
47848 fi
47849
47850 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
47851 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
47852 COND_TOOLKIT_MOTIF_USE_GUI_1=""
47853 fi
47854
47855 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
47856 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47857 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
47858 fi
47859
47860 COND_TOOLKIT_MSW="#"
47861 if test "x$TOOLKIT" = "xMSW" ; then
47862 COND_TOOLKIT_MSW=""
47863 fi
47864
47865 COND_TOOLKIT_MSW_USE_GUI_1="#"
47866 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
47867 COND_TOOLKIT_MSW_USE_GUI_1=""
47868 fi
47869
47870 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
47871 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47872 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
47873 fi
47874
47875 COND_TOOLKIT_MSW_WXUNIV_0="#"
47876 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47877 COND_TOOLKIT_MSW_WXUNIV_0=""
47878 fi
47879
47880 COND_TOOLKIT_PM="#"
47881 if test "x$TOOLKIT" = "xPM" ; then
47882 COND_TOOLKIT_PM=""
47883 fi
47884
47885 COND_TOOLKIT_PM_USE_GUI_1="#"
47886 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
47887 COND_TOOLKIT_PM_USE_GUI_1=""
47888 fi
47889
47890 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
47891 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47892 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
47893 fi
47894
47895 COND_TOOLKIT_WINCE="#"
47896 if test "x$TOOLKIT" = "xWINCE" ; then
47897 COND_TOOLKIT_WINCE=""
47898 fi
47899
47900 COND_TOOLKIT_WINCE_USE_GUI_1="#"
47901 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
47902 COND_TOOLKIT_WINCE_USE_GUI_1=""
47903 fi
47904
47905 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
47906 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47907 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
47908 fi
47909
47910 COND_TOOLKIT_WINCE_WXUNIV_0="#"
47911 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
47912 COND_TOOLKIT_WINCE_WXUNIV_0=""
47913 fi
47914
47915 COND_TOOLKIT_X11="#"
47916 if test "x$TOOLKIT" = "xX11" ; then
47917 COND_TOOLKIT_X11=""
47918 fi
47919
47920 COND_TOOLKIT_X11_USE_GUI_1="#"
47921 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
47922 COND_TOOLKIT_X11_USE_GUI_1=""
47923 fi
47924
47925 COND_UNICODE_1="#"
47926 if test "x$UNICODE" = "x1" ; then
47927 COND_UNICODE_1=""
47928 fi
47929
47930 COND_USE_EXCEPTIONS_0="#"
47931 if test "x$USE_EXCEPTIONS" = "x0" ; then
47932 COND_USE_EXCEPTIONS_0=""
47933 fi
47934
47935 COND_USE_EXCEPTIONS_1="#"
47936 if test "x$USE_EXCEPTIONS" = "x1" ; then
47937 COND_USE_EXCEPTIONS_1=""
47938 fi
47939
47940 COND_USE_GUI_0="#"
47941 if test "x$USE_GUI" = "x0" ; then
47942 COND_USE_GUI_0=""
47943 fi
47944
47945 COND_USE_GUI_1="#"
47946 if test "x$USE_GUI" = "x1" ; then
47947 COND_USE_GUI_1=""
47948 fi
47949
47950 COND_USE_GUI_1_WXUNIV_0="#"
47951 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47952 COND_USE_GUI_1_WXUNIV_0=""
47953 fi
47954
47955 COND_USE_GUI_1_WXUNIV_1="#"
47956 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
47957 COND_USE_GUI_1_WXUNIV_1=""
47958 fi
47959
47960 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
47961 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47962 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
47963 fi
47964
47965 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
47966 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47967 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
47968 fi
47969
47970 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
47971 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47972 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
47973 fi
47974
47975 COND_USE_ODBC_1="#"
47976 if test "x$USE_ODBC" = "x1" ; then
47977 COND_USE_ODBC_1=""
47978 fi
47979
47980 COND_USE_OPENGL_1="#"
47981 if test "x$USE_OPENGL" = "x1" ; then
47982 COND_USE_OPENGL_1=""
47983 fi
47984
47985 COND_USE_PLUGINS_0="#"
47986 if test "x$USE_PLUGINS" = "x0" ; then
47987 COND_USE_PLUGINS_0=""
47988 fi
47989
47990 COND_USE_RTTI_0="#"
47991 if test "x$USE_RTTI" = "x0" ; then
47992 COND_USE_RTTI_0=""
47993 fi
47994
47995 COND_USE_RTTI_1="#"
47996 if test "x$USE_RTTI" = "x1" ; then
47997 COND_USE_RTTI_1=""
47998 fi
47999
48000 COND_USE_SOSYMLINKS_1="#"
48001 if test "x$USE_SOSYMLINKS" = "x1" ; then
48002 COND_USE_SOSYMLINKS_1=""
48003 fi
48004
48005 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48006 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48007 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48008 fi
48009
48010 COND_USE_SOVERLINUX_1="#"
48011 if test "x$USE_SOVERLINUX" = "x1" ; then
48012 COND_USE_SOVERLINUX_1=""
48013 fi
48014
48015 COND_USE_SOVERSION_0="#"
48016 if test "x$USE_SOVERSION" = "x0" ; then
48017 COND_USE_SOVERSION_0=""
48018 fi
48019
48020 COND_USE_SOVERSOLARIS_1="#"
48021 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48022 COND_USE_SOVERSOLARIS_1=""
48023 fi
48024
48025 COND_USE_THREADS_0="#"
48026 if test "x$USE_THREADS" = "x0" ; then
48027 COND_USE_THREADS_0=""
48028 fi
48029
48030 COND_USE_THREADS_1="#"
48031 if test "x$USE_THREADS" = "x1" ; then
48032 COND_USE_THREADS_1=""
48033 fi
48034
48035 COND_USE_XRC_1="#"
48036 if test "x$USE_XRC" = "x1" ; then
48037 COND_USE_XRC_1=""
48038 fi
48039
48040 COND_WINDOWS_IMPLIB_1="#"
48041 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48042 COND_WINDOWS_IMPLIB_1=""
48043 fi
48044
48045 COND_WITH_PLUGIN_SDL_1="#"
48046 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48047 COND_WITH_PLUGIN_SDL_1=""
48048 fi
48049
48050 COND_WXUNIV_0="#"
48051 if test "x$WXUNIV" = "x0" ; then
48052 COND_WXUNIV_0=""
48053 fi
48054
48055 COND_WXUNIV_1="#"
48056 if test "x$WXUNIV" = "x1" ; then
48057 COND_WXUNIV_1=""
48058 fi
48059
48060 COND_WXUSE_EXPAT_BUILTIN="#"
48061 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48062 COND_WXUSE_EXPAT_BUILTIN=""
48063 fi
48064
48065 COND_WXUSE_LIBJPEG_BUILTIN="#"
48066 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48067 COND_WXUSE_LIBJPEG_BUILTIN=""
48068 fi
48069
48070 COND_WXUSE_LIBPNG_BUILTIN="#"
48071 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48072 COND_WXUSE_LIBPNG_BUILTIN=""
48073 fi
48074
48075 COND_WXUSE_LIBTIFF_BUILTIN="#"
48076 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48077 COND_WXUSE_LIBTIFF_BUILTIN=""
48078 fi
48079
48080 COND_WXUSE_ODBC_BUILTIN="#"
48081 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48082 COND_WXUSE_ODBC_BUILTIN=""
48083 fi
48084
48085 COND_WXUSE_REGEX_BUILTIN="#"
48086 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48087 COND_WXUSE_REGEX_BUILTIN=""
48088 fi
48089
48090 COND_WXUSE_ZLIB_BUILTIN="#"
48091 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48092 COND_WXUSE_ZLIB_BUILTIN=""
48093 fi
48094
48095
48096
48097 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48098 { { 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
48099 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;}
48100 { (exit 1); exit 1; }; }
48101 fi
48102
48103 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48104 { { 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
48105 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;}
48106 { (exit 1); exit 1; }; }
48107 fi
48108
48109
48110
48111 if test "$wxUSE_MAC" = 1 ; then
48112 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48113 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48114 mv temp bk-deps
48115 chmod +x bk-deps
48116 fi
48117 fi
48118
48119 if test "$wxUSE_SHARED" = "yes"; then
48120
48121 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48122 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48123
48124 case "${host}" in
48125 *-pc-os2_emx | *-pc-os2-emx )
48126 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48127 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48128 cp -p ${srcdir}/src/os2/dllnames.sh .
48129 cp -p ${srcdir}/src/os2/dllar.sh .
48130 ;;
48131 esac
48132 else
48133
48134 EXE_LINKER="$CXX -o"
48135
48136 fi
48137 if test "$wxUSE_OMF" = "yes"; then
48138 case "${host}" in
48139 *-pc-os2_emx | *-pc-os2-emx )
48140 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48141 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48142 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48143 ;;
48144 esac
48145 fi
48146
48147 if test $GCC_PCH = 1 ; then
48148 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48149 fi
48150
48151 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48152
48153 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48154
48155
48156
48157
48158
48159
48160
48161
48162
48163
48164
48165
48166
48167
48168
48169
48170
48171
48172
48173
48174
48175
48176
48177
48178
48179
48180
48181
48182
48183
48184
48185
48186
48187
48188
48189
48190
48191
48192
48193
48194
48195
48196
48197
48198
48199
48200
48201
48202
48203
48204
48205
48206
48207
48208
48209
48210
48211
48212
48213
48214
48215 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48216 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48217 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48218 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48219 echo $ECHO_N "(cached) $ECHO_C" >&6
48220 else
48221 cat >conftest.make <<\_ACEOF
48222 all:
48223 @echo 'ac_maketemp="$(MAKE)"'
48224 _ACEOF
48225 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48226 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48227 if test -n "$ac_maketemp"; then
48228 eval ac_cv_prog_make_${ac_make}_set=yes
48229 else
48230 eval ac_cv_prog_make_${ac_make}_set=no
48231 fi
48232 rm -f conftest.make
48233 fi
48234 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48235 echo "$as_me:$LINENO: result: yes" >&5
48236 echo "${ECHO_T}yes" >&6
48237 SET_MAKE=
48238 else
48239 echo "$as_me:$LINENO: result: no" >&5
48240 echo "${ECHO_T}no" >&6
48241 SET_MAKE="MAKE=${MAKE-make}"
48242 fi
48243
48244
48245
48246 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48247
48248
48249 if test "$USE_WIN32" = 1; then
48250 ac_config_commands="$ac_config_commands
48251 rcdefs.h
48252 "
48253
48254 fi
48255
48256 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48257
48258
48259 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48260
48261
48262 ac_config_files="$ac_config_files version-script Makefile"
48263
48264
48265 ac_config_commands="$ac_config_commands wx-config"
48266
48267
48268
48269 if test "$wxWITH_SUBDIRS" != "no"; then
48270 if test "$wxUSE_GUI" = "yes"; then
48271 SUBDIRS="samples demos utils contrib"
48272 else SUBDIRS="samples utils"
48273 fi
48274
48275
48276
48277 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48278 if test "${with_cppunit_prefix+set}" = set; then
48279 withval="$with_cppunit_prefix"
48280 cppunit_config_prefix="$withval"
48281 else
48282 cppunit_config_prefix=""
48283 fi;
48284
48285 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48286 if test "${with_cppunit_exec_prefix+set}" = set; then
48287 withval="$with_cppunit_exec_prefix"
48288 cppunit_config_exec_prefix="$withval"
48289 else
48290 cppunit_config_exec_prefix=""
48291 fi;
48292
48293 if test x$cppunit_config_exec_prefix != x ; then
48294 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48295 if test x${CPPUNIT_CONFIG+set} != xset ; then
48296 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48297 fi
48298 fi
48299 if test x$cppunit_config_prefix != x ; then
48300 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48301 if test x${CPPUNIT_CONFIG+set} != xset ; then
48302 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48303 fi
48304 fi
48305
48306 # Extract the first word of "cppunit-config", so it can be a program name with args.
48307 set dummy cppunit-config; ac_word=$2
48308 echo "$as_me:$LINENO: checking for $ac_word" >&5
48309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48310 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48311 echo $ECHO_N "(cached) $ECHO_C" >&6
48312 else
48313 case $CPPUNIT_CONFIG in
48314 [\\/]* | ?:[\\/]*)
48315 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48316 ;;
48317 *)
48318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48319 for as_dir in $PATH
48320 do
48321 IFS=$as_save_IFS
48322 test -z "$as_dir" && as_dir=.
48323 for ac_exec_ext in '' $ac_executable_extensions; do
48324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48325 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48327 break 2
48328 fi
48329 done
48330 done
48331
48332 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48333 ;;
48334 esac
48335 fi
48336 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48337
48338 if test -n "$CPPUNIT_CONFIG"; then
48339 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48340 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48341 else
48342 echo "$as_me:$LINENO: result: no" >&5
48343 echo "${ECHO_T}no" >&6
48344 fi
48345
48346 cppunit_version_min=1.8.0
48347
48348 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48349 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48350 no_cppunit=""
48351 if test "$CPPUNIT_CONFIG" = "no" ; then
48352 no_cppunit=yes
48353 else
48354 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48355 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48356 cppunit_version=`$CPPUNIT_CONFIG --version`
48357
48358 cppunit_major_version=`echo $cppunit_version | \
48359 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48360 cppunit_minor_version=`echo $cppunit_version | \
48361 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48362 cppunit_micro_version=`echo $cppunit_version | \
48363 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48364
48365 cppunit_major_min=`echo $cppunit_version_min | \
48366 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48367 cppunit_minor_min=`echo $cppunit_version_min | \
48368 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48369 cppunit_micro_min=`echo $cppunit_version_min | \
48370 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48371
48372 cppunit_version_proper=`expr \
48373 $cppunit_major_version \> $cppunit_major_min \| \
48374 $cppunit_major_version \= $cppunit_major_min \& \
48375 $cppunit_minor_version \> $cppunit_minor_min \| \
48376 $cppunit_major_version \= $cppunit_major_min \& \
48377 $cppunit_minor_version \= $cppunit_minor_min \& \
48378 $cppunit_micro_version \>= $cppunit_micro_min `
48379
48380 if test "$cppunit_version_proper" = "1" ; then
48381 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48382 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48383 else
48384 echo "$as_me:$LINENO: result: no" >&5
48385 echo "${ECHO_T}no" >&6
48386 no_cppunit=yes
48387 fi
48388 fi
48389
48390 if test "x$no_cppunit" = x ; then
48391 SUBDIRS="$SUBDIRS tests"
48392 else
48393 CPPUNIT_CFLAGS=""
48394 CPPUNIT_LIBS=""
48395 :
48396 fi
48397
48398
48399
48400
48401
48402 for subdir in `echo $SUBDIRS`; do
48403 if test -d ${srcdir}/${subdir} ; then
48404 if test "$wxUSE_GUI" = "yes"; then
48405 if test ${subdir} = "samples"; then
48406 makefiles="samples/Makefile.in $makefiles"
48407 for sample in `echo $SAMPLES_SUBDIRS`; do
48408 if test -d $srcdir/samples/$sample; then
48409 makefiles="samples/$sample/Makefile.in $makefiles"
48410 fi
48411 done
48412 else
48413 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
48414 eval "disabled=\$$disabled_var"
48415 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
48416 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48417 fi
48418 else if test ${subdir} = "samples"; then
48419 makefiles="samples/Makefile.in samples/console/Makefile.in"
48420 elif test ${subdir} = "utils"; then
48421 makefiles=""
48422 for util in HelpGen tex2rtf ; do
48423 if test -d $srcdir/utils/$util ; then
48424 makefiles="utils/$util/Makefile.in \
48425 utils/$util/src/Makefile.in \
48426 $makefiles"
48427 fi
48428 done
48429 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
48430 fi
48431 fi
48432
48433 for mkin in $makefiles ; do
48434 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48435 ac_config_files="$ac_config_files $mk"
48436
48437 done
48438 fi
48439 done
48440 fi
48441 cat >confcache <<\_ACEOF
48442 # This file is a shell script that caches the results of configure
48443 # tests run on this system so they can be shared between configure
48444 # scripts and configure runs, see configure's option --config-cache.
48445 # It is not useful on other systems. If it contains results you don't
48446 # want to keep, you may remove or edit it.
48447 #
48448 # config.status only pays attention to the cache file if you give it
48449 # the --recheck option to rerun configure.
48450 #
48451 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48452 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48453 # following values.
48454
48455 _ACEOF
48456
48457 # The following way of writing the cache mishandles newlines in values,
48458 # but we know of no workaround that is simple, portable, and efficient.
48459 # So, don't put newlines in cache variables' values.
48460 # Ultrix sh set writes to stderr and can't be redirected directly,
48461 # and sets the high bit in the cache file unless we assign to the vars.
48462 {
48463 (set) 2>&1 |
48464 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48465 *ac_space=\ *)
48466 # `set' does not quote correctly, so add quotes (double-quote
48467 # substitution turns \\\\ into \\, and sed turns \\ into \).
48468 sed -n \
48469 "s/'/'\\\\''/g;
48470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48471 ;;
48472 *)
48473 # `set' quotes correctly as required by POSIX, so do not add quotes.
48474 sed -n \
48475 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48476 ;;
48477 esac;
48478 } |
48479 sed '
48480 t clear
48481 : clear
48482 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48483 t end
48484 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48485 : end' >>confcache
48486 if diff $cache_file confcache >/dev/null 2>&1; then :; else
48487 if test -w $cache_file; then
48488 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48489 cat confcache >$cache_file
48490 else
48491 echo "not updating unwritable cache $cache_file"
48492 fi
48493 fi
48494 rm -f confcache
48495
48496 test "x$prefix" = xNONE && prefix=$ac_default_prefix
48497 # Let make expand exec_prefix.
48498 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
48499
48500 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48501 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48502 # trailing colons and then remove the whole line if VPATH becomes empty
48503 # (actually we leave an empty line to preserve line numbers).
48504 if test "x$srcdir" = x.; then
48505 ac_vpsub='/^[ ]*VPATH[ ]*=/{
48506 s/:*\$(srcdir):*/:/;
48507 s/:*\${srcdir}:*/:/;
48508 s/:*@srcdir@:*/:/;
48509 s/^\([^=]*=[ ]*\):*/\1/;
48510 s/:*$//;
48511 s/^[^=]*=[ ]*$//;
48512 }'
48513 fi
48514
48515 DEFS=-DHAVE_CONFIG_H
48516
48517 ac_libobjs=
48518 ac_ltlibobjs=
48519 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
48520 # 1. Remove the extension, and $U if already installed.
48521 ac_i=`echo "$ac_i" |
48522 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48523 # 2. Add them.
48524 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
48525 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
48526 done
48527 LIBOBJS=$ac_libobjs
48528
48529 LTLIBOBJS=$ac_ltlibobjs
48530
48531
48532
48533 : ${CONFIG_STATUS=./config.status}
48534 ac_clean_files_save=$ac_clean_files
48535 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
48536 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48537 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48538 cat >$CONFIG_STATUS <<_ACEOF
48539 #! $SHELL
48540 # Generated by $as_me.
48541 # Run this file to recreate the current configuration.
48542 # Compiler output produced by configure, useful for debugging
48543 # configure, is in config.log if it exists.
48544
48545 debug=false
48546 ac_cs_recheck=false
48547 ac_cs_silent=false
48548 SHELL=\${CONFIG_SHELL-$SHELL}
48549 _ACEOF
48550
48551 cat >>$CONFIG_STATUS <<\_ACEOF
48552 ## --------------------- ##
48553 ## M4sh Initialization. ##
48554 ## --------------------- ##
48555
48556 # Be Bourne compatible
48557 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
48558 emulate sh
48559 NULLCMD=:
48560 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48561 # is contrary to our usage. Disable this feature.
48562 alias -g '${1+"$@"}'='"$@"'
48563 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
48564 set -o posix
48565 fi
48566 DUALCASE=1; export DUALCASE # for MKS sh
48567
48568 # Support unset when possible.
48569 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
48570 as_unset=unset
48571 else
48572 as_unset=false
48573 fi
48574
48575
48576 # Work around bugs in pre-3.0 UWIN ksh.
48577 $as_unset ENV MAIL MAILPATH
48578 PS1='$ '
48579 PS2='> '
48580 PS4='+ '
48581
48582 # NLS nuisances.
48583 for as_var in \
48584 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48585 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48586 LC_TELEPHONE LC_TIME
48587 do
48588 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48589 eval $as_var=C; export $as_var
48590 else
48591 $as_unset $as_var
48592 fi
48593 done
48594
48595 # Required to use basename.
48596 if expr a : '\(a\)' >/dev/null 2>&1; then
48597 as_expr=expr
48598 else
48599 as_expr=false
48600 fi
48601
48602 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
48603 as_basename=basename
48604 else
48605 as_basename=false
48606 fi
48607
48608
48609 # Name of the executable.
48610 as_me=`$as_basename "$0" ||
48611 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48612 X"$0" : 'X\(//\)$' \| \
48613 X"$0" : 'X\(/\)$' \| \
48614 . : '\(.\)' 2>/dev/null ||
48615 echo X/"$0" |
48616 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48617 /^X\/\(\/\/\)$/{ s//\1/; q; }
48618 /^X\/\(\/\).*/{ s//\1/; q; }
48619 s/.*/./; q'`
48620
48621
48622 # PATH needs CR, and LINENO needs CR and PATH.
48623 # Avoid depending upon Character Ranges.
48624 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
48625 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48626 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
48627 as_cr_digits='0123456789'
48628 as_cr_alnum=$as_cr_Letters$as_cr_digits
48629
48630 # The user is always right.
48631 if test "${PATH_SEPARATOR+set}" != set; then
48632 echo "#! /bin/sh" >conf$$.sh
48633 echo "exit 0" >>conf$$.sh
48634 chmod +x conf$$.sh
48635 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48636 PATH_SEPARATOR=';'
48637 else
48638 PATH_SEPARATOR=:
48639 fi
48640 rm -f conf$$.sh
48641 fi
48642
48643
48644 as_lineno_1=$LINENO
48645 as_lineno_2=$LINENO
48646 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48647 test "x$as_lineno_1" != "x$as_lineno_2" &&
48648 test "x$as_lineno_3" = "x$as_lineno_2" || {
48649 # Find who we are. Look in the path if we contain no path at all
48650 # relative or not.
48651 case $0 in
48652 *[\\/]* ) as_myself=$0 ;;
48653 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48654 for as_dir in $PATH
48655 do
48656 IFS=$as_save_IFS
48657 test -z "$as_dir" && as_dir=.
48658 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
48659 done
48660
48661 ;;
48662 esac
48663 # We did not find ourselves, most probably we were run as `sh COMMAND'
48664 # in which case we are not to be found in the path.
48665 if test "x$as_myself" = x; then
48666 as_myself=$0
48667 fi
48668 if test ! -f "$as_myself"; then
48669 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48670 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48671 { (exit 1); exit 1; }; }
48672 fi
48673 case $CONFIG_SHELL in
48674 '')
48675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48676 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
48677 do
48678 IFS=$as_save_IFS
48679 test -z "$as_dir" && as_dir=.
48680 for as_base in sh bash ksh sh5; do
48681 case $as_dir in
48682 /*)
48683 if ("$as_dir/$as_base" -c '
48684 as_lineno_1=$LINENO
48685 as_lineno_2=$LINENO
48686 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48687 test "x$as_lineno_1" != "x$as_lineno_2" &&
48688 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
48689 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
48690 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
48691 CONFIG_SHELL=$as_dir/$as_base
48692 export CONFIG_SHELL
48693 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48694 fi;;
48695 esac
48696 done
48697 done
48698 ;;
48699 esac
48700
48701 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48702 # uniformly replaced by the line number. The first 'sed' inserts a
48703 # line-number line before each line; the second 'sed' does the real
48704 # work. The second script uses 'N' to pair each line-number line
48705 # with the numbered line, and appends trailing '-' during
48706 # substitution so that $LINENO is not a special case at line end.
48707 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48708 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48709 sed '=' <$as_myself |
48710 sed '
48711 N
48712 s,$,-,
48713 : loop
48714 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48715 t loop
48716 s,-$,,
48717 s,^['$as_cr_digits']*\n,,
48718 ' >$as_me.lineno &&
48719 chmod +x $as_me.lineno ||
48720 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48721 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48722 { (exit 1); exit 1; }; }
48723
48724 # Don't try to exec as it changes $[0], causing all sort of problems
48725 # (the dirname of $[0] is not the place where we might find the
48726 # original and so on. Autoconf is especially sensible to this).
48727 . ./$as_me.lineno
48728 # Exit status is that of the last command.
48729 exit
48730 }
48731
48732
48733 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48734 *c*,-n*) ECHO_N= ECHO_C='
48735 ' ECHO_T=' ' ;;
48736 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
48737 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
48738 esac
48739
48740 if expr a : '\(a\)' >/dev/null 2>&1; then
48741 as_expr=expr
48742 else
48743 as_expr=false
48744 fi
48745
48746 rm -f conf$$ conf$$.exe conf$$.file
48747 echo >conf$$.file
48748 if ln -s conf$$.file conf$$ 2>/dev/null; then
48749 # We could just check for DJGPP; but this test a) works b) is more generic
48750 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48751 if test -f conf$$.exe; then
48752 # Don't use ln at all; we don't have any links
48753 as_ln_s='cp -p'
48754 else
48755 as_ln_s='ln -s'
48756 fi
48757 elif ln conf$$.file conf$$ 2>/dev/null; then
48758 as_ln_s=ln
48759 else
48760 as_ln_s='cp -p'
48761 fi
48762 rm -f conf$$ conf$$.exe conf$$.file
48763
48764 if mkdir -p . 2>/dev/null; then
48765 as_mkdir_p=:
48766 else
48767 test -d ./-p && rmdir ./-p
48768 as_mkdir_p=false
48769 fi
48770
48771 as_executable_p="test -f"
48772
48773 # Sed expression to map a string onto a valid CPP name.
48774 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48775
48776 # Sed expression to map a string onto a valid variable name.
48777 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48778
48779
48780 # IFS
48781 # We need space, tab and new line, in precisely that order.
48782 as_nl='
48783 '
48784 IFS=" $as_nl"
48785
48786 # CDPATH.
48787 $as_unset CDPATH
48788
48789 exec 6>&1
48790
48791 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48792 # report actual input values of CONFIG_FILES etc. instead of their
48793 # values after options handling. Logging --version etc. is OK.
48794 exec 5>>config.log
48795 {
48796 echo
48797 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
48798 ## Running $as_me. ##
48799 _ASBOX
48800 } >&5
48801 cat >&5 <<_CSEOF
48802
48803 This file was extended by wxWidgets $as_me 2.7.0, which was
48804 generated by GNU Autoconf 2.59. Invocation command line was
48805
48806 CONFIG_FILES = $CONFIG_FILES
48807 CONFIG_HEADERS = $CONFIG_HEADERS
48808 CONFIG_LINKS = $CONFIG_LINKS
48809 CONFIG_COMMANDS = $CONFIG_COMMANDS
48810 $ $0 $@
48811
48812 _CSEOF
48813 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
48814 echo >&5
48815 _ACEOF
48816
48817 # Files that config.status was made for.
48818 if test -n "$ac_config_files"; then
48819 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
48820 fi
48821
48822 if test -n "$ac_config_headers"; then
48823 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
48824 fi
48825
48826 if test -n "$ac_config_links"; then
48827 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
48828 fi
48829
48830 if test -n "$ac_config_commands"; then
48831 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
48832 fi
48833
48834 cat >>$CONFIG_STATUS <<\_ACEOF
48835
48836 ac_cs_usage="\
48837 \`$as_me' instantiates files from templates according to the
48838 current configuration.
48839
48840 Usage: $0 [OPTIONS] [FILE]...
48841
48842 -h, --help print this help, then exit
48843 -V, --version print version number, then exit
48844 -q, --quiet do not print progress messages
48845 -d, --debug don't remove temporary files
48846 --recheck update $as_me by reconfiguring in the same conditions
48847 --file=FILE[:TEMPLATE]
48848 instantiate the configuration file FILE
48849 --header=FILE[:TEMPLATE]
48850 instantiate the configuration header FILE
48851
48852 Configuration files:
48853 $config_files
48854
48855 Configuration headers:
48856 $config_headers
48857
48858 Configuration commands:
48859 $config_commands
48860
48861 Report bugs to <bug-autoconf@gnu.org>."
48862 _ACEOF
48863
48864 cat >>$CONFIG_STATUS <<_ACEOF
48865 ac_cs_version="\\
48866 wxWidgets config.status 2.7.0
48867 configured by $0, generated by GNU Autoconf 2.59,
48868 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
48869
48870 Copyright (C) 2003 Free Software Foundation, Inc.
48871 This config.status script is free software; the Free Software Foundation
48872 gives unlimited permission to copy, distribute and modify it."
48873 srcdir=$srcdir
48874 INSTALL="$INSTALL"
48875 _ACEOF
48876
48877 cat >>$CONFIG_STATUS <<\_ACEOF
48878 # If no file are specified by the user, then we need to provide default
48879 # value. By we need to know if files were specified by the user.
48880 ac_need_defaults=:
48881 while test $# != 0
48882 do
48883 case $1 in
48884 --*=*)
48885 ac_option=`expr "x$1" : 'x\([^=]*\)='`
48886 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
48887 ac_shift=:
48888 ;;
48889 -*)
48890 ac_option=$1
48891 ac_optarg=$2
48892 ac_shift=shift
48893 ;;
48894 *) # This is not an option, so the user has probably given explicit
48895 # arguments.
48896 ac_option=$1
48897 ac_need_defaults=false;;
48898 esac
48899
48900 case $ac_option in
48901 # Handling of the options.
48902 _ACEOF
48903 cat >>$CONFIG_STATUS <<\_ACEOF
48904 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48905 ac_cs_recheck=: ;;
48906 --version | --vers* | -V )
48907 echo "$ac_cs_version"; exit 0 ;;
48908 --he | --h)
48909 # Conflict between --help and --header
48910 { { echo "$as_me:$LINENO: error: ambiguous option: $1
48911 Try \`$0 --help' for more information." >&5
48912 echo "$as_me: error: ambiguous option: $1
48913 Try \`$0 --help' for more information." >&2;}
48914 { (exit 1); exit 1; }; };;
48915 --help | --hel | -h )
48916 echo "$ac_cs_usage"; exit 0 ;;
48917 --debug | --d* | -d )
48918 debug=: ;;
48919 --file | --fil | --fi | --f )
48920 $ac_shift
48921 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
48922 ac_need_defaults=false;;
48923 --header | --heade | --head | --hea )
48924 $ac_shift
48925 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
48926 ac_need_defaults=false;;
48927 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48928 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48929 ac_cs_silent=: ;;
48930
48931 # This is an error.
48932 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
48933 Try \`$0 --help' for more information." >&5
48934 echo "$as_me: error: unrecognized option: $1
48935 Try \`$0 --help' for more information." >&2;}
48936 { (exit 1); exit 1; }; } ;;
48937
48938 *) ac_config_targets="$ac_config_targets $1" ;;
48939
48940 esac
48941 shift
48942 done
48943
48944 ac_configure_extra_args=
48945
48946 if $ac_cs_silent; then
48947 exec 6>/dev/null
48948 ac_configure_extra_args="$ac_configure_extra_args --silent"
48949 fi
48950
48951 _ACEOF
48952 cat >>$CONFIG_STATUS <<_ACEOF
48953 if \$ac_cs_recheck; then
48954 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
48955 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
48956 fi
48957
48958 _ACEOF
48959
48960 cat >>$CONFIG_STATUS <<_ACEOF
48961 #
48962 # INIT-COMMANDS section.
48963 #
48964
48965
48966 CPP="$CPP"
48967 infile="$srcdir/include/wx/msw/genrcdefs.h"
48968 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
48969
48970
48971 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48972 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48973 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48974 LN_S="${LN_S}"
48975
48976
48977 _ACEOF
48978
48979
48980
48981 cat >>$CONFIG_STATUS <<\_ACEOF
48982 for ac_config_target in $ac_config_targets
48983 do
48984 case "$ac_config_target" in
48985 # Handling of arguments.
48986 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
48987 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
48988 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
48989 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
48990 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
48991 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
48992 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
48993 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
48994 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
48995 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
48996 { (exit 1); exit 1; }; };;
48997 esac
48998 done
48999
49000 # If the user did not use the arguments to specify the items to instantiate,
49001 # then the envvar interface is used. Set only those that are not.
49002 # We use the long form for the default assignment because of an extremely
49003 # bizarre bug on SunOS 4.1.3.
49004 if $ac_need_defaults; then
49005 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49006 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49007 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49008 fi
49009
49010 # Have a temporary directory for convenience. Make it in the build tree
49011 # simply because there is no reason to put it here, and in addition,
49012 # creating and moving files from /tmp can sometimes cause problems.
49013 # Create a temporary directory, and hook for its removal unless debugging.
49014 $debug ||
49015 {
49016 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49017 trap '{ (exit 1); exit 1; }' 1 2 13 15
49018 }
49019
49020 # Create a (secure) tmp directory for tmp files.
49021
49022 {
49023 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49024 test -n "$tmp" && test -d "$tmp"
49025 } ||
49026 {
49027 tmp=./confstat$$-$RANDOM
49028 (umask 077 && mkdir $tmp)
49029 } ||
49030 {
49031 echo "$me: cannot create a temporary directory in ." >&2
49032 { (exit 1); exit 1; }
49033 }
49034
49035 _ACEOF
49036
49037 cat >>$CONFIG_STATUS <<_ACEOF
49038
49039 #
49040 # CONFIG_FILES section.
49041 #
49042
49043 # No need to generate the scripts if there are no CONFIG_FILES.
49044 # This happens for instance when ./config.status config.h
49045 if test -n "\$CONFIG_FILES"; then
49046 # Protect against being on the right side of a sed subst in config.status.
49047 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49048 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49049 s,@SHELL@,$SHELL,;t t
49050 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49051 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49052 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49053 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49054 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49055 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49056 s,@exec_prefix@,$exec_prefix,;t t
49057 s,@prefix@,$prefix,;t t
49058 s,@program_transform_name@,$program_transform_name,;t t
49059 s,@bindir@,$bindir,;t t
49060 s,@sbindir@,$sbindir,;t t
49061 s,@libexecdir@,$libexecdir,;t t
49062 s,@datadir@,$datadir,;t t
49063 s,@sysconfdir@,$sysconfdir,;t t
49064 s,@sharedstatedir@,$sharedstatedir,;t t
49065 s,@localstatedir@,$localstatedir,;t t
49066 s,@libdir@,$libdir,;t t
49067 s,@includedir@,$includedir,;t t
49068 s,@oldincludedir@,$oldincludedir,;t t
49069 s,@infodir@,$infodir,;t t
49070 s,@mandir@,$mandir,;t t
49071 s,@build_alias@,$build_alias,;t t
49072 s,@host_alias@,$host_alias,;t t
49073 s,@target_alias@,$target_alias,;t t
49074 s,@DEFS@,$DEFS,;t t
49075 s,@ECHO_C@,$ECHO_C,;t t
49076 s,@ECHO_N@,$ECHO_N,;t t
49077 s,@ECHO_T@,$ECHO_T,;t t
49078 s,@LIBS@,$LIBS,;t t
49079 s,@build@,$build,;t t
49080 s,@build_cpu@,$build_cpu,;t t
49081 s,@build_vendor@,$build_vendor,;t t
49082 s,@build_os@,$build_os,;t t
49083 s,@host@,$host,;t t
49084 s,@host_cpu@,$host_cpu,;t t
49085 s,@host_vendor@,$host_vendor,;t t
49086 s,@host_os@,$host_os,;t t
49087 s,@target@,$target,;t t
49088 s,@target_cpu@,$target_cpu,;t t
49089 s,@target_vendor@,$target_vendor,;t t
49090 s,@target_os@,$target_os,;t t
49091 s,@CC@,$CC,;t t
49092 s,@CFLAGS@,$CFLAGS,;t t
49093 s,@LDFLAGS@,$LDFLAGS,;t t
49094 s,@CPPFLAGS@,$CPPFLAGS,;t t
49095 s,@ac_ct_CC@,$ac_ct_CC,;t t
49096 s,@EXEEXT@,$EXEEXT,;t t
49097 s,@OBJEXT@,$OBJEXT,;t t
49098 s,@CPP@,$CPP,;t t
49099 s,@EGREP@,$EGREP,;t t
49100 s,@CXX@,$CXX,;t t
49101 s,@CXXFLAGS@,$CXXFLAGS,;t t
49102 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49103 s,@RANLIB@,$RANLIB,;t t
49104 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49105 s,@AR@,$AR,;t t
49106 s,@ac_ct_AR@,$ac_ct_AR,;t t
49107 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49108 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49109 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49110 s,@STRIP@,$STRIP,;t t
49111 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49112 s,@WINDRES@,$WINDRES,;t t
49113 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49114 s,@DLLTOOL@,$DLLTOOL,;t t
49115 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49116 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49117 s,@LN_S@,$LN_S,;t t
49118 s,@CXXCPP@,$CXXCPP,;t t
49119 s,@subdirs@,$subdirs,;t t
49120 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49121 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49122 s,@GTK_LIBS@,$GTK_LIBS,;t t
49123 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49124 s,@X_CFLAGS@,$X_CFLAGS,;t t
49125 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49126 s,@X_LIBS@,$X_LIBS,;t t
49127 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49128 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49129 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49130 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49131 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49132 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49133 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49134 s,@REZ@,$REZ,;t t
49135 s,@DEREZ@,$DEREZ,;t t
49136 s,@SETFILE@,$SETFILE,;t t
49137 s,@LIBICONV@,$LIBICONV,;t t
49138 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49139 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49140 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49141 s,@SDL_LIBS@,$SDL_LIBS,;t t
49142 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49143 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49144 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49145 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49146 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
49147 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
49148 s,@GST_INSPECT@,$GST_INSPECT,;t t
49149 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49150 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49151 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49152 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49153 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49154 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49155 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49156 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49157 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49158 s,@VENDOR@,$VENDOR,;t t
49159 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49160 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49161 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49162 s,@WXUNIV@,$WXUNIV,;t t
49163 s,@MONOLITHIC@,$MONOLITHIC,;t t
49164 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49165 s,@EXTRALIBS@,$EXTRALIBS,;t t
49166 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49167 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49168 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49169 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49170 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49171 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49172 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49173 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49174 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49175 s,@UNICODE@,$UNICODE,;t t
49176 s,@BUILD@,$BUILD,;t t
49177 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49178 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49179 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49180 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49181 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49182 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49183 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49184 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49185 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49186 s,@SET_MAKE@,$SET_MAKE,;t t
49187 s,@MAKE_SET@,$MAKE_SET,;t t
49188 s,@NM@,$NM,;t t
49189 s,@ac_ct_NM@,$ac_ct_NM,;t t
49190 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49191 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49192 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49193 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49194 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49195 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49196 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49197 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49198 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49199 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49200 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49201 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49202 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49203 s,@LIBPREFIX@,$LIBPREFIX,;t t
49204 s,@LIBEXT@,$LIBEXT,;t t
49205 s,@DLLPREFIX@,$DLLPREFIX,;t t
49206 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49207 s,@dlldir@,$dlldir,;t t
49208 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49209 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49210 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49211 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49212 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49213 s,@PIC_FLAG@,$PIC_FLAG,;t t
49214 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49215 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49216 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49217 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49218 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49219 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49220 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49221 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49222 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49223 s,@GCC_PCH@,$GCC_PCH,;t t
49224 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49225 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49226 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49227 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49228 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49229 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49230 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49231 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49232 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49233 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49234 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49235 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49236 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49237 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49238 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49239 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49240 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49241 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49242 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
49243 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
49244 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
49245 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49246 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49247 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49248 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49249 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
49250 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
49251 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
49252 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49253 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49254 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49255 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49256 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49257 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49258 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49259 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49260 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49261 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49262 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49263 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49264 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49265 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49266 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49267 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49268 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
49269 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49270 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49271 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49272 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49273 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49274 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49275 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49276 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49277 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49278 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49279 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49280 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49281 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49282 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49283 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49284 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49285 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49286 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49287 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49288 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49289 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49290 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49291 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49292 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49293 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49294 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49295 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49296 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49297 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49298 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49299 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49300 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49301 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49302 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49303 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49304 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49305 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49306 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49307 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
49308 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49309 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49310 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49311 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49312 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49313 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49314 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49315 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49316 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49317 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49318 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49319 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49320 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49321 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49322 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49323 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49324 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49325 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49326 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49327 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49328 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49329 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49330 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49331 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49332 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49333 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49334 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49335 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49336 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49337 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49338 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49339 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49340 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49341 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49342 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49343 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49344 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49345 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49346 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49347 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49348 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49349 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49350 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49351 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49352 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49353 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49354 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49355 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49356 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49357 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49358 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49359 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49360 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49361 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49362 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49363 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49364 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49365 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49366 s,@SHARED@,$SHARED,;t t
49367 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49368 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49369 s,@USE_GUI@,$USE_GUI,;t t
49370 s,@AFMINSTALL@,$AFMINSTALL,;t t
49371 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49372 s,@TOOLKIT@,$TOOLKIT,;t t
49373 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49374 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49375 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49376 s,@cross_compiling@,$cross_compiling,;t t
49377 s,@WIDGET_SET@,$WIDGET_SET,;t t
49378 s,@WX_RELEASE@,$WX_RELEASE,;t t
49379 s,@WX_VERSION@,$WX_VERSION,;t t
49380 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49381 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49382 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49383 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49384 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49385 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49386 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49387 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49388 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49389 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49390 s,@EXE_LINKER@,$EXE_LINKER,;t t
49391 s,@GUIDIST@,$GUIDIST,;t t
49392 s,@DISTDIR@,$DISTDIR,;t t
49393 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49394 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49395 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49396 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49397 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49398 s,@RESCOMP@,$RESCOMP,;t t
49399 s,@RESFLAGS@,$RESFLAGS,;t t
49400 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49401 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49402 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49403 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49404 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49405 s,@MACSETFILE@,$MACSETFILE,;t t
49406 s,@GCC@,$GCC,;t t
49407 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49408 s,@LIBOBJS@,$LIBOBJS,;t t
49409 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49410 CEOF
49411
49412 _ACEOF
49413
49414 cat >>$CONFIG_STATUS <<\_ACEOF
49415 # Split the substitutions into bite-sized pieces for seds with
49416 # small command number limits, like on Digital OSF/1 and HP-UX.
49417 ac_max_sed_lines=48
49418 ac_sed_frag=1 # Number of current file.
49419 ac_beg=1 # First line for current file.
49420 ac_end=$ac_max_sed_lines # Line after last line for current file.
49421 ac_more_lines=:
49422 ac_sed_cmds=
49423 while $ac_more_lines; do
49424 if test $ac_beg -gt 1; then
49425 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49426 else
49427 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49428 fi
49429 if test ! -s $tmp/subs.frag; then
49430 ac_more_lines=false
49431 else
49432 # The purpose of the label and of the branching condition is to
49433 # speed up the sed processing (if there are no `@' at all, there
49434 # is no need to browse any of the substitutions).
49435 # These are the two extra sed commands mentioned above.
49436 (echo ':t
49437 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
49438 if test -z "$ac_sed_cmds"; then
49439 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
49440 else
49441 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49442 fi
49443 ac_sed_frag=`expr $ac_sed_frag + 1`
49444 ac_beg=$ac_end
49445 ac_end=`expr $ac_end + $ac_max_sed_lines`
49446 fi
49447 done
49448 if test -z "$ac_sed_cmds"; then
49449 ac_sed_cmds=cat
49450 fi
49451 fi # test -n "$CONFIG_FILES"
49452
49453 _ACEOF
49454 cat >>$CONFIG_STATUS <<\_ACEOF
49455 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
49456 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49457 case $ac_file in
49458 - | *:- | *:-:* ) # input from stdin
49459 cat >$tmp/stdin
49460 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49461 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49462 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49463 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49464 * ) ac_file_in=$ac_file.in ;;
49465 esac
49466
49467 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49468 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
49469 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49470 X"$ac_file" : 'X\(//\)[^/]' \| \
49471 X"$ac_file" : 'X\(//\)$' \| \
49472 X"$ac_file" : 'X\(/\)' \| \
49473 . : '\(.\)' 2>/dev/null ||
49474 echo X"$ac_file" |
49475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49476 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49477 /^X\(\/\/\)$/{ s//\1/; q; }
49478 /^X\(\/\).*/{ s//\1/; q; }
49479 s/.*/./; q'`
49480 { if $as_mkdir_p; then
49481 mkdir -p "$ac_dir"
49482 else
49483 as_dir="$ac_dir"
49484 as_dirs=
49485 while test ! -d "$as_dir"; do
49486 as_dirs="$as_dir $as_dirs"
49487 as_dir=`(dirname "$as_dir") 2>/dev/null ||
49488 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49489 X"$as_dir" : 'X\(//\)[^/]' \| \
49490 X"$as_dir" : 'X\(//\)$' \| \
49491 X"$as_dir" : 'X\(/\)' \| \
49492 . : '\(.\)' 2>/dev/null ||
49493 echo X"$as_dir" |
49494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49495 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49496 /^X\(\/\/\)$/{ s//\1/; q; }
49497 /^X\(\/\).*/{ s//\1/; q; }
49498 s/.*/./; q'`
49499 done
49500 test ! -n "$as_dirs" || mkdir $as_dirs
49501 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49502 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49503 { (exit 1); exit 1; }; }; }
49504
49505 ac_builddir=.
49506
49507 if test "$ac_dir" != .; then
49508 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49509 # A "../" for each directory in $ac_dir_suffix.
49510 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49511 else
49512 ac_dir_suffix= ac_top_builddir=
49513 fi
49514
49515 case $srcdir in
49516 .) # No --srcdir option. We are building in place.
49517 ac_srcdir=.
49518 if test -z "$ac_top_builddir"; then
49519 ac_top_srcdir=.
49520 else
49521 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
49522 fi ;;
49523 [\\/]* | ?:[\\/]* ) # Absolute path.
49524 ac_srcdir=$srcdir$ac_dir_suffix;
49525 ac_top_srcdir=$srcdir ;;
49526 *) # Relative path.
49527 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
49528 ac_top_srcdir=$ac_top_builddir$srcdir ;;
49529 esac
49530
49531 # Do not use `cd foo && pwd` to compute absolute paths, because
49532 # the directories may not exist.
49533 case `pwd` in
49534 .) ac_abs_builddir="$ac_dir";;
49535 *)
49536 case "$ac_dir" in
49537 .) ac_abs_builddir=`pwd`;;
49538 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
49539 *) ac_abs_builddir=`pwd`/"$ac_dir";;
49540 esac;;
49541 esac
49542 case $ac_abs_builddir in
49543 .) ac_abs_top_builddir=${ac_top_builddir}.;;
49544 *)
49545 case ${ac_top_builddir}. in
49546 .) ac_abs_top_builddir=$ac_abs_builddir;;
49547 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
49548 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
49549 esac;;
49550 esac
49551 case $ac_abs_builddir in
49552 .) ac_abs_srcdir=$ac_srcdir;;
49553 *)
49554 case $ac_srcdir in
49555 .) ac_abs_srcdir=$ac_abs_builddir;;
49556 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
49557 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
49558 esac;;
49559 esac
49560 case $ac_abs_builddir in
49561 .) ac_abs_top_srcdir=$ac_top_srcdir;;
49562 *)
49563 case $ac_top_srcdir in
49564 .) ac_abs_top_srcdir=$ac_abs_builddir;;
49565 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
49566 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
49567 esac;;
49568 esac
49569
49570
49571 case $INSTALL in
49572 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
49573 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
49574 esac
49575
49576 if test x"$ac_file" != x-; then
49577 { echo "$as_me:$LINENO: creating $ac_file" >&5
49578 echo "$as_me: creating $ac_file" >&6;}
49579 rm -f "$ac_file"
49580 fi
49581 # Let's still pretend it is `configure' which instantiates (i.e., don't
49582 # use $as_me), people would be surprised to read:
49583 # /* config.h. Generated by config.status. */
49584 if test x"$ac_file" = x-; then
49585 configure_input=
49586 else
49587 configure_input="$ac_file. "
49588 fi
49589 configure_input=$configure_input"Generated from `echo $ac_file_in |
49590 sed 's,.*/,,'` by configure."
49591
49592 # First look for the input files in the build tree, otherwise in the
49593 # src tree.
49594 ac_file_inputs=`IFS=:
49595 for f in $ac_file_in; do
49596 case $f in
49597 -) echo $tmp/stdin ;;
49598 [\\/$]*)
49599 # Absolute (can't be DOS-style, as IFS=:)
49600 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49601 echo "$as_me: error: cannot find input file: $f" >&2;}
49602 { (exit 1); exit 1; }; }
49603 echo "$f";;
49604 *) # Relative
49605 if test -f "$f"; then
49606 # Build tree
49607 echo "$f"
49608 elif test -f "$srcdir/$f"; then
49609 # Source tree
49610 echo "$srcdir/$f"
49611 else
49612 # /dev/null tree
49613 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49614 echo "$as_me: error: cannot find input file: $f" >&2;}
49615 { (exit 1); exit 1; }; }
49616 fi;;
49617 esac
49618 done` || { (exit 1); exit 1; }
49619 _ACEOF
49620 cat >>$CONFIG_STATUS <<_ACEOF
49621 sed "$ac_vpsub
49622 $extrasub
49623 _ACEOF
49624 cat >>$CONFIG_STATUS <<\_ACEOF
49625 :t
49626 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49627 s,@configure_input@,$configure_input,;t t
49628 s,@srcdir@,$ac_srcdir,;t t
49629 s,@abs_srcdir@,$ac_abs_srcdir,;t t
49630 s,@top_srcdir@,$ac_top_srcdir,;t t
49631 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
49632 s,@builddir@,$ac_builddir,;t t
49633 s,@abs_builddir@,$ac_abs_builddir,;t t
49634 s,@top_builddir@,$ac_top_builddir,;t t
49635 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
49636 s,@INSTALL@,$ac_INSTALL,;t t
49637 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49638 rm -f $tmp/stdin
49639 if test x"$ac_file" != x-; then
49640 mv $tmp/out $ac_file
49641 else
49642 cat $tmp/out
49643 rm -f $tmp/out
49644 fi
49645
49646 # Run the commands associated with the file.
49647 case $ac_file in
49648 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49649 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49650 esac
49651 done
49652 _ACEOF
49653 cat >>$CONFIG_STATUS <<\_ACEOF
49654
49655 #
49656 # CONFIG_HEADER section.
49657 #
49658
49659 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
49660 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49661 #
49662 # ac_d sets the value in "#define NAME VALUE" lines.
49663 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49664 ac_dB='[ ].*$,\1#\2'
49665 ac_dC=' '
49666 ac_dD=',;t'
49667 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49668 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49669 ac_uB='$,\1#\2define\3'
49670 ac_uC=' '
49671 ac_uD=',;t'
49672
49673 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
49674 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49675 case $ac_file in
49676 - | *:- | *:-:* ) # input from stdin
49677 cat >$tmp/stdin
49678 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49679 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49680 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49681 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49682 * ) ac_file_in=$ac_file.in ;;
49683 esac
49684
49685 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49686 echo "$as_me: creating $ac_file" >&6;}
49687
49688 # First look for the input files in the build tree, otherwise in the
49689 # src tree.
49690 ac_file_inputs=`IFS=:
49691 for f in $ac_file_in; do
49692 case $f in
49693 -) echo $tmp/stdin ;;
49694 [\\/$]*)
49695 # Absolute (can't be DOS-style, as IFS=:)
49696 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49697 echo "$as_me: error: cannot find input file: $f" >&2;}
49698 { (exit 1); exit 1; }; }
49699 # Do quote $f, to prevent DOS paths from being IFS'd.
49700 echo "$f";;
49701 *) # Relative
49702 if test -f "$f"; then
49703 # Build tree
49704 echo "$f"
49705 elif test -f "$srcdir/$f"; then
49706 # Source tree
49707 echo "$srcdir/$f"
49708 else
49709 # /dev/null tree
49710 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49711 echo "$as_me: error: cannot find input file: $f" >&2;}
49712 { (exit 1); exit 1; }; }
49713 fi;;
49714 esac
49715 done` || { (exit 1); exit 1; }
49716 # Remove the trailing spaces.
49717 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49718
49719 _ACEOF
49720
49721 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49722 # `conftest.undefs', that substitutes the proper values into
49723 # config.h.in to produce config.h. The first handles `#define'
49724 # templates, and the second `#undef' templates.
49725 # And first: Protect against being on the right side of a sed subst in
49726 # config.status. Protect against being in an unquoted here document
49727 # in config.status.
49728 rm -f conftest.defines conftest.undefs
49729 # Using a here document instead of a string reduces the quoting nightmare.
49730 # Putting comments in sed scripts is not portable.
49731 #
49732 # `end' is used to avoid that the second main sed command (meant for
49733 # 0-ary CPP macros) applies to n-ary macro definitions.
49734 # See the Autoconf documentation for `clear'.
49735 cat >confdef2sed.sed <<\_ACEOF
49736 s/[\\&,]/\\&/g
49737 s,[\\$`],\\&,g
49738 t clear
49739 : clear
49740 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49741 t end
49742 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49743 : end
49744 _ACEOF
49745 # If some macros were called several times there might be several times
49746 # the same #defines, which is useless. Nevertheless, we may not want to
49747 # sort them, since we want the *last* AC-DEFINE to be honored.
49748 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49749 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49750 rm -f confdef2sed.sed
49751
49752 # This sed command replaces #undef with comments. This is necessary, for
49753 # example, in the case of _POSIX_SOURCE, which is predefined and required
49754 # on some systems where configure will not decide to define it.
49755 cat >>conftest.undefs <<\_ACEOF
49756 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49757 _ACEOF
49758
49759 # Break up conftest.defines because some shells have a limit on the size
49760 # of here documents, and old seds have small limits too (100 cmds).
49761 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49762 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49763 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49764 echo ' :' >>$CONFIG_STATUS
49765 rm -f conftest.tail
49766 while grep . conftest.defines >/dev/null
49767 do
49768 # Write a limited-size here document to $tmp/defines.sed.
49769 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49770 # Speed up: don't consider the non `#define' lines.
49771 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49772 # Work around the forget-to-reset-the-flag bug.
49773 echo 't clr' >>$CONFIG_STATUS
49774 echo ': clr' >>$CONFIG_STATUS
49775 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
49776 echo 'CEOF
49777 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49778 rm -f $tmp/in
49779 mv $tmp/out $tmp/in
49780 ' >>$CONFIG_STATUS
49781 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
49782 rm -f conftest.defines
49783 mv conftest.tail conftest.defines
49784 done
49785 rm -f conftest.defines
49786 echo ' fi # grep' >>$CONFIG_STATUS
49787 echo >>$CONFIG_STATUS
49788
49789 # Break up conftest.undefs because some shells have a limit on the size
49790 # of here documents, and old seds have small limits too (100 cmds).
49791 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
49792 rm -f conftest.tail
49793 while grep . conftest.undefs >/dev/null
49794 do
49795 # Write a limited-size here document to $tmp/undefs.sed.
49796 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
49797 # Speed up: don't consider the non `#undef'
49798 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
49799 # Work around the forget-to-reset-the-flag bug.
49800 echo 't clr' >>$CONFIG_STATUS
49801 echo ': clr' >>$CONFIG_STATUS
49802 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
49803 echo 'CEOF
49804 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
49805 rm -f $tmp/in
49806 mv $tmp/out $tmp/in
49807 ' >>$CONFIG_STATUS
49808 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
49809 rm -f conftest.undefs
49810 mv conftest.tail conftest.undefs
49811 done
49812 rm -f conftest.undefs
49813
49814 cat >>$CONFIG_STATUS <<\_ACEOF
49815 # Let's still pretend it is `configure' which instantiates (i.e., don't
49816 # use $as_me), people would be surprised to read:
49817 # /* config.h. Generated by config.status. */
49818 if test x"$ac_file" = x-; then
49819 echo "/* Generated by configure. */" >$tmp/config.h
49820 else
49821 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
49822 fi
49823 cat $tmp/in >>$tmp/config.h
49824 rm -f $tmp/in
49825 if test x"$ac_file" != x-; then
49826 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
49827 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49828 echo "$as_me: $ac_file is unchanged" >&6;}
49829 else
49830 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
49831 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49832 X"$ac_file" : 'X\(//\)[^/]' \| \
49833 X"$ac_file" : 'X\(//\)$' \| \
49834 X"$ac_file" : 'X\(/\)' \| \
49835 . : '\(.\)' 2>/dev/null ||
49836 echo X"$ac_file" |
49837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49838 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49839 /^X\(\/\/\)$/{ s//\1/; q; }
49840 /^X\(\/\).*/{ s//\1/; q; }
49841 s/.*/./; q'`
49842 { if $as_mkdir_p; then
49843 mkdir -p "$ac_dir"
49844 else
49845 as_dir="$ac_dir"
49846 as_dirs=
49847 while test ! -d "$as_dir"; do
49848 as_dirs="$as_dir $as_dirs"
49849 as_dir=`(dirname "$as_dir") 2>/dev/null ||
49850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49851 X"$as_dir" : 'X\(//\)[^/]' \| \
49852 X"$as_dir" : 'X\(//\)$' \| \
49853 X"$as_dir" : 'X\(/\)' \| \
49854 . : '\(.\)' 2>/dev/null ||
49855 echo X"$as_dir" |
49856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49857 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49858 /^X\(\/\/\)$/{ s//\1/; q; }
49859 /^X\(\/\).*/{ s//\1/; q; }
49860 s/.*/./; q'`
49861 done
49862 test ! -n "$as_dirs" || mkdir $as_dirs
49863 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49864 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49865 { (exit 1); exit 1; }; }; }
49866
49867 rm -f $ac_file
49868 mv $tmp/config.h $ac_file
49869 fi
49870 else
49871 cat $tmp/config.h
49872 rm -f $tmp/config.h
49873 fi
49874 done
49875 _ACEOF
49876 cat >>$CONFIG_STATUS <<\_ACEOF
49877
49878 #
49879 # CONFIG_COMMANDS section.
49880 #
49881 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
49882 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
49883 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
49884 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
49885 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49886 X"$ac_dest" : 'X\(//\)[^/]' \| \
49887 X"$ac_dest" : 'X\(//\)$' \| \
49888 X"$ac_dest" : 'X\(/\)' \| \
49889 . : '\(.\)' 2>/dev/null ||
49890 echo X"$ac_dest" |
49891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49893 /^X\(\/\/\)$/{ s//\1/; q; }
49894 /^X\(\/\).*/{ s//\1/; q; }
49895 s/.*/./; q'`
49896 { if $as_mkdir_p; then
49897 mkdir -p "$ac_dir"
49898 else
49899 as_dir="$ac_dir"
49900 as_dirs=
49901 while test ! -d "$as_dir"; do
49902 as_dirs="$as_dir $as_dirs"
49903 as_dir=`(dirname "$as_dir") 2>/dev/null ||
49904 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49905 X"$as_dir" : 'X\(//\)[^/]' \| \
49906 X"$as_dir" : 'X\(//\)$' \| \
49907 X"$as_dir" : 'X\(/\)' \| \
49908 . : '\(.\)' 2>/dev/null ||
49909 echo X"$as_dir" |
49910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49912 /^X\(\/\/\)$/{ s//\1/; q; }
49913 /^X\(\/\).*/{ s//\1/; q; }
49914 s/.*/./; q'`
49915 done
49916 test ! -n "$as_dirs" || mkdir $as_dirs
49917 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49918 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49919 { (exit 1); exit 1; }; }; }
49920
49921 ac_builddir=.
49922
49923 if test "$ac_dir" != .; then
49924 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49925 # A "../" for each directory in $ac_dir_suffix.
49926 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49927 else
49928 ac_dir_suffix= ac_top_builddir=
49929 fi
49930
49931 case $srcdir in
49932 .) # No --srcdir option. We are building in place.
49933 ac_srcdir=.
49934 if test -z "$ac_top_builddir"; then
49935 ac_top_srcdir=.
49936 else
49937 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
49938 fi ;;
49939 [\\/]* | ?:[\\/]* ) # Absolute path.
49940 ac_srcdir=$srcdir$ac_dir_suffix;
49941 ac_top_srcdir=$srcdir ;;
49942 *) # Relative path.
49943 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
49944 ac_top_srcdir=$ac_top_builddir$srcdir ;;
49945 esac
49946
49947 # Do not use `cd foo && pwd` to compute absolute paths, because
49948 # the directories may not exist.
49949 case `pwd` in
49950 .) ac_abs_builddir="$ac_dir";;
49951 *)
49952 case "$ac_dir" in
49953 .) ac_abs_builddir=`pwd`;;
49954 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
49955 *) ac_abs_builddir=`pwd`/"$ac_dir";;
49956 esac;;
49957 esac
49958 case $ac_abs_builddir in
49959 .) ac_abs_top_builddir=${ac_top_builddir}.;;
49960 *)
49961 case ${ac_top_builddir}. in
49962 .) ac_abs_top_builddir=$ac_abs_builddir;;
49963 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
49964 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
49965 esac;;
49966 esac
49967 case $ac_abs_builddir in
49968 .) ac_abs_srcdir=$ac_srcdir;;
49969 *)
49970 case $ac_srcdir in
49971 .) ac_abs_srcdir=$ac_abs_builddir;;
49972 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
49973 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
49974 esac;;
49975 esac
49976 case $ac_abs_builddir in
49977 .) ac_abs_top_srcdir=$ac_top_srcdir;;
49978 *)
49979 case $ac_top_srcdir in
49980 .) ac_abs_top_srcdir=$ac_abs_builddir;;
49981 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
49982 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
49983 esac;;
49984 esac
49985
49986
49987 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
49988 echo "$as_me: executing $ac_dest commands" >&6;}
49989 case $ac_dest in
49990 rcdefs.h )
49991 mkdir -p $outdir &&
49992 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
49993 ;;
49994 wx-config ) rm -f wx-config
49995 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
49996 ;;
49997 esac
49998 done
49999 _ACEOF
50000
50001 cat >>$CONFIG_STATUS <<\_ACEOF
50002
50003 { (exit 0); exit 0; }
50004 _ACEOF
50005 chmod +x $CONFIG_STATUS
50006 ac_clean_files=$ac_clean_files_save
50007
50008
50009 # configure is writing to config.log, and then calls config.status.
50010 # config.status does its own redirection, appending to config.log.
50011 # Unfortunately, on DOS this fails, as config.log is still kept open
50012 # by configure, so config.status won't be able to write to it; its
50013 # output is simply discarded. So we exec the FD to /dev/null,
50014 # effectively closing config.log, so it can be properly (re)opened and
50015 # appended to by config.status. When coming back to configure, we
50016 # need to make the FD available again.
50017 if test "$no_create" != yes; then
50018 ac_cs_success=:
50019 ac_config_status_args=
50020 test "$silent" = yes &&
50021 ac_config_status_args="$ac_config_status_args --quiet"
50022 exec 5>/dev/null
50023 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50024 exec 5>>config.log
50025 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50026 # would make configure fail if this is the last instruction.
50027 $ac_cs_success || { (exit 1); exit 1; }
50028 fi
50029
50030 #
50031 # CONFIG_SUBDIRS section.
50032 #
50033 if test "$no_recursion" != yes; then
50034
50035 # Remove --cache-file and --srcdir arguments so they do not pile up.
50036 ac_sub_configure_args=
50037 ac_prev=
50038 for ac_arg in $ac_configure_args; do
50039 if test -n "$ac_prev"; then
50040 ac_prev=
50041 continue
50042 fi
50043 case $ac_arg in
50044 -cache-file | --cache-file | --cache-fil | --cache-fi \
50045 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50046 ac_prev=cache_file ;;
50047 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50048 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50049 | --c=*)
50050 ;;
50051 --config-cache | -C)
50052 ;;
50053 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50054 ac_prev=srcdir ;;
50055 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50056 ;;
50057 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50058 ac_prev=prefix ;;
50059 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50060 ;;
50061 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
50062 esac
50063 done
50064
50065 # Always prepend --prefix to ensure using the same prefix
50066 # in subdir configurations.
50067 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
50068
50069 ac_popdir=`pwd`
50070 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50071
50072 # Do not complain, so a configure script can configure whichever
50073 # parts of a large source tree are present.
50074 test -d $srcdir/$ac_dir || continue
50075
50076 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50077 echo "$as_me: configuring in $ac_dir" >&6;}
50078 { if $as_mkdir_p; then
50079 mkdir -p "$ac_dir"
50080 else
50081 as_dir="$ac_dir"
50082 as_dirs=
50083 while test ! -d "$as_dir"; do
50084 as_dirs="$as_dir $as_dirs"
50085 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50086 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50087 X"$as_dir" : 'X\(//\)[^/]' \| \
50088 X"$as_dir" : 'X\(//\)$' \| \
50089 X"$as_dir" : 'X\(/\)' \| \
50090 . : '\(.\)' 2>/dev/null ||
50091 echo X"$as_dir" |
50092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50093 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50094 /^X\(\/\/\)$/{ s//\1/; q; }
50095 /^X\(\/\).*/{ s//\1/; q; }
50096 s/.*/./; q'`
50097 done
50098 test ! -n "$as_dirs" || mkdir $as_dirs
50099 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50100 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50101 { (exit 1); exit 1; }; }; }
50102
50103 ac_builddir=.
50104
50105 if test "$ac_dir" != .; then
50106 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50107 # A "../" for each directory in $ac_dir_suffix.
50108 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50109 else
50110 ac_dir_suffix= ac_top_builddir=
50111 fi
50112
50113 case $srcdir in
50114 .) # No --srcdir option. We are building in place.
50115 ac_srcdir=.
50116 if test -z "$ac_top_builddir"; then
50117 ac_top_srcdir=.
50118 else
50119 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50120 fi ;;
50121 [\\/]* | ?:[\\/]* ) # Absolute path.
50122 ac_srcdir=$srcdir$ac_dir_suffix;
50123 ac_top_srcdir=$srcdir ;;
50124 *) # Relative path.
50125 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50126 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50127 esac
50128
50129 # Do not use `cd foo && pwd` to compute absolute paths, because
50130 # the directories may not exist.
50131 case `pwd` in
50132 .) ac_abs_builddir="$ac_dir";;
50133 *)
50134 case "$ac_dir" in
50135 .) ac_abs_builddir=`pwd`;;
50136 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50137 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50138 esac;;
50139 esac
50140 case $ac_abs_builddir in
50141 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50142 *)
50143 case ${ac_top_builddir}. in
50144 .) ac_abs_top_builddir=$ac_abs_builddir;;
50145 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50146 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50147 esac;;
50148 esac
50149 case $ac_abs_builddir in
50150 .) ac_abs_srcdir=$ac_srcdir;;
50151 *)
50152 case $ac_srcdir in
50153 .) ac_abs_srcdir=$ac_abs_builddir;;
50154 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50155 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50156 esac;;
50157 esac
50158 case $ac_abs_builddir in
50159 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50160 *)
50161 case $ac_top_srcdir in
50162 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50163 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50164 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50165 esac;;
50166 esac
50167
50168
50169 cd $ac_dir
50170
50171 # Check for guested configure; otherwise get Cygnus style configure.
50172 if test -f $ac_srcdir/configure.gnu; then
50173 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
50174 elif test -f $ac_srcdir/configure; then
50175 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
50176 elif test -f $ac_srcdir/configure.in; then
50177 ac_sub_configure=$ac_configure
50178 else
50179 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50180 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50181 ac_sub_configure=
50182 fi
50183
50184 # The recursion is here.
50185 if test -n "$ac_sub_configure"; then
50186 # Make the cache file name correct relative to the subdirectory.
50187 case $cache_file in
50188 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50189 *) # Relative path.
50190 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
50191 esac
50192
50193 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50194 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50195 # The eval makes quoting arguments work.
50196 eval $ac_sub_configure $ac_sub_configure_args \
50197 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50198 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50199 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50200 { (exit 1); exit 1; }; }
50201 fi
50202
50203 cd $ac_popdir
50204 done
50205 fi
50206
50207
50208 echo
50209 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50210 echo ""
50211 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50212 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50213
50214 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50215 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50216 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50217
50218 echo " What level of wxWidgets compatibility should be enabled?"
50219 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50220 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50221
50222 echo " Which libraries should wxWidgets use?"
50223 echo " jpeg ${wxUSE_LIBJPEG-none}"
50224 echo " png ${wxUSE_LIBPNG-none}"
50225 echo " regex ${wxUSE_REGEX}"
50226 echo " tiff ${wxUSE_LIBTIFF-none}"
50227 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50228 echo " xpm ${wxUSE_LIBXPM-none}"
50229 fi
50230 echo " zlib ${wxUSE_ZLIB}"
50231 echo " odbc ${wxUSE_ODBC}"
50232 echo " expat ${wxUSE_EXPAT}"
50233 echo " libmspack ${wxUSE_LIBMSPACK}"
50234 echo " sdl ${wxUSE_LIBSDL}"
50235 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50236 echo " hildon ${wxUSE_LIBHILDON-none}"
50237
50238 echo ""
50239