]> git.saurik.com Git - wxWidgets.git/blob - configure
Various fixes and improvements to get look-and-feel similar across
[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.9.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.9.0'
274 PACKAGE_STRING='wxWidgets 2.9.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 wx_top_builddir 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 subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS CXXWARNINGS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET AROPTIONS 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 BK_DEPS GCC_PCH ICC_PCH BK_MAKE_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_STC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_STC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_AUI_1 COND_MONOLITHIC_0_USE_GUI_1 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_HTML_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_0_USE_QA_1 COND_MONOLITHIC_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_USE_STC_1 COND_MONOLITHIC_0_USE_XRC_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_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_TOOLKIT_MGL COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_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_STC_1 COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_USE_OPENGL_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_STC_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_PKG_CONFIG_set=${PKG_CONFIG+set}
786 ac_env_PKG_CONFIG_value=$PKG_CONFIG
787 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
788 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
789 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
790 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
791 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
792 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
793 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
794 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
795 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
796 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
797 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
798 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
799 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
800 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
801 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
802 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
803 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
804 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
805 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
806 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
807 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
808 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
809 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
810 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
811 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
812 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
813 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
814 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
815 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
816 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
817 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
818 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
819 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
820 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
821 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
822 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
823 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
824 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
825 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
826 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
827 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
829 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
830 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
831 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
832 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
833 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
834 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
835 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
836 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
837 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
838 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
839 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
840 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
841 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
842 ac_env_HILDON_LIBS_value=$HILDON_LIBS
843 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
844 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
845 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
846 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
847 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
848 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
849 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
850 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
851 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
852 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
853 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
854 ac_env_GST_CFLAGS_value=$GST_CFLAGS
855 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
856 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
857 ac_env_GST_LIBS_set=${GST_LIBS+set}
858 ac_env_GST_LIBS_value=$GST_LIBS
859 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
860 ac_cv_env_GST_LIBS_value=$GST_LIBS
861
862 #
863 # Report the --help message.
864 #
865 if test "$ac_init_help" = "long"; then
866 # Omit some internal or obsolete options to make the list less imposing.
867 # This message is too long to be a string in the A/UX 3.1 sh.
868 cat <<_ACEOF
869 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
870
871 Usage: $0 [OPTION]... [VAR=VALUE]...
872
873 To assign environment variables (e.g., CC, CFLAGS...), specify them as
874 VAR=VALUE. See below for descriptions of some of the useful variables.
875
876 Defaults for the options are specified in brackets.
877
878 Configuration:
879 -h, --help display this help and exit
880 --help=short display options specific to this package
881 --help=recursive display the short help of all the included packages
882 -V, --version display version information and exit
883 -q, --quiet, --silent do not print \`checking...' messages
884 --cache-file=FILE cache test results in FILE [disabled]
885 -C, --config-cache alias for \`--cache-file=config.cache'
886 -n, --no-create do not create output files
887 --srcdir=DIR find the sources in DIR [configure dir or \`..']
888
889 _ACEOF
890
891 cat <<_ACEOF
892 Installation directories:
893 --prefix=PREFIX install architecture-independent files in PREFIX
894 [$ac_default_prefix]
895 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
896 [PREFIX]
897
898 By default, \`make install' will install all the files in
899 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
900 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
901 for instance \`--prefix=\$HOME'.
902
903 For better control, use the options below.
904
905 Fine tuning of the installation directories:
906 --bindir=DIR user executables [EPREFIX/bin]
907 --sbindir=DIR system admin executables [EPREFIX/sbin]
908 --libexecdir=DIR program executables [EPREFIX/libexec]
909 --datadir=DIR read-only architecture-independent data [PREFIX/share]
910 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
911 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
912 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
913 --libdir=DIR object code libraries [EPREFIX/lib]
914 --includedir=DIR C header files [PREFIX/include]
915 --oldincludedir=DIR C header files for non-gcc [/usr/include]
916 --infodir=DIR info documentation [PREFIX/info]
917 --mandir=DIR man documentation [PREFIX/man]
918 _ACEOF
919
920 cat <<\_ACEOF
921
922 X features:
923 --x-includes=DIR X include files are in DIR
924 --x-libraries=DIR X library files are in DIR
925
926 System types:
927 --build=BUILD configure for building on BUILD [guessed]
928 --host=HOST cross-compile to build programs to run on HOST [BUILD]
929 --target=TARGET configure for building compilers for TARGET [HOST]
930 _ACEOF
931 fi
932
933 if test -n "$ac_init_help"; then
934 case $ac_init_help in
935 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
936 esac
937 cat <<\_ACEOF
938
939 Optional Features:
940 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
941 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
942 --enable-gui use GUI classes
943 --enable-monolithic build wxWidgets as single library
944 --enable-plugins build parts of wxWidgets as loadable components
945 --enable-universal use wxWidgets GUI controls instead of native ones
946 --enable-nanox use NanoX
947 --disable-gtk2 use GTK+ 1.2 instead of 2.0
948 --enable-gpe use GNOME PDA Environment features if possible
949 --enable-shared create shared library code
950 --enable-optimise create optimised code
951 --enable-debug same as debug_flag and debug_info
952 --enable-stl use STL for containers
953 --enable-extended_rtti use extended RTTI (XTI)
954 --enable-omf use OMF object format
955 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
956 --enable-debug_info create code with debugging information
957 --enable-debug_gdb create code with extra GDB debugging information
958 --enable-debug_cntxt use wxDebugContext
959 --enable-mem_tracing create code with memory tracing
960 --enable-profile create code with profiling information
961 --enable-no_rtti create code without RTTI information
962 --enable-no_exceptions create code without C++ exceptions handling
963 --enable-permissive compile code disregarding strict ANSI
964 --enable-no_deps create code without dependency information
965 --disable-vararg_macros don't use vararg macros, even if they are supported
966 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
967 --enable-compat26 enable wxWidgets 2.6 compatibility
968 --disable-compat28 disable wxWidgets 2.8 compatibility
969 --disable-rpath disable use of rpath for uninstalled builds
970 --enable-intl use internationalization system
971 --enable-config use wxConfig (and derived) classes
972 --enable-protocols use wxProtocol and derived classes
973 --enable-ftp use wxFTP (requires wxProtocol
974 --enable-http use wxHTTP (requires wxProtocol
975 --enable-fileproto use wxFileProto class (requires wxProtocol
976 --enable-sockets use socket/network classes
977 --enable-ole use OLE classes (Win32 only)
978 --enable-dataobj use data object classes
979 --enable-ipc use interprocess communication (wxSocket etc.)
980 --enable-apple_ieee use the Apple IEEE codec
981 --enable-arcstream use wxArchive streams
982 --enable-backtrace use wxStackWalker class for getting backtraces
983 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
984 --enable-cmdline use wxCmdLineParser class
985 --enable-datetime use wxDateTime class
986 --enable-debugreport use wxDebugReport class
987 --enable-dialupman use dialup network classes
988 --enable-dynlib use wxLibrary class for DLL loading
989 --enable-dynamicloader use (new) wxDynamicLibrary class
990 --enable-exceptions build exception-safe library
991 --enable-ffile use wxFFile class
992 --enable-file use wxFile class
993 --enable-filesystem use virtual file systems classes
994 --enable-fontmap use font encodings conversion classes
995 --enable-fs_archive use virtual archive filesystems
996 --enable-fs_inet use virtual HTTP/FTP filesystems
997 --enable-fs_zip now replaced by fs_archive
998 --enable-geometry use geometry class
999 --enable-log use logging system
1000 --enable-longlong use wxLongLong class
1001 --enable-mimetype use wxMimeTypesManager
1002 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1003 --enable-utf8 use UTF-8 representation for strings (Unix only)
1004 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C++ stream classes
1007 --enable-std_string use standard C++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support in wxProtocol
1026 --enable-protocol-ftp FTP support in wxProtocol
1027 --enable-protocol-file FILE support in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use help subsystem
1031 --enable-mshtmlhelp use MS HTML Help (win32)
1032 --enable-html use wxHTML sub-library
1033 --enable-htmlhelp use wxHTML-based help
1034 --enable-xrc use XRC resources sub-library
1035 --enable-aui use AUI docking library
1036 --enable-stc use wxStyledTextCtrl library
1037 --enable-constraints use layout-constraints system
1038 --enable-printarch use printing architecture
1039 --enable-mdi use multiple document interface architecture
1040 --enable-mdidoc use docview architecture with MDI
1041 --enable-loggui use standard GUI logger
1042 --enable-logwin use wxLogWindow
1043 --enable-logdialog use wxLogDialog
1044 --enable-webkit use wxWebKitCtrl (Mac)
1045 --enable-richtext use wxRichTextCtrl
1046 --enable-graphics_ctx use graphics context 2D drawing API
1047 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1048 --enable-clipboard use wxClipboard class
1049 --enable-dnd use Drag'n'Drop classes
1050 --enable-metafile use win32 metafiles
1051 --enable-controls use all usual controls
1052 --enable-accel use accelerators
1053 --enable-animatectrl use wxAnimationCtrl class
1054 --enable-button use wxButton class
1055 --enable-bmpbutton use wxBitmapButton class
1056 --enable-bmpcombobox use wxBitmapComboBox class
1057 --enable-calendar use wxCalendarCtrl class
1058 --enable-caret use wxCaret class
1059 --enable-checkbox use wxCheckBox class
1060 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1061 --enable-choice use wxChoice class
1062 --enable-choicebook use wxChoicebook class
1063 --enable-collpane use wxCollapsiblePane class
1064 --enable-colourpicker use wxColourPickerCtrl class
1065 --enable-combobox use wxComboBox class
1066 --enable-comboctrl use wxComboCtrl class
1067 --enable-datepick use wxDatePickerCtrl class
1068 --enable-dirpicker use wxDirPickerCtrl class
1069 --enable-display use wxDisplay class
1070 --enable-detect_sm use code to detect X11 session manager
1071 --enable-editablebox use wxEditableListBox class
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-searchctrl use wxSearchCtrl class
1089 --enable-slider use wxSlider class
1090 --enable-spinbtn use wxSpinButton class
1091 --enable-spinctrl use wxSpinCtrl class
1092 --enable-splitter use wxSplitterWindow class
1093 --enable-statbmp use wxStaticBitmap class
1094 --enable-statbox use wxStaticBox class
1095 --enable-statline use wxStaticLine class
1096 --enable-stattext use wxStaticText class
1097 --enable-statusbar use wxStatusBar class
1098 --enable-tabdialog use wxTabControl class
1099 --enable-textctrl use wxTextCtrl class
1100 --enable-togglebtn use wxToggleButton class
1101 --enable-toolbar use wxToolBar class
1102 --enable-tbarnative use native wxToolBar class
1103 --enable-treebook use wxTreebook class
1104 --enable-toolbook use wxToolbook class
1105 --enable-treectrl use wxTreeCtrl class
1106 --enable-tipwindow use wxTipWindow class
1107 --enable-popupwin use wxPopUpWindow class
1108 --enable-commondlg use all common dialogs
1109 --enable-aboutdlg use wxAboutBox
1110 --enable-choicedlg use wxChoiceDialog
1111 --enable-coldlg use wxColourDialog
1112 --enable-filedlg use wxFileDialog
1113 --enable-finddlg use wxFindReplaceDialog
1114 --enable-fontdlg use wxFontDialog
1115 --enable-dirdlg use wxDirDialog
1116 --enable-msgdlg use wxMessageDialog
1117 --enable-numberdlg use wxNumberEntryDialog
1118 --enable-splash use wxSplashScreen
1119 --enable-textdlg use wxTextDialog
1120 --enable-tipdlg use startup tips
1121 --enable-progressdlg use wxProgressDialog
1122 --enable-wizarddlg use wxWizard
1123 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1124 --enable-miniframe use wxMiniFrame class
1125 --enable-tooltips use wxToolTip class
1126 --enable-splines use spline drawing code
1127 --enable-mousewheel use mousewheel
1128 --enable-validators use wxValidator and derived classes
1129 --enable-busyinfo use wxBusyInfo
1130 --enable-joystick use wxJoystick
1131 --enable-metafiles use wxMetaFile (Win32 only)
1132 --enable-dragimage use wxDragImage
1133 --enable-accessibility enable accessibility support
1134 --enable-dccache cache temporary wxDC objects (Win32 only)
1135 --enable-palette use wxPalette class
1136 --enable-image use wxImage class
1137 --enable-gif use gif images (GIF file format)
1138 --enable-pcx use pcx images (PCX file format)
1139 --enable-tga use tga images (TGA file format)
1140 --enable-iff use iff images (IFF file format)
1141 --enable-pnm use pnm images (PNM file format)
1142 --enable-xpm use xpm images (XPM file format)
1143 --enable-icocur use Windows ICO and CUR formats
1144 --enable-official_build official build of wxWidgets (win32 DLL only)
1145 --enable-vendor=VENDOR vendor name (win32 DLL only)
1146 --disable-largefile omit support for large files
1147 --disable-gtktest do not try to compile and run a test GTK+ program
1148 --disable-gtktest Do not try to compile and run a test GTK program
1149 --disable-sdltest Do not try to compile and run a test SDL program
1150 --enable-omf use OMF object format (OS/2)
1151 --disable-dependency-tracking
1152 don't use dependency tracking even if the compiler
1153 can
1154 --disable-precomp-headers
1155 don't use precompiled headers even if compiler can
1156
1157 Optional Packages:
1158 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1159 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1160 --without-subdirs don't generate makefiles for samples/demos/...
1161 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1162 --with-motif use Motif/Lesstif
1163 --with-mac use Mac OS X
1164 --with-cocoa use Cocoa
1165 --with-wine use Wine
1166 --with-msw use MS-Windows
1167 --with-pm use OS/2 Presentation Manager
1168 --with-mgl use SciTech MGL
1169 --with-directfb use DirectFB
1170 --with-microwin use MicroWindows
1171 --with-x11 use X11
1172 --with-libpng use libpng (PNG image format)
1173 --with-libjpeg use libjpeg (JPEG file format)
1174 --with-libtiff use libtiff (TIFF file format)
1175 --with-libxpm use libxpm (XPM file format)
1176 --with-libmspack use libmspack (CHM help files loading)
1177 --with-sdl use SDL for audio on Unix
1178 --with-gnomeprint use GNOME print for printing under GNOME
1179 --with-gnomevfs use GNOME VFS for associating MIME types
1180 --with-hildon use Hildon framework for Nokia 770
1181 --with-opengl use OpenGL (or Mesa)
1182 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1183 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1184 --with-regex enable support for wxRegEx class
1185 --with-zlib use zlib for LZW compression
1186 --with-odbc use the IODBC and wxODBC classes
1187 --with-expat enable XML support using expat parser
1188 --with-flavour=NAME specify a name to identify this build
1189 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1190 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1191 --with-x use the X Window System
1192 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1193 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1194 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1195 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1196 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1197
1198 Some influential environment variables:
1199 CC C compiler command
1200 CFLAGS C compiler flags
1201 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1202 nonstandard directory <lib dir>
1203 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1204 headers in a nonstandard directory <include dir>
1205 CPP C preprocessor
1206 CXX C++ compiler command
1207 CXXFLAGS C++ compiler flags
1208 PKG_CONFIG path to pkg-config utility
1209 DIRECTFB_CFLAGS
1210 C compiler flags for DIRECTFB, overriding pkg-config
1211 DIRECTFB_LIBS
1212 linker flags for DIRECTFB, overriding pkg-config
1213 PANGOX_CFLAGS
1214 C compiler flags for PANGOX, overriding pkg-config
1215 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1216 PANGOFT2_CFLAGS
1217 C compiler flags for PANGOFT2, overriding pkg-config
1218 PANGOFT2_LIBS
1219 linker flags for PANGOFT2, overriding pkg-config
1220 PANGOXFT_CFLAGS
1221 C compiler flags for PANGOXFT, overriding pkg-config
1222 PANGOXFT_LIBS
1223 linker flags for PANGOXFT, overriding pkg-config
1224 LIBGNOMEPRINTUI_CFLAGS
1225 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1226 LIBGNOMEPRINTUI_LIBS
1227 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1228 GNOMEVFS_CFLAGS
1229 C compiler flags for GNOMEVFS, overriding pkg-config
1230 GNOMEVFS_LIBS
1231 linker flags for GNOMEVFS, overriding pkg-config
1232 HILDON_CFLAGS
1233 C compiler flags for HILDON, overriding pkg-config
1234 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1235 CAIRO_CFLAGS
1236 C compiler flags for CAIRO, overriding pkg-config
1237 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1238 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1239 GST_LIBS linker flags for GST, overriding pkg-config
1240
1241 Use these variables to override the choices made by `configure' or to help
1242 it to find libraries and programs with nonstandard names/locations.
1243
1244 Report bugs to <wx-dev@lists.wxwidgets.org>.
1245 _ACEOF
1246 fi
1247
1248 if test "$ac_init_help" = "recursive"; then
1249 # If there are subdirs, report their specific --help.
1250 ac_popdir=`pwd`
1251 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1252 test -d $ac_dir || continue
1253 ac_builddir=.
1254
1255 if test "$ac_dir" != .; then
1256 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1257 # A "../" for each directory in $ac_dir_suffix.
1258 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1259 else
1260 ac_dir_suffix= ac_top_builddir=
1261 fi
1262
1263 case $srcdir in
1264 .) # No --srcdir option. We are building in place.
1265 ac_srcdir=.
1266 if test -z "$ac_top_builddir"; then
1267 ac_top_srcdir=.
1268 else
1269 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1270 fi ;;
1271 [\\/]* | ?:[\\/]* ) # Absolute path.
1272 ac_srcdir=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir=$srcdir ;;
1274 *) # Relative path.
1275 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1276 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1277 esac
1278
1279 # Do not use `cd foo && pwd` to compute absolute paths, because
1280 # the directories may not exist.
1281 case `pwd` in
1282 .) ac_abs_builddir="$ac_dir";;
1283 *)
1284 case "$ac_dir" in
1285 .) ac_abs_builddir=`pwd`;;
1286 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1287 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1288 esac;;
1289 esac
1290 case $ac_abs_builddir in
1291 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1292 *)
1293 case ${ac_top_builddir}. in
1294 .) ac_abs_top_builddir=$ac_abs_builddir;;
1295 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1296 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1297 esac;;
1298 esac
1299 case $ac_abs_builddir in
1300 .) ac_abs_srcdir=$ac_srcdir;;
1301 *)
1302 case $ac_srcdir in
1303 .) ac_abs_srcdir=$ac_abs_builddir;;
1304 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1305 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1306 esac;;
1307 esac
1308 case $ac_abs_builddir in
1309 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1310 *)
1311 case $ac_top_srcdir in
1312 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1313 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1314 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1315 esac;;
1316 esac
1317
1318 cd $ac_dir
1319 # Check for guested configure; otherwise get Cygnus style configure.
1320 if test -f $ac_srcdir/configure.gnu; then
1321 echo
1322 $SHELL $ac_srcdir/configure.gnu --help=recursive
1323 elif test -f $ac_srcdir/configure; then
1324 echo
1325 $SHELL $ac_srcdir/configure --help=recursive
1326 elif test -f $ac_srcdir/configure.ac ||
1327 test -f $ac_srcdir/configure.in; then
1328 echo
1329 $ac_configure --help
1330 else
1331 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1332 fi
1333 cd $ac_popdir
1334 done
1335 fi
1336
1337 test -n "$ac_init_help" && exit 0
1338 if $ac_init_version; then
1339 cat <<\_ACEOF
1340 wxWidgets configure 2.9.0
1341 generated by GNU Autoconf 2.59
1342
1343 Copyright (C) 2003 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1346 _ACEOF
1347 exit 0
1348 fi
1349 exec 5>config.log
1350 cat >&5 <<_ACEOF
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1353
1354 It was created by wxWidgets $as_me 2.9.0, which was
1355 generated by GNU Autoconf 2.59. Invocation command line was
1356
1357 $ $0 $@
1358
1359 _ACEOF
1360 {
1361 cat <<_ASUNAME
1362 ## --------- ##
1363 ## Platform. ##
1364 ## --------- ##
1365
1366 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1367 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1368 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1369 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1370 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1371
1372 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1373 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1374
1375 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1376 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1377 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1378 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1379 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1380 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1381 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1382
1383 _ASUNAME
1384
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1386 for as_dir in $PATH
1387 do
1388 IFS=$as_save_IFS
1389 test -z "$as_dir" && as_dir=.
1390 echo "PATH: $as_dir"
1391 done
1392
1393 } >&5
1394
1395 cat >&5 <<_ACEOF
1396
1397
1398 ## ----------- ##
1399 ## Core tests. ##
1400 ## ----------- ##
1401
1402 _ACEOF
1403
1404
1405 # Keep a trace of the command line.
1406 # Strip out --no-create and --no-recursion so they do not pile up.
1407 # Strip out --silent because we don't want to record it for future runs.
1408 # Also quote any args containing shell meta-characters.
1409 # Make two passes to allow for proper duplicate-argument suppression.
1410 ac_configure_args=
1411 ac_configure_args0=
1412 ac_configure_args1=
1413 ac_sep=
1414 ac_must_keep_next=false
1415 for ac_pass in 1 2
1416 do
1417 for ac_arg
1418 do
1419 case $ac_arg in
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1423 continue ;;
1424 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1425 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1426 esac
1427 case $ac_pass in
1428 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1429 2)
1430 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true; then
1432 ac_must_keep_next=false # Got value, back to normal.
1433 else
1434 case $ac_arg in
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1441 esac
1442 ;;
1443 -* ) ac_must_keep_next=true ;;
1444 esac
1445 fi
1446 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1447 # Get rid of the leading space.
1448 ac_sep=" "
1449 ;;
1450 esac
1451 done
1452 done
1453 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1454 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1455
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Be sure not to use single quotes in there, as some shells,
1460 # such as our DU 5.0 friend, will then `close' the trap.
1461 trap 'exit_status=$?
1462 # Save into config.log some information that might help in debugging.
1463 {
1464 echo
1465
1466 cat <<\_ASBOX
1467 ## ---------------- ##
1468 ## Cache variables. ##
1469 ## ---------------- ##
1470 _ASBOX
1471 echo
1472 # The following way of writing the cache mishandles newlines in values,
1473 {
1474 (set) 2>&1 |
1475 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1476 *ac_space=\ *)
1477 sed -n \
1478 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1480 ;;
1481 *)
1482 sed -n \
1483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1484 ;;
1485 esac;
1486 }
1487 echo
1488
1489 cat <<\_ASBOX
1490 ## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##
1493 _ASBOX
1494 echo
1495 for ac_var in $ac_subst_vars
1496 do
1497 eval ac_val=$`echo $ac_var`
1498 echo "$ac_var='"'"'$ac_val'"'"'"
1499 done | sort
1500 echo
1501
1502 if test -n "$ac_subst_files"; then
1503 cat <<\_ASBOX
1504 ## ------------- ##
1505 ## Output files. ##
1506 ## ------------- ##
1507 _ASBOX
1508 echo
1509 for ac_var in $ac_subst_files
1510 do
1511 eval ac_val=$`echo $ac_var`
1512 echo "$ac_var='"'"'$ac_val'"'"'"
1513 done | sort
1514 echo
1515 fi
1516
1517 if test -s confdefs.h; then
1518 cat <<\_ASBOX
1519 ## ----------- ##
1520 ## confdefs.h. ##
1521 ## ----------- ##
1522 _ASBOX
1523 echo
1524 sed "/^$/d" confdefs.h | sort
1525 echo
1526 fi
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1530 } >&5
1531 rm -f core *.core &&
1532 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1533 exit $exit_status
1534 ' 0
1535 for ac_signal in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1537 done
1538 ac_signal=0
1539
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -rf conftest* confdefs.h
1542 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1543 echo >confdefs.h
1544
1545 # Predefined preprocessor variables.
1546
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_NAME "$PACKAGE_NAME"
1549 _ACEOF
1550
1551
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1554 _ACEOF
1555
1556
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1559 _ACEOF
1560
1561
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_STRING "$PACKAGE_STRING"
1564 _ACEOF
1565
1566
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1569 _ACEOF
1570
1571
1572 # Let the site file select an alternate cache file if it wants to.
1573 # Prefer explicitly selected file to automatically selected ones.
1574 if test -z "$CONFIG_SITE"; then
1575 if test "x$prefix" != xNONE; then
1576 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1577 else
1578 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1579 fi
1580 fi
1581 for ac_site_file in $CONFIG_SITE; do
1582 if test -r "$ac_site_file"; then
1583 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1584 echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's/^/| /' "$ac_site_file" >&5
1586 . "$ac_site_file"
1587 fi
1588 done
1589
1590 if test -r "$cache_file"; then
1591 # Some versions of bash will fail to source /dev/null (special
1592 # files actually), so we avoid doing that.
1593 if test -f "$cache_file"; then
1594 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1595 echo "$as_me: loading cache $cache_file" >&6;}
1596 case $cache_file in
1597 [\\/]* | ?:[\\/]* ) . $cache_file;;
1598 *) . ./$cache_file;;
1599 esac
1600 fi
1601 else
1602 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1603 echo "$as_me: creating cache $cache_file" >&6;}
1604 >$cache_file
1605 fi
1606
1607 # Check that the precious variables saved in the cache have kept the same
1608 # value.
1609 ac_cache_corrupted=false
1610 for ac_var in `(set) 2>&1 |
1611 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1615 eval ac_new_val="\$ac_env_${ac_var}_value"
1616 case $ac_old_set,$ac_new_set in
1617 set,)
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1621 ,set)
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1625 ,);;
1626 *)
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted=:
1635 fi;;
1636 esac
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1639 case $ac_new_val in
1640 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg=$ac_var=$ac_new_val ;;
1643 esac
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1647 esac
1648 fi
1649 done
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1654 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1656 fi
1657
1658 ac_ext=c
1659 ac_cpp='$CPP $CPPFLAGS'
1660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693 ac_aux_dir=
1694 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1695 if test -f $ac_dir/install-sh; then
1696 ac_aux_dir=$ac_dir
1697 ac_install_sh="$ac_aux_dir/install-sh -c"
1698 break
1699 elif test -f $ac_dir/install.sh; then
1700 ac_aux_dir=$ac_dir
1701 ac_install_sh="$ac_aux_dir/install.sh -c"
1702 break
1703 elif test -f $ac_dir/shtool; then
1704 ac_aux_dir=$ac_dir
1705 ac_install_sh="$ac_aux_dir/shtool install -c"
1706 break
1707 fi
1708 done
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1712 { (exit 1); exit 1; }; }
1713 fi
1714 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1715 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1716 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1717
1718 # Make sure we can run config.sub.
1719 $ac_config_sub sun4 >/dev/null 2>&1 ||
1720 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1721 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1722 { (exit 1); exit 1; }; }
1723
1724 echo "$as_me:$LINENO: checking build system type" >&5
1725 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1726 if test "${ac_cv_build+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729 ac_cv_build_alias=$build_alias
1730 test -z "$ac_cv_build_alias" &&
1731 ac_cv_build_alias=`$ac_config_guess`
1732 test -z "$ac_cv_build_alias" &&
1733 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1734 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1735 { (exit 1); exit 1; }; }
1736 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1740
1741 fi
1742 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1743 echo "${ECHO_T}$ac_cv_build" >&6
1744 build=$ac_cv_build
1745 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1748
1749
1750 echo "$as_me:$LINENO: checking host system type" >&5
1751 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1752 if test "${ac_cv_host+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755 ac_cv_host_alias=$host_alias
1756 test -z "$ac_cv_host_alias" &&
1757 ac_cv_host_alias=$ac_cv_build_alias
1758 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1762
1763 fi
1764 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1765 echo "${ECHO_T}$ac_cv_host" >&6
1766 host=$ac_cv_host
1767 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1770
1771
1772 echo "$as_me:$LINENO: checking target system type" >&5
1773 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1774 if test "${ac_cv_target+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 else
1777 ac_cv_target_alias=$target_alias
1778 test "x$ac_cv_target_alias" = "x" &&
1779 ac_cv_target_alias=$ac_cv_host_alias
1780 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1781 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1782 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1783 { (exit 1); exit 1; }; }
1784
1785 fi
1786 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1787 echo "${ECHO_T}$ac_cv_target" >&6
1788 target=$ac_cv_target
1789 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1790 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1791 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1792
1793
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1798 NONENONEs,x,x, &&
1799 program_prefix=${target_alias}-
1800
1801
1802
1803 wx_major_version_number=2
1804 wx_minor_version_number=9
1805 wx_release_number=0
1806 wx_subrelease_number=0
1807
1808 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1809 WX_VERSION=$WX_RELEASE.$wx_release_number
1810 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1811
1812 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1813
1814
1815 wx_top_builddir="`pwd`"
1816
1817
1818
1819
1820 USE_UNIX=1
1821 USE_OS2=0
1822 USE_WIN32=0
1823 USE_DOS=0
1824 USE_BEOS=0
1825 USE_MAC=0
1826
1827 USE_AIX=
1828 USE_BSD= USE_DARWIN= USE_FREEBSD=
1829 USE_GNU= USE_HPUX=
1830 USE_LINUX=
1831 USE_NETBSD=
1832 USE_OPENBSD=
1833 USE_OSF= USE_SGI=
1834 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1835 USE_ULTRIX=
1836 USE_UNIXWARE=
1837
1838 USE_ALPHA=
1839
1840 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1841
1842 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1843
1844 DEFAULT_wxUSE_COCOA=0
1845 DEFAULT_wxUSE_GTK=0
1846 DEFAULT_wxUSE_MAC=0
1847 DEFAULT_wxUSE_MGL=0
1848 DEFAULT_wxUSE_MICROWIN=0
1849 DEFAULT_wxUSE_MOTIF=0
1850 DEFAULT_wxUSE_MSW=0
1851 DEFAULT_wxUSE_PM=0
1852 DEFAULT_wxUSE_X11=0
1853 DEFAULT_wxUSE_DFB=0
1854
1855 DEFAULT_DEFAULT_wxUSE_COCOA=0
1856 DEFAULT_DEFAULT_wxUSE_GTK=0
1857 DEFAULT_DEFAULT_wxUSE_MAC=0
1858 DEFAULT_DEFAULT_wxUSE_MGL=0
1859 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1860 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1861 DEFAULT_DEFAULT_wxUSE_MSW=0
1862 DEFAULT_DEFAULT_wxUSE_PM=0
1863 DEFAULT_DEFAULT_wxUSE_X11=0
1864 DEFAULT_DEFAULT_wxUSE_DFB=0
1865
1866 PROGRAM_EXT=
1867 SO_SUFFIX=so
1868 SAMPLES_RPATH_FLAG=
1869 SAMPLES_RPATH_POSTLINK=
1870
1871 DEFAULT_STD_FLAG=yes
1872
1873 case "${host}" in
1874 *-hp-hpux* )
1875 USE_HPUX=1
1876 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1877 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1878 SO_SUFFIX=sl
1879 cat >>confdefs.h <<\_ACEOF
1880 #define __HPUX__ 1
1881 _ACEOF
1882
1883
1884 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1885 ;;
1886 *-*-linux* )
1887 USE_LINUX=1
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __LINUX__ 1
1890 _ACEOF
1891
1892 TMP=`uname -m`
1893 if test "x$TMP" = "xalpha"; then
1894 USE_ALPHA=1
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __ALPHA__ 1
1897 _ACEOF
1898
1899 fi
1900 DEFAULT_DEFAULT_wxUSE_GTK=1
1901 ;;
1902 *-*-gnu* | *-*-k*bsd*-gnu )
1903 USE_GNU=1
1904 TMP=`uname -m`
1905 if test "x$TMP" = "xalpha"; then
1906 USE_ALPHA=1
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __ALPHA__ 1
1909 _ACEOF
1910
1911 fi
1912 DEFAULT_DEFAULT_wxUSE_GTK=1
1913 ;;
1914 *-*-irix5* | *-*-irix6* )
1915 USE_SGI=1
1916 USE_SVR4=1
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __SGI__ 1
1919 _ACEOF
1920
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __SVR4__ 1
1923 _ACEOF
1924
1925 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1926 ;;
1927 *-*-solaris2* )
1928 USE_SUN=1
1929 USE_SOLARIS=1
1930 USE_SVR4=1
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SUN__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SOLARIS__ 1
1937 _ACEOF
1938
1939 cat >>confdefs.h <<\_ACEOF
1940 #define __SVR4__ 1
1941 _ACEOF
1942
1943 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1944 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1945 ;;
1946 *-*-sunos4* )
1947 USE_SUN=1
1948 USE_SUNOS=1
1949 USE_BSD=1
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __SUN__ 1
1952 _ACEOF
1953
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __SUNOS__ 1
1956 _ACEOF
1957
1958 cat >>confdefs.h <<\_ACEOF
1959 #define __BSD__ 1
1960 _ACEOF
1961
1962 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1963 ;;
1964 *-*-freebsd*)
1965 USE_BSD=1
1966 USE_FREEBSD=1
1967 cat >>confdefs.h <<\_ACEOF
1968 #define __FREEBSD__ 1
1969 _ACEOF
1970
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __BSD__ 1
1973 _ACEOF
1974
1975 DEFAULT_DEFAULT_wxUSE_GTK=1
1976 ;;
1977 *-*-openbsd*|*-*-mirbsd*)
1978 USE_BSD=1
1979 USE_OPENBSD=1
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __OPENBSD__ 1
1982 _ACEOF
1983
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BSD__ 1
1986 _ACEOF
1987
1988 DEFAULT_DEFAULT_wxUSE_GTK=1
1989 ;;
1990 *-*-netbsd*)
1991 USE_BSD=1
1992 USE_NETBSD=1
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __NETBSD__ 1
1995 _ACEOF
1996
1997 cat >>confdefs.h <<\_ACEOF
1998 #define __BSD__ 1
1999 _ACEOF
2000
2001 DEFAULT_DEFAULT_wxUSE_GTK=1
2002 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2003
2004 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2005 ;;
2006 *-*-osf* )
2007 USE_ALPHA=1
2008 USE_OSF=1
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __ALPHA__ 1
2011 _ACEOF
2012
2013 cat >>confdefs.h <<\_ACEOF
2014 #define __OSF__ 1
2015 _ACEOF
2016
2017 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2018 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2019 ;;
2020 *-*-dgux5* )
2021 USE_ALPHA=1
2022 USE_SVR4=1
2023 cat >>confdefs.h <<\_ACEOF
2024 #define __ALPHA__ 1
2025 _ACEOF
2026
2027 cat >>confdefs.h <<\_ACEOF
2028 #define __SVR4__ 1
2029 _ACEOF
2030
2031 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2032 ;;
2033 *-*-sysv5* )
2034 USE_SYSV=1
2035 USE_SVR4=1
2036 cat >>confdefs.h <<\_ACEOF
2037 #define __SYSV__ 1
2038 _ACEOF
2039
2040 cat >>confdefs.h <<\_ACEOF
2041 #define __SVR4__ 1
2042 _ACEOF
2043
2044 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2045 ;;
2046 *-*-aix* )
2047 USE_AIX=1
2048 USE_SYSV=1
2049 USE_SVR4=1
2050 SO_SUFFIX=a
2051 cat >>confdefs.h <<\_ACEOF
2052 #define __AIX__ 1
2053 _ACEOF
2054
2055 cat >>confdefs.h <<\_ACEOF
2056 #define __SYSV__ 1
2057 _ACEOF
2058
2059 cat >>confdefs.h <<\_ACEOF
2060 #define __SVR4__ 1
2061 _ACEOF
2062
2063 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2064 ;;
2065
2066 *-*-*UnixWare*)
2067 USE_SYSV=1
2068 USE_SVR4=1
2069 USE_UNIXWARE=1
2070 cat >>confdefs.h <<\_ACEOF
2071 #define __UNIXWARE__ 1
2072 _ACEOF
2073
2074 ;;
2075
2076 *-*-cygwin* | *-*-mingw32* )
2077 SO_SUFFIX=dll
2078 PROGRAM_EXT=".exe"
2079 DEFAULT_DEFAULT_wxUSE_MSW=1
2080 ;;
2081
2082 *-pc-msdosdjgpp )
2083 USE_UNIX=0
2084 USE_DOS=1
2085 cat >>confdefs.h <<\_ACEOF
2086 #define __DOS__ 1
2087 _ACEOF
2088
2089 PROGRAM_EXT=".exe"
2090 DEFAULT_DEFAULT_wxUSE_MGL=1
2091 ;;
2092
2093 *-pc-os2_emx | *-pc-os2-emx )
2094 cat >>confdefs.h <<\_ACEOF
2095 #define __EMX__ 1
2096 _ACEOF
2097
2098 USE_OS2=1
2099 cat >>confdefs.h <<\_ACEOF
2100 #define __OS2__ 1
2101 _ACEOF
2102
2103 PROGRAM_EXT=".exe"
2104 DEFAULT_DEFAULT_wxUSE_PM=1
2105 CXX=gcc
2106 LDFLAGS="$LDFLAGS -Zcrtdll"
2107 ac_executable_extensions=".exe"
2108 export ac_executable_extensions
2109 ac_save_IFS="$IFS"
2110 IFS='\\'
2111 ac_TEMP_PATH=
2112 for ac_dir in $PATH; do
2113 IFS=$ac_save_IFS
2114 if test -z "$ac_TEMP_PATH"; then
2115 ac_TEMP_PATH="$ac_dir"
2116 else
2117 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2118 fi
2119 done
2120 export PATH="$ac_TEMP_PATH"
2121 unset ac_TEMP_PATH
2122 DEFAULT_STD_FLAG=no
2123 ;;
2124
2125 *-*-darwin* )
2126 USE_BSD=1
2127 USE_DARWIN=1
2128 SO_SUFFIX=dylib
2129 cat >>confdefs.h <<\_ACEOF
2130 #define __BSD__ 1
2131 _ACEOF
2132
2133 cat >>confdefs.h <<\_ACEOF
2134 #define __DARWIN__ 1
2135 _ACEOF
2136
2137 cat >>confdefs.h <<\_ACEOF
2138 #define TARGET_CARBON 1
2139 _ACEOF
2140
2141 DEFAULT_DEFAULT_wxUSE_MAC=1
2142 DEFAULT_STD_FLAG=no
2143 ;;
2144 powerpc-apple-macos* )
2145 USE_UNIX=0
2146 ac_cv_c_bigendian=yes
2147 SO_SUFFIX=shlib
2148 DEFAULT_DEFAULT_wxUSE_MAC=1
2149 DEFAULT_STD_FLAG=no
2150 ;;
2151
2152 *-*-beos* )
2153 USE_BEOS=1
2154 cat >>confdefs.h <<\_ACEOF
2155 #define __BEOS__ 1
2156 _ACEOF
2157
2158 ;;
2159
2160 *)
2161 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2162 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2163 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2164 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2165
2166 DEFAULT_DEFAULT_wxUSE_X11=1
2167 DEFAULT_wxUSE_SHARED=no
2168 esac
2169
2170
2171
2172
2173 wx_arg_cache_file="configarg.cache"
2174 echo "loading argument cache $wx_arg_cache_file"
2175 rm -f ${wx_arg_cache_file}.tmp
2176 touch ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}
2178
2179
2180 DEBUG_CONFIGURE=0
2181 if test $DEBUG_CONFIGURE = 1; then
2182 DEFAULT_wxUSE_UNIVERSAL=no
2183 DEFAULT_wxUSE_STL=no
2184 DEFAULT_wxUSE_EXTENDED_RTTI=no
2185
2186 DEFAULT_wxUSE_NANOX=no
2187
2188 DEFAULT_wxUSE_THREADS=yes
2189
2190 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2191 DEFAULT_wxUSE_OPTIMISE=no
2192 DEFAULT_wxUSE_PROFILE=no
2193 DEFAULT_wxUSE_NO_DEPS=no
2194 DEFAULT_wxUSE_VARARG_MACROS=no
2195 DEFAULT_wxUSE_NO_RTTI=no
2196 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2197 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2198 DEFAULT_wxUSE_RPATH=yes
2199 DEFAULT_wxUSE_PERMISSIVE=no
2200 DEFAULT_wxUSE_DEBUG_FLAG=yes
2201 DEFAULT_wxUSE_DEBUG_INFO=yes
2202 DEFAULT_wxUSE_DEBUG_GDB=yes
2203 DEFAULT_wxUSE_MEM_TRACING=no
2204 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2205 DEFAULT_wxUSE_DMALLOC=no
2206 DEFAULT_wxUSE_APPLE_IEEE=no
2207
2208 DEFAULT_wxUSE_EXCEPTIONS=no
2209 DEFAULT_wxUSE_LOG=yes
2210 DEFAULT_wxUSE_LOGWINDOW=no
2211 DEFAULT_wxUSE_LOGGUI=no
2212 DEFAULT_wxUSE_LOGDIALOG=no
2213
2214 DEFAULT_wxUSE_GUI=yes
2215 DEFAULT_wxUSE_CONTROLS=no
2216
2217 DEFAULT_wxUSE_REGEX=no
2218 DEFAULT_wxUSE_XML=no
2219 DEFAULT_wxUSE_EXPAT=no
2220 DEFAULT_wxUSE_ZLIB=no
2221 DEFAULT_wxUSE_LIBPNG=no
2222 DEFAULT_wxUSE_LIBJPEG=no
2223 DEFAULT_wxUSE_LIBTIFF=no
2224 DEFAULT_wxUSE_LIBXPM=no
2225 DEFAULT_wxUSE_LIBMSPACK=no
2226 DEFAULT_wxUSE_LIBSDL=no
2227 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2228 DEFAULT_wxUSE_LIBGNOMEVFS=no
2229 DEFAULT_wxUSE_LIBHILDON=no
2230 DEFAULT_wxUSE_ODBC=no
2231 DEFAULT_wxUSE_OPENGL=no
2232
2233 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2234 DEFAULT_wxUSE_STACKWALKER=no
2235 DEFAULT_wxUSE_DEBUGREPORT=no
2236 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2237 DEFAULT_wxUSE_STD_IOSTREAM=no
2238 DEFAULT_wxUSE_STD_STRING=no
2239 DEFAULT_wxUSE_CMDLINE_PARSER=no
2240 DEFAULT_wxUSE_DATETIME=no
2241 DEFAULT_wxUSE_TIMER=no
2242 DEFAULT_wxUSE_STOPWATCH=no
2243 DEFAULT_wxUSE_FILE=no
2244 DEFAULT_wxUSE_FFILE=no
2245 DEFAULT_wxUSE_STDPATHS=no
2246 DEFAULT_wxUSE_TEXTBUFFER=no
2247 DEFAULT_wxUSE_TEXTFILE=no
2248 DEFAULT_wxUSE_SOUND=no
2249 DEFAULT_wxUSE_MEDIACTRL=no
2250 DEFAULT_wxUSE_GSTREAMER8=no
2251 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2252 DEFAULT_wxUSE_INTL=no
2253 DEFAULT_wxUSE_CONFIG=no
2254 DEFAULT_wxUSE_FONTMAP=no
2255 DEFAULT_wxUSE_STREAMS=no
2256 DEFAULT_wxUSE_SOCKETS=no
2257 DEFAULT_wxUSE_OLE=no
2258 DEFAULT_wxUSE_DATAOBJ=no
2259 DEFAULT_wxUSE_DIALUP_MANAGER=no
2260 DEFAULT_wxUSE_JOYSTICK=no
2261 DEFAULT_wxUSE_DYNLIB_CLASS=no
2262 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2263 DEFAULT_wxUSE_LONGLONG=no
2264 DEFAULT_wxUSE_GEOMETRY=no
2265
2266 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2267 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2268 DEFAULT_wxUSE_POSTSCRIPT=no
2269
2270 DEFAULT_wxUSE_CLIPBOARD=no
2271 DEFAULT_wxUSE_TOOLTIPS=no
2272 DEFAULT_wxUSE_DRAG_AND_DROP=no
2273 DEFAULT_wxUSE_DRAGIMAGE=no
2274 DEFAULT_wxUSE_SPLINES=no
2275 DEFAULT_wxUSE_MOUSEWHEEL=no
2276
2277 DEFAULT_wxUSE_MDI=no
2278 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2279 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2280 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2281
2282 DEFAULT_wxUSE_CONSTRAINTS=no
2283 DEFAULT_wxUSE_IPC=no
2284 DEFAULT_wxUSE_HELP=no
2285 DEFAULT_wxUSE_MS_HTML_HELP=no
2286 DEFAULT_wxUSE_WXHTML_HELP=no
2287 DEFAULT_wxUSE_TREELAYOUT=no
2288 DEFAULT_wxUSE_METAFILE=no
2289 DEFAULT_wxUSE_MIMETYPE=no
2290 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2291 DEFAULT_wxUSE_PROTOCOL=no
2292 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2293 DEFAULT_wxUSE_PROTOCOL_FTP=no
2294 DEFAULT_wxUSE_PROTOCOL_FILE=no
2295 DEFAULT_wxUSE_URL=no
2296 DEFAULT_wxUSE_VARIANT=no
2297
2298 DEFAULT_wxUSE_ABOUTDLG=no
2299 DEFAULT_wxUSE_COMMONDLGS=no
2300 DEFAULT_wxUSE_CHOICEDLG=no
2301 DEFAULT_wxUSE_COLOURDLG=no
2302 DEFAULT_wxUSE_DIRDLG=no
2303 DEFAULT_wxUSE_FILEDLG=no
2304 DEFAULT_wxUSE_FINDREPLDLG=no
2305 DEFAULT_wxUSE_FONTDLG=no
2306 DEFAULT_wxUSE_MSGDLG=no
2307 DEFAULT_wxUSE_NUMBERDLG=no
2308 DEFAULT_wxUSE_TEXTDLG=no
2309 DEFAULT_wxUSE_SPLASH=no
2310 DEFAULT_wxUSE_STARTUP_TIPS=no
2311 DEFAULT_wxUSE_PROGRESSDLG=no
2312 DEFAULT_wxUSE_WIZARDDLG=no
2313
2314 DEFAULT_wxUSE_MENUS=no
2315 DEFAULT_wxUSE_MINIFRAME=no
2316 DEFAULT_wxUSE_HTML=no
2317 DEFAULT_wxUSE_RICHTEXT=no
2318 DEFAULT_wxUSE_XRC=no
2319 DEFAULT_wxUSE_AUI=no
2320 DEFAULT_wxUSE_STC=no
2321 DEFAULT_wxUSE_WEBKIT=no
2322 DEFAULT_wxUSE_FILESYSTEM=no
2323 DEFAULT_wxUSE_FS_INET=no
2324 DEFAULT_wxUSE_FS_ZIP=no
2325 DEFAULT_wxUSE_FS_ARCHIVE=no
2326 DEFAULT_wxUSE_BUSYINFO=no
2327 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2328 DEFAULT_wxUSE_ZIPSTREAM=no
2329 DEFAULT_wxUSE_TARSTREAM=no
2330 DEFAULT_wxUSE_VALIDATORS=no
2331
2332 DEFAULT_wxUSE_ACCEL=no
2333 DEFAULT_wxUSE_ANIMATIONCTRL=no
2334 DEFAULT_wxUSE_BUTTON=no
2335 DEFAULT_wxUSE_BMPBUTTON=no
2336 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2337 DEFAULT_wxUSE_CALCTRL=no
2338 DEFAULT_wxUSE_CARET=no
2339 DEFAULT_wxUSE_CHECKBOX=no
2340 DEFAULT_wxUSE_CHECKLST=no
2341 DEFAULT_wxUSE_CHOICE=no
2342 DEFAULT_wxUSE_CHOICEBOOK=no
2343 DEFAULT_wxUSE_COLLPANE=no
2344 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2345 DEFAULT_wxUSE_COMBOBOX=no
2346 DEFAULT_wxUSE_COMBOCTRL=no
2347 DEFAULT_wxUSE_DATEPICKCTRL=no
2348 DEFAULT_wxUSE_DISPLAY=no
2349 DEFAULT_wxUSE_DETECT_SM=no
2350 DEFAULT_wxUSE_DIRPICKERCTRL=no
2351 DEFAULT_wxUSE_EDITABLELISTBOX=no
2352 DEFAULT_wxUSE_FILEPICKERCTRL=no
2353 DEFAULT_wxUSE_FONTPICKERCTRL=no
2354 DEFAULT_wxUSE_GAUGE=no
2355 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2356 DEFAULT_wxUSE_GRID=no
2357 DEFAULT_wxUSE_HYPERLINKCTRL=no
2358 DEFAULT_wxUSE_DATAVIEWCTRL=no
2359 DEFAULT_wxUSE_IMAGLIST=no
2360 DEFAULT_wxUSE_LISTBOOK=no
2361 DEFAULT_wxUSE_LISTBOX=no
2362 DEFAULT_wxUSE_LISTCTRL=no
2363 DEFAULT_wxUSE_NOTEBOOK=no
2364 DEFAULT_wxUSE_ODCOMBOBOX=no
2365 DEFAULT_wxUSE_RADIOBOX=no
2366 DEFAULT_wxUSE_RADIOBTN=no
2367 DEFAULT_wxUSE_SASH=no
2368 DEFAULT_wxUSE_SCROLLBAR=no
2369 DEFAULT_wxUSE_SEARCHCTRL=no
2370 DEFAULT_wxUSE_SLIDER=no
2371 DEFAULT_wxUSE_SPINBTN=no
2372 DEFAULT_wxUSE_SPINCTRL=no
2373 DEFAULT_wxUSE_SPLITTER=no
2374 DEFAULT_wxUSE_STATBMP=no
2375 DEFAULT_wxUSE_STATBOX=no
2376 DEFAULT_wxUSE_STATLINE=no
2377 DEFAULT_wxUSE_STATTEXT=no
2378 DEFAULT_wxUSE_STATUSBAR=yes
2379 DEFAULT_wxUSE_TAB_DIALOG=no
2380 DEFAULT_wxUSE_TEXTCTRL=no
2381 DEFAULT_wxUSE_TOGGLEBTN=no
2382 DEFAULT_wxUSE_TOOLBAR=no
2383 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2384 DEFAULT_wxUSE_TREEBOOK=no
2385 DEFAULT_wxUSE_TOOLBOOK=no
2386 DEFAULT_wxUSE_TREECTRL=no
2387 DEFAULT_wxUSE_POPUPWIN=no
2388 DEFAULT_wxUSE_TIPWINDOW=no
2389
2390 DEFAULT_wxUSE_UNICODE=no
2391 DEFAULT_wxUSE_UNICODE_MSLU=no
2392 DEFAULT_wxUSE_UNICODE_UTF8=no
2393 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2394 DEFAULT_wxUSE_WCSRTOMBS=no
2395
2396 DEFAULT_wxUSE_PALETTE=no
2397 DEFAULT_wxUSE_IMAGE=no
2398 DEFAULT_wxUSE_GIF=no
2399 DEFAULT_wxUSE_PCX=no
2400 DEFAULT_wxUSE_TGA=no
2401 DEFAULT_wxUSE_PNM=no
2402 DEFAULT_wxUSE_IFF=no
2403 DEFAULT_wxUSE_XPM=no
2404 DEFAULT_wxUSE_ICO_CUR=no
2405 DEFAULT_wxUSE_ACCESSIBILITY=no
2406
2407 DEFAULT_wxUSE_MONOLITHIC=no
2408 DEFAULT_wxUSE_PLUGINS=no
2409 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2410 else
2411 DEFAULT_wxUSE_UNIVERSAL=no
2412 DEFAULT_wxUSE_STL=no
2413 DEFAULT_wxUSE_EXTENDED_RTTI=no
2414
2415 DEFAULT_wxUSE_NANOX=no
2416
2417 DEFAULT_wxUSE_THREADS=yes
2418
2419 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2420 DEFAULT_wxUSE_OPTIMISE=yes
2421 DEFAULT_wxUSE_PROFILE=no
2422 DEFAULT_wxUSE_NO_DEPS=no
2423 DEFAULT_wxUSE_VARARG_MACROS=yes
2424 DEFAULT_wxUSE_NO_RTTI=no
2425 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2426 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2427 DEFAULT_wxUSE_RPATH=yes
2428 DEFAULT_wxUSE_PERMISSIVE=no
2429 DEFAULT_wxUSE_DEBUG_FLAG=no
2430 DEFAULT_wxUSE_DEBUG_INFO=no
2431 DEFAULT_wxUSE_DEBUG_GDB=no
2432 DEFAULT_wxUSE_MEM_TRACING=no
2433 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2434 DEFAULT_wxUSE_DMALLOC=no
2435 DEFAULT_wxUSE_APPLE_IEEE=yes
2436
2437 DEFAULT_wxUSE_EXCEPTIONS=yes
2438 DEFAULT_wxUSE_LOG=yes
2439 DEFAULT_wxUSE_LOGWINDOW=yes
2440 DEFAULT_wxUSE_LOGGUI=yes
2441 DEFAULT_wxUSE_LOGDIALOG=yes
2442
2443 DEFAULT_wxUSE_GUI=yes
2444
2445 DEFAULT_wxUSE_REGEX=yes
2446 DEFAULT_wxUSE_XML=yes
2447 DEFAULT_wxUSE_EXPAT=yes
2448 DEFAULT_wxUSE_ZLIB=yes
2449 DEFAULT_wxUSE_LIBPNG=yes
2450 DEFAULT_wxUSE_LIBJPEG=yes
2451 DEFAULT_wxUSE_LIBTIFF=yes
2452 DEFAULT_wxUSE_LIBXPM=yes
2453 DEFAULT_wxUSE_LIBMSPACK=yes
2454 DEFAULT_wxUSE_LIBSDL=no
2455 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
2456 DEFAULT_wxUSE_LIBGNOMEVFS=no
2457 DEFAULT_wxUSE_LIBHILDON=no
2458 DEFAULT_wxUSE_ODBC=no
2459 DEFAULT_wxUSE_OPENGL=no
2460
2461 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2462 DEFAULT_wxUSE_STACKWALKER=yes
2463 DEFAULT_wxUSE_DEBUGREPORT=yes
2464 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2465 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2466 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2467 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2468 DEFAULT_wxUSE_DATETIME=yes
2469 DEFAULT_wxUSE_TIMER=yes
2470 DEFAULT_wxUSE_STOPWATCH=yes
2471 DEFAULT_wxUSE_FILE=yes
2472 DEFAULT_wxUSE_FFILE=yes
2473 DEFAULT_wxUSE_STDPATHS=yes
2474 DEFAULT_wxUSE_TEXTBUFFER=yes
2475 DEFAULT_wxUSE_TEXTFILE=yes
2476 DEFAULT_wxUSE_SOUND=yes
2477 DEFAULT_wxUSE_MEDIACTRL=no
2478 DEFAULT_wxUSE_GSTREAMER8=no
2479 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2480 DEFAULT_wxUSE_INTL=yes
2481 DEFAULT_wxUSE_CONFIG=yes
2482 DEFAULT_wxUSE_FONTMAP=yes
2483 DEFAULT_wxUSE_STREAMS=yes
2484 DEFAULT_wxUSE_SOCKETS=yes
2485 DEFAULT_wxUSE_OLE=yes
2486 DEFAULT_wxUSE_DATAOBJ=yes
2487 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2488 DEFAULT_wxUSE_JOYSTICK=yes
2489 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2490 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2491 DEFAULT_wxUSE_LONGLONG=yes
2492 DEFAULT_wxUSE_GEOMETRY=yes
2493
2494 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2495 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2496 DEFAULT_wxUSE_POSTSCRIPT=yes
2497
2498 DEFAULT_wxUSE_CLIPBOARD=yes
2499 DEFAULT_wxUSE_TOOLTIPS=yes
2500 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2501 DEFAULT_wxUSE_DRAGIMAGE=yes
2502 DEFAULT_wxUSE_SPLINES=yes
2503 DEFAULT_wxUSE_MOUSEWHEEL=yes
2504
2505 DEFAULT_wxUSE_MDI=yes
2506 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2507 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2508 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2509
2510 DEFAULT_wxUSE_CONSTRAINTS=yes
2511 DEFAULT_wxUSE_IPC=yes
2512 DEFAULT_wxUSE_HELP=yes
2513 DEFAULT_wxUSE_MS_HTML_HELP=yes
2514 DEFAULT_wxUSE_WXHTML_HELP=yes
2515 DEFAULT_wxUSE_TREELAYOUT=yes
2516 DEFAULT_wxUSE_METAFILE=yes
2517 DEFAULT_wxUSE_MIMETYPE=yes
2518 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2519 DEFAULT_wxUSE_PROTOCOL=yes
2520 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2521 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2522 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2523 DEFAULT_wxUSE_URL=yes
2524 DEFAULT_wxUSE_VARIANT=yes
2525
2526 DEFAULT_wxUSE_ABOUTDLG=yes
2527 DEFAULT_wxUSE_COMMONDLGS=yes
2528 DEFAULT_wxUSE_CHOICEDLG=yes
2529 DEFAULT_wxUSE_COLOURDLG=yes
2530 DEFAULT_wxUSE_DIRDLG=yes
2531 DEFAULT_wxUSE_FILEDLG=yes
2532 DEFAULT_wxUSE_FINDREPLDLG=yes
2533 DEFAULT_wxUSE_FONTDLG=yes
2534 DEFAULT_wxUSE_MSGDLG=yes
2535 DEFAULT_wxUSE_NUMBERDLG=yes
2536 DEFAULT_wxUSE_TEXTDLG=yes
2537 DEFAULT_wxUSE_SPLASH=yes
2538 DEFAULT_wxUSE_STARTUP_TIPS=yes
2539 DEFAULT_wxUSE_PROGRESSDLG=yes
2540 DEFAULT_wxUSE_WIZARDDLG=yes
2541
2542 DEFAULT_wxUSE_MENUS=yes
2543 DEFAULT_wxUSE_MINIFRAME=yes
2544 DEFAULT_wxUSE_HTML=yes
2545 DEFAULT_wxUSE_RICHTEXT=yes
2546 DEFAULT_wxUSE_XRC=yes
2547 DEFAULT_wxUSE_AUI=yes
2548 DEFAULT_wxUSE_STC=yes
2549 DEFAULT_wxUSE_WEBKIT=yes
2550 DEFAULT_wxUSE_FILESYSTEM=yes
2551 DEFAULT_wxUSE_FS_INET=yes
2552 DEFAULT_wxUSE_FS_ZIP=yes
2553 DEFAULT_wxUSE_FS_ARCHIVE=yes
2554 DEFAULT_wxUSE_BUSYINFO=yes
2555 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2556 DEFAULT_wxUSE_ZIPSTREAM=yes
2557 DEFAULT_wxUSE_TARSTREAM=yes
2558 DEFAULT_wxUSE_VALIDATORS=yes
2559
2560 DEFAULT_wxUSE_ACCEL=yes
2561 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2562 DEFAULT_wxUSE_BUTTON=yes
2563 DEFAULT_wxUSE_BMPBUTTON=yes
2564 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2565 DEFAULT_wxUSE_CALCTRL=yes
2566 DEFAULT_wxUSE_CARET=yes
2567 DEFAULT_wxUSE_CHECKBOX=yes
2568 DEFAULT_wxUSE_CHECKLST=yes
2569 DEFAULT_wxUSE_CHOICE=yes
2570 DEFAULT_wxUSE_CHOICEBOOK=yes
2571 DEFAULT_wxUSE_COLLPANE=yes
2572 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2573 DEFAULT_wxUSE_COMBOBOX=yes
2574 DEFAULT_wxUSE_COMBOCTRL=yes
2575 DEFAULT_wxUSE_DATEPICKCTRL=yes
2576 DEFAULT_wxUSE_DISPLAY=yes
2577 DEFAULT_wxUSE_DETECT_SM=yes
2578 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2579 DEFAULT_wxUSE_EDITABLELISTBOX=yes
2580 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2581 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2582 DEFAULT_wxUSE_GAUGE=yes
2583 DEFAULT_wxUSE_GRID=yes
2584 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2585 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2586 DEFAULT_wxUSE_DATAVIEWCTRL=no
2587 DEFAULT_wxUSE_IMAGLIST=yes
2588 DEFAULT_wxUSE_LISTBOOK=yes
2589 DEFAULT_wxUSE_LISTBOX=yes
2590 DEFAULT_wxUSE_LISTCTRL=yes
2591 DEFAULT_wxUSE_NOTEBOOK=yes
2592 DEFAULT_wxUSE_ODCOMBOBOX=yes
2593 DEFAULT_wxUSE_RADIOBOX=yes
2594 DEFAULT_wxUSE_RADIOBTN=yes
2595 DEFAULT_wxUSE_SASH=yes
2596 DEFAULT_wxUSE_SCROLLBAR=yes
2597 DEFAULT_wxUSE_SEARCHCTRL=yes
2598 DEFAULT_wxUSE_SLIDER=yes
2599 DEFAULT_wxUSE_SPINBTN=yes
2600 DEFAULT_wxUSE_SPINCTRL=yes
2601 DEFAULT_wxUSE_SPLITTER=yes
2602 DEFAULT_wxUSE_STATBMP=yes
2603 DEFAULT_wxUSE_STATBOX=yes
2604 DEFAULT_wxUSE_STATLINE=yes
2605 DEFAULT_wxUSE_STATTEXT=yes
2606 DEFAULT_wxUSE_STATUSBAR=yes
2607 DEFAULT_wxUSE_TAB_DIALOG=no
2608 DEFAULT_wxUSE_TEXTCTRL=yes
2609 DEFAULT_wxUSE_TOGGLEBTN=yes
2610 DEFAULT_wxUSE_TOOLBAR=yes
2611 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2612 DEFAULT_wxUSE_TREEBOOK=yes
2613 DEFAULT_wxUSE_TOOLBOOK=yes
2614 DEFAULT_wxUSE_TREECTRL=yes
2615 DEFAULT_wxUSE_POPUPWIN=yes
2616 DEFAULT_wxUSE_TIPWINDOW=yes
2617
2618 DEFAULT_wxUSE_UNICODE=no
2619 DEFAULT_wxUSE_UNICODE_MSLU=yes
2620 DEFAULT_wxUSE_UNICODE_UTF8=no
2621 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2622 DEFAULT_wxUSE_WCSRTOMBS=no
2623
2624 DEFAULT_wxUSE_PALETTE=yes
2625 DEFAULT_wxUSE_IMAGE=yes
2626 DEFAULT_wxUSE_GIF=yes
2627 DEFAULT_wxUSE_PCX=yes
2628 DEFAULT_wxUSE_TGA=yes
2629 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2630 DEFAULT_wxUSE_XPM=yes
2631 DEFAULT_wxUSE_ICO_CUR=yes
2632 DEFAULT_wxUSE_ACCESSIBILITY=no
2633
2634 DEFAULT_wxUSE_MONOLITHIC=no
2635 DEFAULT_wxUSE_PLUGINS=no
2636 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2637
2638 DEFAULT_wxUSE_GTK2=yes
2639 fi
2640
2641
2642
2643
2644 for toolkit in `echo $ALL_TOOLKITS`; do
2645 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2646 if test "x$LINE" != "x" ; then
2647 has_toolkit_in_cache=1
2648 eval "DEFAULT_$LINE"
2649 eval "CACHE_$toolkit=1"
2650
2651 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2652 if test "x$LINE" != "x" ; then
2653 eval "DEFAULT_$LINE"
2654 fi
2655 fi
2656 done
2657
2658
2659
2660 enablestring=
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2663 no_cache=0
2664 # Check whether --enable-gui or --disable-gui was given.
2665 if test "${enable_gui+set}" = set; then
2666 enableval="$enable_gui"
2667
2668 if test "$enableval" = yes; then
2669 ac_cv_use_gui='wxUSE_GUI=yes'
2670 else
2671 ac_cv_use_gui='wxUSE_GUI=no'
2672 fi
2673
2674 else
2675
2676 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x ; then
2678 eval "DEFAULT_$LINE"
2679 else
2680 no_cache=1
2681 fi
2682
2683 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2684
2685 fi;
2686
2687 eval "$ac_cv_use_gui"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2690 fi
2691
2692 if test "$wxUSE_GUI" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2698 fi
2699
2700
2701 enablestring=
2702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2703 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2704 no_cache=0
2705 # Check whether --enable-monolithic or --disable-monolithic was given.
2706 if test "${enable_monolithic+set}" = set; then
2707 enableval="$enable_monolithic"
2708
2709 if test "$enableval" = yes; then
2710 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2711 else
2712 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2713 fi
2714
2715 else
2716
2717 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2718 if test "x$LINE" != x ; then
2719 eval "DEFAULT_$LINE"
2720 else
2721 no_cache=1
2722 fi
2723
2724 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2725
2726 fi;
2727
2728 eval "$ac_cv_use_monolithic"
2729 if test "$no_cache" != 1; then
2730 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2731 fi
2732
2733 if test "$wxUSE_MONOLITHIC" = yes; then
2734 echo "$as_me:$LINENO: result: yes" >&5
2735 echo "${ECHO_T}yes" >&6
2736 else
2737 echo "$as_me:$LINENO: result: no" >&5
2738 echo "${ECHO_T}no" >&6
2739 fi
2740
2741
2742 enablestring=
2743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2744 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2745 no_cache=0
2746 # Check whether --enable-plugins or --disable-plugins was given.
2747 if test "${enable_plugins+set}" = set; then
2748 enableval="$enable_plugins"
2749
2750 if test "$enableval" = yes; then
2751 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2752 else
2753 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2754 fi
2755
2756 else
2757
2758 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2759 if test "x$LINE" != x ; then
2760 eval "DEFAULT_$LINE"
2761 else
2762 no_cache=1
2763 fi
2764
2765 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2766
2767 fi;
2768
2769 eval "$ac_cv_use_plugins"
2770 if test "$no_cache" != 1; then
2771 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2772 fi
2773
2774 if test "$wxUSE_PLUGINS" = yes; then
2775 echo "$as_me:$LINENO: result: yes" >&5
2776 echo "${ECHO_T}yes" >&6
2777 else
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2780 fi
2781
2782
2783 withstring=without
2784 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2785 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2786 no_cache=0
2787
2788 # Check whether --with-subdirs or --without-subdirs was given.
2789 if test "${with_subdirs+set}" = set; then
2790 withval="$with_subdirs"
2791
2792 if test "$withval" = yes; then
2793 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2794 else
2795 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2796 fi
2797
2798 else
2799
2800 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2801 if test "x$LINE" != x ; then
2802 eval "DEFAULT_$LINE"
2803 else
2804 no_cache=1
2805 fi
2806
2807 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2808
2809 fi;
2810
2811 eval "$ac_cv_use_subdirs"
2812 if test "$no_cache" != 1; then
2813 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2814 fi
2815
2816 if test "$wxWITH_SUBDIRS" = yes; then
2817 echo "$as_me:$LINENO: result: yes" >&5
2818 echo "${ECHO_T}yes" >&6
2819 else
2820 echo "$as_me:$LINENO: result: no" >&5
2821 echo "${ECHO_T}no" >&6
2822 fi
2823
2824
2825 if test "$wxUSE_GUI" = "yes"; then
2826
2827
2828 enablestring=
2829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2830 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2831 no_cache=0
2832 # Check whether --enable-universal or --disable-universal was given.
2833 if test "${enable_universal+set}" = set; then
2834 enableval="$enable_universal"
2835
2836 if test "$enableval" = yes; then
2837 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2838 else
2839 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2840 fi
2841
2842 else
2843
2844 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2845 if test "x$LINE" != x ; then
2846 eval "DEFAULT_$LINE"
2847 else
2848 no_cache=1
2849 fi
2850
2851 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2852
2853 fi;
2854
2855 eval "$ac_cv_use_universal"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2858 fi
2859
2860 if test "$wxUSE_UNIVERSAL" = yes; then
2861 echo "$as_me:$LINENO: result: yes" >&5
2862 echo "${ECHO_T}yes" >&6
2863 else
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2866 fi
2867
2868
2869 # Check whether --with-gtk or --without-gtk was given.
2870 if test "${with_gtk+set}" = set; then
2871 withval="$with_gtk"
2872 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2873 fi;
2874
2875 # Check whether --with-motif or --without-motif was given.
2876 if test "${with_motif+set}" = set; then
2877 withval="$with_motif"
2878 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2879 fi;
2880
2881 # Check whether --with-mac or --without-mac was given.
2882 if test "${with_mac+set}" = set; then
2883 withval="$with_mac"
2884 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2885 fi;
2886
2887 # Check whether --with-cocoa or --without-cocoa was given.
2888 if test "${with_cocoa+set}" = set; then
2889 withval="$with_cocoa"
2890 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2891 fi;
2892
2893 # Check whether --with-wine or --without-wine was given.
2894 if test "${with_wine+set}" = set; then
2895 withval="$with_wine"
2896 wxUSE_WINE="$withval" CACHE_WINE=1
2897 fi;
2898
2899 # Check whether --with-msw or --without-msw was given.
2900 if test "${with_msw+set}" = set; then
2901 withval="$with_msw"
2902 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2903 fi;
2904
2905 # Check whether --with-pm or --without-pm was given.
2906 if test "${with_pm+set}" = set; then
2907 withval="$with_pm"
2908 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2909 fi;
2910
2911 # Check whether --with-mgl or --without-mgl was given.
2912 if test "${with_mgl+set}" = set; then
2913 withval="$with_mgl"
2914 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2915 fi;
2916
2917 # Check whether --with-directfb or --without-directfb was given.
2918 if test "${with_directfb+set}" = set; then
2919 withval="$with_directfb"
2920 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2921 fi;
2922
2923 # Check whether --with-microwin or --without-microwin was given.
2924 if test "${with_microwin+set}" = set; then
2925 withval="$with_microwin"
2926 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2927 fi;
2928
2929 # Check whether --with-x11 or --without-x11 was given.
2930 if test "${with_x11+set}" = set; then
2931 withval="$with_x11"
2932 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2933 fi;
2934
2935 enablestring=
2936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2937 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2938 no_cache=0
2939 # Check whether --enable-nanox or --disable-nanox was given.
2940 if test "${enable_nanox+set}" = set; then
2941 enableval="$enable_nanox"
2942
2943 if test "$enableval" = yes; then
2944 ac_cv_use_nanox='wxUSE_NANOX=yes'
2945 else
2946 ac_cv_use_nanox='wxUSE_NANOX=no'
2947 fi
2948
2949 else
2950
2951 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2952 if test "x$LINE" != x ; then
2953 eval "DEFAULT_$LINE"
2954 else
2955 no_cache=1
2956 fi
2957
2958 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2959
2960 fi;
2961
2962 eval "$ac_cv_use_nanox"
2963 if test "$no_cache" != 1; then
2964 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2965 fi
2966
2967 if test "$wxUSE_NANOX" = yes; then
2968 echo "$as_me:$LINENO: result: yes" >&5
2969 echo "${ECHO_T}yes" >&6
2970 else
2971 echo "$as_me:$LINENO: result: no" >&5
2972 echo "${ECHO_T}no" >&6
2973 fi
2974
2975
2976 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2977 if test "${enable_gtk2+set}" = set; then
2978 enableval="$enable_gtk2"
2979 wxUSE_GTK2="$enableval"
2980 fi;
2981
2982 enablestring=
2983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2984 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2985 no_cache=0
2986 # Check whether --enable-gpe or --disable-gpe was given.
2987 if test "${enable_gpe+set}" = set; then
2988 enableval="$enable_gpe"
2989
2990 if test "$enableval" = yes; then
2991 ac_cv_use_gpe='wxUSE_GPE=yes'
2992 else
2993 ac_cv_use_gpe='wxUSE_GPE=no'
2994 fi
2995
2996 else
2997
2998 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2999 if test "x$LINE" != x ; then
3000 eval "DEFAULT_$LINE"
3001 else
3002 no_cache=1
3003 fi
3004
3005 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3006
3007 fi;
3008
3009 eval "$ac_cv_use_gpe"
3010 if test "$no_cache" != 1; then
3011 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3012 fi
3013
3014 if test "$wxUSE_GPE" = yes; then
3015 echo "$as_me:$LINENO: result: yes" >&5
3016 echo "${ECHO_T}yes" >&6
3017 else
3018 echo "$as_me:$LINENO: result: no" >&5
3019 echo "${ECHO_T}no" >&6
3020 fi
3021
3022
3023
3024 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3025 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3026 no_cache=0
3027
3028 # Check whether --with-libpng or --without-libpng was given.
3029 if test "${with_libpng+set}" = set; then
3030 withval="$with_libpng"
3031
3032 if test "$withval" = yes; then
3033 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3034 elif test "$withval" = no; then
3035 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3036 elif test "$withval" = sys; then
3037 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3038 elif test "$withval" = builtin; then
3039 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3040 else
3041 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3042 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3043 { (exit 1); exit 1; }; }
3044 fi
3045
3046 else
3047
3048 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3049 if test "x$LINE" != x ; then
3050 eval "DEFAULT_$LINE"
3051 else
3052 no_cache=1
3053 fi
3054
3055 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3056
3057 fi;
3058
3059 eval "$ac_cv_use_libpng"
3060 if test "$no_cache" != 1; then
3061 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3062 fi
3063
3064 if test "$wxUSE_LIBPNG" = yes; then
3065 echo "$as_me:$LINENO: result: yes" >&5
3066 echo "${ECHO_T}yes" >&6
3067 elif test "$wxUSE_LIBPNG" = no; then
3068 echo "$as_me:$LINENO: result: no" >&5
3069 echo "${ECHO_T}no" >&6
3070 elif test "$wxUSE_LIBPNG" = sys; then
3071 echo "$as_me:$LINENO: result: system version" >&5
3072 echo "${ECHO_T}system version" >&6
3073 elif test "$wxUSE_LIBPNG" = builtin; then
3074 echo "$as_me:$LINENO: result: builtin version" >&5
3075 echo "${ECHO_T}builtin version" >&6
3076 else
3077 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3078 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3079 { (exit 1); exit 1; }; }
3080 fi
3081
3082
3083 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3084 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3085 no_cache=0
3086
3087 # Check whether --with-libjpeg or --without-libjpeg was given.
3088 if test "${with_libjpeg+set}" = set; then
3089 withval="$with_libjpeg"
3090
3091 if test "$withval" = yes; then
3092 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3093 elif test "$withval" = no; then
3094 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3095 elif test "$withval" = sys; then
3096 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3097 elif test "$withval" = builtin; then
3098 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3099 else
3100 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3101 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3102 { (exit 1); exit 1; }; }
3103 fi
3104
3105 else
3106
3107 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x ; then
3109 eval "DEFAULT_$LINE"
3110 else
3111 no_cache=1
3112 fi
3113
3114 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3115
3116 fi;
3117
3118 eval "$ac_cv_use_libjpeg"
3119 if test "$no_cache" != 1; then
3120 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3121 fi
3122
3123 if test "$wxUSE_LIBJPEG" = yes; then
3124 echo "$as_me:$LINENO: result: yes" >&5
3125 echo "${ECHO_T}yes" >&6
3126 elif test "$wxUSE_LIBJPEG" = no; then
3127 echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6
3129 elif test "$wxUSE_LIBJPEG" = sys; then
3130 echo "$as_me:$LINENO: result: system version" >&5
3131 echo "${ECHO_T}system version" >&6
3132 elif test "$wxUSE_LIBJPEG" = builtin; then
3133 echo "$as_me:$LINENO: result: builtin version" >&5
3134 echo "${ECHO_T}builtin version" >&6
3135 else
3136 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3137 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3138 { (exit 1); exit 1; }; }
3139 fi
3140
3141
3142 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3143 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3144 no_cache=0
3145
3146 # Check whether --with-libtiff or --without-libtiff was given.
3147 if test "${with_libtiff+set}" = set; then
3148 withval="$with_libtiff"
3149
3150 if test "$withval" = yes; then
3151 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3152 elif test "$withval" = no; then
3153 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3154 elif test "$withval" = sys; then
3155 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3156 elif test "$withval" = builtin; then
3157 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3158 else
3159 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3160 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3161 { (exit 1); exit 1; }; }
3162 fi
3163
3164 else
3165
3166 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3167 if test "x$LINE" != x ; then
3168 eval "DEFAULT_$LINE"
3169 else
3170 no_cache=1
3171 fi
3172
3173 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3174
3175 fi;
3176
3177 eval "$ac_cv_use_libtiff"
3178 if test "$no_cache" != 1; then
3179 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3180 fi
3181
3182 if test "$wxUSE_LIBTIFF" = yes; then
3183 echo "$as_me:$LINENO: result: yes" >&5
3184 echo "${ECHO_T}yes" >&6
3185 elif test "$wxUSE_LIBTIFF" = no; then
3186 echo "$as_me:$LINENO: result: no" >&5
3187 echo "${ECHO_T}no" >&6
3188 elif test "$wxUSE_LIBTIFF" = sys; then
3189 echo "$as_me:$LINENO: result: system version" >&5
3190 echo "${ECHO_T}system version" >&6
3191 elif test "$wxUSE_LIBTIFF" = builtin; then
3192 echo "$as_me:$LINENO: result: builtin version" >&5
3193 echo "${ECHO_T}builtin version" >&6
3194 else
3195 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3196 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3197 { (exit 1); exit 1; }; }
3198 fi
3199
3200
3201 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3202 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3203 no_cache=0
3204
3205 # Check whether --with-libxpm or --without-libxpm was given.
3206 if test "${with_libxpm+set}" = set; then
3207 withval="$with_libxpm"
3208
3209 if test "$withval" = yes; then
3210 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3211 elif test "$withval" = no; then
3212 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3213 elif test "$withval" = sys; then
3214 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3215 elif test "$withval" = builtin; then
3216 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3217 else
3218 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3219 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3220 { (exit 1); exit 1; }; }
3221 fi
3222
3223 else
3224
3225 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3226 if test "x$LINE" != x ; then
3227 eval "DEFAULT_$LINE"
3228 else
3229 no_cache=1
3230 fi
3231
3232 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3233
3234 fi;
3235
3236 eval "$ac_cv_use_libxpm"
3237 if test "$no_cache" != 1; then
3238 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3239 fi
3240
3241 if test "$wxUSE_LIBXPM" = yes; then
3242 echo "$as_me:$LINENO: result: yes" >&5
3243 echo "${ECHO_T}yes" >&6
3244 elif test "$wxUSE_LIBXPM" = no; then
3245 echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6
3247 elif test "$wxUSE_LIBXPM" = sys; then
3248 echo "$as_me:$LINENO: result: system version" >&5
3249 echo "${ECHO_T}system version" >&6
3250 elif test "$wxUSE_LIBXPM" = builtin; then
3251 echo "$as_me:$LINENO: result: builtin version" >&5
3252 echo "${ECHO_T}builtin version" >&6
3253 else
3254 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3255 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3256 { (exit 1); exit 1; }; }
3257 fi
3258
3259
3260 withstring=
3261 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3262 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3263 no_cache=0
3264
3265 # Check whether --with-libmspack or --without-libmspack was given.
3266 if test "${with_libmspack+set}" = set; then
3267 withval="$with_libmspack"
3268
3269 if test "$withval" = yes; then
3270 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3271 else
3272 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3273 fi
3274
3275 else
3276
3277 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3278 if test "x$LINE" != x ; then
3279 eval "DEFAULT_$LINE"
3280 else
3281 no_cache=1
3282 fi
3283
3284 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3285
3286 fi;
3287
3288 eval "$ac_cv_use_libmspack"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3291 fi
3292
3293 if test "$wxUSE_LIBMSPACK" = yes; then
3294 echo "$as_me:$LINENO: result: yes" >&5
3295 echo "${ECHO_T}yes" >&6
3296 else
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3299 fi
3300
3301
3302 withstring=
3303 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3304 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3305 no_cache=0
3306
3307 # Check whether --with-sdl or --without-sdl was given.
3308 if test "${with_sdl+set}" = set; then
3309 withval="$with_sdl"
3310
3311 if test "$withval" = yes; then
3312 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3313 else
3314 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3315 fi
3316
3317 else
3318
3319 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3320 if test "x$LINE" != x ; then
3321 eval "DEFAULT_$LINE"
3322 else
3323 no_cache=1
3324 fi
3325
3326 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3327
3328 fi;
3329
3330 eval "$ac_cv_use_sdl"
3331 if test "$no_cache" != 1; then
3332 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3333 fi
3334
3335 if test "$wxUSE_LIBSDL" = yes; then
3336 echo "$as_me:$LINENO: result: yes" >&5
3337 echo "${ECHO_T}yes" >&6
3338 else
3339 echo "$as_me:$LINENO: result: no" >&5
3340 echo "${ECHO_T}no" >&6
3341 fi
3342
3343
3344 withstring=
3345 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3346 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3347 no_cache=0
3348
3349 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3350 if test "${with_gnomeprint+set}" = set; then
3351 withval="$with_gnomeprint"
3352
3353 if test "$withval" = yes; then
3354 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3355 else
3356 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3357 fi
3358
3359 else
3360
3361 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x ; then
3363 eval "DEFAULT_$LINE"
3364 else
3365 no_cache=1
3366 fi
3367
3368 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3369
3370 fi;
3371
3372 eval "$ac_cv_use_gnomeprint"
3373 if test "$no_cache" != 1; then
3374 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3375 fi
3376
3377 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3378 echo "$as_me:$LINENO: result: yes" >&5
3379 echo "${ECHO_T}yes" >&6
3380 else
3381 echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6
3383 fi
3384
3385
3386 withstring=
3387 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3388 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3389 no_cache=0
3390
3391 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3392 if test "${with_gnomevfs+set}" = set; then
3393 withval="$with_gnomevfs"
3394
3395 if test "$withval" = yes; then
3396 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3397 else
3398 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3399 fi
3400
3401 else
3402
3403 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x ; then
3405 eval "DEFAULT_$LINE"
3406 else
3407 no_cache=1
3408 fi
3409
3410 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3411
3412 fi;
3413
3414 eval "$ac_cv_use_gnomevfs"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3417 fi
3418
3419 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3422 else
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3425 fi
3426
3427
3428 withstring=
3429 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3430 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3431 no_cache=0
3432
3433 # Check whether --with-hildon or --without-hildon was given.
3434 if test "${with_hildon+set}" = set; then
3435 withval="$with_hildon"
3436
3437 if test "$withval" = yes; then
3438 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3439 else
3440 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3441 fi
3442
3443 else
3444
3445 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x ; then
3447 eval "DEFAULT_$LINE"
3448 else
3449 no_cache=1
3450 fi
3451
3452 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3453
3454 fi;
3455
3456 eval "$ac_cv_use_hildon"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3459 fi
3460
3461 if test "$wxUSE_LIBHILDON" = yes; then
3462 echo "$as_me:$LINENO: result: yes" >&5
3463 echo "${ECHO_T}yes" >&6
3464 else
3465 echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6
3467 fi
3468
3469
3470 withstring=
3471 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3472 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3473 no_cache=0
3474
3475 # Check whether --with-opengl or --without-opengl was given.
3476 if test "${with_opengl+set}" = set; then
3477 withval="$with_opengl"
3478
3479 if test "$withval" = yes; then
3480 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3481 else
3482 ac_cv_use_opengl='wxUSE_OPENGL=no'
3483 fi
3484
3485 else
3486
3487 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x ; then
3489 eval "DEFAULT_$LINE"
3490 else
3491 no_cache=1
3492 fi
3493
3494 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3495
3496 fi;
3497
3498 eval "$ac_cv_use_opengl"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3501 fi
3502
3503 if test "$wxUSE_OPENGL" = yes; then
3504 echo "$as_me:$LINENO: result: yes" >&5
3505 echo "${ECHO_T}yes" >&6
3506 else
3507 echo "$as_me:$LINENO: result: no" >&5
3508 echo "${ECHO_T}no" >&6
3509 fi
3510
3511
3512 if test "$wxUSE_UNIVERSAL" = "yes"; then
3513
3514 # Check whether --with-themes or --without-themes was given.
3515 if test "${with_themes+set}" = set; then
3516 withval="$with_themes"
3517 wxUNIV_THEMES="$withval"
3518 fi;
3519 fi
3520
3521 fi
3522
3523
3524 withstring=
3525 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3526 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3527 no_cache=0
3528
3529 # Check whether --with-dmalloc or --without-dmalloc was given.
3530 if test "${with_dmalloc+set}" = set; then
3531 withval="$with_dmalloc"
3532
3533 if test "$withval" = yes; then
3534 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3535 else
3536 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3537 fi
3538
3539 else
3540
3541 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x ; then
3543 eval "DEFAULT_$LINE"
3544 else
3545 no_cache=1
3546 fi
3547
3548 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3549
3550 fi;
3551
3552 eval "$ac_cv_use_dmalloc"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3555 fi
3556
3557 if test "$wxUSE_DMALLOC" = yes; then
3558 echo "$as_me:$LINENO: result: yes" >&5
3559 echo "${ECHO_T}yes" >&6
3560 else
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3563 fi
3564
3565
3566 echo "$as_me:$LINENO: checking for --with-regex" >&5
3567 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3568 no_cache=0
3569
3570 # Check whether --with-regex or --without-regex was given.
3571 if test "${with_regex+set}" = set; then
3572 withval="$with_regex"
3573
3574 if test "$withval" = yes; then
3575 ac_cv_use_regex='wxUSE_REGEX=yes'
3576 elif test "$withval" = no; then
3577 ac_cv_use_regex='wxUSE_REGEX=no'
3578 elif test "$withval" = sys; then
3579 ac_cv_use_regex='wxUSE_REGEX=sys'
3580 elif test "$withval" = builtin; then
3581 ac_cv_use_regex='wxUSE_REGEX=builtin'
3582 else
3583 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3584 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3585 { (exit 1); exit 1; }; }
3586 fi
3587
3588 else
3589
3590 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3591 if test "x$LINE" != x ; then
3592 eval "DEFAULT_$LINE"
3593 else
3594 no_cache=1
3595 fi
3596
3597 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3598
3599 fi;
3600
3601 eval "$ac_cv_use_regex"
3602 if test "$no_cache" != 1; then
3603 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3604 fi
3605
3606 if test "$wxUSE_REGEX" = yes; then
3607 echo "$as_me:$LINENO: result: yes" >&5
3608 echo "${ECHO_T}yes" >&6
3609 elif test "$wxUSE_REGEX" = no; then
3610 echo "$as_me:$LINENO: result: no" >&5
3611 echo "${ECHO_T}no" >&6
3612 elif test "$wxUSE_REGEX" = sys; then
3613 echo "$as_me:$LINENO: result: system version" >&5
3614 echo "${ECHO_T}system version" >&6
3615 elif test "$wxUSE_REGEX" = builtin; then
3616 echo "$as_me:$LINENO: result: builtin version" >&5
3617 echo "${ECHO_T}builtin version" >&6
3618 else
3619 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3620 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3621 { (exit 1); exit 1; }; }
3622 fi
3623
3624
3625 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3626 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3627 no_cache=0
3628
3629 # Check whether --with-zlib or --without-zlib was given.
3630 if test "${with_zlib+set}" = set; then
3631 withval="$with_zlib"
3632
3633 if test "$withval" = yes; then
3634 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3635 elif test "$withval" = no; then
3636 ac_cv_use_zlib='wxUSE_ZLIB=no'
3637 elif test "$withval" = sys; then
3638 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3639 elif test "$withval" = builtin; then
3640 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3641 else
3642 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3643 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3644 { (exit 1); exit 1; }; }
3645 fi
3646
3647 else
3648
3649 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x ; then
3651 eval "DEFAULT_$LINE"
3652 else
3653 no_cache=1
3654 fi
3655
3656 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3657
3658 fi;
3659
3660 eval "$ac_cv_use_zlib"
3661 if test "$no_cache" != 1; then
3662 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3663 fi
3664
3665 if test "$wxUSE_ZLIB" = yes; then
3666 echo "$as_me:$LINENO: result: yes" >&5
3667 echo "${ECHO_T}yes" >&6
3668 elif test "$wxUSE_ZLIB" = no; then
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3671 elif test "$wxUSE_ZLIB" = sys; then
3672 echo "$as_me:$LINENO: result: system version" >&5
3673 echo "${ECHO_T}system version" >&6
3674 elif test "$wxUSE_ZLIB" = builtin; then
3675 echo "$as_me:$LINENO: result: builtin version" >&5
3676 echo "${ECHO_T}builtin version" >&6
3677 else
3678 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3679 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3680 { (exit 1); exit 1; }; }
3681 fi
3682
3683
3684 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3685 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3686 no_cache=0
3687
3688 # Check whether --with-odbc or --without-odbc was given.
3689 if test "${with_odbc+set}" = set; then
3690 withval="$with_odbc"
3691
3692 if test "$withval" = yes; then
3693 ac_cv_use_odbc='wxUSE_ODBC=yes'
3694 elif test "$withval" = no; then
3695 ac_cv_use_odbc='wxUSE_ODBC=no'
3696 elif test "$withval" = sys; then
3697 ac_cv_use_odbc='wxUSE_ODBC=sys'
3698 elif test "$withval" = builtin; then
3699 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3700 else
3701 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3702 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3703 { (exit 1); exit 1; }; }
3704 fi
3705
3706 else
3707
3708 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3709 if test "x$LINE" != x ; then
3710 eval "DEFAULT_$LINE"
3711 else
3712 no_cache=1
3713 fi
3714
3715 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3716
3717 fi;
3718
3719 eval "$ac_cv_use_odbc"
3720 if test "$no_cache" != 1; then
3721 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3722 fi
3723
3724 if test "$wxUSE_ODBC" = yes; then
3725 echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6
3727 elif test "$wxUSE_ODBC" = no; then
3728 echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6
3730 elif test "$wxUSE_ODBC" = sys; then
3731 echo "$as_me:$LINENO: result: system version" >&5
3732 echo "${ECHO_T}system version" >&6
3733 elif test "$wxUSE_ODBC" = builtin; then
3734 echo "$as_me:$LINENO: result: builtin version" >&5
3735 echo "${ECHO_T}builtin version" >&6
3736 else
3737 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3738 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3739 { (exit 1); exit 1; }; }
3740 fi
3741
3742
3743 echo "$as_me:$LINENO: checking for --with-expat" >&5
3744 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3745 no_cache=0
3746
3747 # Check whether --with-expat or --without-expat was given.
3748 if test "${with_expat+set}" = set; then
3749 withval="$with_expat"
3750
3751 if test "$withval" = yes; then
3752 ac_cv_use_expat='wxUSE_EXPAT=yes'
3753 elif test "$withval" = no; then
3754 ac_cv_use_expat='wxUSE_EXPAT=no'
3755 elif test "$withval" = sys; then
3756 ac_cv_use_expat='wxUSE_EXPAT=sys'
3757 elif test "$withval" = builtin; then
3758 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3759 else
3760 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3761 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3762 { (exit 1); exit 1; }; }
3763 fi
3764
3765 else
3766
3767 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3768 if test "x$LINE" != x ; then
3769 eval "DEFAULT_$LINE"
3770 else
3771 no_cache=1
3772 fi
3773
3774 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3775
3776 fi;
3777
3778 eval "$ac_cv_use_expat"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3781 fi
3782
3783 if test "$wxUSE_EXPAT" = yes; then
3784 echo "$as_me:$LINENO: result: yes" >&5
3785 echo "${ECHO_T}yes" >&6
3786 elif test "$wxUSE_EXPAT" = no; then
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3789 elif test "$wxUSE_EXPAT" = sys; then
3790 echo "$as_me:$LINENO: result: system version" >&5
3791 echo "${ECHO_T}system version" >&6
3792 elif test "$wxUSE_EXPAT" = builtin; then
3793 echo "$as_me:$LINENO: result: builtin version" >&5
3794 echo "${ECHO_T}builtin version" >&6
3795 else
3796 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3797 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3798 { (exit 1); exit 1; }; }
3799 fi
3800
3801
3802
3803
3804 enablestring=
3805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3806 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3807 no_cache=0
3808 # Check whether --enable-shared or --disable-shared was given.
3809 if test "${enable_shared+set}" = set; then
3810 enableval="$enable_shared"
3811
3812 if test "$enableval" = yes; then
3813 ac_cv_use_shared='wxUSE_SHARED=yes'
3814 else
3815 ac_cv_use_shared='wxUSE_SHARED=no'
3816 fi
3817
3818 else
3819
3820 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x ; then
3822 eval "DEFAULT_$LINE"
3823 else
3824 no_cache=1
3825 fi
3826
3827 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3828
3829 fi;
3830
3831 eval "$ac_cv_use_shared"
3832 if test "$no_cache" != 1; then
3833 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3834 fi
3835
3836 if test "$wxUSE_SHARED" = yes; then
3837 echo "$as_me:$LINENO: result: yes" >&5
3838 echo "${ECHO_T}yes" >&6
3839 else
3840 echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6
3842 fi
3843
3844
3845 enablestring=
3846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3847 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3848 no_cache=0
3849 # Check whether --enable-optimise or --disable-optimise was given.
3850 if test "${enable_optimise+set}" = set; then
3851 enableval="$enable_optimise"
3852
3853 if test "$enableval" = yes; then
3854 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3855 else
3856 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3857 fi
3858
3859 else
3860
3861 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x ; then
3863 eval "DEFAULT_$LINE"
3864 else
3865 no_cache=1
3866 fi
3867
3868 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3869
3870 fi;
3871
3872 eval "$ac_cv_use_optimise"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3875 fi
3876
3877 if test "$wxUSE_OPTIMISE" = yes; then
3878 echo "$as_me:$LINENO: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3880 else
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3883 fi
3884
3885
3886 enablestring=
3887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3888 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3889 no_cache=0
3890 # Check whether --enable-debug or --disable-debug was given.
3891 if test "${enable_debug+set}" = set; then
3892 enableval="$enable_debug"
3893
3894 if test "$enableval" = yes; then
3895 ac_cv_use_debug='wxUSE_DEBUG=yes'
3896 else
3897 ac_cv_use_debug='wxUSE_DEBUG=no'
3898 fi
3899
3900 else
3901
3902 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3903 if test "x$LINE" != x ; then
3904 eval "DEFAULT_$LINE"
3905 else
3906 no_cache=1
3907 fi
3908
3909 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3910
3911 fi;
3912
3913 eval "$ac_cv_use_debug"
3914 if test "$no_cache" != 1; then
3915 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3916 fi
3917
3918 if test "$wxUSE_DEBUG" = yes; then
3919 echo "$as_me:$LINENO: result: yes" >&5
3920 echo "${ECHO_T}yes" >&6
3921 else
3922 echo "$as_me:$LINENO: result: no" >&5
3923 echo "${ECHO_T}no" >&6
3924 fi
3925
3926
3927 enablestring=
3928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3929 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3930 no_cache=0
3931 # Check whether --enable-stl or --disable-stl was given.
3932 if test "${enable_stl+set}" = set; then
3933 enableval="$enable_stl"
3934
3935 if test "$enableval" = yes; then
3936 ac_cv_use_stl='wxUSE_STL=yes'
3937 else
3938 ac_cv_use_stl='wxUSE_STL=no'
3939 fi
3940
3941 else
3942
3943 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3944 if test "x$LINE" != x ; then
3945 eval "DEFAULT_$LINE"
3946 else
3947 no_cache=1
3948 fi
3949
3950 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3951
3952 fi;
3953
3954 eval "$ac_cv_use_stl"
3955 if test "$no_cache" != 1; then
3956 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3957 fi
3958
3959 if test "$wxUSE_STL" = yes; then
3960 echo "$as_me:$LINENO: result: yes" >&5
3961 echo "${ECHO_T}yes" >&6
3962 else
3963 echo "$as_me:$LINENO: result: no" >&5
3964 echo "${ECHO_T}no" >&6
3965 fi
3966
3967
3968 enablestring=
3969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
3970 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6
3971 no_cache=0
3972 # Check whether --enable-extended_rtti or --disable-extended_rtti was given.
3973 if test "${enable_extended_rtti+set}" = set; then
3974 enableval="$enable_extended_rtti"
3975
3976 if test "$enableval" = yes; then
3977 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
3978 else
3979 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
3980 fi
3981
3982 else
3983
3984 LINE=`grep "wxUSE_EXTENDED_RTTI" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x ; then
3986 eval "DEFAULT_$LINE"
3987 else
3988 no_cache=1
3989 fi
3990
3991 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
3992
3993 fi;
3994
3995 eval "$ac_cv_use_extended_rtti"
3996 if test "$no_cache" != 1; then
3997 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
3998 fi
3999
4000 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4001 echo "$as_me:$LINENO: result: yes" >&5
4002 echo "${ECHO_T}yes" >&6
4003 else
4004 echo "$as_me:$LINENO: result: no" >&5
4005 echo "${ECHO_T}no" >&6
4006 fi
4007
4008 if test "$USE_OS2" = "1"; then
4009 DEFAULT_wxUSE_OMF=no
4010
4011 enablestring=
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
4014 no_cache=0
4015 # Check whether --enable-omf or --disable-omf was given.
4016 if test "${enable_omf+set}" = set; then
4017 enableval="$enable_omf"
4018
4019 if test "$enableval" = yes; then
4020 ac_cv_use_omf='wxUSE_OMF=yes'
4021 else
4022 ac_cv_use_omf='wxUSE_OMF=no'
4023 fi
4024
4025 else
4026
4027 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4030 else
4031 no_cache=1
4032 fi
4033
4034 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4035
4036 fi;
4037
4038 eval "$ac_cv_use_omf"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4041 fi
4042
4043 if test "$wxUSE_OMF" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4046 else
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4049 fi
4050
4051 fi
4052
4053 if test "$wxUSE_DEBUG" = "yes"; then
4054 DEFAULT_wxUSE_DEBUG_FLAG=yes
4055 DEFAULT_wxUSE_DEBUG_INFO=yes
4056 BUILD=debug
4057 elif test "$wxUSE_DEBUG" = "no"; then
4058 DEFAULT_wxUSE_DEBUG_FLAG=no
4059 DEFAULT_wxUSE_DEBUG_INFO=no
4060 BUILD=release
4061 fi
4062
4063
4064 enablestring=
4065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4066 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4067 no_cache=0
4068 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4069 if test "${enable_debug_flag+set}" = set; then
4070 enableval="$enable_debug_flag"
4071
4072 if test "$enableval" = yes; then
4073 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4074 else
4075 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4076 fi
4077
4078 else
4079
4080 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x ; then
4082 eval "DEFAULT_$LINE"
4083 else
4084 no_cache=1
4085 fi
4086
4087 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4088
4089 fi;
4090
4091 eval "$ac_cv_use_debug_flag"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4094 fi
4095
4096 if test "$wxUSE_DEBUG_FLAG" = yes; then
4097 echo "$as_me:$LINENO: result: yes" >&5
4098 echo "${ECHO_T}yes" >&6
4099 else
4100 echo "$as_me:$LINENO: result: no" >&5
4101 echo "${ECHO_T}no" >&6
4102 fi
4103
4104
4105 enablestring=
4106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4107 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4108 no_cache=0
4109 # Check whether --enable-debug_info or --disable-debug_info was given.
4110 if test "${enable_debug_info+set}" = set; then
4111 enableval="$enable_debug_info"
4112
4113 if test "$enableval" = yes; then
4114 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4115 else
4116 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4117 fi
4118
4119 else
4120
4121 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x ; then
4123 eval "DEFAULT_$LINE"
4124 else
4125 no_cache=1
4126 fi
4127
4128 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4129
4130 fi;
4131
4132 eval "$ac_cv_use_debug_info"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4135 fi
4136
4137 if test "$wxUSE_DEBUG_INFO" = yes; then
4138 echo "$as_me:$LINENO: result: yes" >&5
4139 echo "${ECHO_T}yes" >&6
4140 else
4141 echo "$as_me:$LINENO: result: no" >&5
4142 echo "${ECHO_T}no" >&6
4143 fi
4144
4145
4146 enablestring=
4147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4148 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4149 no_cache=0
4150 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4151 if test "${enable_debug_gdb+set}" = set; then
4152 enableval="$enable_debug_gdb"
4153
4154 if test "$enableval" = yes; then
4155 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4156 else
4157 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4158 fi
4159
4160 else
4161
4162 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4163 if test "x$LINE" != x ; then
4164 eval "DEFAULT_$LINE"
4165 else
4166 no_cache=1
4167 fi
4168
4169 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4170
4171 fi;
4172
4173 eval "$ac_cv_use_debug_gdb"
4174 if test "$no_cache" != 1; then
4175 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4176 fi
4177
4178 if test "$wxUSE_DEBUG_GDB" = yes; then
4179 echo "$as_me:$LINENO: result: yes" >&5
4180 echo "${ECHO_T}yes" >&6
4181 else
4182 echo "$as_me:$LINENO: result: no" >&5
4183 echo "${ECHO_T}no" >&6
4184 fi
4185
4186
4187 enablestring=
4188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4189 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4190 no_cache=0
4191 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4192 if test "${enable_debug_cntxt+set}" = set; then
4193 enableval="$enable_debug_cntxt"
4194
4195 if test "$enableval" = yes; then
4196 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4197 else
4198 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4199 fi
4200
4201 else
4202
4203 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4204 if test "x$LINE" != x ; then
4205 eval "DEFAULT_$LINE"
4206 else
4207 no_cache=1
4208 fi
4209
4210 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4211
4212 fi;
4213
4214 eval "$ac_cv_use_debug_cntxt"
4215 if test "$no_cache" != 1; then
4216 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4217 fi
4218
4219 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4220 echo "$as_me:$LINENO: result: yes" >&5
4221 echo "${ECHO_T}yes" >&6
4222 else
4223 echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6
4225 fi
4226
4227
4228 enablestring=
4229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4230 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4231 no_cache=0
4232 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4233 if test "${enable_mem_tracing+set}" = set; then
4234 enableval="$enable_mem_tracing"
4235
4236 if test "$enableval" = yes; then
4237 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4238 else
4239 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4240 fi
4241
4242 else
4243
4244 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4245 if test "x$LINE" != x ; then
4246 eval "DEFAULT_$LINE"
4247 else
4248 no_cache=1
4249 fi
4250
4251 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4252
4253 fi;
4254
4255 eval "$ac_cv_use_mem_tracing"
4256 if test "$no_cache" != 1; then
4257 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4258 fi
4259
4260 if test "$wxUSE_MEM_TRACING" = yes; then
4261 echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6
4263 else
4264 echo "$as_me:$LINENO: result: no" >&5
4265 echo "${ECHO_T}no" >&6
4266 fi
4267
4268
4269 enablestring=
4270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4271 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4272 no_cache=0
4273 # Check whether --enable-profile or --disable-profile was given.
4274 if test "${enable_profile+set}" = set; then
4275 enableval="$enable_profile"
4276
4277 if test "$enableval" = yes; then
4278 ac_cv_use_profile='wxUSE_PROFILE=yes'
4279 else
4280 ac_cv_use_profile='wxUSE_PROFILE=no'
4281 fi
4282
4283 else
4284
4285 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4288 else
4289 no_cache=1
4290 fi
4291
4292 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4293
4294 fi;
4295
4296 eval "$ac_cv_use_profile"
4297 if test "$no_cache" != 1; then
4298 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4299 fi
4300
4301 if test "$wxUSE_PROFILE" = yes; then
4302 echo "$as_me:$LINENO: result: yes" >&5
4303 echo "${ECHO_T}yes" >&6
4304 else
4305 echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6
4307 fi
4308
4309
4310 enablestring=
4311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4312 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4313 no_cache=0
4314 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4315 if test "${enable_no_rtti+set}" = set; then
4316 enableval="$enable_no_rtti"
4317
4318 if test "$enableval" = yes; then
4319 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4320 else
4321 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4322 fi
4323
4324 else
4325
4326 LINE=`grep "wxUSE_NO_RTTI" ${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_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4334
4335 fi;
4336
4337 eval "$ac_cv_use_no_rtti"
4338 if test "$no_cache" != 1; then
4339 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4340 fi
4341
4342 if test "$wxUSE_NO_RTTI" = 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 enablestring=
4352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4353 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4354 no_cache=0
4355 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4356 if test "${enable_no_exceptions+set}" = set; then
4357 enableval="$enable_no_exceptions"
4358
4359 if test "$enableval" = yes; then
4360 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4361 else
4362 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4363 fi
4364
4365 else
4366
4367 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x ; then
4369 eval "DEFAULT_$LINE"
4370 else
4371 no_cache=1
4372 fi
4373
4374 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4375
4376 fi;
4377
4378 eval "$ac_cv_use_no_exceptions"
4379 if test "$no_cache" != 1; then
4380 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4381 fi
4382
4383 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4384 echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6
4386 else
4387 echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6
4389 fi
4390
4391
4392 enablestring=
4393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4394 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4395 no_cache=0
4396 # Check whether --enable-permissive or --disable-permissive was given.
4397 if test "${enable_permissive+set}" = set; then
4398 enableval="$enable_permissive"
4399
4400 if test "$enableval" = yes; then
4401 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4402 else
4403 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4404 fi
4405
4406 else
4407
4408 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4409 if test "x$LINE" != x ; then
4410 eval "DEFAULT_$LINE"
4411 else
4412 no_cache=1
4413 fi
4414
4415 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4416
4417 fi;
4418
4419 eval "$ac_cv_use_permissive"
4420 if test "$no_cache" != 1; then
4421 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4422 fi
4423
4424 if test "$wxUSE_PERMISSIVE" = yes; then
4425 echo "$as_me:$LINENO: result: yes" >&5
4426 echo "${ECHO_T}yes" >&6
4427 else
4428 echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6
4430 fi
4431
4432
4433 enablestring=
4434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4435 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4436 no_cache=0
4437 # Check whether --enable-no_deps or --disable-no_deps was given.
4438 if test "${enable_no_deps+set}" = set; then
4439 enableval="$enable_no_deps"
4440
4441 if test "$enableval" = yes; then
4442 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4443 else
4444 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4445 fi
4446
4447 else
4448
4449 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4450 if test "x$LINE" != x ; then
4451 eval "DEFAULT_$LINE"
4452 else
4453 no_cache=1
4454 fi
4455
4456 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4457
4458 fi;
4459
4460 eval "$ac_cv_use_no_deps"
4461 if test "$no_cache" != 1; then
4462 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4463 fi
4464
4465 if test "$wxUSE_NO_DEPS" = yes; then
4466 echo "$as_me:$LINENO: result: yes" >&5
4467 echo "${ECHO_T}yes" >&6
4468 else
4469 echo "$as_me:$LINENO: result: no" >&5
4470 echo "${ECHO_T}no" >&6
4471 fi
4472
4473
4474 enablestring=
4475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4476 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4477 no_cache=0
4478 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4479 if test "${enable_vararg_macros+set}" = set; then
4480 enableval="$enable_vararg_macros"
4481
4482 if test "$enableval" = yes; then
4483 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
4484 else
4485 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
4486 fi
4487
4488 else
4489
4490 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x ; then
4492 eval "DEFAULT_$LINE"
4493 else
4494 no_cache=1
4495 fi
4496
4497 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
4498
4499 fi;
4500
4501 eval "$ac_cv_use_vararg_macros"
4502 if test "$no_cache" != 1; then
4503 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4504 fi
4505
4506 if test "$wxUSE_VARARG_MACROS" = yes; then
4507 echo "$as_me:$LINENO: result: yes" >&5
4508 echo "${ECHO_T}yes" >&6
4509 else
4510 echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4512 fi
4513
4514
4515 enablestring=
4516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4517 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4518 no_cache=0
4519 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4520 if test "${enable_universal_binary+set}" = set; then
4521 enableval="$enable_universal_binary"
4522
4523 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4524
4525 else
4526
4527 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x ; then
4529 eval "DEFAULT_$LINE"
4530 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4531 else
4532 no_cache=1
4533 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4534 fi
4535
4536 fi;
4537
4538 eval "$wx_cv_use_universal_binary"
4539 if test "$no_cache" != 1; then
4540 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4541 fi
4542
4543 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4544 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4545
4546
4547
4548 enablestring=enable
4549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4550 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4551 no_cache=0
4552 # Check whether --enable-compat26 or --disable-compat26 was given.
4553 if test "${enable_compat26+set}" = set; then
4554 enableval="$enable_compat26"
4555
4556 if test "$enableval" = yes; then
4557 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4558 else
4559 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4560 fi
4561
4562 else
4563
4564 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x ; then
4566 eval "DEFAULT_$LINE"
4567 else
4568 no_cache=1
4569 fi
4570
4571 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4572
4573 fi;
4574
4575 eval "$ac_cv_use_compat26"
4576 if test "$no_cache" != 1; then
4577 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4578 fi
4579
4580 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4581 echo "$as_me:$LINENO: result: yes" >&5
4582 echo "${ECHO_T}yes" >&6
4583 else
4584 echo "$as_me:$LINENO: result: no" >&5
4585 echo "${ECHO_T}no" >&6
4586 fi
4587
4588
4589 enablestring=disable
4590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6
4592 no_cache=0
4593 # Check whether --enable-compat28 or --disable-compat28 was given.
4594 if test "${enable_compat28+set}" = set; then
4595 enableval="$enable_compat28"
4596
4597 if test "$enableval" = yes; then
4598 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
4599 else
4600 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
4601 fi
4602
4603 else
4604
4605 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
4606 if test "x$LINE" != x ; then
4607 eval "DEFAULT_$LINE"
4608 else
4609 no_cache=1
4610 fi
4611
4612 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
4613
4614 fi;
4615
4616 eval "$ac_cv_use_compat28"
4617 if test "$no_cache" != 1; then
4618 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
4619 fi
4620
4621 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
4622 echo "$as_me:$LINENO: result: yes" >&5
4623 echo "${ECHO_T}yes" >&6
4624 else
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4627 fi
4628
4629
4630
4631 enablestring=
4632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4633 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4634 no_cache=0
4635 # Check whether --enable-rpath or --disable-rpath was given.
4636 if test "${enable_rpath+set}" = set; then
4637 enableval="$enable_rpath"
4638
4639 if test "$enableval" = yes; then
4640 ac_cv_use_rpath='wxUSE_RPATH=yes'
4641 else
4642 ac_cv_use_rpath='wxUSE_RPATH=no'
4643 fi
4644
4645 else
4646
4647 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x ; then
4649 eval "DEFAULT_$LINE"
4650 else
4651 no_cache=1
4652 fi
4653
4654 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4655
4656 fi;
4657
4658 eval "$ac_cv_use_rpath"
4659 if test "$no_cache" != 1; then
4660 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4661 fi
4662
4663 if test "$wxUSE_RPATH" = yes; then
4664 echo "$as_me:$LINENO: result: yes" >&5
4665 echo "${ECHO_T}yes" >&6
4666 else
4667 echo "$as_me:$LINENO: result: no" >&5
4668 echo "${ECHO_T}no" >&6
4669 fi
4670
4671
4672
4673
4674
4675 enablestring=
4676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4677 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4678 no_cache=0
4679 # Check whether --enable-intl or --disable-intl was given.
4680 if test "${enable_intl+set}" = set; then
4681 enableval="$enable_intl"
4682
4683 if test "$enableval" = yes; then
4684 ac_cv_use_intl='wxUSE_INTL=yes'
4685 else
4686 ac_cv_use_intl='wxUSE_INTL=no'
4687 fi
4688
4689 else
4690
4691 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x ; then
4693 eval "DEFAULT_$LINE"
4694 else
4695 no_cache=1
4696 fi
4697
4698 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4699
4700 fi;
4701
4702 eval "$ac_cv_use_intl"
4703 if test "$no_cache" != 1; then
4704 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4705 fi
4706
4707 if test "$wxUSE_INTL" = yes; then
4708 echo "$as_me:$LINENO: result: yes" >&5
4709 echo "${ECHO_T}yes" >&6
4710 else
4711 echo "$as_me:$LINENO: result: no" >&5
4712 echo "${ECHO_T}no" >&6
4713 fi
4714
4715
4716 enablestring=
4717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4718 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4719 no_cache=0
4720 # Check whether --enable-config or --disable-config was given.
4721 if test "${enable_config+set}" = set; then
4722 enableval="$enable_config"
4723
4724 if test "$enableval" = yes; then
4725 ac_cv_use_config='wxUSE_CONFIG=yes'
4726 else
4727 ac_cv_use_config='wxUSE_CONFIG=no'
4728 fi
4729
4730 else
4731
4732 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4733 if test "x$LINE" != x ; then
4734 eval "DEFAULT_$LINE"
4735 else
4736 no_cache=1
4737 fi
4738
4739 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4740
4741 fi;
4742
4743 eval "$ac_cv_use_config"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4746 fi
4747
4748 if test "$wxUSE_CONFIG" = yes; then
4749 echo "$as_me:$LINENO: result: yes" >&5
4750 echo "${ECHO_T}yes" >&6
4751 else
4752 echo "$as_me:$LINENO: result: no" >&5
4753 echo "${ECHO_T}no" >&6
4754 fi
4755
4756
4757
4758 enablestring=
4759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4760 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4761 no_cache=0
4762 # Check whether --enable-protocols or --disable-protocols was given.
4763 if test "${enable_protocols+set}" = set; then
4764 enableval="$enable_protocols"
4765
4766 if test "$enableval" = yes; then
4767 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4768 else
4769 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4770 fi
4771
4772 else
4773
4774 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4775 if test "x$LINE" != x ; then
4776 eval "DEFAULT_$LINE"
4777 else
4778 no_cache=1
4779 fi
4780
4781 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4782
4783 fi;
4784
4785 eval "$ac_cv_use_protocols"
4786 if test "$no_cache" != 1; then
4787 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4788 fi
4789
4790 if test "$wxUSE_PROTOCOL" = yes; then
4791 echo "$as_me:$LINENO: result: yes" >&5
4792 echo "${ECHO_T}yes" >&6
4793 else
4794 echo "$as_me:$LINENO: result: no" >&5
4795 echo "${ECHO_T}no" >&6
4796 fi
4797
4798
4799 enablestring=
4800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4801 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4802 no_cache=0
4803 # Check whether --enable-ftp or --disable-ftp was given.
4804 if test "${enable_ftp+set}" = set; then
4805 enableval="$enable_ftp"
4806
4807 if test "$enableval" = yes; then
4808 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4809 else
4810 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4811 fi
4812
4813 else
4814
4815 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4818 else
4819 no_cache=1
4820 fi
4821
4822 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4823
4824 fi;
4825
4826 eval "$ac_cv_use_ftp"
4827 if test "$no_cache" != 1; then
4828 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4829 fi
4830
4831 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4832 echo "$as_me:$LINENO: result: yes" >&5
4833 echo "${ECHO_T}yes" >&6
4834 else
4835 echo "$as_me:$LINENO: result: no" >&5
4836 echo "${ECHO_T}no" >&6
4837 fi
4838
4839
4840 enablestring=
4841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4842 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4843 no_cache=0
4844 # Check whether --enable-http or --disable-http was given.
4845 if test "${enable_http+set}" = set; then
4846 enableval="$enable_http"
4847
4848 if test "$enableval" = yes; then
4849 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4850 else
4851 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4852 fi
4853
4854 else
4855
4856 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4857 if test "x$LINE" != x ; then
4858 eval "DEFAULT_$LINE"
4859 else
4860 no_cache=1
4861 fi
4862
4863 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4864
4865 fi;
4866
4867 eval "$ac_cv_use_http"
4868 if test "$no_cache" != 1; then
4869 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4870 fi
4871
4872 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4873 echo "$as_me:$LINENO: result: yes" >&5
4874 echo "${ECHO_T}yes" >&6
4875 else
4876 echo "$as_me:$LINENO: result: no" >&5
4877 echo "${ECHO_T}no" >&6
4878 fi
4879
4880
4881 enablestring=
4882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4883 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4884 no_cache=0
4885 # Check whether --enable-fileproto or --disable-fileproto was given.
4886 if test "${enable_fileproto+set}" = set; then
4887 enableval="$enable_fileproto"
4888
4889 if test "$enableval" = yes; then
4890 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4891 else
4892 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4893 fi
4894
4895 else
4896
4897 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x ; then
4899 eval "DEFAULT_$LINE"
4900 else
4901 no_cache=1
4902 fi
4903
4904 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4905
4906 fi;
4907
4908 eval "$ac_cv_use_fileproto"
4909 if test "$no_cache" != 1; then
4910 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4911 fi
4912
4913 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4914 echo "$as_me:$LINENO: result: yes" >&5
4915 echo "${ECHO_T}yes" >&6
4916 else
4917 echo "$as_me:$LINENO: result: no" >&5
4918 echo "${ECHO_T}no" >&6
4919 fi
4920
4921
4922 enablestring=
4923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4925 no_cache=0
4926 # Check whether --enable-sockets or --disable-sockets was given.
4927 if test "${enable_sockets+set}" = set; then
4928 enableval="$enable_sockets"
4929
4930 if test "$enableval" = yes; then
4931 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4932 else
4933 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4934 fi
4935
4936 else
4937
4938 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x ; then
4940 eval "DEFAULT_$LINE"
4941 else
4942 no_cache=1
4943 fi
4944
4945 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4946
4947 fi;
4948
4949 eval "$ac_cv_use_sockets"
4950 if test "$no_cache" != 1; then
4951 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4952 fi
4953
4954 if test "$wxUSE_SOCKETS" = yes; then
4955 echo "$as_me:$LINENO: result: yes" >&5
4956 echo "${ECHO_T}yes" >&6
4957 else
4958 echo "$as_me:$LINENO: result: no" >&5
4959 echo "${ECHO_T}no" >&6
4960 fi
4961
4962
4963 enablestring=
4964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4965 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4966 no_cache=0
4967 # Check whether --enable-ole or --disable-ole was given.
4968 if test "${enable_ole+set}" = set; then
4969 enableval="$enable_ole"
4970
4971 if test "$enableval" = yes; then
4972 ac_cv_use_ole='wxUSE_OLE=yes'
4973 else
4974 ac_cv_use_ole='wxUSE_OLE=no'
4975 fi
4976
4977 else
4978
4979 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4980 if test "x$LINE" != x ; then
4981 eval "DEFAULT_$LINE"
4982 else
4983 no_cache=1
4984 fi
4985
4986 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4987
4988 fi;
4989
4990 eval "$ac_cv_use_ole"
4991 if test "$no_cache" != 1; then
4992 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4993 fi
4994
4995 if test "$wxUSE_OLE" = yes; then
4996 echo "$as_me:$LINENO: result: yes" >&5
4997 echo "${ECHO_T}yes" >&6
4998 else
4999 echo "$as_me:$LINENO: result: no" >&5
5000 echo "${ECHO_T}no" >&6
5001 fi
5002
5003
5004 enablestring=
5005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5006 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
5007 no_cache=0
5008 # Check whether --enable-dataobj or --disable-dataobj was given.
5009 if test "${enable_dataobj+set}" = set; then
5010 enableval="$enable_dataobj"
5011
5012 if test "$enableval" = yes; then
5013 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5014 else
5015 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5016 fi
5017
5018 else
5019
5020 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5021 if test "x$LINE" != x ; then
5022 eval "DEFAULT_$LINE"
5023 else
5024 no_cache=1
5025 fi
5026
5027 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5028
5029 fi;
5030
5031 eval "$ac_cv_use_dataobj"
5032 if test "$no_cache" != 1; then
5033 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5034 fi
5035
5036 if test "$wxUSE_DATAOBJ" = yes; then
5037 echo "$as_me:$LINENO: result: yes" >&5
5038 echo "${ECHO_T}yes" >&6
5039 else
5040 echo "$as_me:$LINENO: result: no" >&5
5041 echo "${ECHO_T}no" >&6
5042 fi
5043
5044
5045
5046 enablestring=
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5049 no_cache=0
5050 # Check whether --enable-ipc or --disable-ipc was given.
5051 if test "${enable_ipc+set}" = set; then
5052 enableval="$enable_ipc"
5053
5054 if test "$enableval" = yes; then
5055 ac_cv_use_ipc='wxUSE_IPC=yes'
5056 else
5057 ac_cv_use_ipc='wxUSE_IPC=no'
5058 fi
5059
5060 else
5061
5062 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5065 else
5066 no_cache=1
5067 fi
5068
5069 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5070
5071 fi;
5072
5073 eval "$ac_cv_use_ipc"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5076 fi
5077
5078 if test "$wxUSE_IPC" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5081 else
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5084 fi
5085
5086
5087
5088 enablestring=
5089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5090 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5091 no_cache=0
5092 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5093 if test "${enable_apple_ieee+set}" = set; then
5094 enableval="$enable_apple_ieee"
5095
5096 if test "$enableval" = yes; then
5097 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5098 else
5099 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5100 fi
5101
5102 else
5103
5104 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x ; then
5106 eval "DEFAULT_$LINE"
5107 else
5108 no_cache=1
5109 fi
5110
5111 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5112
5113 fi;
5114
5115 eval "$ac_cv_use_apple_ieee"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5118 fi
5119
5120 if test "$wxUSE_APPLE_IEEE" = yes; then
5121 echo "$as_me:$LINENO: result: yes" >&5
5122 echo "${ECHO_T}yes" >&6
5123 else
5124 echo "$as_me:$LINENO: result: no" >&5
5125 echo "${ECHO_T}no" >&6
5126 fi
5127
5128
5129 enablestring=
5130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5132 no_cache=0
5133 # Check whether --enable-arcstream or --disable-arcstream was given.
5134 if test "${enable_arcstream+set}" = set; then
5135 enableval="$enable_arcstream"
5136
5137 if test "$enableval" = yes; then
5138 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5139 else
5140 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5141 fi
5142
5143 else
5144
5145 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5146 if test "x$LINE" != x ; then
5147 eval "DEFAULT_$LINE"
5148 else
5149 no_cache=1
5150 fi
5151
5152 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5153
5154 fi;
5155
5156 eval "$ac_cv_use_arcstream"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5159 fi
5160
5161 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5162 echo "$as_me:$LINENO: result: yes" >&5
5163 echo "${ECHO_T}yes" >&6
5164 else
5165 echo "$as_me:$LINENO: result: no" >&5
5166 echo "${ECHO_T}no" >&6
5167 fi
5168
5169
5170 enablestring=
5171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5173 no_cache=0
5174 # Check whether --enable-backtrace or --disable-backtrace was given.
5175 if test "${enable_backtrace+set}" = set; then
5176 enableval="$enable_backtrace"
5177
5178 if test "$enableval" = yes; then
5179 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5180 else
5181 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5182 fi
5183
5184 else
5185
5186 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x ; then
5188 eval "DEFAULT_$LINE"
5189 else
5190 no_cache=1
5191 fi
5192
5193 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5194
5195 fi;
5196
5197 eval "$ac_cv_use_backtrace"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5200 fi
5201
5202 if test "$wxUSE_STACKWALKER" = yes; then
5203 echo "$as_me:$LINENO: result: yes" >&5
5204 echo "${ECHO_T}yes" >&6
5205 else
5206 echo "$as_me:$LINENO: result: no" >&5
5207 echo "${ECHO_T}no" >&6
5208 fi
5209
5210
5211 enablestring=
5212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5214 no_cache=0
5215 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5216 if test "${enable_catch_segvs+set}" = set; then
5217 enableval="$enable_catch_segvs"
5218
5219 if test "$enableval" = yes; then
5220 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5221 else
5222 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5223 fi
5224
5225 else
5226
5227 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x ; then
5229 eval "DEFAULT_$LINE"
5230 else
5231 no_cache=1
5232 fi
5233
5234 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5235
5236 fi;
5237
5238 eval "$ac_cv_use_catch_segvs"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5241 fi
5242
5243 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5244 echo "$as_me:$LINENO: result: yes" >&5
5245 echo "${ECHO_T}yes" >&6
5246 else
5247 echo "$as_me:$LINENO: result: no" >&5
5248 echo "${ECHO_T}no" >&6
5249 fi
5250
5251
5252 enablestring=
5253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5255 no_cache=0
5256 # Check whether --enable-cmdline or --disable-cmdline was given.
5257 if test "${enable_cmdline+set}" = set; then
5258 enableval="$enable_cmdline"
5259
5260 if test "$enableval" = yes; then
5261 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5262 else
5263 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5264 fi
5265
5266 else
5267
5268 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x ; then
5270 eval "DEFAULT_$LINE"
5271 else
5272 no_cache=1
5273 fi
5274
5275 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5276
5277 fi;
5278
5279 eval "$ac_cv_use_cmdline"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5282 fi
5283
5284 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5285 echo "$as_me:$LINENO: result: yes" >&5
5286 echo "${ECHO_T}yes" >&6
5287 else
5288 echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6
5290 fi
5291
5292
5293 enablestring=
5294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5296 no_cache=0
5297 # Check whether --enable-datetime or --disable-datetime was given.
5298 if test "${enable_datetime+set}" = set; then
5299 enableval="$enable_datetime"
5300
5301 if test "$enableval" = yes; then
5302 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5303 else
5304 ac_cv_use_datetime='wxUSE_DATETIME=no'
5305 fi
5306
5307 else
5308
5309 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x ; then
5311 eval "DEFAULT_$LINE"
5312 else
5313 no_cache=1
5314 fi
5315
5316 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5317
5318 fi;
5319
5320 eval "$ac_cv_use_datetime"
5321 if test "$no_cache" != 1; then
5322 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5323 fi
5324
5325 if test "$wxUSE_DATETIME" = yes; then
5326 echo "$as_me:$LINENO: result: yes" >&5
5327 echo "${ECHO_T}yes" >&6
5328 else
5329 echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6
5331 fi
5332
5333
5334 enablestring=
5335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5337 no_cache=0
5338 # Check whether --enable-debugreport or --disable-debugreport was given.
5339 if test "${enable_debugreport+set}" = set; then
5340 enableval="$enable_debugreport"
5341
5342 if test "$enableval" = yes; then
5343 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5344 else
5345 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5346 fi
5347
5348 else
5349
5350 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5351 if test "x$LINE" != x ; then
5352 eval "DEFAULT_$LINE"
5353 else
5354 no_cache=1
5355 fi
5356
5357 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5358
5359 fi;
5360
5361 eval "$ac_cv_use_debugreport"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5364 fi
5365
5366 if test "$wxUSE_DEBUGREPORT" = yes; then
5367 echo "$as_me:$LINENO: result: yes" >&5
5368 echo "${ECHO_T}yes" >&6
5369 else
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5372 fi
5373
5374
5375 enablestring=
5376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5377 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5378 no_cache=0
5379 # Check whether --enable-dialupman or --disable-dialupman was given.
5380 if test "${enable_dialupman+set}" = set; then
5381 enableval="$enable_dialupman"
5382
5383 if test "$enableval" = yes; then
5384 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5385 else
5386 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5387 fi
5388
5389 else
5390
5391 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x ; then
5393 eval "DEFAULT_$LINE"
5394 else
5395 no_cache=1
5396 fi
5397
5398 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5399
5400 fi;
5401
5402 eval "$ac_cv_use_dialupman"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5405 fi
5406
5407 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5408 echo "$as_me:$LINENO: result: yes" >&5
5409 echo "${ECHO_T}yes" >&6
5410 else
5411 echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6
5413 fi
5414
5415
5416 enablestring=
5417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5419 no_cache=0
5420 # Check whether --enable-dynlib or --disable-dynlib was given.
5421 if test "${enable_dynlib+set}" = set; then
5422 enableval="$enable_dynlib"
5423
5424 if test "$enableval" = yes; then
5425 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5426 else
5427 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5428 fi
5429
5430 else
5431
5432 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5433 if test "x$LINE" != x ; then
5434 eval "DEFAULT_$LINE"
5435 else
5436 no_cache=1
5437 fi
5438
5439 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5440
5441 fi;
5442
5443 eval "$ac_cv_use_dynlib"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5446 fi
5447
5448 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5449 echo "$as_me:$LINENO: result: yes" >&5
5450 echo "${ECHO_T}yes" >&6
5451 else
5452 echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6
5454 fi
5455
5456
5457 enablestring=
5458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5460 no_cache=0
5461 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5462 if test "${enable_dynamicloader+set}" = set; then
5463 enableval="$enable_dynamicloader"
5464
5465 if test "$enableval" = yes; then
5466 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5467 else
5468 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5469 fi
5470
5471 else
5472
5473 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5474 if test "x$LINE" != x ; then
5475 eval "DEFAULT_$LINE"
5476 else
5477 no_cache=1
5478 fi
5479
5480 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5481
5482 fi;
5483
5484 eval "$ac_cv_use_dynamicloader"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5487 fi
5488
5489 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5490 echo "$as_me:$LINENO: result: yes" >&5
5491 echo "${ECHO_T}yes" >&6
5492 else
5493 echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6
5495 fi
5496
5497
5498 enablestring=
5499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5501 no_cache=0
5502 # Check whether --enable-exceptions or --disable-exceptions was given.
5503 if test "${enable_exceptions+set}" = set; then
5504 enableval="$enable_exceptions"
5505
5506 if test "$enableval" = yes; then
5507 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5508 else
5509 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5510 fi
5511
5512 else
5513
5514 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5515 if test "x$LINE" != x ; then
5516 eval "DEFAULT_$LINE"
5517 else
5518 no_cache=1
5519 fi
5520
5521 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5522
5523 fi;
5524
5525 eval "$ac_cv_use_exceptions"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5528 fi
5529
5530 if test "$wxUSE_EXCEPTIONS" = yes; then
5531 echo "$as_me:$LINENO: result: yes" >&5
5532 echo "${ECHO_T}yes" >&6
5533 else
5534 echo "$as_me:$LINENO: result: no" >&5
5535 echo "${ECHO_T}no" >&6
5536 fi
5537
5538
5539 enablestring=
5540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5542 no_cache=0
5543 # Check whether --enable-ffile or --disable-ffile was given.
5544 if test "${enable_ffile+set}" = set; then
5545 enableval="$enable_ffile"
5546
5547 if test "$enableval" = yes; then
5548 ac_cv_use_ffile='wxUSE_FFILE=yes'
5549 else
5550 ac_cv_use_ffile='wxUSE_FFILE=no'
5551 fi
5552
5553 else
5554
5555 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5556 if test "x$LINE" != x ; then
5557 eval "DEFAULT_$LINE"
5558 else
5559 no_cache=1
5560 fi
5561
5562 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5563
5564 fi;
5565
5566 eval "$ac_cv_use_ffile"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5569 fi
5570
5571 if test "$wxUSE_FFILE" = yes; then
5572 echo "$as_me:$LINENO: result: yes" >&5
5573 echo "${ECHO_T}yes" >&6
5574 else
5575 echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6
5577 fi
5578
5579
5580 enablestring=
5581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5583 no_cache=0
5584 # Check whether --enable-file or --disable-file was given.
5585 if test "${enable_file+set}" = set; then
5586 enableval="$enable_file"
5587
5588 if test "$enableval" = yes; then
5589 ac_cv_use_file='wxUSE_FILE=yes'
5590 else
5591 ac_cv_use_file='wxUSE_FILE=no'
5592 fi
5593
5594 else
5595
5596 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5597 if test "x$LINE" != x ; then
5598 eval "DEFAULT_$LINE"
5599 else
5600 no_cache=1
5601 fi
5602
5603 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5604
5605 fi;
5606
5607 eval "$ac_cv_use_file"
5608 if test "$no_cache" != 1; then
5609 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5610 fi
5611
5612 if test "$wxUSE_FILE" = yes; then
5613 echo "$as_me:$LINENO: result: yes" >&5
5614 echo "${ECHO_T}yes" >&6
5615 else
5616 echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6
5618 fi
5619
5620
5621 enablestring=
5622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5624 no_cache=0
5625 # Check whether --enable-filesystem or --disable-filesystem was given.
5626 if test "${enable_filesystem+set}" = set; then
5627 enableval="$enable_filesystem"
5628
5629 if test "$enableval" = yes; then
5630 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5631 else
5632 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5633 fi
5634
5635 else
5636
5637 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5638 if test "x$LINE" != x ; then
5639 eval "DEFAULT_$LINE"
5640 else
5641 no_cache=1
5642 fi
5643
5644 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5645
5646 fi;
5647
5648 eval "$ac_cv_use_filesystem"
5649 if test "$no_cache" != 1; then
5650 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5651 fi
5652
5653 if test "$wxUSE_FILESYSTEM" = yes; then
5654 echo "$as_me:$LINENO: result: yes" >&5
5655 echo "${ECHO_T}yes" >&6
5656 else
5657 echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6
5659 fi
5660
5661
5662 enablestring=
5663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5665 no_cache=0
5666 # Check whether --enable-fontmap or --disable-fontmap was given.
5667 if test "${enable_fontmap+set}" = set; then
5668 enableval="$enable_fontmap"
5669
5670 if test "$enableval" = yes; then
5671 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5672 else
5673 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5674 fi
5675
5676 else
5677
5678 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5679 if test "x$LINE" != x ; then
5680 eval "DEFAULT_$LINE"
5681 else
5682 no_cache=1
5683 fi
5684
5685 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5686
5687 fi;
5688
5689 eval "$ac_cv_use_fontmap"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5692 fi
5693
5694 if test "$wxUSE_FONTMAP" = yes; then
5695 echo "$as_me:$LINENO: result: yes" >&5
5696 echo "${ECHO_T}yes" >&6
5697 else
5698 echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6
5700 fi
5701
5702
5703 enablestring=
5704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5705 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5706 no_cache=0
5707 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5708 if test "${enable_fs_archive+set}" = set; then
5709 enableval="$enable_fs_archive"
5710
5711 if test "$enableval" = yes; then
5712 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5713 else
5714 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5715 fi
5716
5717 else
5718
5719 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x ; then
5721 eval "DEFAULT_$LINE"
5722 else
5723 no_cache=1
5724 fi
5725
5726 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5727
5728 fi;
5729
5730 eval "$ac_cv_use_fs_archive"
5731 if test "$no_cache" != 1; then
5732 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5733 fi
5734
5735 if test "$wxUSE_FS_ARCHIVE" = yes; then
5736 echo "$as_me:$LINENO: result: yes" >&5
5737 echo "${ECHO_T}yes" >&6
5738 else
5739 echo "$as_me:$LINENO: result: no" >&5
5740 echo "${ECHO_T}no" >&6
5741 fi
5742
5743
5744 enablestring=
5745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5747 no_cache=0
5748 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5749 if test "${enable_fs_inet+set}" = set; then
5750 enableval="$enable_fs_inet"
5751
5752 if test "$enableval" = yes; then
5753 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5754 else
5755 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5756 fi
5757
5758 else
5759
5760 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x ; then
5762 eval "DEFAULT_$LINE"
5763 else
5764 no_cache=1
5765 fi
5766
5767 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5768
5769 fi;
5770
5771 eval "$ac_cv_use_fs_inet"
5772 if test "$no_cache" != 1; then
5773 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5774 fi
5775
5776 if test "$wxUSE_FS_INET" = yes; then
5777 echo "$as_me:$LINENO: result: yes" >&5
5778 echo "${ECHO_T}yes" >&6
5779 else
5780 echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6
5782 fi
5783
5784
5785 enablestring=
5786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5787 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5788 no_cache=0
5789 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5790 if test "${enable_fs_zip+set}" = set; then
5791 enableval="$enable_fs_zip"
5792
5793 if test "$enableval" = yes; then
5794 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5795 else
5796 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5797 fi
5798
5799 else
5800
5801 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5804 else
5805 no_cache=1
5806 fi
5807
5808 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5809
5810 fi;
5811
5812 eval "$ac_cv_use_fs_zip"
5813 if test "$no_cache" != 1; then
5814 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5815 fi
5816
5817 if test "$wxUSE_FS_ZIP" = yes; then
5818 echo "$as_me:$LINENO: result: yes" >&5
5819 echo "${ECHO_T}yes" >&6
5820 else
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5823 fi
5824
5825
5826 enablestring=
5827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5828 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5829 no_cache=0
5830 # Check whether --enable-geometry or --disable-geometry was given.
5831 if test "${enable_geometry+set}" = set; then
5832 enableval="$enable_geometry"
5833
5834 if test "$enableval" = yes; then
5835 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5836 else
5837 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5838 fi
5839
5840 else
5841
5842 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x ; then
5844 eval "DEFAULT_$LINE"
5845 else
5846 no_cache=1
5847 fi
5848
5849 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5850
5851 fi;
5852
5853 eval "$ac_cv_use_geometry"
5854 if test "$no_cache" != 1; then
5855 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5856 fi
5857
5858 if test "$wxUSE_GEOMETRY" = yes; then
5859 echo "$as_me:$LINENO: result: yes" >&5
5860 echo "${ECHO_T}yes" >&6
5861 else
5862 echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6
5864 fi
5865
5866
5867 enablestring=
5868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5869 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5870 no_cache=0
5871 # Check whether --enable-log or --disable-log was given.
5872 if test "${enable_log+set}" = set; then
5873 enableval="$enable_log"
5874
5875 if test "$enableval" = yes; then
5876 ac_cv_use_log='wxUSE_LOG=yes'
5877 else
5878 ac_cv_use_log='wxUSE_LOG=no'
5879 fi
5880
5881 else
5882
5883 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x ; then
5885 eval "DEFAULT_$LINE"
5886 else
5887 no_cache=1
5888 fi
5889
5890 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5891
5892 fi;
5893
5894 eval "$ac_cv_use_log"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5897 fi
5898
5899 if test "$wxUSE_LOG" = yes; then
5900 echo "$as_me:$LINENO: result: yes" >&5
5901 echo "${ECHO_T}yes" >&6
5902 else
5903 echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6
5905 fi
5906
5907
5908 enablestring=
5909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5910 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5911 no_cache=0
5912 # Check whether --enable-longlong or --disable-longlong was given.
5913 if test "${enable_longlong+set}" = set; then
5914 enableval="$enable_longlong"
5915
5916 if test "$enableval" = yes; then
5917 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5918 else
5919 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5920 fi
5921
5922 else
5923
5924 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x ; then
5926 eval "DEFAULT_$LINE"
5927 else
5928 no_cache=1
5929 fi
5930
5931 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5932
5933 fi;
5934
5935 eval "$ac_cv_use_longlong"
5936 if test "$no_cache" != 1; then
5937 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5938 fi
5939
5940 if test "$wxUSE_LONGLONG" = yes; then
5941 echo "$as_me:$LINENO: result: yes" >&5
5942 echo "${ECHO_T}yes" >&6
5943 else
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5946 fi
5947
5948
5949 enablestring=
5950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5951 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5952 no_cache=0
5953 # Check whether --enable-mimetype or --disable-mimetype was given.
5954 if test "${enable_mimetype+set}" = set; then
5955 enableval="$enable_mimetype"
5956
5957 if test "$enableval" = yes; then
5958 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5959 else
5960 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5961 fi
5962
5963 else
5964
5965 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x ; then
5967 eval "DEFAULT_$LINE"
5968 else
5969 no_cache=1
5970 fi
5971
5972 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5973
5974 fi;
5975
5976 eval "$ac_cv_use_mimetype"
5977 if test "$no_cache" != 1; then
5978 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5979 fi
5980
5981 if test "$wxUSE_MIMETYPE" = yes; then
5982 echo "$as_me:$LINENO: result: yes" >&5
5983 echo "${ECHO_T}yes" >&6
5984 else
5985 echo "$as_me:$LINENO: result: no" >&5
5986 echo "${ECHO_T}no" >&6
5987 fi
5988
5989
5990 enablestring=
5991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5993 no_cache=0
5994 # Check whether --enable-mslu or --disable-mslu was given.
5995 if test "${enable_mslu+set}" = set; then
5996 enableval="$enable_mslu"
5997
5998 if test "$enableval" = yes; then
5999 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6000 else
6001 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6002 fi
6003
6004 else
6005
6006 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x ; then
6008 eval "DEFAULT_$LINE"
6009 else
6010 no_cache=1
6011 fi
6012
6013 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6014
6015 fi;
6016
6017 eval "$ac_cv_use_mslu"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6020 fi
6021
6022 if test "$wxUSE_UNICODE_MSLU" = yes; then
6023 echo "$as_me:$LINENO: result: yes" >&5
6024 echo "${ECHO_T}yes" >&6
6025 else
6026 echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6
6028 fi
6029
6030
6031 enablestring=
6032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6
6034 no_cache=0
6035 # Check whether --enable-utf8 or --disable-utf8 was given.
6036 if test "${enable_utf8+set}" = set; then
6037 enableval="$enable_utf8"
6038
6039 if test "$enableval" = yes; then
6040 ac_cv_use_utf8='wxUSE_UNICODE_UTF8=yes'
6041 else
6042 ac_cv_use_utf8='wxUSE_UNICODE_UTF8=no'
6043 fi
6044
6045 else
6046
6047 LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x ; then
6049 eval "DEFAULT_$LINE"
6050 else
6051 no_cache=1
6052 fi
6053
6054 ac_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6055
6056 fi;
6057
6058 eval "$ac_cv_use_utf8"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6061 fi
6062
6063 if test "$wxUSE_UNICODE_UTF8" = yes; then
6064 echo "$as_me:$LINENO: result: yes" >&5
6065 echo "${ECHO_T}yes" >&6
6066 else
6067 echo "$as_me:$LINENO: result: no" >&5
6068 echo "${ECHO_T}no" >&6
6069 fi
6070
6071
6072 enablestring=
6073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6
6075 no_cache=0
6076 # Check whether --enable-utf8only or --disable-utf8only was given.
6077 if test "${enable_utf8only+set}" = set; then
6078 enableval="$enable_utf8only"
6079
6080 if test "$enableval" = yes; then
6081 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6082 else
6083 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6084 fi
6085
6086 else
6087
6088 LINE=`grep "wxUSE_UNICODE_UTF8_LOCALE" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x ; then
6090 eval "DEFAULT_$LINE"
6091 else
6092 no_cache=1
6093 fi
6094
6095 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6096
6097 fi;
6098
6099 eval "$ac_cv_use_utf8only"
6100 if test "$no_cache" != 1; then
6101 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6102 fi
6103
6104 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6105 echo "$as_me:$LINENO: result: yes" >&5
6106 echo "${ECHO_T}yes" >&6
6107 else
6108 echo "$as_me:$LINENO: result: no" >&5
6109 echo "${ECHO_T}no" >&6
6110 fi
6111
6112
6113 enablestring=
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
6116 no_cache=0
6117 # Check whether --enable-snglinst or --disable-snglinst was given.
6118 if test "${enable_snglinst+set}" = set; then
6119 enableval="$enable_snglinst"
6120
6121 if test "$enableval" = yes; then
6122 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6123 else
6124 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6125 fi
6126
6127 else
6128
6129 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6132 else
6133 no_cache=1
6134 fi
6135
6136 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6137
6138 fi;
6139
6140 eval "$ac_cv_use_snglinst"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6143 fi
6144
6145 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6148 else
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6151 fi
6152
6153
6154 enablestring=
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6157 no_cache=0
6158 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6159 if test "${enable_std_iostreams+set}" = set; then
6160 enableval="$enable_std_iostreams"
6161
6162 if test "$enableval" = yes; then
6163 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6164 else
6165 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6166 fi
6167
6168 else
6169
6170 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x ; then
6172 eval "DEFAULT_$LINE"
6173 else
6174 no_cache=1
6175 fi
6176
6177 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6178
6179 fi;
6180
6181 eval "$ac_cv_use_std_iostreams"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6184 fi
6185
6186 if test "$wxUSE_STD_IOSTREAM" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6189 else
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6192 fi
6193
6194
6195 enablestring=
6196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6198 no_cache=0
6199 # Check whether --enable-std_string or --disable-std_string was given.
6200 if test "${enable_std_string+set}" = set; then
6201 enableval="$enable_std_string"
6202
6203 if test "$enableval" = yes; then
6204 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6205 else
6206 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6207 fi
6208
6209 else
6210
6211 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x ; then
6213 eval "DEFAULT_$LINE"
6214 else
6215 no_cache=1
6216 fi
6217
6218 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6219
6220 fi;
6221
6222 eval "$ac_cv_use_std_string"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6225 fi
6226
6227 if test "$wxUSE_STD_STRING" = yes; then
6228 echo "$as_me:$LINENO: result: yes" >&5
6229 echo "${ECHO_T}yes" >&6
6230 else
6231 echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6233 fi
6234
6235
6236 enablestring=
6237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6239 no_cache=0
6240 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6241 if test "${enable_stdpaths+set}" = set; then
6242 enableval="$enable_stdpaths"
6243
6244 if test "$enableval" = yes; then
6245 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6246 else
6247 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6248 fi
6249
6250 else
6251
6252 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x ; then
6254 eval "DEFAULT_$LINE"
6255 else
6256 no_cache=1
6257 fi
6258
6259 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6260
6261 fi;
6262
6263 eval "$ac_cv_use_stdpaths"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6266 fi
6267
6268 if test "$wxUSE_STDPATHS" = yes; then
6269 echo "$as_me:$LINENO: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6271 else
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6274 fi
6275
6276
6277 enablestring=
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6280 no_cache=0
6281 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6282 if test "${enable_stopwatch+set}" = set; then
6283 enableval="$enable_stopwatch"
6284
6285 if test "$enableval" = yes; then
6286 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6287 else
6288 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6289 fi
6290
6291 else
6292
6293 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x ; then
6295 eval "DEFAULT_$LINE"
6296 else
6297 no_cache=1
6298 fi
6299
6300 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6301
6302 fi;
6303
6304 eval "$ac_cv_use_stopwatch"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6307 fi
6308
6309 if test "$wxUSE_STOPWATCH" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6312 else
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6315 fi
6316
6317
6318 enablestring=
6319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6320 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6321 no_cache=0
6322 # Check whether --enable-streams or --disable-streams was given.
6323 if test "${enable_streams+set}" = set; then
6324 enableval="$enable_streams"
6325
6326 if test "$enableval" = yes; then
6327 ac_cv_use_streams='wxUSE_STREAMS=yes'
6328 else
6329 ac_cv_use_streams='wxUSE_STREAMS=no'
6330 fi
6331
6332 else
6333
6334 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6335 if test "x$LINE" != x ; then
6336 eval "DEFAULT_$LINE"
6337 else
6338 no_cache=1
6339 fi
6340
6341 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6342
6343 fi;
6344
6345 eval "$ac_cv_use_streams"
6346 if test "$no_cache" != 1; then
6347 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6348 fi
6349
6350 if test "$wxUSE_STREAMS" = yes; then
6351 echo "$as_me:$LINENO: result: yes" >&5
6352 echo "${ECHO_T}yes" >&6
6353 else
6354 echo "$as_me:$LINENO: result: no" >&5
6355 echo "${ECHO_T}no" >&6
6356 fi
6357
6358
6359 enablestring=
6360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6361 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6362 no_cache=0
6363 # Check whether --enable-system_options or --disable-system_options was given.
6364 if test "${enable_system_options+set}" = set; then
6365 enableval="$enable_system_options"
6366
6367 if test "$enableval" = yes; then
6368 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6369 else
6370 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6371 fi
6372
6373 else
6374
6375 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6376 if test "x$LINE" != x ; then
6377 eval "DEFAULT_$LINE"
6378 else
6379 no_cache=1
6380 fi
6381
6382 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6383
6384 fi;
6385
6386 eval "$ac_cv_use_system_options"
6387 if test "$no_cache" != 1; then
6388 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6389 fi
6390
6391 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6392 echo "$as_me:$LINENO: result: yes" >&5
6393 echo "${ECHO_T}yes" >&6
6394 else
6395 echo "$as_me:$LINENO: result: no" >&5
6396 echo "${ECHO_T}no" >&6
6397 fi
6398
6399
6400 enablestring=
6401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6402 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6403 no_cache=0
6404 # Check whether --enable-tarstream or --disable-tarstream was given.
6405 if test "${enable_tarstream+set}" = set; then
6406 enableval="$enable_tarstream"
6407
6408 if test "$enableval" = yes; then
6409 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6410 else
6411 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6412 fi
6413
6414 else
6415
6416 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6417 if test "x$LINE" != x ; then
6418 eval "DEFAULT_$LINE"
6419 else
6420 no_cache=1
6421 fi
6422
6423 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6424
6425 fi;
6426
6427 eval "$ac_cv_use_tarstream"
6428 if test "$no_cache" != 1; then
6429 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6430 fi
6431
6432 if test "$wxUSE_TARSTREAM" = yes; then
6433 echo "$as_me:$LINENO: result: yes" >&5
6434 echo "${ECHO_T}yes" >&6
6435 else
6436 echo "$as_me:$LINENO: result: no" >&5
6437 echo "${ECHO_T}no" >&6
6438 fi
6439
6440
6441 enablestring=
6442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6443 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6444 no_cache=0
6445 # Check whether --enable-textbuf or --disable-textbuf was given.
6446 if test "${enable_textbuf+set}" = set; then
6447 enableval="$enable_textbuf"
6448
6449 if test "$enableval" = yes; then
6450 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6451 else
6452 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6453 fi
6454
6455 else
6456
6457 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6458 if test "x$LINE" != x ; then
6459 eval "DEFAULT_$LINE"
6460 else
6461 no_cache=1
6462 fi
6463
6464 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6465
6466 fi;
6467
6468 eval "$ac_cv_use_textbuf"
6469 if test "$no_cache" != 1; then
6470 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6471 fi
6472
6473 if test "$wxUSE_TEXTBUFFER" = yes; then
6474 echo "$as_me:$LINENO: result: yes" >&5
6475 echo "${ECHO_T}yes" >&6
6476 else
6477 echo "$as_me:$LINENO: result: no" >&5
6478 echo "${ECHO_T}no" >&6
6479 fi
6480
6481
6482 enablestring=
6483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6484 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6485 no_cache=0
6486 # Check whether --enable-textfile or --disable-textfile was given.
6487 if test "${enable_textfile+set}" = set; then
6488 enableval="$enable_textfile"
6489
6490 if test "$enableval" = yes; then
6491 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6492 else
6493 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6494 fi
6495
6496 else
6497
6498 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6499 if test "x$LINE" != x ; then
6500 eval "DEFAULT_$LINE"
6501 else
6502 no_cache=1
6503 fi
6504
6505 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6506
6507 fi;
6508
6509 eval "$ac_cv_use_textfile"
6510 if test "$no_cache" != 1; then
6511 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6512 fi
6513
6514 if test "$wxUSE_TEXTFILE" = yes; then
6515 echo "$as_me:$LINENO: result: yes" >&5
6516 echo "${ECHO_T}yes" >&6
6517 else
6518 echo "$as_me:$LINENO: result: no" >&5
6519 echo "${ECHO_T}no" >&6
6520 fi
6521
6522
6523 enablestring=
6524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6525 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6526 no_cache=0
6527 # Check whether --enable-timer or --disable-timer was given.
6528 if test "${enable_timer+set}" = set; then
6529 enableval="$enable_timer"
6530
6531 if test "$enableval" = yes; then
6532 ac_cv_use_timer='wxUSE_TIMER=yes'
6533 else
6534 ac_cv_use_timer='wxUSE_TIMER=no'
6535 fi
6536
6537 else
6538
6539 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6540 if test "x$LINE" != x ; then
6541 eval "DEFAULT_$LINE"
6542 else
6543 no_cache=1
6544 fi
6545
6546 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6547
6548 fi;
6549
6550 eval "$ac_cv_use_timer"
6551 if test "$no_cache" != 1; then
6552 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6553 fi
6554
6555 if test "$wxUSE_TIMER" = yes; then
6556 echo "$as_me:$LINENO: result: yes" >&5
6557 echo "${ECHO_T}yes" >&6
6558 else
6559 echo "$as_me:$LINENO: result: no" >&5
6560 echo "${ECHO_T}no" >&6
6561 fi
6562
6563
6564 enablestring=
6565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6566 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6567 no_cache=0
6568 # Check whether --enable-unicode or --disable-unicode was given.
6569 if test "${enable_unicode+set}" = set; then
6570 enableval="$enable_unicode"
6571
6572 if test "$enableval" = yes; then
6573 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6574 else
6575 ac_cv_use_unicode='wxUSE_UNICODE=no'
6576 fi
6577
6578 else
6579
6580 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6581 if test "x$LINE" != x ; then
6582 eval "DEFAULT_$LINE"
6583 else
6584 no_cache=1
6585 fi
6586
6587 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6588
6589 fi;
6590
6591 eval "$ac_cv_use_unicode"
6592 if test "$no_cache" != 1; then
6593 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6594 fi
6595
6596 if test "$wxUSE_UNICODE" = yes; then
6597 echo "$as_me:$LINENO: result: yes" >&5
6598 echo "${ECHO_T}yes" >&6
6599 else
6600 echo "$as_me:$LINENO: result: no" >&5
6601 echo "${ECHO_T}no" >&6
6602 fi
6603
6604
6605 enablestring=
6606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6607 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6608 no_cache=0
6609 # Check whether --enable-sound or --disable-sound was given.
6610 if test "${enable_sound+set}" = set; then
6611 enableval="$enable_sound"
6612
6613 if test "$enableval" = yes; then
6614 ac_cv_use_sound='wxUSE_SOUND=yes'
6615 else
6616 ac_cv_use_sound='wxUSE_SOUND=no'
6617 fi
6618
6619 else
6620
6621 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6622 if test "x$LINE" != x ; then
6623 eval "DEFAULT_$LINE"
6624 else
6625 no_cache=1
6626 fi
6627
6628 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6629
6630 fi;
6631
6632 eval "$ac_cv_use_sound"
6633 if test "$no_cache" != 1; then
6634 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6635 fi
6636
6637 if test "$wxUSE_SOUND" = yes; then
6638 echo "$as_me:$LINENO: result: yes" >&5
6639 echo "${ECHO_T}yes" >&6
6640 else
6641 echo "$as_me:$LINENO: result: no" >&5
6642 echo "${ECHO_T}no" >&6
6643 fi
6644
6645
6646 enablestring=
6647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6649 no_cache=0
6650 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6651 if test "${enable_mediactrl+set}" = set; then
6652 enableval="$enable_mediactrl"
6653
6654 if test "$enableval" = yes; then
6655 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6656 else
6657 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6658 fi
6659
6660 else
6661
6662 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6663 if test "x$LINE" != x ; then
6664 eval "DEFAULT_$LINE"
6665 else
6666 no_cache=1
6667 fi
6668
6669 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6670
6671 fi;
6672
6673 eval "$ac_cv_use_mediactrl"
6674 if test "$no_cache" != 1; then
6675 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6676 fi
6677
6678 if test "$wxUSE_MEDIACTRL" = yes; then
6679 echo "$as_me:$LINENO: result: yes" >&5
6680 echo "${ECHO_T}yes" >&6
6681 else
6682 echo "$as_me:$LINENO: result: no" >&5
6683 echo "${ECHO_T}no" >&6
6684 fi
6685
6686
6687 enablestring=
6688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6689 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6690 no_cache=0
6691 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6692 if test "${enable_gstreamer8+set}" = set; then
6693 enableval="$enable_gstreamer8"
6694
6695 if test "$enableval" = yes; then
6696 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6697 else
6698 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6699 fi
6700
6701 else
6702
6703 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6704 if test "x$LINE" != x ; then
6705 eval "DEFAULT_$LINE"
6706 else
6707 no_cache=1
6708 fi
6709
6710 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6711
6712 fi;
6713
6714 eval "$ac_cv_use_gstreamer8"
6715 if test "$no_cache" != 1; then
6716 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6717 fi
6718
6719 if test "$wxUSE_GSTREAMER8" = yes; then
6720 echo "$as_me:$LINENO: result: yes" >&5
6721 echo "${ECHO_T}yes" >&6
6722 else
6723 echo "$as_me:$LINENO: result: no" >&5
6724 echo "${ECHO_T}no" >&6
6725 fi
6726
6727
6728 enablestring=
6729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6730 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6731 no_cache=0
6732 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6733 if test "${enable_printfposparam+set}" = set; then
6734 enableval="$enable_printfposparam"
6735
6736 if test "$enableval" = yes; then
6737 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6738 else
6739 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6740 fi
6741
6742 else
6743
6744 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6745 if test "x$LINE" != x ; then
6746 eval "DEFAULT_$LINE"
6747 else
6748 no_cache=1
6749 fi
6750
6751 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6752
6753 fi;
6754
6755 eval "$ac_cv_use_printfposparam"
6756 if test "$no_cache" != 1; then
6757 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6758 fi
6759
6760 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6761 echo "$as_me:$LINENO: result: yes" >&5
6762 echo "${ECHO_T}yes" >&6
6763 else
6764 echo "$as_me:$LINENO: result: no" >&5
6765 echo "${ECHO_T}no" >&6
6766 fi
6767
6768
6769 enablestring=
6770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6771 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6772 no_cache=0
6773 # Check whether --enable-zipstream or --disable-zipstream was given.
6774 if test "${enable_zipstream+set}" = set; then
6775 enableval="$enable_zipstream"
6776
6777 if test "$enableval" = yes; then
6778 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6779 else
6780 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6781 fi
6782
6783 else
6784
6785 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6786 if test "x$LINE" != x ; then
6787 eval "DEFAULT_$LINE"
6788 else
6789 no_cache=1
6790 fi
6791
6792 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6793
6794 fi;
6795
6796 eval "$ac_cv_use_zipstream"
6797 if test "$no_cache" != 1; then
6798 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6799 fi
6800
6801 if test "$wxUSE_ZIPSTREAM" = yes; then
6802 echo "$as_me:$LINENO: result: yes" >&5
6803 echo "${ECHO_T}yes" >&6
6804 else
6805 echo "$as_me:$LINENO: result: no" >&5
6806 echo "${ECHO_T}no" >&6
6807 fi
6808
6809
6810
6811 enablestring=
6812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6814 no_cache=0
6815 # Check whether --enable-url or --disable-url was given.
6816 if test "${enable_url+set}" = set; then
6817 enableval="$enable_url"
6818
6819 if test "$enableval" = yes; then
6820 ac_cv_use_url='wxUSE_URL=yes'
6821 else
6822 ac_cv_use_url='wxUSE_URL=no'
6823 fi
6824
6825 else
6826
6827 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x ; then
6829 eval "DEFAULT_$LINE"
6830 else
6831 no_cache=1
6832 fi
6833
6834 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6835
6836 fi;
6837
6838 eval "$ac_cv_use_url"
6839 if test "$no_cache" != 1; then
6840 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6841 fi
6842
6843 if test "$wxUSE_URL" = yes; then
6844 echo "$as_me:$LINENO: result: yes" >&5
6845 echo "${ECHO_T}yes" >&6
6846 else
6847 echo "$as_me:$LINENO: result: no" >&5
6848 echo "${ECHO_T}no" >&6
6849 fi
6850
6851
6852 enablestring=
6853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6854 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6855 no_cache=0
6856 # Check whether --enable-variant or --disable-variant was given.
6857 if test "${enable_variant+set}" = set; then
6858 enableval="$enable_variant"
6859
6860 if test "$enableval" = yes; then
6861 ac_cv_use_variant='wxUSE_VARIANT=yes'
6862 else
6863 ac_cv_use_variant='wxUSE_VARIANT=no'
6864 fi
6865
6866 else
6867
6868 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6871 else
6872 no_cache=1
6873 fi
6874
6875 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6876
6877 fi;
6878
6879 eval "$ac_cv_use_variant"
6880 if test "$no_cache" != 1; then
6881 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6882 fi
6883
6884 if test "$wxUSE_VARIANT" = yes; then
6885 echo "$as_me:$LINENO: result: yes" >&5
6886 echo "${ECHO_T}yes" >&6
6887 else
6888 echo "$as_me:$LINENO: result: no" >&5
6889 echo "${ECHO_T}no" >&6
6890 fi
6891
6892
6893 enablestring=
6894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6895 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6896 no_cache=0
6897 # Check whether --enable-protocol or --disable-protocol was given.
6898 if test "${enable_protocol+set}" = set; then
6899 enableval="$enable_protocol"
6900
6901 if test "$enableval" = yes; then
6902 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6903 else
6904 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6905 fi
6906
6907 else
6908
6909 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6910 if test "x$LINE" != x ; then
6911 eval "DEFAULT_$LINE"
6912 else
6913 no_cache=1
6914 fi
6915
6916 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6917
6918 fi;
6919
6920 eval "$ac_cv_use_protocol"
6921 if test "$no_cache" != 1; then
6922 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6923 fi
6924
6925 if test "$wxUSE_PROTOCOL" = yes; then
6926 echo "$as_me:$LINENO: result: yes" >&5
6927 echo "${ECHO_T}yes" >&6
6928 else
6929 echo "$as_me:$LINENO: result: no" >&5
6930 echo "${ECHO_T}no" >&6
6931 fi
6932
6933
6934 enablestring=
6935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6936 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6937 no_cache=0
6938 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6939 if test "${enable_protocol_http+set}" = set; then
6940 enableval="$enable_protocol_http"
6941
6942 if test "$enableval" = yes; then
6943 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6944 else
6945 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6946 fi
6947
6948 else
6949
6950 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x ; then
6952 eval "DEFAULT_$LINE"
6953 else
6954 no_cache=1
6955 fi
6956
6957 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6958
6959 fi;
6960
6961 eval "$ac_cv_use_protocol_http"
6962 if test "$no_cache" != 1; then
6963 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6964 fi
6965
6966 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6967 echo "$as_me:$LINENO: result: yes" >&5
6968 echo "${ECHO_T}yes" >&6
6969 else
6970 echo "$as_me:$LINENO: result: no" >&5
6971 echo "${ECHO_T}no" >&6
6972 fi
6973
6974
6975 enablestring=
6976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6977 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6978 no_cache=0
6979 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6980 if test "${enable_protocol_ftp+set}" = set; then
6981 enableval="$enable_protocol_ftp"
6982
6983 if test "$enableval" = yes; then
6984 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6985 else
6986 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6987 fi
6988
6989 else
6990
6991 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6992 if test "x$LINE" != x ; then
6993 eval "DEFAULT_$LINE"
6994 else
6995 no_cache=1
6996 fi
6997
6998 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6999
7000 fi;
7001
7002 eval "$ac_cv_use_protocol_ftp"
7003 if test "$no_cache" != 1; then
7004 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7005 fi
7006
7007 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7008 echo "$as_me:$LINENO: result: yes" >&5
7009 echo "${ECHO_T}yes" >&6
7010 else
7011 echo "$as_me:$LINENO: result: no" >&5
7012 echo "${ECHO_T}no" >&6
7013 fi
7014
7015
7016 enablestring=
7017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
7019 no_cache=0
7020 # Check whether --enable-protocol_file or --disable-protocol_file was given.
7021 if test "${enable_protocol_file+set}" = set; then
7022 enableval="$enable_protocol_file"
7023
7024 if test "$enableval" = yes; then
7025 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7026 else
7027 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7028 fi
7029
7030 else
7031
7032 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7035 else
7036 no_cache=1
7037 fi
7038
7039 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7040
7041 fi;
7042
7043 eval "$ac_cv_use_protocol_file"
7044 if test "$no_cache" != 1; then
7045 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7046 fi
7047
7048 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7049 echo "$as_me:$LINENO: result: yes" >&5
7050 echo "${ECHO_T}yes" >&6
7051 else
7052 echo "$as_me:$LINENO: result: no" >&5
7053 echo "${ECHO_T}no" >&6
7054 fi
7055
7056
7057
7058
7059
7060 enablestring=
7061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7062 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
7063 no_cache=0
7064 # Check whether --enable-threads or --disable-threads was given.
7065 if test "${enable_threads+set}" = set; then
7066 enableval="$enable_threads"
7067
7068 if test "$enableval" = yes; then
7069 ac_cv_use_threads='wxUSE_THREADS=yes'
7070 else
7071 ac_cv_use_threads='wxUSE_THREADS=no'
7072 fi
7073
7074 else
7075
7076 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7077 if test "x$LINE" != x ; then
7078 eval "DEFAULT_$LINE"
7079 else
7080 no_cache=1
7081 fi
7082
7083 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7084
7085 fi;
7086
7087 eval "$ac_cv_use_threads"
7088 if test "$no_cache" != 1; then
7089 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7090 fi
7091
7092 if test "$wxUSE_THREADS" = yes; then
7093 echo "$as_me:$LINENO: result: yes" >&5
7094 echo "${ECHO_T}yes" >&6
7095 else
7096 echo "$as_me:$LINENO: result: no" >&5
7097 echo "${ECHO_T}no" >&6
7098 fi
7099
7100
7101 if test "$wxUSE_GUI" = "yes"; then
7102
7103
7104
7105 enablestring=
7106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7107 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
7108 no_cache=0
7109 # Check whether --enable-docview or --disable-docview was given.
7110 if test "${enable_docview+set}" = set; then
7111 enableval="$enable_docview"
7112
7113 if test "$enableval" = yes; then
7114 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7115 else
7116 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7117 fi
7118
7119 else
7120
7121 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7122 if test "x$LINE" != x ; then
7123 eval "DEFAULT_$LINE"
7124 else
7125 no_cache=1
7126 fi
7127
7128 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7129
7130 fi;
7131
7132 eval "$ac_cv_use_docview"
7133 if test "$no_cache" != 1; then
7134 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7135 fi
7136
7137 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7138 echo "$as_me:$LINENO: result: yes" >&5
7139 echo "${ECHO_T}yes" >&6
7140 else
7141 echo "$as_me:$LINENO: result: no" >&5
7142 echo "${ECHO_T}no" >&6
7143 fi
7144
7145
7146 enablestring=
7147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7148 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7149 no_cache=0
7150 # Check whether --enable-help or --disable-help was given.
7151 if test "${enable_help+set}" = set; then
7152 enableval="$enable_help"
7153
7154 if test "$enableval" = yes; then
7155 ac_cv_use_help='wxUSE_HELP=yes'
7156 else
7157 ac_cv_use_help='wxUSE_HELP=no'
7158 fi
7159
7160 else
7161
7162 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7163 if test "x$LINE" != x ; then
7164 eval "DEFAULT_$LINE"
7165 else
7166 no_cache=1
7167 fi
7168
7169 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7170
7171 fi;
7172
7173 eval "$ac_cv_use_help"
7174 if test "$no_cache" != 1; then
7175 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7176 fi
7177
7178 if test "$wxUSE_HELP" = yes; then
7179 echo "$as_me:$LINENO: result: yes" >&5
7180 echo "${ECHO_T}yes" >&6
7181 else
7182 echo "$as_me:$LINENO: result: no" >&5
7183 echo "${ECHO_T}no" >&6
7184 fi
7185
7186
7187 enablestring=
7188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7189 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7190 no_cache=0
7191 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7192 if test "${enable_mshtmlhelp+set}" = set; then
7193 enableval="$enable_mshtmlhelp"
7194
7195 if test "$enableval" = yes; then
7196 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7197 else
7198 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7199 fi
7200
7201 else
7202
7203 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7204 if test "x$LINE" != x ; then
7205 eval "DEFAULT_$LINE"
7206 else
7207 no_cache=1
7208 fi
7209
7210 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7211
7212 fi;
7213
7214 eval "$ac_cv_use_mshtmlhelp"
7215 if test "$no_cache" != 1; then
7216 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7217 fi
7218
7219 if test "$wxUSE_MS_HTML_HELP" = yes; then
7220 echo "$as_me:$LINENO: result: yes" >&5
7221 echo "${ECHO_T}yes" >&6
7222 else
7223 echo "$as_me:$LINENO: result: no" >&5
7224 echo "${ECHO_T}no" >&6
7225 fi
7226
7227
7228 enablestring=
7229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7230 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7231 no_cache=0
7232 # Check whether --enable-html or --disable-html was given.
7233 if test "${enable_html+set}" = set; then
7234 enableval="$enable_html"
7235
7236 if test "$enableval" = yes; then
7237 ac_cv_use_html='wxUSE_HTML=yes'
7238 else
7239 ac_cv_use_html='wxUSE_HTML=no'
7240 fi
7241
7242 else
7243
7244 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7245 if test "x$LINE" != x ; then
7246 eval "DEFAULT_$LINE"
7247 else
7248 no_cache=1
7249 fi
7250
7251 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7252
7253 fi;
7254
7255 eval "$ac_cv_use_html"
7256 if test "$no_cache" != 1; then
7257 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7258 fi
7259
7260 if test "$wxUSE_HTML" = yes; then
7261 echo "$as_me:$LINENO: result: yes" >&5
7262 echo "${ECHO_T}yes" >&6
7263 else
7264 echo "$as_me:$LINENO: result: no" >&5
7265 echo "${ECHO_T}no" >&6
7266 fi
7267
7268
7269 enablestring=
7270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7271 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7272 no_cache=0
7273 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7274 if test "${enable_htmlhelp+set}" = set; then
7275 enableval="$enable_htmlhelp"
7276
7277 if test "$enableval" = yes; then
7278 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7279 else
7280 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7281 fi
7282
7283 else
7284
7285 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7286 if test "x$LINE" != x ; then
7287 eval "DEFAULT_$LINE"
7288 else
7289 no_cache=1
7290 fi
7291
7292 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7293
7294 fi;
7295
7296 eval "$ac_cv_use_htmlhelp"
7297 if test "$no_cache" != 1; then
7298 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7299 fi
7300
7301 if test "$wxUSE_WXHTML_HELP" = yes; then
7302 echo "$as_me:$LINENO: result: yes" >&5
7303 echo "${ECHO_T}yes" >&6
7304 else
7305 echo "$as_me:$LINENO: result: no" >&5
7306 echo "${ECHO_T}no" >&6
7307 fi
7308
7309
7310 enablestring=
7311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7312 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7313 no_cache=0
7314 # Check whether --enable-xrc or --disable-xrc was given.
7315 if test "${enable_xrc+set}" = set; then
7316 enableval="$enable_xrc"
7317
7318 if test "$enableval" = yes; then
7319 ac_cv_use_xrc='wxUSE_XRC=yes'
7320 else
7321 ac_cv_use_xrc='wxUSE_XRC=no'
7322 fi
7323
7324 else
7325
7326 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7327 if test "x$LINE" != x ; then
7328 eval "DEFAULT_$LINE"
7329 else
7330 no_cache=1
7331 fi
7332
7333 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7334
7335 fi;
7336
7337 eval "$ac_cv_use_xrc"
7338 if test "$no_cache" != 1; then
7339 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7340 fi
7341
7342 if test "$wxUSE_XRC" = yes; then
7343 echo "$as_me:$LINENO: result: yes" >&5
7344 echo "${ECHO_T}yes" >&6
7345 else
7346 echo "$as_me:$LINENO: result: no" >&5
7347 echo "${ECHO_T}no" >&6
7348 fi
7349
7350
7351 enablestring=
7352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7353 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7354 no_cache=0
7355 # Check whether --enable-aui or --disable-aui was given.
7356 if test "${enable_aui+set}" = set; then
7357 enableval="$enable_aui"
7358
7359 if test "$enableval" = yes; then
7360 ac_cv_use_aui='wxUSE_AUI=yes'
7361 else
7362 ac_cv_use_aui='wxUSE_AUI=no'
7363 fi
7364
7365 else
7366
7367 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7368 if test "x$LINE" != x ; then
7369 eval "DEFAULT_$LINE"
7370 else
7371 no_cache=1
7372 fi
7373
7374 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7375
7376 fi;
7377
7378 eval "$ac_cv_use_aui"
7379 if test "$no_cache" != 1; then
7380 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7381 fi
7382
7383 if test "$wxUSE_AUI" = yes; then
7384 echo "$as_me:$LINENO: result: yes" >&5
7385 echo "${ECHO_T}yes" >&6
7386 else
7387 echo "$as_me:$LINENO: result: no" >&5
7388 echo "${ECHO_T}no" >&6
7389 fi
7390
7391
7392 enablestring=
7393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7394 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6
7395 no_cache=0
7396 # Check whether --enable-stc or --disable-stc was given.
7397 if test "${enable_stc+set}" = set; then
7398 enableval="$enable_stc"
7399
7400 if test "$enableval" = yes; then
7401 ac_cv_use_stc='wxUSE_STC=yes'
7402 else
7403 ac_cv_use_stc='wxUSE_STC=no'
7404 fi
7405
7406 else
7407
7408 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7409 if test "x$LINE" != x ; then
7410 eval "DEFAULT_$LINE"
7411 else
7412 no_cache=1
7413 fi
7414
7415 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
7416
7417 fi;
7418
7419 eval "$ac_cv_use_stc"
7420 if test "$no_cache" != 1; then
7421 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
7422 fi
7423
7424 if test "$wxUSE_STC" = yes; then
7425 echo "$as_me:$LINENO: result: yes" >&5
7426 echo "${ECHO_T}yes" >&6
7427 else
7428 echo "$as_me:$LINENO: result: no" >&5
7429 echo "${ECHO_T}no" >&6
7430 fi
7431
7432
7433 enablestring=
7434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7435 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7436 no_cache=0
7437 # Check whether --enable-constraints or --disable-constraints was given.
7438 if test "${enable_constraints+set}" = set; then
7439 enableval="$enable_constraints"
7440
7441 if test "$enableval" = yes; then
7442 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7443 else
7444 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7445 fi
7446
7447 else
7448
7449 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7450 if test "x$LINE" != x ; then
7451 eval "DEFAULT_$LINE"
7452 else
7453 no_cache=1
7454 fi
7455
7456 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7457
7458 fi;
7459
7460 eval "$ac_cv_use_constraints"
7461 if test "$no_cache" != 1; then
7462 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7463 fi
7464
7465 if test "$wxUSE_CONSTRAINTS" = yes; then
7466 echo "$as_me:$LINENO: result: yes" >&5
7467 echo "${ECHO_T}yes" >&6
7468 else
7469 echo "$as_me:$LINENO: result: no" >&5
7470 echo "${ECHO_T}no" >&6
7471 fi
7472
7473
7474 enablestring=
7475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7476 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7477 no_cache=0
7478 # Check whether --enable-printarch or --disable-printarch was given.
7479 if test "${enable_printarch+set}" = set; then
7480 enableval="$enable_printarch"
7481
7482 if test "$enableval" = yes; then
7483 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7484 else
7485 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7486 fi
7487
7488 else
7489
7490 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7491 if test "x$LINE" != x ; then
7492 eval "DEFAULT_$LINE"
7493 else
7494 no_cache=1
7495 fi
7496
7497 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7498
7499 fi;
7500
7501 eval "$ac_cv_use_printarch"
7502 if test "$no_cache" != 1; then
7503 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7504 fi
7505
7506 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7507 echo "$as_me:$LINENO: result: yes" >&5
7508 echo "${ECHO_T}yes" >&6
7509 else
7510 echo "$as_me:$LINENO: result: no" >&5
7511 echo "${ECHO_T}no" >&6
7512 fi
7513
7514
7515 enablestring=
7516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7517 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7518 no_cache=0
7519 # Check whether --enable-mdi or --disable-mdi was given.
7520 if test "${enable_mdi+set}" = set; then
7521 enableval="$enable_mdi"
7522
7523 if test "$enableval" = yes; then
7524 ac_cv_use_mdi='wxUSE_MDI=yes'
7525 else
7526 ac_cv_use_mdi='wxUSE_MDI=no'
7527 fi
7528
7529 else
7530
7531 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7532 if test "x$LINE" != x ; then
7533 eval "DEFAULT_$LINE"
7534 else
7535 no_cache=1
7536 fi
7537
7538 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7539
7540 fi;
7541
7542 eval "$ac_cv_use_mdi"
7543 if test "$no_cache" != 1; then
7544 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7545 fi
7546
7547 if test "$wxUSE_MDI" = yes; then
7548 echo "$as_me:$LINENO: result: yes" >&5
7549 echo "${ECHO_T}yes" >&6
7550 else
7551 echo "$as_me:$LINENO: result: no" >&5
7552 echo "${ECHO_T}no" >&6
7553 fi
7554
7555
7556 enablestring=
7557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7558 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7559 no_cache=0
7560 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7561 if test "${enable_mdidoc+set}" = set; then
7562 enableval="$enable_mdidoc"
7563
7564 if test "$enableval" = yes; then
7565 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7566 else
7567 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7568 fi
7569
7570 else
7571
7572 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7573 if test "x$LINE" != x ; then
7574 eval "DEFAULT_$LINE"
7575 else
7576 no_cache=1
7577 fi
7578
7579 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7580
7581 fi;
7582
7583 eval "$ac_cv_use_mdidoc"
7584 if test "$no_cache" != 1; then
7585 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7586 fi
7587
7588 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7589 echo "$as_me:$LINENO: result: yes" >&5
7590 echo "${ECHO_T}yes" >&6
7591 else
7592 echo "$as_me:$LINENO: result: no" >&5
7593 echo "${ECHO_T}no" >&6
7594 fi
7595
7596
7597 enablestring=
7598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7599 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7600 no_cache=0
7601 # Check whether --enable-loggui or --disable-loggui was given.
7602 if test "${enable_loggui+set}" = set; then
7603 enableval="$enable_loggui"
7604
7605 if test "$enableval" = yes; then
7606 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7607 else
7608 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7609 fi
7610
7611 else
7612
7613 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7614 if test "x$LINE" != x ; then
7615 eval "DEFAULT_$LINE"
7616 else
7617 no_cache=1
7618 fi
7619
7620 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7621
7622 fi;
7623
7624 eval "$ac_cv_use_loggui"
7625 if test "$no_cache" != 1; then
7626 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7627 fi
7628
7629 if test "$wxUSE_LOGGUI" = yes; then
7630 echo "$as_me:$LINENO: result: yes" >&5
7631 echo "${ECHO_T}yes" >&6
7632 else
7633 echo "$as_me:$LINENO: result: no" >&5
7634 echo "${ECHO_T}no" >&6
7635 fi
7636
7637
7638 enablestring=
7639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7640 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7641 no_cache=0
7642 # Check whether --enable-logwin or --disable-logwin was given.
7643 if test "${enable_logwin+set}" = set; then
7644 enableval="$enable_logwin"
7645
7646 if test "$enableval" = yes; then
7647 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7648 else
7649 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7650 fi
7651
7652 else
7653
7654 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7655 if test "x$LINE" != x ; then
7656 eval "DEFAULT_$LINE"
7657 else
7658 no_cache=1
7659 fi
7660
7661 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7662
7663 fi;
7664
7665 eval "$ac_cv_use_logwin"
7666 if test "$no_cache" != 1; then
7667 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7668 fi
7669
7670 if test "$wxUSE_LOGWINDOW" = yes; then
7671 echo "$as_me:$LINENO: result: yes" >&5
7672 echo "${ECHO_T}yes" >&6
7673 else
7674 echo "$as_me:$LINENO: result: no" >&5
7675 echo "${ECHO_T}no" >&6
7676 fi
7677
7678
7679 enablestring=
7680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7681 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7682 no_cache=0
7683 # Check whether --enable-logdialog or --disable-logdialog was given.
7684 if test "${enable_logdialog+set}" = set; then
7685 enableval="$enable_logdialog"
7686
7687 if test "$enableval" = yes; then
7688 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7689 else
7690 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7691 fi
7692
7693 else
7694
7695 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7696 if test "x$LINE" != x ; then
7697 eval "DEFAULT_$LINE"
7698 else
7699 no_cache=1
7700 fi
7701
7702 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7703
7704 fi;
7705
7706 eval "$ac_cv_use_logdialog"
7707 if test "$no_cache" != 1; then
7708 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7709 fi
7710
7711 if test "$wxUSE_LOGDIALOG" = yes; then
7712 echo "$as_me:$LINENO: result: yes" >&5
7713 echo "${ECHO_T}yes" >&6
7714 else
7715 echo "$as_me:$LINENO: result: no" >&5
7716 echo "${ECHO_T}no" >&6
7717 fi
7718
7719
7720 enablestring=
7721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7722 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7723 no_cache=0
7724 # Check whether --enable-webkit or --disable-webkit was given.
7725 if test "${enable_webkit+set}" = set; then
7726 enableval="$enable_webkit"
7727
7728 if test "$enableval" = yes; then
7729 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7730 else
7731 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7732 fi
7733
7734 else
7735
7736 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7737 if test "x$LINE" != x ; then
7738 eval "DEFAULT_$LINE"
7739 else
7740 no_cache=1
7741 fi
7742
7743 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7744
7745 fi;
7746
7747 eval "$ac_cv_use_webkit"
7748 if test "$no_cache" != 1; then
7749 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7750 fi
7751
7752 if test "$wxUSE_WEBKIT" = yes; then
7753 echo "$as_me:$LINENO: result: yes" >&5
7754 echo "${ECHO_T}yes" >&6
7755 else
7756 echo "$as_me:$LINENO: result: no" >&5
7757 echo "${ECHO_T}no" >&6
7758 fi
7759
7760
7761 enablestring=
7762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7763 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7764 no_cache=0
7765 # Check whether --enable-richtext or --disable-richtext was given.
7766 if test "${enable_richtext+set}" = set; then
7767 enableval="$enable_richtext"
7768
7769 if test "$enableval" = yes; then
7770 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7771 else
7772 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7773 fi
7774
7775 else
7776
7777 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7778 if test "x$LINE" != x ; then
7779 eval "DEFAULT_$LINE"
7780 else
7781 no_cache=1
7782 fi
7783
7784 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7785
7786 fi;
7787
7788 eval "$ac_cv_use_richtext"
7789 if test "$no_cache" != 1; then
7790 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7791 fi
7792
7793 if test "$wxUSE_RICHTEXT" = yes; then
7794 echo "$as_me:$LINENO: result: yes" >&5
7795 echo "${ECHO_T}yes" >&6
7796 else
7797 echo "$as_me:$LINENO: result: no" >&5
7798 echo "${ECHO_T}no" >&6
7799 fi
7800
7801
7802 enablestring=
7803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7804 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7805 no_cache=0
7806 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7807 if test "${enable_graphics_ctx+set}" = set; then
7808 enableval="$enable_graphics_ctx"
7809
7810 if test "$enableval" = yes; then
7811 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7812 else
7813 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7814 fi
7815
7816 else
7817
7818 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7819 if test "x$LINE" != x ; then
7820 eval "DEFAULT_$LINE"
7821 else
7822 no_cache=1
7823 fi
7824
7825 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7826
7827 fi;
7828
7829 eval "$ac_cv_use_graphics_ctx"
7830 if test "$no_cache" != 1; then
7831 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7832 fi
7833
7834 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7835 echo "$as_me:$LINENO: result: yes" >&5
7836 echo "${ECHO_T}yes" >&6
7837 else
7838 echo "$as_me:$LINENO: result: no" >&5
7839 echo "${ECHO_T}no" >&6
7840 fi
7841
7842
7843
7844 enablestring=
7845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7846 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7847 no_cache=0
7848 # Check whether --enable-postscript or --disable-postscript was given.
7849 if test "${enable_postscript+set}" = set; then
7850 enableval="$enable_postscript"
7851
7852 if test "$enableval" = yes; then
7853 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7854 else
7855 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7856 fi
7857
7858 else
7859
7860 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7861 if test "x$LINE" != x ; then
7862 eval "DEFAULT_$LINE"
7863 else
7864 no_cache=1
7865 fi
7866
7867 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7868
7869 fi;
7870
7871 eval "$ac_cv_use_postscript"
7872 if test "$no_cache" != 1; then
7873 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7874 fi
7875
7876 if test "$wxUSE_POSTSCRIPT" = yes; then
7877 echo "$as_me:$LINENO: result: yes" >&5
7878 echo "${ECHO_T}yes" >&6
7879 else
7880 echo "$as_me:$LINENO: result: no" >&5
7881 echo "${ECHO_T}no" >&6
7882 fi
7883
7884
7885
7886
7887
7888 enablestring=
7889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7890 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7891 no_cache=0
7892 # Check whether --enable-clipboard or --disable-clipboard was given.
7893 if test "${enable_clipboard+set}" = set; then
7894 enableval="$enable_clipboard"
7895
7896 if test "$enableval" = yes; then
7897 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7898 else
7899 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7900 fi
7901
7902 else
7903
7904 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7905 if test "x$LINE" != x ; then
7906 eval "DEFAULT_$LINE"
7907 else
7908 no_cache=1
7909 fi
7910
7911 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7912
7913 fi;
7914
7915 eval "$ac_cv_use_clipboard"
7916 if test "$no_cache" != 1; then
7917 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7918 fi
7919
7920 if test "$wxUSE_CLIPBOARD" = yes; then
7921 echo "$as_me:$LINENO: result: yes" >&5
7922 echo "${ECHO_T}yes" >&6
7923 else
7924 echo "$as_me:$LINENO: result: no" >&5
7925 echo "${ECHO_T}no" >&6
7926 fi
7927
7928
7929 enablestring=
7930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7931 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7932 no_cache=0
7933 # Check whether --enable-dnd or --disable-dnd was given.
7934 if test "${enable_dnd+set}" = set; then
7935 enableval="$enable_dnd"
7936
7937 if test "$enableval" = yes; then
7938 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7939 else
7940 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7941 fi
7942
7943 else
7944
7945 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7946 if test "x$LINE" != x ; then
7947 eval "DEFAULT_$LINE"
7948 else
7949 no_cache=1
7950 fi
7951
7952 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7953
7954 fi;
7955
7956 eval "$ac_cv_use_dnd"
7957 if test "$no_cache" != 1; then
7958 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7959 fi
7960
7961 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7962 echo "$as_me:$LINENO: result: yes" >&5
7963 echo "${ECHO_T}yes" >&6
7964 else
7965 echo "$as_me:$LINENO: result: no" >&5
7966 echo "${ECHO_T}no" >&6
7967 fi
7968
7969
7970 enablestring=
7971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7973 no_cache=0
7974 # Check whether --enable-metafile or --disable-metafile was given.
7975 if test "${enable_metafile+set}" = set; then
7976 enableval="$enable_metafile"
7977
7978 if test "$enableval" = yes; then
7979 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7980 else
7981 ac_cv_use_metafile='wxUSE_METAFILE=no'
7982 fi
7983
7984 else
7985
7986 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7989 else
7990 no_cache=1
7991 fi
7992
7993 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7994
7995 fi;
7996
7997 eval "$ac_cv_use_metafile"
7998 if test "$no_cache" != 1; then
7999 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8000 fi
8001
8002 if test "$wxUSE_METAFILE" = yes; then
8003 echo "$as_me:$LINENO: result: yes" >&5
8004 echo "${ECHO_T}yes" >&6
8005 else
8006 echo "$as_me:$LINENO: result: no" >&5
8007 echo "${ECHO_T}no" >&6
8008 fi
8009
8010
8011
8012
8013
8014 enablestring=
8015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
8017 no_cache=0
8018 # Check whether --enable-controls or --disable-controls was given.
8019 if test "${enable_controls+set}" = set; then
8020 enableval="$enable_controls"
8021
8022 if test "$enableval" = yes; then
8023 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8024 else
8025 ac_cv_use_controls='wxUSE_CONTROLS=no'
8026 fi
8027
8028 else
8029
8030 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8031 if test "x$LINE" != x ; then
8032 eval "DEFAULT_$LINE"
8033 else
8034 no_cache=1
8035 fi
8036
8037 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8038
8039 fi;
8040
8041 eval "$ac_cv_use_controls"
8042 if test "$no_cache" != 1; then
8043 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8044 fi
8045
8046 if test "$wxUSE_CONTROLS" = yes; then
8047 echo "$as_me:$LINENO: result: yes" >&5
8048 echo "${ECHO_T}yes" >&6
8049 else
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8052 fi
8053
8054
8055 if test "$wxUSE_CONTROLS" = "yes"; then
8056 DEFAULT_wxUSE_ACCEL=yes
8057 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8058 DEFAULT_wxUSE_BMPBUTTON=yes
8059 DEFAULT_wxUSE_BUTTON=yes
8060 DEFAULT_wxUSE_CALCTRL=yes
8061 DEFAULT_wxUSE_CARET=yes
8062 DEFAULT_wxUSE_COMBOBOX=yes
8063 DEFAULT_wxUSE_CHECKBOX=yes
8064 DEFAULT_wxUSE_CHECKLISTBOX=yes
8065 DEFAULT_wxUSE_CHOICE=yes
8066 DEFAULT_wxUSE_CHOICEBOOK=yes
8067 DEFAULT_wxUSE_COLLPANE=yes
8068 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8069 DEFAULT_wxUSE_COMBOBOX=yes
8070 DEFAULT_wxUSE_DATEPICKCTRL=yes
8071 DEFAULT_wxUSE_DISPLAY=yes
8072 DEFAULT_wxUSE_DETECT_SM=yes
8073 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8074 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8075 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8076 DEFAULT_wxUSE_GAUGE=yes
8077 DEFAULT_wxUSE_GRID=yes
8078 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8079 DEFAULT_wxUSE_DATAVIEWCTRL=no
8080 DEFAULT_wxUSE_IMAGLIST=yes
8081 DEFAULT_wxUSE_LISTBOOK=yes
8082 DEFAULT_wxUSE_LISTBOX=yes
8083 DEFAULT_wxUSE_LISTCTRL=yes
8084 DEFAULT_wxUSE_NOTEBOOK=yes
8085 DEFAULT_wxUSE_RADIOBOX=yes
8086 DEFAULT_wxUSE_RADIOBTN=yes
8087 DEFAULT_wxUSE_SASH=yes
8088 DEFAULT_wxUSE_SCROLLBAR=yes
8089 DEFAULT_wxUSE_SEARCHCTRL=yes
8090 DEFAULT_wxUSE_SLIDER=yes
8091 DEFAULT_wxUSE_SPINBTN=yes
8092 DEFAULT_wxUSE_SPINCTRL=yes
8093 DEFAULT_wxUSE_SPLITTER=yes
8094 DEFAULT_wxUSE_STATBMP=yes
8095 DEFAULT_wxUSE_STATBOX=yes
8096 DEFAULT_wxUSE_STATLINE=yes
8097 DEFAULT_wxUSE_STATUSBAR=yes
8098 DEFAULT_wxUSE_TAB_DIALOG=yes
8099 DEFAULT_wxUSE_TOGGLEBTN=yes
8100 DEFAULT_wxUSE_TOOLBAR=yes
8101 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8102 DEFAULT_wxUSE_TOOLTIPS=yes
8103 DEFAULT_wxUSE_TREEBOOK=yes
8104 DEFAULT_wxUSE_TOOLBOOK=yes
8105 DEFAULT_wxUSE_TREECTRL=yes
8106 DEFAULT_wxUSE_POPUPWIN=yes
8107 DEFAULT_wxUSE_TIPWINDOW=yes
8108 elif test "$wxUSE_CONTROLS" = "no"; then
8109 DEFAULT_wxUSE_ACCEL=no
8110 DEFAULT_wxUSE_ANIMATIONCTRL=no
8111 DEFAULT_wxUSE_BMPBUTTON=no
8112 DEFAULT_wxUSE_BUTTON=no
8113 DEFAULT_wxUSE_CALCTRL=no
8114 DEFAULT_wxUSE_CARET=no
8115 DEFAULT_wxUSE_COLLPANE=no
8116 DEFAULT_wxUSE_COMBOBOX=no
8117 DEFAULT_wxUSE_CHECKBOX=no
8118 DEFAULT_wxUSE_CHECKLISTBOX=no
8119 DEFAULT_wxUSE_CHOICE=no
8120 DEFAULT_wxUSE_CHOICEBOOK=no
8121 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8122 DEFAULT_wxUSE_COMBOBOX=no
8123 DEFAULT_wxUSE_DATEPICKCTRL=no
8124 DEFAULT_wxUSE_DISPLAY=no
8125 DEFAULT_wxUSE_DETECT_SM=no
8126 DEFAULT_wxUSE_DIRPICKERCTRL=no
8127 DEFAULT_wxUSE_FILEPICKERCTRL=no
8128 DEFAULT_wxUSE_FONTPICKERCTRL=no
8129 DEFAULT_wxUSE_GAUGE=no
8130 DEFAULT_wxUSE_GRID=no
8131 DEFAULT_wxUSE_HYPERLINKCTRL=no
8132 DEFAULT_wxUSE_DATAVIEWCTRL=no
8133 DEFAULT_wxUSE_IMAGLIST=no
8134 DEFAULT_wxUSE_LISTBOOK=no
8135 DEFAULT_wxUSE_LISTBOX=no
8136 DEFAULT_wxUSE_LISTCTRL=no
8137 DEFAULT_wxUSE_NOTEBOOK=no
8138 DEFAULT_wxUSE_RADIOBOX=no
8139 DEFAULT_wxUSE_RADIOBTN=no
8140 DEFAULT_wxUSE_SASH=no
8141 DEFAULT_wxUSE_SCROLLBAR=no
8142 DEFAULT_wxUSE_SEARCHCTRL=no
8143 DEFAULT_wxUSE_SLIDER=no
8144 DEFAULT_wxUSE_SPINBTN=no
8145 DEFAULT_wxUSE_SPINCTRL=no
8146 DEFAULT_wxUSE_SPLITTER=no
8147 DEFAULT_wxUSE_STATBMP=no
8148 DEFAULT_wxUSE_STATBOX=no
8149 DEFAULT_wxUSE_STATLINE=no
8150 DEFAULT_wxUSE_STATUSBAR=no
8151 DEFAULT_wxUSE_TAB_DIALOG=no
8152 DEFAULT_wxUSE_TOGGLEBTN=no
8153 DEFAULT_wxUSE_TOOLBAR=no
8154 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8155 DEFAULT_wxUSE_TOOLTIPS=no
8156 DEFAULT_wxUSE_TREEBOOK=no
8157 DEFAULT_wxUSE_TOOLBOOK=no
8158 DEFAULT_wxUSE_TREECTRL=no
8159 DEFAULT_wxUSE_POPUPWIN=no
8160 DEFAULT_wxUSE_TIPWINDOW=no
8161 fi
8162
8163
8164 enablestring=
8165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8166 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8167 no_cache=0
8168 # Check whether --enable-accel or --disable-accel was given.
8169 if test "${enable_accel+set}" = set; then
8170 enableval="$enable_accel"
8171
8172 if test "$enableval" = yes; then
8173 ac_cv_use_accel='wxUSE_ACCEL=yes'
8174 else
8175 ac_cv_use_accel='wxUSE_ACCEL=no'
8176 fi
8177
8178 else
8179
8180 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8181 if test "x$LINE" != x ; then
8182 eval "DEFAULT_$LINE"
8183 else
8184 no_cache=1
8185 fi
8186
8187 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8188
8189 fi;
8190
8191 eval "$ac_cv_use_accel"
8192 if test "$no_cache" != 1; then
8193 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8194 fi
8195
8196 if test "$wxUSE_ACCEL" = yes; then
8197 echo "$as_me:$LINENO: result: yes" >&5
8198 echo "${ECHO_T}yes" >&6
8199 else
8200 echo "$as_me:$LINENO: result: no" >&5
8201 echo "${ECHO_T}no" >&6
8202 fi
8203
8204
8205 enablestring=
8206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8208 no_cache=0
8209 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8210 if test "${enable_animatectrl+set}" = set; then
8211 enableval="$enable_animatectrl"
8212
8213 if test "$enableval" = yes; then
8214 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8215 else
8216 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8217 fi
8218
8219 else
8220
8221 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8222 if test "x$LINE" != x ; then
8223 eval "DEFAULT_$LINE"
8224 else
8225 no_cache=1
8226 fi
8227
8228 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8229
8230 fi;
8231
8232 eval "$ac_cv_use_animatectrl"
8233 if test "$no_cache" != 1; then
8234 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8235 fi
8236
8237 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8238 echo "$as_me:$LINENO: result: yes" >&5
8239 echo "${ECHO_T}yes" >&6
8240 else
8241 echo "$as_me:$LINENO: result: no" >&5
8242 echo "${ECHO_T}no" >&6
8243 fi
8244
8245
8246 enablestring=
8247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8248 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8249 no_cache=0
8250 # Check whether --enable-button or --disable-button was given.
8251 if test "${enable_button+set}" = set; then
8252 enableval="$enable_button"
8253
8254 if test "$enableval" = yes; then
8255 ac_cv_use_button='wxUSE_BUTTON=yes'
8256 else
8257 ac_cv_use_button='wxUSE_BUTTON=no'
8258 fi
8259
8260 else
8261
8262 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8263 if test "x$LINE" != x ; then
8264 eval "DEFAULT_$LINE"
8265 else
8266 no_cache=1
8267 fi
8268
8269 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8270
8271 fi;
8272
8273 eval "$ac_cv_use_button"
8274 if test "$no_cache" != 1; then
8275 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8276 fi
8277
8278 if test "$wxUSE_BUTTON" = yes; then
8279 echo "$as_me:$LINENO: result: yes" >&5
8280 echo "${ECHO_T}yes" >&6
8281 else
8282 echo "$as_me:$LINENO: result: no" >&5
8283 echo "${ECHO_T}no" >&6
8284 fi
8285
8286
8287 enablestring=
8288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8289 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8290 no_cache=0
8291 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8292 if test "${enable_bmpbutton+set}" = set; then
8293 enableval="$enable_bmpbutton"
8294
8295 if test "$enableval" = yes; then
8296 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8297 else
8298 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8299 fi
8300
8301 else
8302
8303 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8304 if test "x$LINE" != x ; then
8305 eval "DEFAULT_$LINE"
8306 else
8307 no_cache=1
8308 fi
8309
8310 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8311
8312 fi;
8313
8314 eval "$ac_cv_use_bmpbutton"
8315 if test "$no_cache" != 1; then
8316 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8317 fi
8318
8319 if test "$wxUSE_BMPBUTTON" = yes; then
8320 echo "$as_me:$LINENO: result: yes" >&5
8321 echo "${ECHO_T}yes" >&6
8322 else
8323 echo "$as_me:$LINENO: result: no" >&5
8324 echo "${ECHO_T}no" >&6
8325 fi
8326
8327
8328 enablestring=
8329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8330 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8331 no_cache=0
8332 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8333 if test "${enable_bmpcombobox+set}" = set; then
8334 enableval="$enable_bmpcombobox"
8335
8336 if test "$enableval" = yes; then
8337 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8338 else
8339 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8340 fi
8341
8342 else
8343
8344 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8345 if test "x$LINE" != x ; then
8346 eval "DEFAULT_$LINE"
8347 else
8348 no_cache=1
8349 fi
8350
8351 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8352
8353 fi;
8354
8355 eval "$ac_cv_use_bmpcombobox"
8356 if test "$no_cache" != 1; then
8357 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8358 fi
8359
8360 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8361 echo "$as_me:$LINENO: result: yes" >&5
8362 echo "${ECHO_T}yes" >&6
8363 else
8364 echo "$as_me:$LINENO: result: no" >&5
8365 echo "${ECHO_T}no" >&6
8366 fi
8367
8368
8369 enablestring=
8370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8371 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8372 no_cache=0
8373 # Check whether --enable-calendar or --disable-calendar was given.
8374 if test "${enable_calendar+set}" = set; then
8375 enableval="$enable_calendar"
8376
8377 if test "$enableval" = yes; then
8378 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8379 else
8380 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8381 fi
8382
8383 else
8384
8385 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8386 if test "x$LINE" != x ; then
8387 eval "DEFAULT_$LINE"
8388 else
8389 no_cache=1
8390 fi
8391
8392 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8393
8394 fi;
8395
8396 eval "$ac_cv_use_calendar"
8397 if test "$no_cache" != 1; then
8398 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8399 fi
8400
8401 if test "$wxUSE_CALCTRL" = yes; then
8402 echo "$as_me:$LINENO: result: yes" >&5
8403 echo "${ECHO_T}yes" >&6
8404 else
8405 echo "$as_me:$LINENO: result: no" >&5
8406 echo "${ECHO_T}no" >&6
8407 fi
8408
8409
8410 enablestring=
8411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8412 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8413 no_cache=0
8414 # Check whether --enable-caret or --disable-caret was given.
8415 if test "${enable_caret+set}" = set; then
8416 enableval="$enable_caret"
8417
8418 if test "$enableval" = yes; then
8419 ac_cv_use_caret='wxUSE_CARET=yes'
8420 else
8421 ac_cv_use_caret='wxUSE_CARET=no'
8422 fi
8423
8424 else
8425
8426 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8427 if test "x$LINE" != x ; then
8428 eval "DEFAULT_$LINE"
8429 else
8430 no_cache=1
8431 fi
8432
8433 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8434
8435 fi;
8436
8437 eval "$ac_cv_use_caret"
8438 if test "$no_cache" != 1; then
8439 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8440 fi
8441
8442 if test "$wxUSE_CARET" = yes; then
8443 echo "$as_me:$LINENO: result: yes" >&5
8444 echo "${ECHO_T}yes" >&6
8445 else
8446 echo "$as_me:$LINENO: result: no" >&5
8447 echo "${ECHO_T}no" >&6
8448 fi
8449
8450
8451 enablestring=
8452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8453 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8454 no_cache=0
8455 # Check whether --enable-checkbox or --disable-checkbox was given.
8456 if test "${enable_checkbox+set}" = set; then
8457 enableval="$enable_checkbox"
8458
8459 if test "$enableval" = yes; then
8460 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8461 else
8462 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8463 fi
8464
8465 else
8466
8467 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8468 if test "x$LINE" != x ; then
8469 eval "DEFAULT_$LINE"
8470 else
8471 no_cache=1
8472 fi
8473
8474 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8475
8476 fi;
8477
8478 eval "$ac_cv_use_checkbox"
8479 if test "$no_cache" != 1; then
8480 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8481 fi
8482
8483 if test "$wxUSE_CHECKBOX" = yes; then
8484 echo "$as_me:$LINENO: result: yes" >&5
8485 echo "${ECHO_T}yes" >&6
8486 else
8487 echo "$as_me:$LINENO: result: no" >&5
8488 echo "${ECHO_T}no" >&6
8489 fi
8490
8491
8492 enablestring=
8493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8494 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8495 no_cache=0
8496 # Check whether --enable-checklst or --disable-checklst was given.
8497 if test "${enable_checklst+set}" = set; then
8498 enableval="$enable_checklst"
8499
8500 if test "$enableval" = yes; then
8501 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8502 else
8503 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8504 fi
8505
8506 else
8507
8508 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x ; then
8510 eval "DEFAULT_$LINE"
8511 else
8512 no_cache=1
8513 fi
8514
8515 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8516
8517 fi;
8518
8519 eval "$ac_cv_use_checklst"
8520 if test "$no_cache" != 1; then
8521 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8522 fi
8523
8524 if test "$wxUSE_CHECKLST" = yes; then
8525 echo "$as_me:$LINENO: result: yes" >&5
8526 echo "${ECHO_T}yes" >&6
8527 else
8528 echo "$as_me:$LINENO: result: no" >&5
8529 echo "${ECHO_T}no" >&6
8530 fi
8531
8532
8533 enablestring=
8534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8536 no_cache=0
8537 # Check whether --enable-choice or --disable-choice was given.
8538 if test "${enable_choice+set}" = set; then
8539 enableval="$enable_choice"
8540
8541 if test "$enableval" = yes; then
8542 ac_cv_use_choice='wxUSE_CHOICE=yes'
8543 else
8544 ac_cv_use_choice='wxUSE_CHOICE=no'
8545 fi
8546
8547 else
8548
8549 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x ; then
8551 eval "DEFAULT_$LINE"
8552 else
8553 no_cache=1
8554 fi
8555
8556 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8557
8558 fi;
8559
8560 eval "$ac_cv_use_choice"
8561 if test "$no_cache" != 1; then
8562 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8563 fi
8564
8565 if test "$wxUSE_CHOICE" = yes; then
8566 echo "$as_me:$LINENO: result: yes" >&5
8567 echo "${ECHO_T}yes" >&6
8568 else
8569 echo "$as_me:$LINENO: result: no" >&5
8570 echo "${ECHO_T}no" >&6
8571 fi
8572
8573
8574 enablestring=
8575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8577 no_cache=0
8578 # Check whether --enable-choicebook or --disable-choicebook was given.
8579 if test "${enable_choicebook+set}" = set; then
8580 enableval="$enable_choicebook"
8581
8582 if test "$enableval" = yes; then
8583 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8584 else
8585 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8586 fi
8587
8588 else
8589
8590 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8593 else
8594 no_cache=1
8595 fi
8596
8597 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8598
8599 fi;
8600
8601 eval "$ac_cv_use_choicebook"
8602 if test "$no_cache" != 1; then
8603 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8604 fi
8605
8606 if test "$wxUSE_CHOICEBOOK" = yes; then
8607 echo "$as_me:$LINENO: result: yes" >&5
8608 echo "${ECHO_T}yes" >&6
8609 else
8610 echo "$as_me:$LINENO: result: no" >&5
8611 echo "${ECHO_T}no" >&6
8612 fi
8613
8614
8615 enablestring=
8616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8618 no_cache=0
8619 # Check whether --enable-collpane or --disable-collpane was given.
8620 if test "${enable_collpane+set}" = set; then
8621 enableval="$enable_collpane"
8622
8623 if test "$enableval" = yes; then
8624 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8625 else
8626 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8627 fi
8628
8629 else
8630
8631 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8632 if test "x$LINE" != x ; then
8633 eval "DEFAULT_$LINE"
8634 else
8635 no_cache=1
8636 fi
8637
8638 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8639
8640 fi;
8641
8642 eval "$ac_cv_use_collpane"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8645 fi
8646
8647 if test "$wxUSE_COLLPANE" = yes; then
8648 echo "$as_me:$LINENO: result: yes" >&5
8649 echo "${ECHO_T}yes" >&6
8650 else
8651 echo "$as_me:$LINENO: result: no" >&5
8652 echo "${ECHO_T}no" >&6
8653 fi
8654
8655
8656 enablestring=
8657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8658 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8659 no_cache=0
8660 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8661 if test "${enable_colourpicker+set}" = set; then
8662 enableval="$enable_colourpicker"
8663
8664 if test "$enableval" = yes; then
8665 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8666 else
8667 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8668 fi
8669
8670 else
8671
8672 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8673 if test "x$LINE" != x ; then
8674 eval "DEFAULT_$LINE"
8675 else
8676 no_cache=1
8677 fi
8678
8679 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8680
8681 fi;
8682
8683 eval "$ac_cv_use_colourpicker"
8684 if test "$no_cache" != 1; then
8685 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8686 fi
8687
8688 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8689 echo "$as_me:$LINENO: result: yes" >&5
8690 echo "${ECHO_T}yes" >&6
8691 else
8692 echo "$as_me:$LINENO: result: no" >&5
8693 echo "${ECHO_T}no" >&6
8694 fi
8695
8696
8697 enablestring=
8698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8700 no_cache=0
8701 # Check whether --enable-combobox or --disable-combobox was given.
8702 if test "${enable_combobox+set}" = set; then
8703 enableval="$enable_combobox"
8704
8705 if test "$enableval" = yes; then
8706 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8707 else
8708 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8709 fi
8710
8711 else
8712
8713 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8716 else
8717 no_cache=1
8718 fi
8719
8720 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8721
8722 fi;
8723
8724 eval "$ac_cv_use_combobox"
8725 if test "$no_cache" != 1; then
8726 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8727 fi
8728
8729 if test "$wxUSE_COMBOBOX" = yes; then
8730 echo "$as_me:$LINENO: result: yes" >&5
8731 echo "${ECHO_T}yes" >&6
8732 else
8733 echo "$as_me:$LINENO: result: no" >&5
8734 echo "${ECHO_T}no" >&6
8735 fi
8736
8737
8738 enablestring=
8739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8740 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8741 no_cache=0
8742 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8743 if test "${enable_comboctrl+set}" = set; then
8744 enableval="$enable_comboctrl"
8745
8746 if test "$enableval" = yes; then
8747 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8748 else
8749 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8750 fi
8751
8752 else
8753
8754 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8755 if test "x$LINE" != x ; then
8756 eval "DEFAULT_$LINE"
8757 else
8758 no_cache=1
8759 fi
8760
8761 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8762
8763 fi;
8764
8765 eval "$ac_cv_use_comboctrl"
8766 if test "$no_cache" != 1; then
8767 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8768 fi
8769
8770 if test "$wxUSE_COMBOCTRL" = yes; then
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8773 else
8774 echo "$as_me:$LINENO: result: no" >&5
8775 echo "${ECHO_T}no" >&6
8776 fi
8777
8778
8779 enablestring=
8780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8781 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8782 no_cache=0
8783 # Check whether --enable-datepick or --disable-datepick was given.
8784 if test "${enable_datepick+set}" = set; then
8785 enableval="$enable_datepick"
8786
8787 if test "$enableval" = yes; then
8788 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8789 else
8790 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8791 fi
8792
8793 else
8794
8795 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8796 if test "x$LINE" != x ; then
8797 eval "DEFAULT_$LINE"
8798 else
8799 no_cache=1
8800 fi
8801
8802 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8803
8804 fi;
8805
8806 eval "$ac_cv_use_datepick"
8807 if test "$no_cache" != 1; then
8808 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8809 fi
8810
8811 if test "$wxUSE_DATEPICKCTRL" = yes; then
8812 echo "$as_me:$LINENO: result: yes" >&5
8813 echo "${ECHO_T}yes" >&6
8814 else
8815 echo "$as_me:$LINENO: result: no" >&5
8816 echo "${ECHO_T}no" >&6
8817 fi
8818
8819
8820 enablestring=
8821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8823 no_cache=0
8824 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8825 if test "${enable_dirpicker+set}" = set; then
8826 enableval="$enable_dirpicker"
8827
8828 if test "$enableval" = yes; then
8829 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8830 else
8831 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8832 fi
8833
8834 else
8835
8836 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8839 else
8840 no_cache=1
8841 fi
8842
8843 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8844
8845 fi;
8846
8847 eval "$ac_cv_use_dirpicker"
8848 if test "$no_cache" != 1; then
8849 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8850 fi
8851
8852 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8853 echo "$as_me:$LINENO: result: yes" >&5
8854 echo "${ECHO_T}yes" >&6
8855 else
8856 echo "$as_me:$LINENO: result: no" >&5
8857 echo "${ECHO_T}no" >&6
8858 fi
8859
8860
8861 enablestring=
8862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8863 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8864 no_cache=0
8865 # Check whether --enable-display or --disable-display was given.
8866 if test "${enable_display+set}" = set; then
8867 enableval="$enable_display"
8868
8869 if test "$enableval" = yes; then
8870 ac_cv_use_display='wxUSE_DISPLAY=yes'
8871 else
8872 ac_cv_use_display='wxUSE_DISPLAY=no'
8873 fi
8874
8875 else
8876
8877 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8878 if test "x$LINE" != x ; then
8879 eval "DEFAULT_$LINE"
8880 else
8881 no_cache=1
8882 fi
8883
8884 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8885
8886 fi;
8887
8888 eval "$ac_cv_use_display"
8889 if test "$no_cache" != 1; then
8890 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8891 fi
8892
8893 if test "$wxUSE_DISPLAY" = yes; then
8894 echo "$as_me:$LINENO: result: yes" >&5
8895 echo "${ECHO_T}yes" >&6
8896 else
8897 echo "$as_me:$LINENO: result: no" >&5
8898 echo "${ECHO_T}no" >&6
8899 fi
8900
8901
8902 enablestring=
8903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8904 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8905 no_cache=0
8906 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8907 if test "${enable_detect_sm+set}" = set; then
8908 enableval="$enable_detect_sm"
8909
8910 if test "$enableval" = yes; then
8911 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8912 else
8913 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8914 fi
8915
8916 else
8917
8918 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8919 if test "x$LINE" != x ; then
8920 eval "DEFAULT_$LINE"
8921 else
8922 no_cache=1
8923 fi
8924
8925 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8926
8927 fi;
8928
8929 eval "$ac_cv_use_detect_sm"
8930 if test "$no_cache" != 1; then
8931 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8932 fi
8933
8934 if test "$wxUSE_DETECT_SM" = yes; then
8935 echo "$as_me:$LINENO: result: yes" >&5
8936 echo "${ECHO_T}yes" >&6
8937 else
8938 echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6
8940 fi
8941
8942
8943 enablestring=
8944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
8945 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6
8946 no_cache=0
8947 # Check whether --enable-editablebox or --disable-editablebox was given.
8948 if test "${enable_editablebox+set}" = set; then
8949 enableval="$enable_editablebox"
8950
8951 if test "$enableval" = yes; then
8952 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
8953 else
8954 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
8955 fi
8956
8957 else
8958
8959 LINE=`grep "wxUSE_EDITABLELISTBOX" ${wx_arg_cache_file}`
8960 if test "x$LINE" != x ; then
8961 eval "DEFAULT_$LINE"
8962 else
8963 no_cache=1
8964 fi
8965
8966 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
8967
8968 fi;
8969
8970 eval "$ac_cv_use_editablebox"
8971 if test "$no_cache" != 1; then
8972 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
8973 fi
8974
8975 if test "$wxUSE_EDITABLELISTBOX" = yes; then
8976 echo "$as_me:$LINENO: result: yes" >&5
8977 echo "${ECHO_T}yes" >&6
8978 else
8979 echo "$as_me:$LINENO: result: no" >&5
8980 echo "${ECHO_T}no" >&6
8981 fi
8982
8983
8984 enablestring=
8985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8987 no_cache=0
8988 # Check whether --enable-filepicker or --disable-filepicker was given.
8989 if test "${enable_filepicker+set}" = set; then
8990 enableval="$enable_filepicker"
8991
8992 if test "$enableval" = yes; then
8993 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8994 else
8995 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8996 fi
8997
8998 else
8999
9000 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x ; then
9002 eval "DEFAULT_$LINE"
9003 else
9004 no_cache=1
9005 fi
9006
9007 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9008
9009 fi;
9010
9011 eval "$ac_cv_use_filepicker"
9012 if test "$no_cache" != 1; then
9013 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9014 fi
9015
9016 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9017 echo "$as_me:$LINENO: result: yes" >&5
9018 echo "${ECHO_T}yes" >&6
9019 else
9020 echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6
9022 fi
9023
9024
9025 enablestring=
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
9028 no_cache=0
9029 # Check whether --enable-fontpicker or --disable-fontpicker was given.
9030 if test "${enable_fontpicker+set}" = set; then
9031 enableval="$enable_fontpicker"
9032
9033 if test "$enableval" = yes; then
9034 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9035 else
9036 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9037 fi
9038
9039 else
9040
9041 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x ; then
9043 eval "DEFAULT_$LINE"
9044 else
9045 no_cache=1
9046 fi
9047
9048 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9049
9050 fi;
9051
9052 eval "$ac_cv_use_fontpicker"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9055 fi
9056
9057 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9058 echo "$as_me:$LINENO: result: yes" >&5
9059 echo "${ECHO_T}yes" >&6
9060 else
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9063 fi
9064
9065
9066 enablestring=
9067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
9069 no_cache=0
9070 # Check whether --enable-gauge or --disable-gauge was given.
9071 if test "${enable_gauge+set}" = set; then
9072 enableval="$enable_gauge"
9073
9074 if test "$enableval" = yes; then
9075 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9076 else
9077 ac_cv_use_gauge='wxUSE_GAUGE=no'
9078 fi
9079
9080 else
9081
9082 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9083 if test "x$LINE" != x ; then
9084 eval "DEFAULT_$LINE"
9085 else
9086 no_cache=1
9087 fi
9088
9089 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9090
9091 fi;
9092
9093 eval "$ac_cv_use_gauge"
9094 if test "$no_cache" != 1; then
9095 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9096 fi
9097
9098 if test "$wxUSE_GAUGE" = yes; then
9099 echo "$as_me:$LINENO: result: yes" >&5
9100 echo "${ECHO_T}yes" >&6
9101 else
9102 echo "$as_me:$LINENO: result: no" >&5
9103 echo "${ECHO_T}no" >&6
9104 fi
9105
9106
9107 enablestring=
9108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9109 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
9110 no_cache=0
9111 # Check whether --enable-grid or --disable-grid was given.
9112 if test "${enable_grid+set}" = set; then
9113 enableval="$enable_grid"
9114
9115 if test "$enableval" = yes; then
9116 ac_cv_use_grid='wxUSE_GRID=yes'
9117 else
9118 ac_cv_use_grid='wxUSE_GRID=no'
9119 fi
9120
9121 else
9122
9123 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9124 if test "x$LINE" != x ; then
9125 eval "DEFAULT_$LINE"
9126 else
9127 no_cache=1
9128 fi
9129
9130 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9131
9132 fi;
9133
9134 eval "$ac_cv_use_grid"
9135 if test "$no_cache" != 1; then
9136 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9137 fi
9138
9139 if test "$wxUSE_GRID" = yes; then
9140 echo "$as_me:$LINENO: result: yes" >&5
9141 echo "${ECHO_T}yes" >&6
9142 else
9143 echo "$as_me:$LINENO: result: no" >&5
9144 echo "${ECHO_T}no" >&6
9145 fi
9146
9147
9148 enablestring=
9149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9150 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
9151 no_cache=0
9152 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
9153 if test "${enable_dataviewctrl+set}" = set; then
9154 enableval="$enable_dataviewctrl"
9155
9156 if test "$enableval" = yes; then
9157 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9158 else
9159 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9160 fi
9161
9162 else
9163
9164 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9165 if test "x$LINE" != x ; then
9166 eval "DEFAULT_$LINE"
9167 else
9168 no_cache=1
9169 fi
9170
9171 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9172
9173 fi;
9174
9175 eval "$ac_cv_use_dataviewctrl"
9176 if test "$no_cache" != 1; then
9177 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9178 fi
9179
9180 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9181 echo "$as_me:$LINENO: result: yes" >&5
9182 echo "${ECHO_T}yes" >&6
9183 else
9184 echo "$as_me:$LINENO: result: no" >&5
9185 echo "${ECHO_T}no" >&6
9186 fi
9187
9188
9189 enablestring=
9190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9191 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9192 no_cache=0
9193 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9194 if test "${enable_hyperlink+set}" = set; then
9195 enableval="$enable_hyperlink"
9196
9197 if test "$enableval" = yes; then
9198 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9199 else
9200 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9201 fi
9202
9203 else
9204
9205 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9206 if test "x$LINE" != x ; then
9207 eval "DEFAULT_$LINE"
9208 else
9209 no_cache=1
9210 fi
9211
9212 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9213
9214 fi;
9215
9216 eval "$ac_cv_use_hyperlink"
9217 if test "$no_cache" != 1; then
9218 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9219 fi
9220
9221 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9222 echo "$as_me:$LINENO: result: yes" >&5
9223 echo "${ECHO_T}yes" >&6
9224 else
9225 echo "$as_me:$LINENO: result: no" >&5
9226 echo "${ECHO_T}no" >&6
9227 fi
9228
9229
9230 enablestring=
9231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9232 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9233 no_cache=0
9234 # Check whether --enable-imaglist or --disable-imaglist was given.
9235 if test "${enable_imaglist+set}" = set; then
9236 enableval="$enable_imaglist"
9237
9238 if test "$enableval" = yes; then
9239 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9240 else
9241 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9242 fi
9243
9244 else
9245
9246 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9247 if test "x$LINE" != x ; then
9248 eval "DEFAULT_$LINE"
9249 else
9250 no_cache=1
9251 fi
9252
9253 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9254
9255 fi;
9256
9257 eval "$ac_cv_use_imaglist"
9258 if test "$no_cache" != 1; then
9259 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9260 fi
9261
9262 if test "$wxUSE_IMAGLIST" = yes; then
9263 echo "$as_me:$LINENO: result: yes" >&5
9264 echo "${ECHO_T}yes" >&6
9265 else
9266 echo "$as_me:$LINENO: result: no" >&5
9267 echo "${ECHO_T}no" >&6
9268 fi
9269
9270
9271 enablestring=
9272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9273 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9274 no_cache=0
9275 # Check whether --enable-listbook or --disable-listbook was given.
9276 if test "${enable_listbook+set}" = set; then
9277 enableval="$enable_listbook"
9278
9279 if test "$enableval" = yes; then
9280 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9281 else
9282 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9283 fi
9284
9285 else
9286
9287 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9288 if test "x$LINE" != x ; then
9289 eval "DEFAULT_$LINE"
9290 else
9291 no_cache=1
9292 fi
9293
9294 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9295
9296 fi;
9297
9298 eval "$ac_cv_use_listbook"
9299 if test "$no_cache" != 1; then
9300 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9301 fi
9302
9303 if test "$wxUSE_LISTBOOK" = yes; then
9304 echo "$as_me:$LINENO: result: yes" >&5
9305 echo "${ECHO_T}yes" >&6
9306 else
9307 echo "$as_me:$LINENO: result: no" >&5
9308 echo "${ECHO_T}no" >&6
9309 fi
9310
9311
9312 enablestring=
9313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9314 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9315 no_cache=0
9316 # Check whether --enable-listbox or --disable-listbox was given.
9317 if test "${enable_listbox+set}" = set; then
9318 enableval="$enable_listbox"
9319
9320 if test "$enableval" = yes; then
9321 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9322 else
9323 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9324 fi
9325
9326 else
9327
9328 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9329 if test "x$LINE" != x ; then
9330 eval "DEFAULT_$LINE"
9331 else
9332 no_cache=1
9333 fi
9334
9335 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9336
9337 fi;
9338
9339 eval "$ac_cv_use_listbox"
9340 if test "$no_cache" != 1; then
9341 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9342 fi
9343
9344 if test "$wxUSE_LISTBOX" = yes; then
9345 echo "$as_me:$LINENO: result: yes" >&5
9346 echo "${ECHO_T}yes" >&6
9347 else
9348 echo "$as_me:$LINENO: result: no" >&5
9349 echo "${ECHO_T}no" >&6
9350 fi
9351
9352
9353 enablestring=
9354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9355 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9356 no_cache=0
9357 # Check whether --enable-listctrl or --disable-listctrl was given.
9358 if test "${enable_listctrl+set}" = set; then
9359 enableval="$enable_listctrl"
9360
9361 if test "$enableval" = yes; then
9362 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9363 else
9364 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9365 fi
9366
9367 else
9368
9369 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9370 if test "x$LINE" != x ; then
9371 eval "DEFAULT_$LINE"
9372 else
9373 no_cache=1
9374 fi
9375
9376 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9377
9378 fi;
9379
9380 eval "$ac_cv_use_listctrl"
9381 if test "$no_cache" != 1; then
9382 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9383 fi
9384
9385 if test "$wxUSE_LISTCTRL" = yes; then
9386 echo "$as_me:$LINENO: result: yes" >&5
9387 echo "${ECHO_T}yes" >&6
9388 else
9389 echo "$as_me:$LINENO: result: no" >&5
9390 echo "${ECHO_T}no" >&6
9391 fi
9392
9393
9394 enablestring=
9395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9396 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9397 no_cache=0
9398 # Check whether --enable-notebook or --disable-notebook was given.
9399 if test "${enable_notebook+set}" = set; then
9400 enableval="$enable_notebook"
9401
9402 if test "$enableval" = yes; then
9403 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9404 else
9405 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9406 fi
9407
9408 else
9409
9410 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9411 if test "x$LINE" != x ; then
9412 eval "DEFAULT_$LINE"
9413 else
9414 no_cache=1
9415 fi
9416
9417 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9418
9419 fi;
9420
9421 eval "$ac_cv_use_notebook"
9422 if test "$no_cache" != 1; then
9423 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9424 fi
9425
9426 if test "$wxUSE_NOTEBOOK" = yes; then
9427 echo "$as_me:$LINENO: result: yes" >&5
9428 echo "${ECHO_T}yes" >&6
9429 else
9430 echo "$as_me:$LINENO: result: no" >&5
9431 echo "${ECHO_T}no" >&6
9432 fi
9433
9434
9435 enablestring=
9436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9437 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9438 no_cache=0
9439 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9440 if test "${enable_odcombobox+set}" = set; then
9441 enableval="$enable_odcombobox"
9442
9443 if test "$enableval" = yes; then
9444 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9445 else
9446 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9447 fi
9448
9449 else
9450
9451 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9452 if test "x$LINE" != x ; then
9453 eval "DEFAULT_$LINE"
9454 else
9455 no_cache=1
9456 fi
9457
9458 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9459
9460 fi;
9461
9462 eval "$ac_cv_use_odcombobox"
9463 if test "$no_cache" != 1; then
9464 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9465 fi
9466
9467 if test "$wxUSE_ODCOMBOBOX" = yes; then
9468 echo "$as_me:$LINENO: result: yes" >&5
9469 echo "${ECHO_T}yes" >&6
9470 else
9471 echo "$as_me:$LINENO: result: no" >&5
9472 echo "${ECHO_T}no" >&6
9473 fi
9474
9475
9476 enablestring=
9477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9478 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9479 no_cache=0
9480 # Check whether --enable-radiobox or --disable-radiobox was given.
9481 if test "${enable_radiobox+set}" = set; then
9482 enableval="$enable_radiobox"
9483
9484 if test "$enableval" = yes; then
9485 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9486 else
9487 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9488 fi
9489
9490 else
9491
9492 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9493 if test "x$LINE" != x ; then
9494 eval "DEFAULT_$LINE"
9495 else
9496 no_cache=1
9497 fi
9498
9499 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9500
9501 fi;
9502
9503 eval "$ac_cv_use_radiobox"
9504 if test "$no_cache" != 1; then
9505 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9506 fi
9507
9508 if test "$wxUSE_RADIOBOX" = yes; then
9509 echo "$as_me:$LINENO: result: yes" >&5
9510 echo "${ECHO_T}yes" >&6
9511 else
9512 echo "$as_me:$LINENO: result: no" >&5
9513 echo "${ECHO_T}no" >&6
9514 fi
9515
9516
9517 enablestring=
9518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9520 no_cache=0
9521 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9522 if test "${enable_radiobtn+set}" = set; then
9523 enableval="$enable_radiobtn"
9524
9525 if test "$enableval" = yes; then
9526 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9527 else
9528 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9529 fi
9530
9531 else
9532
9533 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9534 if test "x$LINE" != x ; then
9535 eval "DEFAULT_$LINE"
9536 else
9537 no_cache=1
9538 fi
9539
9540 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9541
9542 fi;
9543
9544 eval "$ac_cv_use_radiobtn"
9545 if test "$no_cache" != 1; then
9546 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9547 fi
9548
9549 if test "$wxUSE_RADIOBTN" = yes; then
9550 echo "$as_me:$LINENO: result: yes" >&5
9551 echo "${ECHO_T}yes" >&6
9552 else
9553 echo "$as_me:$LINENO: result: no" >&5
9554 echo "${ECHO_T}no" >&6
9555 fi
9556
9557
9558 enablestring=
9559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9560 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9561 no_cache=0
9562 # Check whether --enable-sash or --disable-sash was given.
9563 if test "${enable_sash+set}" = set; then
9564 enableval="$enable_sash"
9565
9566 if test "$enableval" = yes; then
9567 ac_cv_use_sash='wxUSE_SASH=yes'
9568 else
9569 ac_cv_use_sash='wxUSE_SASH=no'
9570 fi
9571
9572 else
9573
9574 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9575 if test "x$LINE" != x ; then
9576 eval "DEFAULT_$LINE"
9577 else
9578 no_cache=1
9579 fi
9580
9581 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9582
9583 fi;
9584
9585 eval "$ac_cv_use_sash"
9586 if test "$no_cache" != 1; then
9587 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9588 fi
9589
9590 if test "$wxUSE_SASH" = yes; then
9591 echo "$as_me:$LINENO: result: yes" >&5
9592 echo "${ECHO_T}yes" >&6
9593 else
9594 echo "$as_me:$LINENO: result: no" >&5
9595 echo "${ECHO_T}no" >&6
9596 fi
9597
9598
9599 enablestring=
9600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9602 no_cache=0
9603 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9604 if test "${enable_scrollbar+set}" = set; then
9605 enableval="$enable_scrollbar"
9606
9607 if test "$enableval" = yes; then
9608 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9609 else
9610 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9611 fi
9612
9613 else
9614
9615 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x ; then
9617 eval "DEFAULT_$LINE"
9618 else
9619 no_cache=1
9620 fi
9621
9622 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9623
9624 fi;
9625
9626 eval "$ac_cv_use_scrollbar"
9627 if test "$no_cache" != 1; then
9628 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9629 fi
9630
9631 if test "$wxUSE_SCROLLBAR" = yes; then
9632 echo "$as_me:$LINENO: result: yes" >&5
9633 echo "${ECHO_T}yes" >&6
9634 else
9635 echo "$as_me:$LINENO: result: no" >&5
9636 echo "${ECHO_T}no" >&6
9637 fi
9638
9639
9640 enablestring=
9641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
9643 no_cache=0
9644 # Check whether --enable-searchctrl or --disable-searchctrl was given.
9645 if test "${enable_searchctrl+set}" = set; then
9646 enableval="$enable_searchctrl"
9647
9648 if test "$enableval" = yes; then
9649 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
9650 else
9651 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
9652 fi
9653
9654 else
9655
9656 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x ; then
9658 eval "DEFAULT_$LINE"
9659 else
9660 no_cache=1
9661 fi
9662
9663 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
9664
9665 fi;
9666
9667 eval "$ac_cv_use_searchctrl"
9668 if test "$no_cache" != 1; then
9669 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
9670 fi
9671
9672 if test "$wxUSE_SEARCHCTRL" = yes; then
9673 echo "$as_me:$LINENO: result: yes" >&5
9674 echo "${ECHO_T}yes" >&6
9675 else
9676 echo "$as_me:$LINENO: result: no" >&5
9677 echo "${ECHO_T}no" >&6
9678 fi
9679
9680
9681 enablestring=
9682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9683 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9684 no_cache=0
9685 # Check whether --enable-slider or --disable-slider was given.
9686 if test "${enable_slider+set}" = set; then
9687 enableval="$enable_slider"
9688
9689 if test "$enableval" = yes; then
9690 ac_cv_use_slider='wxUSE_SLIDER=yes'
9691 else
9692 ac_cv_use_slider='wxUSE_SLIDER=no'
9693 fi
9694
9695 else
9696
9697 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x ; then
9699 eval "DEFAULT_$LINE"
9700 else
9701 no_cache=1
9702 fi
9703
9704 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9705
9706 fi;
9707
9708 eval "$ac_cv_use_slider"
9709 if test "$no_cache" != 1; then
9710 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9711 fi
9712
9713 if test "$wxUSE_SLIDER" = yes; then
9714 echo "$as_me:$LINENO: result: yes" >&5
9715 echo "${ECHO_T}yes" >&6
9716 else
9717 echo "$as_me:$LINENO: result: no" >&5
9718 echo "${ECHO_T}no" >&6
9719 fi
9720
9721
9722 enablestring=
9723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9725 no_cache=0
9726 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9727 if test "${enable_spinbtn+set}" = set; then
9728 enableval="$enable_spinbtn"
9729
9730 if test "$enableval" = yes; then
9731 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9732 else
9733 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9734 fi
9735
9736 else
9737
9738 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x ; then
9740 eval "DEFAULT_$LINE"
9741 else
9742 no_cache=1
9743 fi
9744
9745 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9746
9747 fi;
9748
9749 eval "$ac_cv_use_spinbtn"
9750 if test "$no_cache" != 1; then
9751 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9752 fi
9753
9754 if test "$wxUSE_SPINBTN" = yes; then
9755 echo "$as_me:$LINENO: result: yes" >&5
9756 echo "${ECHO_T}yes" >&6
9757 else
9758 echo "$as_me:$LINENO: result: no" >&5
9759 echo "${ECHO_T}no" >&6
9760 fi
9761
9762
9763 enablestring=
9764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9766 no_cache=0
9767 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9768 if test "${enable_spinctrl+set}" = set; then
9769 enableval="$enable_spinctrl"
9770
9771 if test "$enableval" = yes; then
9772 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9773 else
9774 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9775 fi
9776
9777 else
9778
9779 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9780 if test "x$LINE" != x ; then
9781 eval "DEFAULT_$LINE"
9782 else
9783 no_cache=1
9784 fi
9785
9786 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9787
9788 fi;
9789
9790 eval "$ac_cv_use_spinctrl"
9791 if test "$no_cache" != 1; then
9792 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9793 fi
9794
9795 if test "$wxUSE_SPINCTRL" = yes; then
9796 echo "$as_me:$LINENO: result: yes" >&5
9797 echo "${ECHO_T}yes" >&6
9798 else
9799 echo "$as_me:$LINENO: result: no" >&5
9800 echo "${ECHO_T}no" >&6
9801 fi
9802
9803
9804 enablestring=
9805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9806 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9807 no_cache=0
9808 # Check whether --enable-splitter or --disable-splitter was given.
9809 if test "${enable_splitter+set}" = set; then
9810 enableval="$enable_splitter"
9811
9812 if test "$enableval" = yes; then
9813 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9814 else
9815 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9816 fi
9817
9818 else
9819
9820 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x ; then
9822 eval "DEFAULT_$LINE"
9823 else
9824 no_cache=1
9825 fi
9826
9827 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9828
9829 fi;
9830
9831 eval "$ac_cv_use_splitter"
9832 if test "$no_cache" != 1; then
9833 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9834 fi
9835
9836 if test "$wxUSE_SPLITTER" = yes; then
9837 echo "$as_me:$LINENO: result: yes" >&5
9838 echo "${ECHO_T}yes" >&6
9839 else
9840 echo "$as_me:$LINENO: result: no" >&5
9841 echo "${ECHO_T}no" >&6
9842 fi
9843
9844
9845 enablestring=
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9848 no_cache=0
9849 # Check whether --enable-statbmp or --disable-statbmp was given.
9850 if test "${enable_statbmp+set}" = set; then
9851 enableval="$enable_statbmp"
9852
9853 if test "$enableval" = yes; then
9854 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9855 else
9856 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9857 fi
9858
9859 else
9860
9861 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x ; then
9863 eval "DEFAULT_$LINE"
9864 else
9865 no_cache=1
9866 fi
9867
9868 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9869
9870 fi;
9871
9872 eval "$ac_cv_use_statbmp"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9875 fi
9876
9877 if test "$wxUSE_STATBMP" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879 echo "${ECHO_T}yes" >&6
9880 else
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9883 fi
9884
9885
9886 enablestring=
9887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9889 no_cache=0
9890 # Check whether --enable-statbox or --disable-statbox was given.
9891 if test "${enable_statbox+set}" = set; then
9892 enableval="$enable_statbox"
9893
9894 if test "$enableval" = yes; then
9895 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9896 else
9897 ac_cv_use_statbox='wxUSE_STATBOX=no'
9898 fi
9899
9900 else
9901
9902 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9903 if test "x$LINE" != x ; then
9904 eval "DEFAULT_$LINE"
9905 else
9906 no_cache=1
9907 fi
9908
9909 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9910
9911 fi;
9912
9913 eval "$ac_cv_use_statbox"
9914 if test "$no_cache" != 1; then
9915 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9916 fi
9917
9918 if test "$wxUSE_STATBOX" = yes; then
9919 echo "$as_me:$LINENO: result: yes" >&5
9920 echo "${ECHO_T}yes" >&6
9921 else
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9924 fi
9925
9926
9927 enablestring=
9928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9929 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9930 no_cache=0
9931 # Check whether --enable-statline or --disable-statline was given.
9932 if test "${enable_statline+set}" = set; then
9933 enableval="$enable_statline"
9934
9935 if test "$enableval" = yes; then
9936 ac_cv_use_statline='wxUSE_STATLINE=yes'
9937 else
9938 ac_cv_use_statline='wxUSE_STATLINE=no'
9939 fi
9940
9941 else
9942
9943 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9944 if test "x$LINE" != x ; then
9945 eval "DEFAULT_$LINE"
9946 else
9947 no_cache=1
9948 fi
9949
9950 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9951
9952 fi;
9953
9954 eval "$ac_cv_use_statline"
9955 if test "$no_cache" != 1; then
9956 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9957 fi
9958
9959 if test "$wxUSE_STATLINE" = yes; then
9960 echo "$as_me:$LINENO: result: yes" >&5
9961 echo "${ECHO_T}yes" >&6
9962 else
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9965 fi
9966
9967
9968 enablestring=
9969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9971 no_cache=0
9972 # Check whether --enable-stattext or --disable-stattext was given.
9973 if test "${enable_stattext+set}" = set; then
9974 enableval="$enable_stattext"
9975
9976 if test "$enableval" = yes; then
9977 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9978 else
9979 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9980 fi
9981
9982 else
9983
9984 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9985 if test "x$LINE" != x ; then
9986 eval "DEFAULT_$LINE"
9987 else
9988 no_cache=1
9989 fi
9990
9991 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9992
9993 fi;
9994
9995 eval "$ac_cv_use_stattext"
9996 if test "$no_cache" != 1; then
9997 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9998 fi
9999
10000 if test "$wxUSE_STATTEXT" = yes; then
10001 echo "$as_me:$LINENO: result: yes" >&5
10002 echo "${ECHO_T}yes" >&6
10003 else
10004 echo "$as_me:$LINENO: result: no" >&5
10005 echo "${ECHO_T}no" >&6
10006 fi
10007
10008
10009 enablestring=
10010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10011 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
10012 no_cache=0
10013 # Check whether --enable-statusbar or --disable-statusbar was given.
10014 if test "${enable_statusbar+set}" = set; then
10015 enableval="$enable_statusbar"
10016
10017 if test "$enableval" = yes; then
10018 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10019 else
10020 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10021 fi
10022
10023 else
10024
10025 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10026 if test "x$LINE" != x ; then
10027 eval "DEFAULT_$LINE"
10028 else
10029 no_cache=1
10030 fi
10031
10032 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10033
10034 fi;
10035
10036 eval "$ac_cv_use_statusbar"
10037 if test "$no_cache" != 1; then
10038 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10039 fi
10040
10041 if test "$wxUSE_STATUSBAR" = yes; then
10042 echo "$as_me:$LINENO: result: yes" >&5
10043 echo "${ECHO_T}yes" >&6
10044 else
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10047 fi
10048
10049
10050 enablestring=
10051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
10053 no_cache=0
10054 # Check whether --enable-tabdialog or --disable-tabdialog was given.
10055 if test "${enable_tabdialog+set}" = set; then
10056 enableval="$enable_tabdialog"
10057
10058 if test "$enableval" = yes; then
10059 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10060 else
10061 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10062 fi
10063
10064 else
10065
10066 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10067 if test "x$LINE" != x ; then
10068 eval "DEFAULT_$LINE"
10069 else
10070 no_cache=1
10071 fi
10072
10073 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10074
10075 fi;
10076
10077 eval "$ac_cv_use_tabdialog"
10078 if test "$no_cache" != 1; then
10079 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10080 fi
10081
10082 if test "$wxUSE_TAB_DIALOG" = yes; then
10083 echo "$as_me:$LINENO: result: yes" >&5
10084 echo "${ECHO_T}yes" >&6
10085 else
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10088 fi
10089
10090
10091 enablestring=
10092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10093 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
10094 no_cache=0
10095 # Check whether --enable-textctrl or --disable-textctrl was given.
10096 if test "${enable_textctrl+set}" = set; then
10097 enableval="$enable_textctrl"
10098
10099 if test "$enableval" = yes; then
10100 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10101 else
10102 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10103 fi
10104
10105 else
10106
10107 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10108 if test "x$LINE" != x ; then
10109 eval "DEFAULT_$LINE"
10110 else
10111 no_cache=1
10112 fi
10113
10114 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10115
10116 fi;
10117
10118 eval "$ac_cv_use_textctrl"
10119 if test "$no_cache" != 1; then
10120 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10121 fi
10122
10123 if test "$wxUSE_TEXTCTRL" = yes; then
10124 echo "$as_me:$LINENO: result: yes" >&5
10125 echo "${ECHO_T}yes" >&6
10126 else
10127 echo "$as_me:$LINENO: result: no" >&5
10128 echo "${ECHO_T}no" >&6
10129 fi
10130
10131
10132 enablestring=
10133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10134 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
10135 no_cache=0
10136 # Check whether --enable-togglebtn or --disable-togglebtn was given.
10137 if test "${enable_togglebtn+set}" = set; then
10138 enableval="$enable_togglebtn"
10139
10140 if test "$enableval" = yes; then
10141 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10142 else
10143 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10144 fi
10145
10146 else
10147
10148 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10149 if test "x$LINE" != x ; then
10150 eval "DEFAULT_$LINE"
10151 else
10152 no_cache=1
10153 fi
10154
10155 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10156
10157 fi;
10158
10159 eval "$ac_cv_use_togglebtn"
10160 if test "$no_cache" != 1; then
10161 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10162 fi
10163
10164 if test "$wxUSE_TOGGLEBTN" = yes; then
10165 echo "$as_me:$LINENO: result: yes" >&5
10166 echo "${ECHO_T}yes" >&6
10167 else
10168 echo "$as_me:$LINENO: result: no" >&5
10169 echo "${ECHO_T}no" >&6
10170 fi
10171
10172
10173 enablestring=
10174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10175 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
10176 no_cache=0
10177 # Check whether --enable-toolbar or --disable-toolbar was given.
10178 if test "${enable_toolbar+set}" = set; then
10179 enableval="$enable_toolbar"
10180
10181 if test "$enableval" = yes; then
10182 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10183 else
10184 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10185 fi
10186
10187 else
10188
10189 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10190 if test "x$LINE" != x ; then
10191 eval "DEFAULT_$LINE"
10192 else
10193 no_cache=1
10194 fi
10195
10196 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10197
10198 fi;
10199
10200 eval "$ac_cv_use_toolbar"
10201 if test "$no_cache" != 1; then
10202 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10203 fi
10204
10205 if test "$wxUSE_TOOLBAR" = yes; then
10206 echo "$as_me:$LINENO: result: yes" >&5
10207 echo "${ECHO_T}yes" >&6
10208 else
10209 echo "$as_me:$LINENO: result: no" >&5
10210 echo "${ECHO_T}no" >&6
10211 fi
10212
10213
10214 enablestring=
10215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10216 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10217 no_cache=0
10218 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10219 if test "${enable_tbarnative+set}" = set; then
10220 enableval="$enable_tbarnative"
10221
10222 if test "$enableval" = yes; then
10223 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10224 else
10225 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10226 fi
10227
10228 else
10229
10230 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10231 if test "x$LINE" != x ; then
10232 eval "DEFAULT_$LINE"
10233 else
10234 no_cache=1
10235 fi
10236
10237 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10238
10239 fi;
10240
10241 eval "$ac_cv_use_tbarnative"
10242 if test "$no_cache" != 1; then
10243 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10244 fi
10245
10246 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10247 echo "$as_me:$LINENO: result: yes" >&5
10248 echo "${ECHO_T}yes" >&6
10249 else
10250 echo "$as_me:$LINENO: result: no" >&5
10251 echo "${ECHO_T}no" >&6
10252 fi
10253
10254
10255 enablestring=
10256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10257 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10258 no_cache=0
10259 # Check whether --enable-treebook or --disable-treebook was given.
10260 if test "${enable_treebook+set}" = set; then
10261 enableval="$enable_treebook"
10262
10263 if test "$enableval" = yes; then
10264 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10265 else
10266 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10267 fi
10268
10269 else
10270
10271 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10272 if test "x$LINE" != x ; then
10273 eval "DEFAULT_$LINE"
10274 else
10275 no_cache=1
10276 fi
10277
10278 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10279
10280 fi;
10281
10282 eval "$ac_cv_use_treebook"
10283 if test "$no_cache" != 1; then
10284 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10285 fi
10286
10287 if test "$wxUSE_TREEBOOK" = yes; then
10288 echo "$as_me:$LINENO: result: yes" >&5
10289 echo "${ECHO_T}yes" >&6
10290 else
10291 echo "$as_me:$LINENO: result: no" >&5
10292 echo "${ECHO_T}no" >&6
10293 fi
10294
10295
10296 enablestring=
10297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10298 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10299 no_cache=0
10300 # Check whether --enable-toolbook or --disable-toolbook was given.
10301 if test "${enable_toolbook+set}" = set; then
10302 enableval="$enable_toolbook"
10303
10304 if test "$enableval" = yes; then
10305 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10306 else
10307 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10308 fi
10309
10310 else
10311
10312 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10313 if test "x$LINE" != x ; then
10314 eval "DEFAULT_$LINE"
10315 else
10316 no_cache=1
10317 fi
10318
10319 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10320
10321 fi;
10322
10323 eval "$ac_cv_use_toolbook"
10324 if test "$no_cache" != 1; then
10325 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10326 fi
10327
10328 if test "$wxUSE_TOOLBOOK" = yes; then
10329 echo "$as_me:$LINENO: result: yes" >&5
10330 echo "${ECHO_T}yes" >&6
10331 else
10332 echo "$as_me:$LINENO: result: no" >&5
10333 echo "${ECHO_T}no" >&6
10334 fi
10335
10336
10337 enablestring=
10338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10339 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10340 no_cache=0
10341 # Check whether --enable-treectrl or --disable-treectrl was given.
10342 if test "${enable_treectrl+set}" = set; then
10343 enableval="$enable_treectrl"
10344
10345 if test "$enableval" = yes; then
10346 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10347 else
10348 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10349 fi
10350
10351 else
10352
10353 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10354 if test "x$LINE" != x ; then
10355 eval "DEFAULT_$LINE"
10356 else
10357 no_cache=1
10358 fi
10359
10360 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10361
10362 fi;
10363
10364 eval "$ac_cv_use_treectrl"
10365 if test "$no_cache" != 1; then
10366 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10367 fi
10368
10369 if test "$wxUSE_TREECTRL" = yes; then
10370 echo "$as_me:$LINENO: result: yes" >&5
10371 echo "${ECHO_T}yes" >&6
10372 else
10373 echo "$as_me:$LINENO: result: no" >&5
10374 echo "${ECHO_T}no" >&6
10375 fi
10376
10377
10378 enablestring=
10379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10380 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10381 no_cache=0
10382 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10383 if test "${enable_tipwindow+set}" = set; then
10384 enableval="$enable_tipwindow"
10385
10386 if test "$enableval" = yes; then
10387 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10388 else
10389 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10390 fi
10391
10392 else
10393
10394 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10395 if test "x$LINE" != x ; then
10396 eval "DEFAULT_$LINE"
10397 else
10398 no_cache=1
10399 fi
10400
10401 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10402
10403 fi;
10404
10405 eval "$ac_cv_use_tipwindow"
10406 if test "$no_cache" != 1; then
10407 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10408 fi
10409
10410 if test "$wxUSE_TIPWINDOW" = yes; then
10411 echo "$as_me:$LINENO: result: yes" >&5
10412 echo "${ECHO_T}yes" >&6
10413 else
10414 echo "$as_me:$LINENO: result: no" >&5
10415 echo "${ECHO_T}no" >&6
10416 fi
10417
10418
10419 enablestring=
10420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10421 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10422 no_cache=0
10423 # Check whether --enable-popupwin or --disable-popupwin was given.
10424 if test "${enable_popupwin+set}" = set; then
10425 enableval="$enable_popupwin"
10426
10427 if test "$enableval" = yes; then
10428 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10429 else
10430 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10431 fi
10432
10433 else
10434
10435 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10436 if test "x$LINE" != x ; then
10437 eval "DEFAULT_$LINE"
10438 else
10439 no_cache=1
10440 fi
10441
10442 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10443
10444 fi;
10445
10446 eval "$ac_cv_use_popupwin"
10447 if test "$no_cache" != 1; then
10448 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10449 fi
10450
10451 if test "$wxUSE_POPUPWIN" = yes; then
10452 echo "$as_me:$LINENO: result: yes" >&5
10453 echo "${ECHO_T}yes" >&6
10454 else
10455 echo "$as_me:$LINENO: result: no" >&5
10456 echo "${ECHO_T}no" >&6
10457 fi
10458
10459
10460
10461
10462 enablestring=
10463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10464 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10465 no_cache=0
10466 # Check whether --enable-commondlg or --disable-commondlg was given.
10467 if test "${enable_commondlg+set}" = set; then
10468 enableval="$enable_commondlg"
10469
10470 if test "$enableval" = yes; then
10471 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10472 else
10473 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10474 fi
10475
10476 else
10477
10478 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10479 if test "x$LINE" != x ; then
10480 eval "DEFAULT_$LINE"
10481 else
10482 no_cache=1
10483 fi
10484
10485 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10486
10487 fi;
10488
10489 eval "$ac_cv_use_commondlg"
10490 if test "$no_cache" != 1; then
10491 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10492 fi
10493
10494 if test "$wxUSE_COMMONDLGS" = yes; then
10495 echo "$as_me:$LINENO: result: yes" >&5
10496 echo "${ECHO_T}yes" >&6
10497 else
10498 echo "$as_me:$LINENO: result: no" >&5
10499 echo "${ECHO_T}no" >&6
10500 fi
10501
10502
10503 enablestring=
10504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10505 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10506 no_cache=0
10507 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10508 if test "${enable_aboutdlg+set}" = set; then
10509 enableval="$enable_aboutdlg"
10510
10511 if test "$enableval" = yes; then
10512 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10513 else
10514 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10515 fi
10516
10517 else
10518
10519 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10520 if test "x$LINE" != x ; then
10521 eval "DEFAULT_$LINE"
10522 else
10523 no_cache=1
10524 fi
10525
10526 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10527
10528 fi;
10529
10530 eval "$ac_cv_use_aboutdlg"
10531 if test "$no_cache" != 1; then
10532 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10533 fi
10534
10535 if test "$wxUSE_ABOUTDLG" = yes; then
10536 echo "$as_me:$LINENO: result: yes" >&5
10537 echo "${ECHO_T}yes" >&6
10538 else
10539 echo "$as_me:$LINENO: result: no" >&5
10540 echo "${ECHO_T}no" >&6
10541 fi
10542
10543
10544 enablestring=
10545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10546 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10547 no_cache=0
10548 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10549 if test "${enable_choicedlg+set}" = set; then
10550 enableval="$enable_choicedlg"
10551
10552 if test "$enableval" = yes; then
10553 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10554 else
10555 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10556 fi
10557
10558 else
10559
10560 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10561 if test "x$LINE" != x ; then
10562 eval "DEFAULT_$LINE"
10563 else
10564 no_cache=1
10565 fi
10566
10567 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10568
10569 fi;
10570
10571 eval "$ac_cv_use_choicedlg"
10572 if test "$no_cache" != 1; then
10573 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10574 fi
10575
10576 if test "$wxUSE_CHOICEDLG" = yes; then
10577 echo "$as_me:$LINENO: result: yes" >&5
10578 echo "${ECHO_T}yes" >&6
10579 else
10580 echo "$as_me:$LINENO: result: no" >&5
10581 echo "${ECHO_T}no" >&6
10582 fi
10583
10584
10585 enablestring=
10586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10587 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10588 no_cache=0
10589 # Check whether --enable-coldlg or --disable-coldlg was given.
10590 if test "${enable_coldlg+set}" = set; then
10591 enableval="$enable_coldlg"
10592
10593 if test "$enableval" = yes; then
10594 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10595 else
10596 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10597 fi
10598
10599 else
10600
10601 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10602 if test "x$LINE" != x ; then
10603 eval "DEFAULT_$LINE"
10604 else
10605 no_cache=1
10606 fi
10607
10608 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10609
10610 fi;
10611
10612 eval "$ac_cv_use_coldlg"
10613 if test "$no_cache" != 1; then
10614 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10615 fi
10616
10617 if test "$wxUSE_COLOURDLG" = yes; then
10618 echo "$as_me:$LINENO: result: yes" >&5
10619 echo "${ECHO_T}yes" >&6
10620 else
10621 echo "$as_me:$LINENO: result: no" >&5
10622 echo "${ECHO_T}no" >&6
10623 fi
10624
10625
10626 enablestring=
10627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10628 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10629 no_cache=0
10630 # Check whether --enable-filedlg or --disable-filedlg was given.
10631 if test "${enable_filedlg+set}" = set; then
10632 enableval="$enable_filedlg"
10633
10634 if test "$enableval" = yes; then
10635 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10636 else
10637 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10638 fi
10639
10640 else
10641
10642 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10643 if test "x$LINE" != x ; then
10644 eval "DEFAULT_$LINE"
10645 else
10646 no_cache=1
10647 fi
10648
10649 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10650
10651 fi;
10652
10653 eval "$ac_cv_use_filedlg"
10654 if test "$no_cache" != 1; then
10655 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10656 fi
10657
10658 if test "$wxUSE_FILEDLG" = yes; then
10659 echo "$as_me:$LINENO: result: yes" >&5
10660 echo "${ECHO_T}yes" >&6
10661 else
10662 echo "$as_me:$LINENO: result: no" >&5
10663 echo "${ECHO_T}no" >&6
10664 fi
10665
10666
10667 enablestring=
10668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10670 no_cache=0
10671 # Check whether --enable-finddlg or --disable-finddlg was given.
10672 if test "${enable_finddlg+set}" = set; then
10673 enableval="$enable_finddlg"
10674
10675 if test "$enableval" = yes; then
10676 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10677 else
10678 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10679 fi
10680
10681 else
10682
10683 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10684 if test "x$LINE" != x ; then
10685 eval "DEFAULT_$LINE"
10686 else
10687 no_cache=1
10688 fi
10689
10690 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10691
10692 fi;
10693
10694 eval "$ac_cv_use_finddlg"
10695 if test "$no_cache" != 1; then
10696 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10697 fi
10698
10699 if test "$wxUSE_FINDREPLDLG" = yes; then
10700 echo "$as_me:$LINENO: result: yes" >&5
10701 echo "${ECHO_T}yes" >&6
10702 else
10703 echo "$as_me:$LINENO: result: no" >&5
10704 echo "${ECHO_T}no" >&6
10705 fi
10706
10707
10708 enablestring=
10709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10710 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10711 no_cache=0
10712 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10713 if test "${enable_fontdlg+set}" = set; then
10714 enableval="$enable_fontdlg"
10715
10716 if test "$enableval" = yes; then
10717 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10718 else
10719 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10720 fi
10721
10722 else
10723
10724 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10725 if test "x$LINE" != x ; then
10726 eval "DEFAULT_$LINE"
10727 else
10728 no_cache=1
10729 fi
10730
10731 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10732
10733 fi;
10734
10735 eval "$ac_cv_use_fontdlg"
10736 if test "$no_cache" != 1; then
10737 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10738 fi
10739
10740 if test "$wxUSE_FONTDLG" = yes; then
10741 echo "$as_me:$LINENO: result: yes" >&5
10742 echo "${ECHO_T}yes" >&6
10743 else
10744 echo "$as_me:$LINENO: result: no" >&5
10745 echo "${ECHO_T}no" >&6
10746 fi
10747
10748
10749 enablestring=
10750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10752 no_cache=0
10753 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10754 if test "${enable_dirdlg+set}" = set; then
10755 enableval="$enable_dirdlg"
10756
10757 if test "$enableval" = yes; then
10758 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10759 else
10760 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10761 fi
10762
10763 else
10764
10765 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10766 if test "x$LINE" != x ; then
10767 eval "DEFAULT_$LINE"
10768 else
10769 no_cache=1
10770 fi
10771
10772 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10773
10774 fi;
10775
10776 eval "$ac_cv_use_dirdlg"
10777 if test "$no_cache" != 1; then
10778 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10779 fi
10780
10781 if test "$wxUSE_DIRDLG" = yes; then
10782 echo "$as_me:$LINENO: result: yes" >&5
10783 echo "${ECHO_T}yes" >&6
10784 else
10785 echo "$as_me:$LINENO: result: no" >&5
10786 echo "${ECHO_T}no" >&6
10787 fi
10788
10789
10790 enablestring=
10791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10792 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10793 no_cache=0
10794 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10795 if test "${enable_msgdlg+set}" = set; then
10796 enableval="$enable_msgdlg"
10797
10798 if test "$enableval" = yes; then
10799 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10800 else
10801 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10802 fi
10803
10804 else
10805
10806 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10807 if test "x$LINE" != x ; then
10808 eval "DEFAULT_$LINE"
10809 else
10810 no_cache=1
10811 fi
10812
10813 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10814
10815 fi;
10816
10817 eval "$ac_cv_use_msgdlg"
10818 if test "$no_cache" != 1; then
10819 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10820 fi
10821
10822 if test "$wxUSE_MSGDLG" = yes; then
10823 echo "$as_me:$LINENO: result: yes" >&5
10824 echo "${ECHO_T}yes" >&6
10825 else
10826 echo "$as_me:$LINENO: result: no" >&5
10827 echo "${ECHO_T}no" >&6
10828 fi
10829
10830
10831 enablestring=
10832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10833 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10834 no_cache=0
10835 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10836 if test "${enable_numberdlg+set}" = set; then
10837 enableval="$enable_numberdlg"
10838
10839 if test "$enableval" = yes; then
10840 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10841 else
10842 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10843 fi
10844
10845 else
10846
10847 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10848 if test "x$LINE" != x ; then
10849 eval "DEFAULT_$LINE"
10850 else
10851 no_cache=1
10852 fi
10853
10854 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10855
10856 fi;
10857
10858 eval "$ac_cv_use_numberdlg"
10859 if test "$no_cache" != 1; then
10860 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10861 fi
10862
10863 if test "$wxUSE_NUMBERDLG" = yes; then
10864 echo "$as_me:$LINENO: result: yes" >&5
10865 echo "${ECHO_T}yes" >&6
10866 else
10867 echo "$as_me:$LINENO: result: no" >&5
10868 echo "${ECHO_T}no" >&6
10869 fi
10870
10871
10872 enablestring=
10873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10874 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10875 no_cache=0
10876 # Check whether --enable-splash or --disable-splash was given.
10877 if test "${enable_splash+set}" = set; then
10878 enableval="$enable_splash"
10879
10880 if test "$enableval" = yes; then
10881 ac_cv_use_splash='wxUSE_SPLASH=yes'
10882 else
10883 ac_cv_use_splash='wxUSE_SPLASH=no'
10884 fi
10885
10886 else
10887
10888 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10889 if test "x$LINE" != x ; then
10890 eval "DEFAULT_$LINE"
10891 else
10892 no_cache=1
10893 fi
10894
10895 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10896
10897 fi;
10898
10899 eval "$ac_cv_use_splash"
10900 if test "$no_cache" != 1; then
10901 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10902 fi
10903
10904 if test "$wxUSE_SPLASH" = yes; then
10905 echo "$as_me:$LINENO: result: yes" >&5
10906 echo "${ECHO_T}yes" >&6
10907 else
10908 echo "$as_me:$LINENO: result: no" >&5
10909 echo "${ECHO_T}no" >&6
10910 fi
10911
10912
10913 enablestring=
10914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10915 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10916 no_cache=0
10917 # Check whether --enable-textdlg or --disable-textdlg was given.
10918 if test "${enable_textdlg+set}" = set; then
10919 enableval="$enable_textdlg"
10920
10921 if test "$enableval" = yes; then
10922 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10923 else
10924 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10925 fi
10926
10927 else
10928
10929 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10930 if test "x$LINE" != x ; then
10931 eval "DEFAULT_$LINE"
10932 else
10933 no_cache=1
10934 fi
10935
10936 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10937
10938 fi;
10939
10940 eval "$ac_cv_use_textdlg"
10941 if test "$no_cache" != 1; then
10942 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10943 fi
10944
10945 if test "$wxUSE_TEXTDLG" = yes; then
10946 echo "$as_me:$LINENO: result: yes" >&5
10947 echo "${ECHO_T}yes" >&6
10948 else
10949 echo "$as_me:$LINENO: result: no" >&5
10950 echo "${ECHO_T}no" >&6
10951 fi
10952
10953
10954 enablestring=
10955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10956 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10957 no_cache=0
10958 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10959 if test "${enable_tipdlg+set}" = set; then
10960 enableval="$enable_tipdlg"
10961
10962 if test "$enableval" = yes; then
10963 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10964 else
10965 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10966 fi
10967
10968 else
10969
10970 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10971 if test "x$LINE" != x ; then
10972 eval "DEFAULT_$LINE"
10973 else
10974 no_cache=1
10975 fi
10976
10977 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10978
10979 fi;
10980
10981 eval "$ac_cv_use_tipdlg"
10982 if test "$no_cache" != 1; then
10983 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10984 fi
10985
10986 if test "$wxUSE_STARTUP_TIPS" = yes; then
10987 echo "$as_me:$LINENO: result: yes" >&5
10988 echo "${ECHO_T}yes" >&6
10989 else
10990 echo "$as_me:$LINENO: result: no" >&5
10991 echo "${ECHO_T}no" >&6
10992 fi
10993
10994
10995 enablestring=
10996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10998 no_cache=0
10999 # Check whether --enable-progressdlg or --disable-progressdlg was given.
11000 if test "${enable_progressdlg+set}" = set; then
11001 enableval="$enable_progressdlg"
11002
11003 if test "$enableval" = yes; then
11004 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11005 else
11006 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11007 fi
11008
11009 else
11010
11011 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11012 if test "x$LINE" != x ; then
11013 eval "DEFAULT_$LINE"
11014 else
11015 no_cache=1
11016 fi
11017
11018 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11019
11020 fi;
11021
11022 eval "$ac_cv_use_progressdlg"
11023 if test "$no_cache" != 1; then
11024 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11025 fi
11026
11027 if test "$wxUSE_PROGRESSDLG" = yes; then
11028 echo "$as_me:$LINENO: result: yes" >&5
11029 echo "${ECHO_T}yes" >&6
11030 else
11031 echo "$as_me:$LINENO: result: no" >&5
11032 echo "${ECHO_T}no" >&6
11033 fi
11034
11035
11036 enablestring=
11037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11038 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
11039 no_cache=0
11040 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
11041 if test "${enable_wizarddlg+set}" = set; then
11042 enableval="$enable_wizarddlg"
11043
11044 if test "$enableval" = yes; then
11045 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11046 else
11047 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11048 fi
11049
11050 else
11051
11052 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11053 if test "x$LINE" != x ; then
11054 eval "DEFAULT_$LINE"
11055 else
11056 no_cache=1
11057 fi
11058
11059 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11060
11061 fi;
11062
11063 eval "$ac_cv_use_wizarddlg"
11064 if test "$no_cache" != 1; then
11065 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11066 fi
11067
11068 if test "$wxUSE_WIZARDDLG" = yes; then
11069 echo "$as_me:$LINENO: result: yes" >&5
11070 echo "${ECHO_T}yes" >&6
11071 else
11072 echo "$as_me:$LINENO: result: no" >&5
11073 echo "${ECHO_T}no" >&6
11074 fi
11075
11076
11077
11078
11079 enablestring=
11080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11081 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
11082 no_cache=0
11083 # Check whether --enable-menus or --disable-menus was given.
11084 if test "${enable_menus+set}" = set; then
11085 enableval="$enable_menus"
11086
11087 if test "$enableval" = yes; then
11088 ac_cv_use_menus='wxUSE_MENUS=yes'
11089 else
11090 ac_cv_use_menus='wxUSE_MENUS=no'
11091 fi
11092
11093 else
11094
11095 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11096 if test "x$LINE" != x ; then
11097 eval "DEFAULT_$LINE"
11098 else
11099 no_cache=1
11100 fi
11101
11102 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11103
11104 fi;
11105
11106 eval "$ac_cv_use_menus"
11107 if test "$no_cache" != 1; then
11108 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11109 fi
11110
11111 if test "$wxUSE_MENUS" = yes; then
11112 echo "$as_me:$LINENO: result: yes" >&5
11113 echo "${ECHO_T}yes" >&6
11114 else
11115 echo "$as_me:$LINENO: result: no" >&5
11116 echo "${ECHO_T}no" >&6
11117 fi
11118
11119
11120 enablestring=
11121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
11123 no_cache=0
11124 # Check whether --enable-miniframe or --disable-miniframe was given.
11125 if test "${enable_miniframe+set}" = set; then
11126 enableval="$enable_miniframe"
11127
11128 if test "$enableval" = yes; then
11129 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11130 else
11131 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11132 fi
11133
11134 else
11135
11136 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11137 if test "x$LINE" != x ; then
11138 eval "DEFAULT_$LINE"
11139 else
11140 no_cache=1
11141 fi
11142
11143 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11144
11145 fi;
11146
11147 eval "$ac_cv_use_miniframe"
11148 if test "$no_cache" != 1; then
11149 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11150 fi
11151
11152 if test "$wxUSE_MINIFRAME" = yes; then
11153 echo "$as_me:$LINENO: result: yes" >&5
11154 echo "${ECHO_T}yes" >&6
11155 else
11156 echo "$as_me:$LINENO: result: no" >&5
11157 echo "${ECHO_T}no" >&6
11158 fi
11159
11160
11161 enablestring=
11162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11163 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
11164 no_cache=0
11165 # Check whether --enable-tooltips or --disable-tooltips was given.
11166 if test "${enable_tooltips+set}" = set; then
11167 enableval="$enable_tooltips"
11168
11169 if test "$enableval" = yes; then
11170 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11171 else
11172 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11173 fi
11174
11175 else
11176
11177 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11178 if test "x$LINE" != x ; then
11179 eval "DEFAULT_$LINE"
11180 else
11181 no_cache=1
11182 fi
11183
11184 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11185
11186 fi;
11187
11188 eval "$ac_cv_use_tooltips"
11189 if test "$no_cache" != 1; then
11190 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11191 fi
11192
11193 if test "$wxUSE_TOOLTIPS" = yes; then
11194 echo "$as_me:$LINENO: result: yes" >&5
11195 echo "${ECHO_T}yes" >&6
11196 else
11197 echo "$as_me:$LINENO: result: no" >&5
11198 echo "${ECHO_T}no" >&6
11199 fi
11200
11201
11202 enablestring=
11203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11204 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
11205 no_cache=0
11206 # Check whether --enable-splines or --disable-splines was given.
11207 if test "${enable_splines+set}" = set; then
11208 enableval="$enable_splines"
11209
11210 if test "$enableval" = yes; then
11211 ac_cv_use_splines='wxUSE_SPLINES=yes'
11212 else
11213 ac_cv_use_splines='wxUSE_SPLINES=no'
11214 fi
11215
11216 else
11217
11218 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11219 if test "x$LINE" != x ; then
11220 eval "DEFAULT_$LINE"
11221 else
11222 no_cache=1
11223 fi
11224
11225 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11226
11227 fi;
11228
11229 eval "$ac_cv_use_splines"
11230 if test "$no_cache" != 1; then
11231 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11232 fi
11233
11234 if test "$wxUSE_SPLINES" = yes; then
11235 echo "$as_me:$LINENO: result: yes" >&5
11236 echo "${ECHO_T}yes" >&6
11237 else
11238 echo "$as_me:$LINENO: result: no" >&5
11239 echo "${ECHO_T}no" >&6
11240 fi
11241
11242
11243 enablestring=
11244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11245 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11246 no_cache=0
11247 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11248 if test "${enable_mousewheel+set}" = set; then
11249 enableval="$enable_mousewheel"
11250
11251 if test "$enableval" = yes; then
11252 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11253 else
11254 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11255 fi
11256
11257 else
11258
11259 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11260 if test "x$LINE" != x ; then
11261 eval "DEFAULT_$LINE"
11262 else
11263 no_cache=1
11264 fi
11265
11266 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11267
11268 fi;
11269
11270 eval "$ac_cv_use_mousewheel"
11271 if test "$no_cache" != 1; then
11272 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11273 fi
11274
11275 if test "$wxUSE_MOUSEWHEEL" = yes; then
11276 echo "$as_me:$LINENO: result: yes" >&5
11277 echo "${ECHO_T}yes" >&6
11278 else
11279 echo "$as_me:$LINENO: result: no" >&5
11280 echo "${ECHO_T}no" >&6
11281 fi
11282
11283
11284 enablestring=
11285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11286 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11287 no_cache=0
11288 # Check whether --enable-validators or --disable-validators was given.
11289 if test "${enable_validators+set}" = set; then
11290 enableval="$enable_validators"
11291
11292 if test "$enableval" = yes; then
11293 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11294 else
11295 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11296 fi
11297
11298 else
11299
11300 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11301 if test "x$LINE" != x ; then
11302 eval "DEFAULT_$LINE"
11303 else
11304 no_cache=1
11305 fi
11306
11307 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11308
11309 fi;
11310
11311 eval "$ac_cv_use_validators"
11312 if test "$no_cache" != 1; then
11313 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11314 fi
11315
11316 if test "$wxUSE_VALIDATORS" = yes; then
11317 echo "$as_me:$LINENO: result: yes" >&5
11318 echo "${ECHO_T}yes" >&6
11319 else
11320 echo "$as_me:$LINENO: result: no" >&5
11321 echo "${ECHO_T}no" >&6
11322 fi
11323
11324
11325 enablestring=
11326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11327 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11328 no_cache=0
11329 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11330 if test "${enable_busyinfo+set}" = set; then
11331 enableval="$enable_busyinfo"
11332
11333 if test "$enableval" = yes; then
11334 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11335 else
11336 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11337 fi
11338
11339 else
11340
11341 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11342 if test "x$LINE" != x ; then
11343 eval "DEFAULT_$LINE"
11344 else
11345 no_cache=1
11346 fi
11347
11348 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11349
11350 fi;
11351
11352 eval "$ac_cv_use_busyinfo"
11353 if test "$no_cache" != 1; then
11354 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11355 fi
11356
11357 if test "$wxUSE_BUSYINFO" = yes; then
11358 echo "$as_me:$LINENO: result: yes" >&5
11359 echo "${ECHO_T}yes" >&6
11360 else
11361 echo "$as_me:$LINENO: result: no" >&5
11362 echo "${ECHO_T}no" >&6
11363 fi
11364
11365
11366 enablestring=
11367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11368 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11369 no_cache=0
11370 # Check whether --enable-joystick or --disable-joystick was given.
11371 if test "${enable_joystick+set}" = set; then
11372 enableval="$enable_joystick"
11373
11374 if test "$enableval" = yes; then
11375 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11376 else
11377 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11378 fi
11379
11380 else
11381
11382 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11383 if test "x$LINE" != x ; then
11384 eval "DEFAULT_$LINE"
11385 else
11386 no_cache=1
11387 fi
11388
11389 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11390
11391 fi;
11392
11393 eval "$ac_cv_use_joystick"
11394 if test "$no_cache" != 1; then
11395 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11396 fi
11397
11398 if test "$wxUSE_JOYSTICK" = yes; then
11399 echo "$as_me:$LINENO: result: yes" >&5
11400 echo "${ECHO_T}yes" >&6
11401 else
11402 echo "$as_me:$LINENO: result: no" >&5
11403 echo "${ECHO_T}no" >&6
11404 fi
11405
11406
11407 enablestring=
11408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11409 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11410 no_cache=0
11411 # Check whether --enable-metafile or --disable-metafile was given.
11412 if test "${enable_metafile+set}" = set; then
11413 enableval="$enable_metafile"
11414
11415 if test "$enableval" = yes; then
11416 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11417 else
11418 ac_cv_use_metafile='wxUSE_METAFILE=no'
11419 fi
11420
11421 else
11422
11423 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11424 if test "x$LINE" != x ; then
11425 eval "DEFAULT_$LINE"
11426 else
11427 no_cache=1
11428 fi
11429
11430 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11431
11432 fi;
11433
11434 eval "$ac_cv_use_metafile"
11435 if test "$no_cache" != 1; then
11436 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11437 fi
11438
11439 if test "$wxUSE_METAFILE" = yes; then
11440 echo "$as_me:$LINENO: result: yes" >&5
11441 echo "${ECHO_T}yes" >&6
11442 else
11443 echo "$as_me:$LINENO: result: no" >&5
11444 echo "${ECHO_T}no" >&6
11445 fi
11446
11447
11448 enablestring=
11449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11450 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11451 no_cache=0
11452 # Check whether --enable-dragimage or --disable-dragimage was given.
11453 if test "${enable_dragimage+set}" = set; then
11454 enableval="$enable_dragimage"
11455
11456 if test "$enableval" = yes; then
11457 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11458 else
11459 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11460 fi
11461
11462 else
11463
11464 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11465 if test "x$LINE" != x ; then
11466 eval "DEFAULT_$LINE"
11467 else
11468 no_cache=1
11469 fi
11470
11471 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11472
11473 fi;
11474
11475 eval "$ac_cv_use_dragimage"
11476 if test "$no_cache" != 1; then
11477 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11478 fi
11479
11480 if test "$wxUSE_DRAGIMAGE" = yes; then
11481 echo "$as_me:$LINENO: result: yes" >&5
11482 echo "${ECHO_T}yes" >&6
11483 else
11484 echo "$as_me:$LINENO: result: no" >&5
11485 echo "${ECHO_T}no" >&6
11486 fi
11487
11488
11489 enablestring=
11490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11491 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11492 no_cache=0
11493 # Check whether --enable-accessibility or --disable-accessibility was given.
11494 if test "${enable_accessibility+set}" = set; then
11495 enableval="$enable_accessibility"
11496
11497 if test "$enableval" = yes; then
11498 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11499 else
11500 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11501 fi
11502
11503 else
11504
11505 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11506 if test "x$LINE" != x ; then
11507 eval "DEFAULT_$LINE"
11508 else
11509 no_cache=1
11510 fi
11511
11512 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11513
11514 fi;
11515
11516 eval "$ac_cv_use_accessibility"
11517 if test "$no_cache" != 1; then
11518 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11519 fi
11520
11521 if test "$wxUSE_ACCESSIBILITY" = yes; then
11522 echo "$as_me:$LINENO: result: yes" >&5
11523 echo "${ECHO_T}yes" >&6
11524 else
11525 echo "$as_me:$LINENO: result: no" >&5
11526 echo "${ECHO_T}no" >&6
11527 fi
11528
11529
11530 if test "$wxUSE_MSW" = "1"; then
11531
11532 enablestring=
11533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11534 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11535 no_cache=0
11536 # Check whether --enable-dccache or --disable-dccache was given.
11537 if test "${enable_dccache+set}" = set; then
11538 enableval="$enable_dccache"
11539
11540 if test "$enableval" = yes; then
11541 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11542 else
11543 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11544 fi
11545
11546 else
11547
11548 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11549 if test "x$LINE" != x ; then
11550 eval "DEFAULT_$LINE"
11551 else
11552 no_cache=1
11553 fi
11554
11555 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11556
11557 fi;
11558
11559 eval "$ac_cv_use_dccache"
11560 if test "$no_cache" != 1; then
11561 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11562 fi
11563
11564 if test "$wxUSE_DC_CACHEING" = yes; then
11565 echo "$as_me:$LINENO: result: yes" >&5
11566 echo "${ECHO_T}yes" >&6
11567 else
11568 echo "$as_me:$LINENO: result: no" >&5
11569 echo "${ECHO_T}no" >&6
11570 fi
11571
11572 fi
11573
11574
11575
11576 enablestring=
11577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11578 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11579 no_cache=0
11580 # Check whether --enable-palette or --disable-palette was given.
11581 if test "${enable_palette+set}" = set; then
11582 enableval="$enable_palette"
11583
11584 if test "$enableval" = yes; then
11585 ac_cv_use_palette='wxUSE_PALETTE=yes'
11586 else
11587 ac_cv_use_palette='wxUSE_PALETTE=no'
11588 fi
11589
11590 else
11591
11592 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11593 if test "x$LINE" != x ; then
11594 eval "DEFAULT_$LINE"
11595 else
11596 no_cache=1
11597 fi
11598
11599 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11600
11601 fi;
11602
11603 eval "$ac_cv_use_palette"
11604 if test "$no_cache" != 1; then
11605 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11606 fi
11607
11608 if test "$wxUSE_PALETTE" = yes; then
11609 echo "$as_me:$LINENO: result: yes" >&5
11610 echo "${ECHO_T}yes" >&6
11611 else
11612 echo "$as_me:$LINENO: result: no" >&5
11613 echo "${ECHO_T}no" >&6
11614 fi
11615
11616
11617 enablestring=
11618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11619 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11620 no_cache=0
11621 # Check whether --enable-image or --disable-image was given.
11622 if test "${enable_image+set}" = set; then
11623 enableval="$enable_image"
11624
11625 if test "$enableval" = yes; then
11626 ac_cv_use_image='wxUSE_IMAGE=yes'
11627 else
11628 ac_cv_use_image='wxUSE_IMAGE=no'
11629 fi
11630
11631 else
11632
11633 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11634 if test "x$LINE" != x ; then
11635 eval "DEFAULT_$LINE"
11636 else
11637 no_cache=1
11638 fi
11639
11640 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11641
11642 fi;
11643
11644 eval "$ac_cv_use_image"
11645 if test "$no_cache" != 1; then
11646 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11647 fi
11648
11649 if test "$wxUSE_IMAGE" = yes; then
11650 echo "$as_me:$LINENO: result: yes" >&5
11651 echo "${ECHO_T}yes" >&6
11652 else
11653 echo "$as_me:$LINENO: result: no" >&5
11654 echo "${ECHO_T}no" >&6
11655 fi
11656
11657
11658 enablestring=
11659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11660 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11661 no_cache=0
11662 # Check whether --enable-gif or --disable-gif was given.
11663 if test "${enable_gif+set}" = set; then
11664 enableval="$enable_gif"
11665
11666 if test "$enableval" = yes; then
11667 ac_cv_use_gif='wxUSE_GIF=yes'
11668 else
11669 ac_cv_use_gif='wxUSE_GIF=no'
11670 fi
11671
11672 else
11673
11674 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11675 if test "x$LINE" != x ; then
11676 eval "DEFAULT_$LINE"
11677 else
11678 no_cache=1
11679 fi
11680
11681 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11682
11683 fi;
11684
11685 eval "$ac_cv_use_gif"
11686 if test "$no_cache" != 1; then
11687 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11688 fi
11689
11690 if test "$wxUSE_GIF" = yes; then
11691 echo "$as_me:$LINENO: result: yes" >&5
11692 echo "${ECHO_T}yes" >&6
11693 else
11694 echo "$as_me:$LINENO: result: no" >&5
11695 echo "${ECHO_T}no" >&6
11696 fi
11697
11698
11699 enablestring=
11700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11701 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11702 no_cache=0
11703 # Check whether --enable-pcx or --disable-pcx was given.
11704 if test "${enable_pcx+set}" = set; then
11705 enableval="$enable_pcx"
11706
11707 if test "$enableval" = yes; then
11708 ac_cv_use_pcx='wxUSE_PCX=yes'
11709 else
11710 ac_cv_use_pcx='wxUSE_PCX=no'
11711 fi
11712
11713 else
11714
11715 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11716 if test "x$LINE" != x ; then
11717 eval "DEFAULT_$LINE"
11718 else
11719 no_cache=1
11720 fi
11721
11722 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11723
11724 fi;
11725
11726 eval "$ac_cv_use_pcx"
11727 if test "$no_cache" != 1; then
11728 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11729 fi
11730
11731 if test "$wxUSE_PCX" = yes; then
11732 echo "$as_me:$LINENO: result: yes" >&5
11733 echo "${ECHO_T}yes" >&6
11734 else
11735 echo "$as_me:$LINENO: result: no" >&5
11736 echo "${ECHO_T}no" >&6
11737 fi
11738
11739
11740 enablestring=
11741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11742 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11743 no_cache=0
11744 # Check whether --enable-tga or --disable-tga was given.
11745 if test "${enable_tga+set}" = set; then
11746 enableval="$enable_tga"
11747
11748 if test "$enableval" = yes; then
11749 ac_cv_use_tga='wxUSE_TGA=yes'
11750 else
11751 ac_cv_use_tga='wxUSE_TGA=no'
11752 fi
11753
11754 else
11755
11756 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11757 if test "x$LINE" != x ; then
11758 eval "DEFAULT_$LINE"
11759 else
11760 no_cache=1
11761 fi
11762
11763 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11764
11765 fi;
11766
11767 eval "$ac_cv_use_tga"
11768 if test "$no_cache" != 1; then
11769 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11770 fi
11771
11772 if test "$wxUSE_TGA" = yes; then
11773 echo "$as_me:$LINENO: result: yes" >&5
11774 echo "${ECHO_T}yes" >&6
11775 else
11776 echo "$as_me:$LINENO: result: no" >&5
11777 echo "${ECHO_T}no" >&6
11778 fi
11779
11780
11781 enablestring=
11782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11783 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11784 no_cache=0
11785 # Check whether --enable-iff or --disable-iff was given.
11786 if test "${enable_iff+set}" = set; then
11787 enableval="$enable_iff"
11788
11789 if test "$enableval" = yes; then
11790 ac_cv_use_iff='wxUSE_IFF=yes'
11791 else
11792 ac_cv_use_iff='wxUSE_IFF=no'
11793 fi
11794
11795 else
11796
11797 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11798 if test "x$LINE" != x ; then
11799 eval "DEFAULT_$LINE"
11800 else
11801 no_cache=1
11802 fi
11803
11804 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11805
11806 fi;
11807
11808 eval "$ac_cv_use_iff"
11809 if test "$no_cache" != 1; then
11810 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11811 fi
11812
11813 if test "$wxUSE_IFF" = yes; then
11814 echo "$as_me:$LINENO: result: yes" >&5
11815 echo "${ECHO_T}yes" >&6
11816 else
11817 echo "$as_me:$LINENO: result: no" >&5
11818 echo "${ECHO_T}no" >&6
11819 fi
11820
11821
11822 enablestring=
11823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11824 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11825 no_cache=0
11826 # Check whether --enable-pnm or --disable-pnm was given.
11827 if test "${enable_pnm+set}" = set; then
11828 enableval="$enable_pnm"
11829
11830 if test "$enableval" = yes; then
11831 ac_cv_use_pnm='wxUSE_PNM=yes'
11832 else
11833 ac_cv_use_pnm='wxUSE_PNM=no'
11834 fi
11835
11836 else
11837
11838 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11839 if test "x$LINE" != x ; then
11840 eval "DEFAULT_$LINE"
11841 else
11842 no_cache=1
11843 fi
11844
11845 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11846
11847 fi;
11848
11849 eval "$ac_cv_use_pnm"
11850 if test "$no_cache" != 1; then
11851 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11852 fi
11853
11854 if test "$wxUSE_PNM" = yes; then
11855 echo "$as_me:$LINENO: result: yes" >&5
11856 echo "${ECHO_T}yes" >&6
11857 else
11858 echo "$as_me:$LINENO: result: no" >&5
11859 echo "${ECHO_T}no" >&6
11860 fi
11861
11862
11863 enablestring=
11864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11865 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11866 no_cache=0
11867 # Check whether --enable-xpm or --disable-xpm was given.
11868 if test "${enable_xpm+set}" = set; then
11869 enableval="$enable_xpm"
11870
11871 if test "$enableval" = yes; then
11872 ac_cv_use_xpm='wxUSE_XPM=yes'
11873 else
11874 ac_cv_use_xpm='wxUSE_XPM=no'
11875 fi
11876
11877 else
11878
11879 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11880 if test "x$LINE" != x ; then
11881 eval "DEFAULT_$LINE"
11882 else
11883 no_cache=1
11884 fi
11885
11886 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11887
11888 fi;
11889
11890 eval "$ac_cv_use_xpm"
11891 if test "$no_cache" != 1; then
11892 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11893 fi
11894
11895 if test "$wxUSE_XPM" = yes; then
11896 echo "$as_me:$LINENO: result: yes" >&5
11897 echo "${ECHO_T}yes" >&6
11898 else
11899 echo "$as_me:$LINENO: result: no" >&5
11900 echo "${ECHO_T}no" >&6
11901 fi
11902
11903
11904 enablestring=
11905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11906 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11907 no_cache=0
11908 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11909 if test "${enable_ico_cur+set}" = set; then
11910 enableval="$enable_ico_cur"
11911
11912 if test "$enableval" = yes; then
11913 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11914 else
11915 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11916 fi
11917
11918 else
11919
11920 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11921 if test "x$LINE" != x ; then
11922 eval "DEFAULT_$LINE"
11923 else
11924 no_cache=1
11925 fi
11926
11927 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11928
11929 fi;
11930
11931 eval "$ac_cv_use_ico_cur"
11932 if test "$no_cache" != 1; then
11933 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11934 fi
11935
11936 if test "$wxUSE_ICO_CUR" = yes; then
11937 echo "$as_me:$LINENO: result: yes" >&5
11938 echo "${ECHO_T}yes" >&6
11939 else
11940 echo "$as_me:$LINENO: result: no" >&5
11941 echo "${ECHO_T}no" >&6
11942 fi
11943
11944
11945 fi
11946
11947
11948
11949 # Check whether --with-flavour or --without-flavour was given.
11950 if test "${with_flavour+set}" = set; then
11951 withval="$with_flavour"
11952 WX_FLAVOUR="$withval"
11953 fi;
11954
11955
11956
11957 enablestring=
11958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11959 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11960 no_cache=0
11961 # Check whether --enable-official_build or --disable-official_build was given.
11962 if test "${enable_official_build+set}" = set; then
11963 enableval="$enable_official_build"
11964
11965 if test "$enableval" = yes; then
11966 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11967 else
11968 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11969 fi
11970
11971 else
11972
11973 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11974 if test "x$LINE" != x ; then
11975 eval "DEFAULT_$LINE"
11976 else
11977 no_cache=1
11978 fi
11979
11980 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11981
11982 fi;
11983
11984 eval "$ac_cv_use_official_build"
11985 if test "$no_cache" != 1; then
11986 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11987 fi
11988
11989 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11990 echo "$as_me:$LINENO: result: yes" >&5
11991 echo "${ECHO_T}yes" >&6
11992 else
11993 echo "$as_me:$LINENO: result: no" >&5
11994 echo "${ECHO_T}no" >&6
11995 fi
11996
11997 # Check whether --enable-vendor or --disable-vendor was given.
11998 if test "${enable_vendor+set}" = set; then
11999 enableval="$enable_vendor"
12000 VENDOR="$enableval"
12001 fi;
12002 if test "x$VENDOR" = "x"; then
12003 VENDOR="custom"
12004 fi
12005
12006
12007
12008
12009 echo "saving argument cache $wx_arg_cache_file"
12010 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12011
12012
12013
12014 echo "$as_me:$LINENO: checking for toolkit" >&5
12015 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
12016
12017 # In Wine, we need to default to MSW, not GTK or MOTIF
12018 if test "$wxUSE_WINE" = "yes"; then
12019 DEFAULT_DEFAULT_wxUSE_GTK=0
12020 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12021 DEFAULT_DEFAULT_wxUSE_MSW=1
12022 wxUSE_SHARED=no
12023 CC=${CC:-winegcc}
12024 CXX=${CXX:-wineg++}
12025 fi
12026
12027
12028 if test "$wxUSE_GUI" = "yes"; then
12029
12030 if test "$USE_BEOS" = 1; then
12031 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12032 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12033 { (exit 1); exit 1; }; }
12034 fi
12035
12036 if test "$TOOLKIT_GIVEN" = 1; then
12037 for toolkit in `echo $ALL_TOOLKITS`; do
12038 var=wxUSE_$toolkit
12039 eval "value=\$${var}"
12040 if test "x$value" = "xno"; then
12041 eval "$var=0"
12042 elif test "x$value" != "x"; then
12043 eval "$var=1"
12044 fi
12045
12046 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12047 eval "wx${toolkit}_VERSION=$value"
12048 fi
12049 done
12050 else
12051 for toolkit in `echo $ALL_TOOLKITS`; do
12052 if test "$has_toolkit_in_cache" != 1; then
12053 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12054 else
12055 var=DEFAULT_wxUSE_$toolkit
12056
12057 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12058 if test "x$version" != "x"; then
12059 eval "wx${toolkit}_VERSION=$version"
12060 fi
12061 fi
12062 eval "wxUSE_$toolkit=\$${var}"
12063 done
12064 fi
12065
12066 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12067 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12068 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12069
12070 case "${host}" in
12071 *-pc-os2_emx | *-pc-os2-emx )
12072 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12073 esac
12074
12075 case "$NUM_TOOLKITS" in
12076 1)
12077 ;;
12078 0)
12079 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12080 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12081 { (exit 1); exit 1; }; }
12082 ;;
12083 *)
12084 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12085 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12086 { (exit 1); exit 1; }; }
12087 esac
12088
12089 # to be removed when --disable-gtk2 isn't needed
12090 if test "x$wxUSE_GTK2" = "xyes"; then
12091 wxGTK_VERSION=2
12092 elif test "x$wxUSE_GTK2" = "xno"; then
12093 wxGTK_VERSION=1
12094 fi
12095
12096 for toolkit in `echo $ALL_TOOLKITS`; do
12097 var=wxUSE_$toolkit
12098 eval "value=\$${var}"
12099 if test "x$value" != x; then
12100 cache_var=CACHE_$toolkit
12101 eval "cache=\$${cache_var}"
12102 if test "$cache" = 1; then
12103 echo "$var=$value" >> ${wx_arg_cache_file}
12104 eval "version=\$wx${toolkit}_VERSION"
12105 if test "x$version" != "x"; then
12106 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12107 fi
12108 fi
12109 if test "$value" = 1; then
12110 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12111 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12112 echo "${ECHO_T}$toolkit_echo" >&6
12113 fi
12114 fi
12115 done
12116 else
12117 if test "x$host_alias" != "x"; then
12118 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12119 echo "${ECHO_T}base ($host_alias hosted) only" >&6
12120 else
12121 echo "$as_me:$LINENO: result: base only" >&5
12122 echo "${ECHO_T}base only" >&6
12123 fi
12124 fi
12125
12126
12127 cat >confcache <<\_ACEOF
12128 # This file is a shell script that caches the results of configure
12129 # tests run on this system so they can be shared between configure
12130 # scripts and configure runs, see configure's option --config-cache.
12131 # It is not useful on other systems. If it contains results you don't
12132 # want to keep, you may remove or edit it.
12133 #
12134 # config.status only pays attention to the cache file if you give it
12135 # the --recheck option to rerun configure.
12136 #
12137 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12138 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12139 # following values.
12140
12141 _ACEOF
12142
12143 # The following way of writing the cache mishandles newlines in values,
12144 # but we know of no workaround that is simple, portable, and efficient.
12145 # So, don't put newlines in cache variables' values.
12146 # Ultrix sh set writes to stderr and can't be redirected directly,
12147 # and sets the high bit in the cache file unless we assign to the vars.
12148 {
12149 (set) 2>&1 |
12150 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12151 *ac_space=\ *)
12152 # `set' does not quote correctly, so add quotes (double-quote
12153 # substitution turns \\\\ into \\, and sed turns \\ into \).
12154 sed -n \
12155 "s/'/'\\\\''/g;
12156 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12157 ;;
12158 *)
12159 # `set' quotes correctly as required by POSIX, so do not add quotes.
12160 sed -n \
12161 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12162 ;;
12163 esac;
12164 } |
12165 sed '
12166 t clear
12167 : clear
12168 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12169 t end
12170 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12171 : end' >>confcache
12172 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12173 if test -w $cache_file; then
12174 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12175 cat confcache >$cache_file
12176 else
12177 echo "not updating unwritable cache $cache_file"
12178 fi
12179 fi
12180 rm -f confcache
12181
12182 CFLAGS=${CFLAGS:=}
12183
12184
12185
12186 ac_ext=c
12187 ac_cpp='$CPP $CPPFLAGS'
12188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12191 if test -n "$ac_tool_prefix"; then
12192 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12193 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12194 echo "$as_me:$LINENO: checking for $ac_word" >&5
12195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12196 if test "${ac_cv_prog_CC+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12198 else
12199 if test -n "$CC"; then
12200 ac_cv_prog_CC="$CC" # Let the user override the test.
12201 else
12202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12203 for as_dir in $PATH
12204 do
12205 IFS=$as_save_IFS
12206 test -z "$as_dir" && as_dir=.
12207 for ac_exec_ext in '' $ac_executable_extensions; do
12208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12209 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12211 break 2
12212 fi
12213 done
12214 done
12215
12216 fi
12217 fi
12218 CC=$ac_cv_prog_CC
12219 if test -n "$CC"; then
12220 echo "$as_me:$LINENO: result: $CC" >&5
12221 echo "${ECHO_T}$CC" >&6
12222 else
12223 echo "$as_me:$LINENO: result: no" >&5
12224 echo "${ECHO_T}no" >&6
12225 fi
12226
12227 fi
12228 if test -z "$ac_cv_prog_CC"; then
12229 ac_ct_CC=$CC
12230 # Extract the first word of "gcc", so it can be a program name with args.
12231 set dummy gcc; ac_word=$2
12232 echo "$as_me:$LINENO: checking for $ac_word" >&5
12233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12234 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12236 else
12237 if test -n "$ac_ct_CC"; then
12238 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12239 else
12240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12241 for as_dir in $PATH
12242 do
12243 IFS=$as_save_IFS
12244 test -z "$as_dir" && as_dir=.
12245 for ac_exec_ext in '' $ac_executable_extensions; do
12246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12247 ac_cv_prog_ac_ct_CC="gcc"
12248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12249 break 2
12250 fi
12251 done
12252 done
12253
12254 fi
12255 fi
12256 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12257 if test -n "$ac_ct_CC"; then
12258 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12259 echo "${ECHO_T}$ac_ct_CC" >&6
12260 else
12261 echo "$as_me:$LINENO: result: no" >&5
12262 echo "${ECHO_T}no" >&6
12263 fi
12264
12265 CC=$ac_ct_CC
12266 else
12267 CC="$ac_cv_prog_CC"
12268 fi
12269
12270 if test -z "$CC"; then
12271 if test -n "$ac_tool_prefix"; then
12272 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12273 set dummy ${ac_tool_prefix}cc; ac_word=$2
12274 echo "$as_me:$LINENO: checking for $ac_word" >&5
12275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12276 if test "${ac_cv_prog_CC+set}" = set; then
12277 echo $ECHO_N "(cached) $ECHO_C" >&6
12278 else
12279 if test -n "$CC"; then
12280 ac_cv_prog_CC="$CC" # Let the user override the test.
12281 else
12282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12283 for as_dir in $PATH
12284 do
12285 IFS=$as_save_IFS
12286 test -z "$as_dir" && as_dir=.
12287 for ac_exec_ext in '' $ac_executable_extensions; do
12288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12289 ac_cv_prog_CC="${ac_tool_prefix}cc"
12290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12291 break 2
12292 fi
12293 done
12294 done
12295
12296 fi
12297 fi
12298 CC=$ac_cv_prog_CC
12299 if test -n "$CC"; then
12300 echo "$as_me:$LINENO: result: $CC" >&5
12301 echo "${ECHO_T}$CC" >&6
12302 else
12303 echo "$as_me:$LINENO: result: no" >&5
12304 echo "${ECHO_T}no" >&6
12305 fi
12306
12307 fi
12308 if test -z "$ac_cv_prog_CC"; then
12309 ac_ct_CC=$CC
12310 # Extract the first word of "cc", so it can be a program name with args.
12311 set dummy cc; ac_word=$2
12312 echo "$as_me:$LINENO: checking for $ac_word" >&5
12313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12314 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12315 echo $ECHO_N "(cached) $ECHO_C" >&6
12316 else
12317 if test -n "$ac_ct_CC"; then
12318 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12319 else
12320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12321 for as_dir in $PATH
12322 do
12323 IFS=$as_save_IFS
12324 test -z "$as_dir" && as_dir=.
12325 for ac_exec_ext in '' $ac_executable_extensions; do
12326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12327 ac_cv_prog_ac_ct_CC="cc"
12328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12329 break 2
12330 fi
12331 done
12332 done
12333
12334 fi
12335 fi
12336 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12337 if test -n "$ac_ct_CC"; then
12338 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12339 echo "${ECHO_T}$ac_ct_CC" >&6
12340 else
12341 echo "$as_me:$LINENO: result: no" >&5
12342 echo "${ECHO_T}no" >&6
12343 fi
12344
12345 CC=$ac_ct_CC
12346 else
12347 CC="$ac_cv_prog_CC"
12348 fi
12349
12350 fi
12351 if test -z "$CC"; then
12352 # Extract the first word of "cc", so it can be a program name with args.
12353 set dummy cc; ac_word=$2
12354 echo "$as_me:$LINENO: checking for $ac_word" >&5
12355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12356 if test "${ac_cv_prog_CC+set}" = set; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12358 else
12359 if test -n "$CC"; then
12360 ac_cv_prog_CC="$CC" # Let the user override the test.
12361 else
12362 ac_prog_rejected=no
12363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12364 for as_dir in $PATH
12365 do
12366 IFS=$as_save_IFS
12367 test -z "$as_dir" && as_dir=.
12368 for ac_exec_ext in '' $ac_executable_extensions; do
12369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12370 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12371 ac_prog_rejected=yes
12372 continue
12373 fi
12374 ac_cv_prog_CC="cc"
12375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12376 break 2
12377 fi
12378 done
12379 done
12380
12381 if test $ac_prog_rejected = yes; then
12382 # We found a bogon in the path, so make sure we never use it.
12383 set dummy $ac_cv_prog_CC
12384 shift
12385 if test $# != 0; then
12386 # We chose a different compiler from the bogus one.
12387 # However, it has the same basename, so the bogon will be chosen
12388 # first if we set CC to just the basename; use the full file name.
12389 shift
12390 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12391 fi
12392 fi
12393 fi
12394 fi
12395 CC=$ac_cv_prog_CC
12396 if test -n "$CC"; then
12397 echo "$as_me:$LINENO: result: $CC" >&5
12398 echo "${ECHO_T}$CC" >&6
12399 else
12400 echo "$as_me:$LINENO: result: no" >&5
12401 echo "${ECHO_T}no" >&6
12402 fi
12403
12404 fi
12405 if test -z "$CC"; then
12406 if test -n "$ac_tool_prefix"; then
12407 for ac_prog in cl
12408 do
12409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12411 echo "$as_me:$LINENO: checking for $ac_word" >&5
12412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12413 if test "${ac_cv_prog_CC+set}" = set; then
12414 echo $ECHO_N "(cached) $ECHO_C" >&6
12415 else
12416 if test -n "$CC"; then
12417 ac_cv_prog_CC="$CC" # Let the user override the test.
12418 else
12419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12420 for as_dir in $PATH
12421 do
12422 IFS=$as_save_IFS
12423 test -z "$as_dir" && as_dir=.
12424 for ac_exec_ext in '' $ac_executable_extensions; do
12425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12426 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12428 break 2
12429 fi
12430 done
12431 done
12432
12433 fi
12434 fi
12435 CC=$ac_cv_prog_CC
12436 if test -n "$CC"; then
12437 echo "$as_me:$LINENO: result: $CC" >&5
12438 echo "${ECHO_T}$CC" >&6
12439 else
12440 echo "$as_me:$LINENO: result: no" >&5
12441 echo "${ECHO_T}no" >&6
12442 fi
12443
12444 test -n "$CC" && break
12445 done
12446 fi
12447 if test -z "$CC"; then
12448 ac_ct_CC=$CC
12449 for ac_prog in cl
12450 do
12451 # Extract the first word of "$ac_prog", so it can be a program name with args.
12452 set dummy $ac_prog; ac_word=$2
12453 echo "$as_me:$LINENO: checking for $ac_word" >&5
12454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12455 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12457 else
12458 if test -n "$ac_ct_CC"; then
12459 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12460 else
12461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12462 for as_dir in $PATH
12463 do
12464 IFS=$as_save_IFS
12465 test -z "$as_dir" && as_dir=.
12466 for ac_exec_ext in '' $ac_executable_extensions; do
12467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12468 ac_cv_prog_ac_ct_CC="$ac_prog"
12469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12470 break 2
12471 fi
12472 done
12473 done
12474
12475 fi
12476 fi
12477 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12478 if test -n "$ac_ct_CC"; then
12479 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12480 echo "${ECHO_T}$ac_ct_CC" >&6
12481 else
12482 echo "$as_me:$LINENO: result: no" >&5
12483 echo "${ECHO_T}no" >&6
12484 fi
12485
12486 test -n "$ac_ct_CC" && break
12487 done
12488
12489 CC=$ac_ct_CC
12490 fi
12491
12492 fi
12493
12494
12495 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12496 See \`config.log' for more details." >&5
12497 echo "$as_me: error: no acceptable C compiler found in \$PATH
12498 See \`config.log' for more details." >&2;}
12499 { (exit 1); exit 1; }; }
12500
12501 # Provide some information about the compiler.
12502 echo "$as_me:$LINENO:" \
12503 "checking for C compiler version" >&5
12504 ac_compiler=`set X $ac_compile; echo $2`
12505 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12506 (eval $ac_compiler --version </dev/null >&5) 2>&5
12507 ac_status=$?
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); }
12510 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12511 (eval $ac_compiler -v </dev/null >&5) 2>&5
12512 ac_status=$?
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); }
12515 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12516 (eval $ac_compiler -V </dev/null >&5) 2>&5
12517 ac_status=$?
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); }
12520
12521 cat >conftest.$ac_ext <<_ACEOF
12522 /* confdefs.h. */
12523 _ACEOF
12524 cat confdefs.h >>conftest.$ac_ext
12525 cat >>conftest.$ac_ext <<_ACEOF
12526 /* end confdefs.h. */
12527
12528 int
12529 main ()
12530 {
12531
12532 ;
12533 return 0;
12534 }
12535 _ACEOF
12536 ac_clean_files_save=$ac_clean_files
12537 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12538 # Try to create an executable without -o first, disregard a.out.
12539 # It will help us diagnose broken compilers, and finding out an intuition
12540 # of exeext.
12541 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12542 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12543 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12544 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12545 (eval $ac_link_default) 2>&5
12546 ac_status=$?
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; then
12549 # Find the output, starting from the most likely. This scheme is
12550 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12551 # resort.
12552
12553 # Be careful to initialize this variable, since it used to be cached.
12554 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12555 ac_cv_exeext=
12556 # b.out is created by i960 compilers.
12557 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12558 do
12559 test -f "$ac_file" || continue
12560 case $ac_file in
12561 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12562 ;;
12563 conftest.$ac_ext )
12564 # This is the source file.
12565 ;;
12566 [ab].out )
12567 # We found the default executable, but exeext='' is most
12568 # certainly right.
12569 break;;
12570 *.* )
12571 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12572 # FIXME: I believe we export ac_cv_exeext for Libtool,
12573 # but it would be cool to find out if it's true. Does anybody
12574 # maintain Libtool? --akim.
12575 export ac_cv_exeext
12576 break;;
12577 * )
12578 break;;
12579 esac
12580 done
12581 else
12582 echo "$as_me: failed program was:" >&5
12583 sed 's/^/| /' conftest.$ac_ext >&5
12584
12585 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12586 See \`config.log' for more details." >&5
12587 echo "$as_me: error: C compiler cannot create executables
12588 See \`config.log' for more details." >&2;}
12589 { (exit 77); exit 77; }; }
12590 fi
12591
12592 ac_exeext=$ac_cv_exeext
12593 echo "$as_me:$LINENO: result: $ac_file" >&5
12594 echo "${ECHO_T}$ac_file" >&6
12595
12596 # Check the compiler produces executables we can run. If not, either
12597 # the compiler is broken, or we cross compile.
12598 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12599 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12600 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12601 # If not cross compiling, check that we can run a simple program.
12602 if test "$cross_compiling" != yes; then
12603 if { ac_try='./$ac_file'
12604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12605 (eval $ac_try) 2>&5
12606 ac_status=$?
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); }; }; then
12609 cross_compiling=no
12610 else
12611 if test "$cross_compiling" = maybe; then
12612 cross_compiling=yes
12613 else
12614 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12615 If you meant to cross compile, use \`--host'.
12616 See \`config.log' for more details." >&5
12617 echo "$as_me: error: cannot run C compiled programs.
12618 If you meant to cross compile, use \`--host'.
12619 See \`config.log' for more details." >&2;}
12620 { (exit 1); exit 1; }; }
12621 fi
12622 fi
12623 fi
12624 echo "$as_me:$LINENO: result: yes" >&5
12625 echo "${ECHO_T}yes" >&6
12626
12627 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12628 ac_clean_files=$ac_clean_files_save
12629 # Check the compiler produces executables we can run. If not, either
12630 # the compiler is broken, or we cross compile.
12631 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12632 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12633 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12634 echo "${ECHO_T}$cross_compiling" >&6
12635
12636 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12637 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12639 (eval $ac_link) 2>&5
12640 ac_status=$?
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; then
12643 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12644 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12645 # work properly (i.e., refer to `conftest.exe'), while it won't with
12646 # `rm'.
12647 for ac_file in conftest.exe conftest conftest.*; do
12648 test -f "$ac_file" || continue
12649 case $ac_file in
12650 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12651 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12652 export ac_cv_exeext
12653 break;;
12654 * ) break;;
12655 esac
12656 done
12657 else
12658 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12659 See \`config.log' for more details." >&5
12660 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12661 See \`config.log' for more details." >&2;}
12662 { (exit 1); exit 1; }; }
12663 fi
12664
12665 rm -f conftest$ac_cv_exeext
12666 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12667 echo "${ECHO_T}$ac_cv_exeext" >&6
12668
12669 rm -f conftest.$ac_ext
12670 EXEEXT=$ac_cv_exeext
12671 ac_exeext=$EXEEXT
12672 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12673 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12674 if test "${ac_cv_objext+set}" = set; then
12675 echo $ECHO_N "(cached) $ECHO_C" >&6
12676 else
12677 cat >conftest.$ac_ext <<_ACEOF
12678 /* confdefs.h. */
12679 _ACEOF
12680 cat confdefs.h >>conftest.$ac_ext
12681 cat >>conftest.$ac_ext <<_ACEOF
12682 /* end confdefs.h. */
12683
12684 int
12685 main ()
12686 {
12687
12688 ;
12689 return 0;
12690 }
12691 _ACEOF
12692 rm -f conftest.o conftest.obj
12693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12694 (eval $ac_compile) 2>&5
12695 ac_status=$?
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; then
12698 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12699 case $ac_file in
12700 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12701 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12702 break;;
12703 esac
12704 done
12705 else
12706 echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.$ac_ext >&5
12708
12709 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12710 See \`config.log' for more details." >&5
12711 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12712 See \`config.log' for more details." >&2;}
12713 { (exit 1); exit 1; }; }
12714 fi
12715
12716 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12717 fi
12718 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12719 echo "${ECHO_T}$ac_cv_objext" >&6
12720 OBJEXT=$ac_cv_objext
12721 ac_objext=$OBJEXT
12722 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12723 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12724 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12725 echo $ECHO_N "(cached) $ECHO_C" >&6
12726 else
12727 cat >conftest.$ac_ext <<_ACEOF
12728 /* confdefs.h. */
12729 _ACEOF
12730 cat confdefs.h >>conftest.$ac_ext
12731 cat >>conftest.$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12733
12734 int
12735 main ()
12736 {
12737 #ifndef __GNUC__
12738 choke me
12739 #endif
12740
12741 ;
12742 return 0;
12743 }
12744 _ACEOF
12745 rm -f conftest.$ac_objext
12746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12747 (eval $ac_compile) 2>conftest.er1
12748 ac_status=$?
12749 grep -v '^ *+' conftest.er1 >conftest.err
12750 rm -f conftest.er1
12751 cat conftest.err >&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); } &&
12754 { ac_try='test -z "$ac_c_werror_flag"
12755 || test ! -s conftest.err'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12758 ac_status=$?
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; } &&
12761 { ac_try='test -s conftest.$ac_objext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12764 ac_status=$?
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12767 ac_compiler_gnu=yes
12768 else
12769 echo "$as_me: failed program was:" >&5
12770 sed 's/^/| /' conftest.$ac_ext >&5
12771
12772 ac_compiler_gnu=no
12773 fi
12774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12775 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12776
12777 fi
12778 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12779 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12780 GCC=`test $ac_compiler_gnu = yes && echo yes`
12781 ac_test_CFLAGS=${CFLAGS+set}
12782 ac_save_CFLAGS=$CFLAGS
12783 CFLAGS="-g"
12784 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12785 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12786 if test "${ac_cv_prog_cc_g+set}" = set; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12788 else
12789 cat >conftest.$ac_ext <<_ACEOF
12790 /* confdefs.h. */
12791 _ACEOF
12792 cat confdefs.h >>conftest.$ac_ext
12793 cat >>conftest.$ac_ext <<_ACEOF
12794 /* end confdefs.h. */
12795
12796 int
12797 main ()
12798 {
12799
12800 ;
12801 return 0;
12802 }
12803 _ACEOF
12804 rm -f conftest.$ac_objext
12805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12806 (eval $ac_compile) 2>conftest.er1
12807 ac_status=$?
12808 grep -v '^ *+' conftest.er1 >conftest.err
12809 rm -f conftest.er1
12810 cat conftest.err >&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } &&
12813 { ac_try='test -z "$ac_c_werror_flag"
12814 || test ! -s conftest.err'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12817 ac_status=$?
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; } &&
12820 { ac_try='test -s conftest.$ac_objext'
12821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12822 (eval $ac_try) 2>&5
12823 ac_status=$?
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; }; then
12826 ac_cv_prog_cc_g=yes
12827 else
12828 echo "$as_me: failed program was:" >&5
12829 sed 's/^/| /' conftest.$ac_ext >&5
12830
12831 ac_cv_prog_cc_g=no
12832 fi
12833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12834 fi
12835 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12836 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12837 if test "$ac_test_CFLAGS" = set; then
12838 CFLAGS=$ac_save_CFLAGS
12839 elif test $ac_cv_prog_cc_g = yes; then
12840 if test "$GCC" = yes; then
12841 CFLAGS="-g -O2"
12842 else
12843 CFLAGS="-g"
12844 fi
12845 else
12846 if test "$GCC" = yes; then
12847 CFLAGS="-O2"
12848 else
12849 CFLAGS=
12850 fi
12851 fi
12852 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12853 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12854 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12855 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 else
12857 ac_cv_prog_cc_stdc=no
12858 ac_save_CC=$CC
12859 cat >conftest.$ac_ext <<_ACEOF
12860 /* confdefs.h. */
12861 _ACEOF
12862 cat confdefs.h >>conftest.$ac_ext
12863 cat >>conftest.$ac_ext <<_ACEOF
12864 /* end confdefs.h. */
12865 #include <stdarg.h>
12866 #include <stdio.h>
12867 #include <sys/types.h>
12868 #include <sys/stat.h>
12869 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12870 struct buf { int x; };
12871 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12872 static char *e (p, i)
12873 char **p;
12874 int i;
12875 {
12876 return p[i];
12877 }
12878 static char *f (char * (*g) (char **, int), char **p, ...)
12879 {
12880 char *s;
12881 va_list v;
12882 va_start (v,p);
12883 s = g (p, va_arg (v,int));
12884 va_end (v);
12885 return s;
12886 }
12887
12888 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12889 function prototypes and stuff, but not '\xHH' hex character constants.
12890 These don't provoke an error unfortunately, instead are silently treated
12891 as 'x'. The following induces an error, until -std1 is added to get
12892 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12893 array size at least. It's necessary to write '\x00'==0 to get something
12894 that's true only with -std1. */
12895 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12896
12897 int test (int i, double x);
12898 struct s1 {int (*f) (int a);};
12899 struct s2 {int (*f) (double a);};
12900 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12901 int argc;
12902 char **argv;
12903 int
12904 main ()
12905 {
12906 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12907 ;
12908 return 0;
12909 }
12910 _ACEOF
12911 # Don't try gcc -ansi; that turns off useful extensions and
12912 # breaks some systems' header files.
12913 # AIX -qlanglvl=ansi
12914 # Ultrix and OSF/1 -std1
12915 # HP-UX 10.20 and later -Ae
12916 # HP-UX older versions -Aa -D_HPUX_SOURCE
12917 # SVR4 -Xc -D__EXTENSIONS__
12918 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12919 do
12920 CC="$ac_save_CC $ac_arg"
12921 rm -f conftest.$ac_objext
12922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12923 (eval $ac_compile) 2>conftest.er1
12924 ac_status=$?
12925 grep -v '^ *+' conftest.er1 >conftest.err
12926 rm -f conftest.er1
12927 cat conftest.err >&5
12928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929 (exit $ac_status); } &&
12930 { ac_try='test -z "$ac_c_werror_flag"
12931 || test ! -s conftest.err'
12932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933 (eval $ac_try) 2>&5
12934 ac_status=$?
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; } &&
12937 { ac_try='test -s conftest.$ac_objext'
12938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939 (eval $ac_try) 2>&5
12940 ac_status=$?
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); }; }; then
12943 ac_cv_prog_cc_stdc=$ac_arg
12944 break
12945 else
12946 echo "$as_me: failed program was:" >&5
12947 sed 's/^/| /' conftest.$ac_ext >&5
12948
12949 fi
12950 rm -f conftest.err conftest.$ac_objext
12951 done
12952 rm -f conftest.$ac_ext conftest.$ac_objext
12953 CC=$ac_save_CC
12954
12955 fi
12956
12957 case "x$ac_cv_prog_cc_stdc" in
12958 x|xno)
12959 echo "$as_me:$LINENO: result: none needed" >&5
12960 echo "${ECHO_T}none needed" >&6 ;;
12961 *)
12962 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12963 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12964 CC="$CC $ac_cv_prog_cc_stdc" ;;
12965 esac
12966
12967 # Some people use a C++ compiler to compile C. Since we use `exit',
12968 # in C++ we need to declare it. In case someone uses the same compiler
12969 # for both compiling C and C++ we need to have the C++ compiler decide
12970 # the declaration of exit, since it's the most demanding environment.
12971 cat >conftest.$ac_ext <<_ACEOF
12972 #ifndef __cplusplus
12973 choke me
12974 #endif
12975 _ACEOF
12976 rm -f conftest.$ac_objext
12977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12978 (eval $ac_compile) 2>conftest.er1
12979 ac_status=$?
12980 grep -v '^ *+' conftest.er1 >conftest.err
12981 rm -f conftest.er1
12982 cat conftest.err >&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); } &&
12985 { ac_try='test -z "$ac_c_werror_flag"
12986 || test ! -s conftest.err'
12987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12988 (eval $ac_try) 2>&5
12989 ac_status=$?
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); }; } &&
12992 { ac_try='test -s conftest.$ac_objext'
12993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994 (eval $ac_try) 2>&5
12995 ac_status=$?
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; }; then
12998 for ac_declaration in \
12999 '' \
13000 'extern "C" void std::exit (int) throw (); using std::exit;' \
13001 'extern "C" void std::exit (int); using std::exit;' \
13002 'extern "C" void exit (int) throw ();' \
13003 'extern "C" void exit (int);' \
13004 'void exit (int);'
13005 do
13006 cat >conftest.$ac_ext <<_ACEOF
13007 /* confdefs.h. */
13008 _ACEOF
13009 cat confdefs.h >>conftest.$ac_ext
13010 cat >>conftest.$ac_ext <<_ACEOF
13011 /* end confdefs.h. */
13012 $ac_declaration
13013 #include <stdlib.h>
13014 int
13015 main ()
13016 {
13017 exit (42);
13018 ;
13019 return 0;
13020 }
13021 _ACEOF
13022 rm -f conftest.$ac_objext
13023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13024 (eval $ac_compile) 2>conftest.er1
13025 ac_status=$?
13026 grep -v '^ *+' conftest.er1 >conftest.err
13027 rm -f conftest.er1
13028 cat conftest.err >&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } &&
13031 { ac_try='test -z "$ac_c_werror_flag"
13032 || test ! -s conftest.err'
13033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13034 (eval $ac_try) 2>&5
13035 ac_status=$?
13036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 (exit $ac_status); }; } &&
13038 { ac_try='test -s conftest.$ac_objext'
13039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13040 (eval $ac_try) 2>&5
13041 ac_status=$?
13042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13043 (exit $ac_status); }; }; then
13044 :
13045 else
13046 echo "$as_me: failed program was:" >&5
13047 sed 's/^/| /' conftest.$ac_ext >&5
13048
13049 continue
13050 fi
13051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13052 cat >conftest.$ac_ext <<_ACEOF
13053 /* confdefs.h. */
13054 _ACEOF
13055 cat confdefs.h >>conftest.$ac_ext
13056 cat >>conftest.$ac_ext <<_ACEOF
13057 /* end confdefs.h. */
13058 $ac_declaration
13059 int
13060 main ()
13061 {
13062 exit (42);
13063 ;
13064 return 0;
13065 }
13066 _ACEOF
13067 rm -f conftest.$ac_objext
13068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13069 (eval $ac_compile) 2>conftest.er1
13070 ac_status=$?
13071 grep -v '^ *+' conftest.er1 >conftest.err
13072 rm -f conftest.er1
13073 cat conftest.err >&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); } &&
13076 { ac_try='test -z "$ac_c_werror_flag"
13077 || test ! -s conftest.err'
13078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13079 (eval $ac_try) 2>&5
13080 ac_status=$?
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); }; } &&
13083 { ac_try='test -s conftest.$ac_objext'
13084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13085 (eval $ac_try) 2>&5
13086 ac_status=$?
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); }; }; then
13089 break
13090 else
13091 echo "$as_me: failed program was:" >&5
13092 sed 's/^/| /' conftest.$ac_ext >&5
13093
13094 fi
13095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13096 done
13097 rm -f conftest*
13098 if test -n "$ac_declaration"; then
13099 echo '#ifdef __cplusplus' >>confdefs.h
13100 echo $ac_declaration >>confdefs.h
13101 echo '#endif' >>confdefs.h
13102 fi
13103
13104 else
13105 echo "$as_me: failed program was:" >&5
13106 sed 's/^/| /' conftest.$ac_ext >&5
13107
13108 fi
13109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13110 ac_ext=c
13111 ac_cpp='$CPP $CPPFLAGS'
13112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13115
13116
13117
13118 ac_ext=c
13119 ac_cpp='$CPP $CPPFLAGS'
13120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13123
13124 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13125 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
13126 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13127 echo $ECHO_N "(cached) $ECHO_C" >&6
13128 else
13129 cat >conftest.$ac_ext <<_ACEOF
13130 /* confdefs.h. */
13131 _ACEOF
13132 cat confdefs.h >>conftest.$ac_ext
13133 cat >>conftest.$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13135
13136 int
13137 main ()
13138 {
13139
13140 #ifndef __INTEL_COMPILER
13141 choke me
13142 #endif
13143
13144 ;
13145 return 0;
13146 }
13147 _ACEOF
13148 rm -f conftest.$ac_objext
13149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13150 (eval $ac_compile) 2>conftest.er1
13151 ac_status=$?
13152 grep -v '^ *+' conftest.er1 >conftest.err
13153 rm -f conftest.er1
13154 cat conftest.err >&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } &&
13157 { ac_try='test -z "$ac_c_werror_flag"
13158 || test ! -s conftest.err'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13161 ac_status=$?
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; } &&
13164 { ac_try='test -s conftest.$ac_objext'
13165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13166 (eval $ac_try) 2>&5
13167 ac_status=$?
13168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169 (exit $ac_status); }; }; then
13170 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13171 else
13172 echo "$as_me: failed program was:" >&5
13173 sed 's/^/| /' conftest.$ac_ext >&5
13174
13175 bakefile_cv_c_compiler___INTEL_COMPILER=no
13176
13177 fi
13178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13179
13180
13181 fi
13182 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13183 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13184 ac_ext=c
13185 ac_cpp='$CPP $CPPFLAGS'
13186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13189
13190 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13191 :; INTELCC=yes
13192 else
13193 :;
13194 fi
13195
13196
13197 if test "x$GCC" != "xyes"; then
13198 if test "xCC" = "xC"; then
13199 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13200 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13201 if test "${bakefile_cv_c_exto+set}" = set; then
13202 echo $ECHO_N "(cached) $ECHO_C" >&6
13203 else
13204 cat >conftest.$ac_ext <<_ACEOF
13205 /* confdefs.h. */
13206 _ACEOF
13207 cat confdefs.h >>conftest.$ac_ext
13208 cat >>conftest.$ac_ext <<_ACEOF
13209 /* end confdefs.h. */
13210
13211 int
13212 main ()
13213 {
13214
13215 ;
13216 return 0;
13217 }
13218 _ACEOF
13219 rm -f conftest.$ac_objext conftest.$ac_ext.o
13220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13221 (eval $ac_compile) 2>&5
13222 ac_status=$?
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; then
13225 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13226 case $ac_file in
13227 conftest.$ac_ext.o)
13228 bakefile_cv_c_exto="-ext o"
13229 ;;
13230 *)
13231 ;;
13232 esac
13233 done
13234 else
13235 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13236 See \`config.log' for more details." >&5
13237 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13238 See \`config.log' for more details." >&2;}
13239 { (exit 1); exit 1; }; }
13240
13241 fi
13242
13243 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13244
13245 fi
13246 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13247 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13248 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13249 if test "c" = "c"; then
13250 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13251 fi
13252 if test "c" = "cxx"; then
13253 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13254 fi
13255 fi
13256
13257 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13258 unset ac_cv_prog_cc_g
13259 ac_test_CFLAGS=${CFLAGS+set}
13260 ac_save_CFLAGS=$CFLAGS
13261 CFLAGS="-g"
13262 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13263 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13264 if test "${ac_cv_prog_cc_g+set}" = set; then
13265 echo $ECHO_N "(cached) $ECHO_C" >&6
13266 else
13267 cat >conftest.$ac_ext <<_ACEOF
13268 /* confdefs.h. */
13269 _ACEOF
13270 cat confdefs.h >>conftest.$ac_ext
13271 cat >>conftest.$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13273
13274 int
13275 main ()
13276 {
13277
13278 ;
13279 return 0;
13280 }
13281 _ACEOF
13282 rm -f conftest.$ac_objext
13283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13284 (eval $ac_compile) 2>conftest.er1
13285 ac_status=$?
13286 grep -v '^ *+' conftest.er1 >conftest.err
13287 rm -f conftest.er1
13288 cat conftest.err >&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); } &&
13291 { ac_try='test -z "$ac_c_werror_flag"
13292 || test ! -s conftest.err'
13293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13294 (eval $ac_try) 2>&5
13295 ac_status=$?
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); }; } &&
13298 { ac_try='test -s conftest.$ac_objext'
13299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13300 (eval $ac_try) 2>&5
13301 ac_status=$?
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); }; }; then
13304 ac_cv_prog_cc_g=yes
13305 else
13306 echo "$as_me: failed program was:" >&5
13307 sed 's/^/| /' conftest.$ac_ext >&5
13308
13309 ac_cv_prog_cc_g=no
13310 fi
13311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13312 fi
13313 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13314 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13315 if test "$ac_test_CFLAGS" = set; then
13316 CFLAGS=$ac_save_CFLAGS
13317 elif test $ac_cv_prog_cc_g = yes; then
13318 if test "$GCC" = yes; then
13319 CFLAGS="-g -O2"
13320 else
13321 CFLAGS="-g"
13322 fi
13323 else
13324 if test "$GCC" = yes; then
13325 CFLAGS="-O2"
13326 else
13327 CFLAGS=
13328 fi
13329 fi
13330 fi
13331 fi
13332
13333 case `uname -s` in
13334 AIX*)
13335 ac_ext=c
13336 ac_cpp='$CPP $CPPFLAGS'
13337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13340
13341 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13342 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13343 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13345 else
13346 cat >conftest.$ac_ext <<_ACEOF
13347 /* confdefs.h. */
13348 _ACEOF
13349 cat confdefs.h >>conftest.$ac_ext
13350 cat >>conftest.$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13352
13353 int
13354 main ()
13355 {
13356 #ifndef __xlC__
13357 choke me
13358 #endif
13359
13360 ;
13361 return 0;
13362 }
13363 _ACEOF
13364 rm -f conftest.$ac_objext
13365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13366 (eval $ac_compile) 2>conftest.er1
13367 ac_status=$?
13368 grep -v '^ *+' conftest.er1 >conftest.err
13369 rm -f conftest.er1
13370 cat conftest.err >&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); } &&
13373 { ac_try='test -z "$ac_c_werror_flag"
13374 || test ! -s conftest.err'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13377 ac_status=$?
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; } &&
13380 { ac_try='test -s conftest.$ac_objext'
13381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382 (eval $ac_try) 2>&5
13383 ac_status=$?
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 bakefile_compiler_xlc=yes
13387 else
13388 echo "$as_me: failed program was:" >&5
13389 sed 's/^/| /' conftest.$ac_ext >&5
13390
13391 bakefile_compiler_xlc=no
13392 fi
13393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13394 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13395
13396 fi
13397 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13398 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13399
13400 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13401 ac_ext=c
13402 ac_cpp='$CPP $CPPFLAGS'
13403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13406
13407
13408 ;;
13409
13410 Darwin)
13411 ac_ext=c
13412 ac_cpp='$CPP $CPPFLAGS'
13413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13416
13417 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13418 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13419 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13420 echo $ECHO_N "(cached) $ECHO_C" >&6
13421 else
13422 cat >conftest.$ac_ext <<_ACEOF
13423 /* confdefs.h. */
13424 _ACEOF
13425 cat confdefs.h >>conftest.$ac_ext
13426 cat >>conftest.$ac_ext <<_ACEOF
13427 /* end confdefs.h. */
13428
13429 int
13430 main ()
13431 {
13432 #ifndef __MWERKS__
13433 choke me
13434 #endif
13435
13436 ;
13437 return 0;
13438 }
13439 _ACEOF
13440 rm -f conftest.$ac_objext
13441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13442 (eval $ac_compile) 2>conftest.er1
13443 ac_status=$?
13444 grep -v '^ *+' conftest.er1 >conftest.err
13445 rm -f conftest.er1
13446 cat conftest.err >&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } &&
13449 { ac_try='test -z "$ac_c_werror_flag"
13450 || test ! -s conftest.err'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13453 ac_status=$?
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; } &&
13456 { ac_try='test -s conftest.$ac_objext'
13457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458 (eval $ac_try) 2>&5
13459 ac_status=$?
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; }; then
13462 bakefile_compiler_mwerks=yes
13463 else
13464 echo "$as_me: failed program was:" >&5
13465 sed 's/^/| /' conftest.$ac_ext >&5
13466
13467 bakefile_compiler_mwerks=no
13468 fi
13469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13470 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13471
13472 fi
13473 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13474 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13475
13476 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13477 ac_ext=c
13478 ac_cpp='$CPP $CPPFLAGS'
13479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13482
13483
13484 ac_ext=c
13485 ac_cpp='$CPP $CPPFLAGS'
13486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13489
13490 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13491 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13492 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13493 echo $ECHO_N "(cached) $ECHO_C" >&6
13494 else
13495 cat >conftest.$ac_ext <<_ACEOF
13496 /* confdefs.h. */
13497 _ACEOF
13498 cat confdefs.h >>conftest.$ac_ext
13499 cat >>conftest.$ac_ext <<_ACEOF
13500 /* end confdefs.h. */
13501
13502 int
13503 main ()
13504 {
13505 #ifndef __xlC__
13506 choke me
13507 #endif
13508
13509 ;
13510 return 0;
13511 }
13512 _ACEOF
13513 rm -f conftest.$ac_objext
13514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13515 (eval $ac_compile) 2>conftest.er1
13516 ac_status=$?
13517 grep -v '^ *+' conftest.er1 >conftest.err
13518 rm -f conftest.er1
13519 cat conftest.err >&5
13520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13521 (exit $ac_status); } &&
13522 { ac_try='test -z "$ac_c_werror_flag"
13523 || test ! -s conftest.err'
13524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13525 (eval $ac_try) 2>&5
13526 ac_status=$?
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); }; } &&
13529 { ac_try='test -s conftest.$ac_objext'
13530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13531 (eval $ac_try) 2>&5
13532 ac_status=$?
13533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13534 (exit $ac_status); }; }; then
13535 bakefile_compiler_xlc=yes
13536 else
13537 echo "$as_me: failed program was:" >&5
13538 sed 's/^/| /' conftest.$ac_ext >&5
13539
13540 bakefile_compiler_xlc=no
13541 fi
13542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13543 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13544
13545 fi
13546 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13547 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13548
13549 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13550 ac_ext=c
13551 ac_cpp='$CPP $CPPFLAGS'
13552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13555
13556
13557 ;;
13558
13559 IRIX*)
13560
13561
13562 ac_ext=c
13563 ac_cpp='$CPP $CPPFLAGS'
13564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13567
13568 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13569 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13570 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13571 echo $ECHO_N "(cached) $ECHO_C" >&6
13572 else
13573 cat >conftest.$ac_ext <<_ACEOF
13574 /* confdefs.h. */
13575 _ACEOF
13576 cat confdefs.h >>conftest.$ac_ext
13577 cat >>conftest.$ac_ext <<_ACEOF
13578 /* end confdefs.h. */
13579
13580 int
13581 main ()
13582 {
13583
13584 #ifndef _SGI_COMPILER_VERSION
13585 choke me
13586 #endif
13587
13588 ;
13589 return 0;
13590 }
13591 _ACEOF
13592 rm -f conftest.$ac_objext
13593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13594 (eval $ac_compile) 2>conftest.er1
13595 ac_status=$?
13596 grep -v '^ *+' conftest.er1 >conftest.err
13597 rm -f conftest.er1
13598 cat conftest.err >&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); } &&
13601 { ac_try='test -z "$ac_c_werror_flag"
13602 || test ! -s conftest.err'
13603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13604 (eval $ac_try) 2>&5
13605 ac_status=$?
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); }; } &&
13608 { ac_try='test -s conftest.$ac_objext'
13609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13610 (eval $ac_try) 2>&5
13611 ac_status=$?
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); }; }; then
13614 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13615 else
13616 echo "$as_me: failed program was:" >&5
13617 sed 's/^/| /' conftest.$ac_ext >&5
13618
13619 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13620
13621 fi
13622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13623
13624
13625 fi
13626 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13627 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13628 ac_ext=c
13629 ac_cpp='$CPP $CPPFLAGS'
13630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13633
13634 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13635 :; SGICC=yes
13636 else
13637 :;
13638 fi
13639
13640
13641 ;;
13642
13643 HP-UX*)
13644
13645
13646 ac_ext=c
13647 ac_cpp='$CPP $CPPFLAGS'
13648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13651
13652 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13653 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13654 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13655 echo $ECHO_N "(cached) $ECHO_C" >&6
13656 else
13657 cat >conftest.$ac_ext <<_ACEOF
13658 /* confdefs.h. */
13659 _ACEOF
13660 cat confdefs.h >>conftest.$ac_ext
13661 cat >>conftest.$ac_ext <<_ACEOF
13662 /* end confdefs.h. */
13663
13664 int
13665 main ()
13666 {
13667
13668 #ifndef __HP_cc
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_c_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_cv_c_compiler___HP_cc=yes
13699 else
13700 echo "$as_me: failed program was:" >&5
13701 sed 's/^/| /' conftest.$ac_ext >&5
13702
13703 bakefile_cv_c_compiler___HP_cc=no
13704
13705 fi
13706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13707
13708
13709 fi
13710 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13711 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13712 ac_ext=c
13713 ac_cpp='$CPP $CPPFLAGS'
13714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13717
13718 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13719 :; HPCC=yes
13720 else
13721 :;
13722 fi
13723
13724
13725 ;;
13726
13727 OSF1)
13728
13729
13730 ac_ext=c
13731 ac_cpp='$CPP $CPPFLAGS'
13732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13735
13736 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13737 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13738 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13739 echo $ECHO_N "(cached) $ECHO_C" >&6
13740 else
13741 cat >conftest.$ac_ext <<_ACEOF
13742 /* confdefs.h. */
13743 _ACEOF
13744 cat confdefs.h >>conftest.$ac_ext
13745 cat >>conftest.$ac_ext <<_ACEOF
13746 /* end confdefs.h. */
13747
13748 int
13749 main ()
13750 {
13751
13752 #ifndef __DECC
13753 choke me
13754 #endif
13755
13756 ;
13757 return 0;
13758 }
13759 _ACEOF
13760 rm -f conftest.$ac_objext
13761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13762 (eval $ac_compile) 2>conftest.er1
13763 ac_status=$?
13764 grep -v '^ *+' conftest.er1 >conftest.err
13765 rm -f conftest.er1
13766 cat conftest.err >&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); } &&
13769 { ac_try='test -z "$ac_c_werror_flag"
13770 || test ! -s conftest.err'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13773 ac_status=$?
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; } &&
13776 { ac_try='test -s conftest.$ac_objext'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13779 ac_status=$?
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; }; then
13782 bakefile_cv_c_compiler___DECC=yes
13783 else
13784 echo "$as_me: failed program was:" >&5
13785 sed 's/^/| /' conftest.$ac_ext >&5
13786
13787 bakefile_cv_c_compiler___DECC=no
13788
13789 fi
13790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13791
13792
13793 fi
13794 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13795 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13796 ac_ext=c
13797 ac_cpp='$CPP $CPPFLAGS'
13798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13801
13802 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13803 :; COMPAQCC=yes
13804 else
13805 :;
13806 fi
13807
13808
13809 ;;
13810
13811 SunOS)
13812
13813
13814 ac_ext=c
13815 ac_cpp='$CPP $CPPFLAGS'
13816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13819
13820 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13821 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13822 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13823 echo $ECHO_N "(cached) $ECHO_C" >&6
13824 else
13825 cat >conftest.$ac_ext <<_ACEOF
13826 /* confdefs.h. */
13827 _ACEOF
13828 cat confdefs.h >>conftest.$ac_ext
13829 cat >>conftest.$ac_ext <<_ACEOF
13830 /* end confdefs.h. */
13831
13832 int
13833 main ()
13834 {
13835
13836 #ifndef __SUNPRO_C
13837 choke me
13838 #endif
13839
13840 ;
13841 return 0;
13842 }
13843 _ACEOF
13844 rm -f conftest.$ac_objext
13845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13846 (eval $ac_compile) 2>conftest.er1
13847 ac_status=$?
13848 grep -v '^ *+' conftest.er1 >conftest.err
13849 rm -f conftest.er1
13850 cat conftest.err >&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); } &&
13853 { ac_try='test -z "$ac_c_werror_flag"
13854 || test ! -s conftest.err'
13855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13856 (eval $ac_try) 2>&5
13857 ac_status=$?
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); }; } &&
13860 { ac_try='test -s conftest.$ac_objext'
13861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13862 (eval $ac_try) 2>&5
13863 ac_status=$?
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }; }; then
13866 bakefile_cv_c_compiler___SUNPRO_C=yes
13867 else
13868 echo "$as_me: failed program was:" >&5
13869 sed 's/^/| /' conftest.$ac_ext >&5
13870
13871 bakefile_cv_c_compiler___SUNPRO_C=no
13872
13873 fi
13874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13875
13876
13877 fi
13878 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13879 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13880 ac_ext=c
13881 ac_cpp='$CPP $CPPFLAGS'
13882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13885
13886 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13887 :; SUNCC=yes
13888 else
13889 :;
13890 fi
13891
13892
13893 ;;
13894 esac
13895 fi
13896
13897
13898
13899 ac_ext=c
13900 ac_cpp='$CPP $CPPFLAGS'
13901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13904 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13905 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13906 # On Suns, sometimes $CPP names a directory.
13907 if test -n "$CPP" && test -d "$CPP"; then
13908 CPP=
13909 fi
13910 if test -z "$CPP"; then
13911 if test "${ac_cv_prog_CPP+set}" = set; then
13912 echo $ECHO_N "(cached) $ECHO_C" >&6
13913 else
13914 # Double quotes because CPP needs to be expanded
13915 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13916 do
13917 ac_preproc_ok=false
13918 for ac_c_preproc_warn_flag in '' yes
13919 do
13920 # Use a header file that comes with gcc, so configuring glibc
13921 # with a fresh cross-compiler works.
13922 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13923 # <limits.h> exists even on freestanding compilers.
13924 # On the NeXT, cc -E runs the code through the compiler's parser,
13925 # not just through cpp. "Syntax error" is here to catch this case.
13926 cat >conftest.$ac_ext <<_ACEOF
13927 /* confdefs.h. */
13928 _ACEOF
13929 cat confdefs.h >>conftest.$ac_ext
13930 cat >>conftest.$ac_ext <<_ACEOF
13931 /* end confdefs.h. */
13932 #ifdef __STDC__
13933 # include <limits.h>
13934 #else
13935 # include <assert.h>
13936 #endif
13937 Syntax error
13938 _ACEOF
13939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13941 ac_status=$?
13942 grep -v '^ *+' conftest.er1 >conftest.err
13943 rm -f conftest.er1
13944 cat conftest.err >&5
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); } >/dev/null; then
13947 if test -s conftest.err; then
13948 ac_cpp_err=$ac_c_preproc_warn_flag
13949 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13950 else
13951 ac_cpp_err=
13952 fi
13953 else
13954 ac_cpp_err=yes
13955 fi
13956 if test -z "$ac_cpp_err"; then
13957 :
13958 else
13959 echo "$as_me: failed program was:" >&5
13960 sed 's/^/| /' conftest.$ac_ext >&5
13961
13962 # Broken: fails on valid input.
13963 continue
13964 fi
13965 rm -f conftest.err conftest.$ac_ext
13966
13967 # OK, works on sane cases. Now check whether non-existent headers
13968 # can be detected and how.
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 #include <ac_nonexistent.h>
13976 _ACEOF
13977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13978 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13979 ac_status=$?
13980 grep -v '^ *+' conftest.er1 >conftest.err
13981 rm -f conftest.er1
13982 cat conftest.err >&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); } >/dev/null; then
13985 if test -s conftest.err; then
13986 ac_cpp_err=$ac_c_preproc_warn_flag
13987 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13988 else
13989 ac_cpp_err=
13990 fi
13991 else
13992 ac_cpp_err=yes
13993 fi
13994 if test -z "$ac_cpp_err"; then
13995 # Broken: success on invalid input.
13996 continue
13997 else
13998 echo "$as_me: failed program was:" >&5
13999 sed 's/^/| /' conftest.$ac_ext >&5
14000
14001 # Passes both tests.
14002 ac_preproc_ok=:
14003 break
14004 fi
14005 rm -f conftest.err conftest.$ac_ext
14006
14007 done
14008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14009 rm -f conftest.err conftest.$ac_ext
14010 if $ac_preproc_ok; then
14011 break
14012 fi
14013
14014 done
14015 ac_cv_prog_CPP=$CPP
14016
14017 fi
14018 CPP=$ac_cv_prog_CPP
14019 else
14020 ac_cv_prog_CPP=$CPP
14021 fi
14022 echo "$as_me:$LINENO: result: $CPP" >&5
14023 echo "${ECHO_T}$CPP" >&6
14024 ac_preproc_ok=false
14025 for ac_c_preproc_warn_flag in '' yes
14026 do
14027 # Use a header file that comes with gcc, so configuring glibc
14028 # with a fresh cross-compiler works.
14029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14030 # <limits.h> exists even on freestanding compilers.
14031 # On the NeXT, cc -E runs the code through the compiler's parser,
14032 # not just through cpp. "Syntax error" is here to catch this case.
14033 cat >conftest.$ac_ext <<_ACEOF
14034 /* confdefs.h. */
14035 _ACEOF
14036 cat confdefs.h >>conftest.$ac_ext
14037 cat >>conftest.$ac_ext <<_ACEOF
14038 /* end confdefs.h. */
14039 #ifdef __STDC__
14040 # include <limits.h>
14041 #else
14042 # include <assert.h>
14043 #endif
14044 Syntax error
14045 _ACEOF
14046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14048 ac_status=$?
14049 grep -v '^ *+' conftest.er1 >conftest.err
14050 rm -f conftest.er1
14051 cat conftest.err >&5
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); } >/dev/null; then
14054 if test -s conftest.err; then
14055 ac_cpp_err=$ac_c_preproc_warn_flag
14056 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14057 else
14058 ac_cpp_err=
14059 fi
14060 else
14061 ac_cpp_err=yes
14062 fi
14063 if test -z "$ac_cpp_err"; then
14064 :
14065 else
14066 echo "$as_me: failed program was:" >&5
14067 sed 's/^/| /' conftest.$ac_ext >&5
14068
14069 # Broken: fails on valid input.
14070 continue
14071 fi
14072 rm -f conftest.err conftest.$ac_ext
14073
14074 # OK, works on sane cases. Now check whether non-existent headers
14075 # can be detected and how.
14076 cat >conftest.$ac_ext <<_ACEOF
14077 /* confdefs.h. */
14078 _ACEOF
14079 cat confdefs.h >>conftest.$ac_ext
14080 cat >>conftest.$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14082 #include <ac_nonexistent.h>
14083 _ACEOF
14084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14086 ac_status=$?
14087 grep -v '^ *+' conftest.er1 >conftest.err
14088 rm -f conftest.er1
14089 cat conftest.err >&5
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); } >/dev/null; then
14092 if test -s conftest.err; then
14093 ac_cpp_err=$ac_c_preproc_warn_flag
14094 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14095 else
14096 ac_cpp_err=
14097 fi
14098 else
14099 ac_cpp_err=yes
14100 fi
14101 if test -z "$ac_cpp_err"; then
14102 # Broken: success on invalid input.
14103 continue
14104 else
14105 echo "$as_me: failed program was:" >&5
14106 sed 's/^/| /' conftest.$ac_ext >&5
14107
14108 # Passes both tests.
14109 ac_preproc_ok=:
14110 break
14111 fi
14112 rm -f conftest.err conftest.$ac_ext
14113
14114 done
14115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14116 rm -f conftest.err conftest.$ac_ext
14117 if $ac_preproc_ok; then
14118 :
14119 else
14120 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14121 See \`config.log' for more details." >&5
14122 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14123 See \`config.log' for more details." >&2;}
14124 { (exit 1); exit 1; }; }
14125 fi
14126
14127 ac_ext=c
14128 ac_cpp='$CPP $CPPFLAGS'
14129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14132
14133
14134 echo "$as_me:$LINENO: checking for egrep" >&5
14135 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
14136 if test "${ac_cv_prog_egrep+set}" = set; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 else
14139 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
14140 then ac_cv_prog_egrep='grep -E'
14141 else ac_cv_prog_egrep='egrep'
14142 fi
14143 fi
14144 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
14145 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
14146 EGREP=$ac_cv_prog_egrep
14147
14148
14149 if test $ac_cv_c_compiler_gnu = yes; then
14150 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14151 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
14152 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 else
14155 ac_pattern="Autoconf.*'x'"
14156 cat >conftest.$ac_ext <<_ACEOF
14157 /* confdefs.h. */
14158 _ACEOF
14159 cat confdefs.h >>conftest.$ac_ext
14160 cat >>conftest.$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14162 #include <sgtty.h>
14163 Autoconf TIOCGETP
14164 _ACEOF
14165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14166 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14167 ac_cv_prog_gcc_traditional=yes
14168 else
14169 ac_cv_prog_gcc_traditional=no
14170 fi
14171 rm -f conftest*
14172
14173
14174 if test $ac_cv_prog_gcc_traditional = no; then
14175 cat >conftest.$ac_ext <<_ACEOF
14176 /* confdefs.h. */
14177 _ACEOF
14178 cat confdefs.h >>conftest.$ac_ext
14179 cat >>conftest.$ac_ext <<_ACEOF
14180 /* end confdefs.h. */
14181 #include <termio.h>
14182 Autoconf TCGETA
14183 _ACEOF
14184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14185 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14186 ac_cv_prog_gcc_traditional=yes
14187 fi
14188 rm -f conftest*
14189
14190 fi
14191 fi
14192 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14193 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14194 if test $ac_cv_prog_gcc_traditional = yes; then
14195 CC="$CC -traditional"
14196 fi
14197 fi
14198
14199
14200 CXXFLAGS=${CXXFLAGS:=}
14201
14202
14203
14204 ac_ext=cc
14205 ac_cpp='$CXXCPP $CPPFLAGS'
14206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14209 if test -n "$ac_tool_prefix"; then
14210 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14211 do
14212 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14213 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14214 echo "$as_me:$LINENO: checking for $ac_word" >&5
14215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14216 if test "${ac_cv_prog_CXX+set}" = set; then
14217 echo $ECHO_N "(cached) $ECHO_C" >&6
14218 else
14219 if test -n "$CXX"; then
14220 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14221 else
14222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14223 for as_dir in $PATH
14224 do
14225 IFS=$as_save_IFS
14226 test -z "$as_dir" && as_dir=.
14227 for ac_exec_ext in '' $ac_executable_extensions; do
14228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14229 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14231 break 2
14232 fi
14233 done
14234 done
14235
14236 fi
14237 fi
14238 CXX=$ac_cv_prog_CXX
14239 if test -n "$CXX"; then
14240 echo "$as_me:$LINENO: result: $CXX" >&5
14241 echo "${ECHO_T}$CXX" >&6
14242 else
14243 echo "$as_me:$LINENO: result: no" >&5
14244 echo "${ECHO_T}no" >&6
14245 fi
14246
14247 test -n "$CXX" && break
14248 done
14249 fi
14250 if test -z "$CXX"; then
14251 ac_ct_CXX=$CXX
14252 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14253 do
14254 # Extract the first word of "$ac_prog", so it can be a program name with args.
14255 set dummy $ac_prog; ac_word=$2
14256 echo "$as_me:$LINENO: checking for $ac_word" >&5
14257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14258 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14259 echo $ECHO_N "(cached) $ECHO_C" >&6
14260 else
14261 if test -n "$ac_ct_CXX"; then
14262 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14263 else
14264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14265 for as_dir in $PATH
14266 do
14267 IFS=$as_save_IFS
14268 test -z "$as_dir" && as_dir=.
14269 for ac_exec_ext in '' $ac_executable_extensions; do
14270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14271 ac_cv_prog_ac_ct_CXX="$ac_prog"
14272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14273 break 2
14274 fi
14275 done
14276 done
14277
14278 fi
14279 fi
14280 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14281 if test -n "$ac_ct_CXX"; then
14282 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14283 echo "${ECHO_T}$ac_ct_CXX" >&6
14284 else
14285 echo "$as_me:$LINENO: result: no" >&5
14286 echo "${ECHO_T}no" >&6
14287 fi
14288
14289 test -n "$ac_ct_CXX" && break
14290 done
14291 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14292
14293 CXX=$ac_ct_CXX
14294 fi
14295
14296
14297 # Provide some information about the compiler.
14298 echo "$as_me:$LINENO:" \
14299 "checking for C++ compiler version" >&5
14300 ac_compiler=`set X $ac_compile; echo $2`
14301 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14302 (eval $ac_compiler --version </dev/null >&5) 2>&5
14303 ac_status=$?
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); }
14306 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14307 (eval $ac_compiler -v </dev/null >&5) 2>&5
14308 ac_status=$?
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }
14311 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14312 (eval $ac_compiler -V </dev/null >&5) 2>&5
14313 ac_status=$?
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); }
14316
14317 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14318 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14319 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14320 echo $ECHO_N "(cached) $ECHO_C" >&6
14321 else
14322 cat >conftest.$ac_ext <<_ACEOF
14323 /* confdefs.h. */
14324 _ACEOF
14325 cat confdefs.h >>conftest.$ac_ext
14326 cat >>conftest.$ac_ext <<_ACEOF
14327 /* end confdefs.h. */
14328
14329 int
14330 main ()
14331 {
14332 #ifndef __GNUC__
14333 choke me
14334 #endif
14335
14336 ;
14337 return 0;
14338 }
14339 _ACEOF
14340 rm -f conftest.$ac_objext
14341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14342 (eval $ac_compile) 2>conftest.er1
14343 ac_status=$?
14344 grep -v '^ *+' conftest.er1 >conftest.err
14345 rm -f conftest.er1
14346 cat conftest.err >&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); } &&
14349 { ac_try='test -z "$ac_cxx_werror_flag"
14350 || test ! -s conftest.err'
14351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352 (eval $ac_try) 2>&5
14353 ac_status=$?
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; } &&
14356 { ac_try='test -s conftest.$ac_objext'
14357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14358 (eval $ac_try) 2>&5
14359 ac_status=$?
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); }; }; then
14362 ac_compiler_gnu=yes
14363 else
14364 echo "$as_me: failed program was:" >&5
14365 sed 's/^/| /' conftest.$ac_ext >&5
14366
14367 ac_compiler_gnu=no
14368 fi
14369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14370 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14371
14372 fi
14373 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14374 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14375 GXX=`test $ac_compiler_gnu = yes && echo yes`
14376 ac_test_CXXFLAGS=${CXXFLAGS+set}
14377 ac_save_CXXFLAGS=$CXXFLAGS
14378 CXXFLAGS="-g"
14379 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14380 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14381 if test "${ac_cv_prog_cxx_g+set}" = set; then
14382 echo $ECHO_N "(cached) $ECHO_C" >&6
14383 else
14384 cat >conftest.$ac_ext <<_ACEOF
14385 /* confdefs.h. */
14386 _ACEOF
14387 cat confdefs.h >>conftest.$ac_ext
14388 cat >>conftest.$ac_ext <<_ACEOF
14389 /* end confdefs.h. */
14390
14391 int
14392 main ()
14393 {
14394
14395 ;
14396 return 0;
14397 }
14398 _ACEOF
14399 rm -f conftest.$ac_objext
14400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14401 (eval $ac_compile) 2>conftest.er1
14402 ac_status=$?
14403 grep -v '^ *+' conftest.er1 >conftest.err
14404 rm -f conftest.er1
14405 cat conftest.err >&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try='test -z "$ac_cxx_werror_flag"
14409 || test ! -s conftest.err'
14410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411 (eval $ac_try) 2>&5
14412 ac_status=$?
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; } &&
14415 { ac_try='test -s conftest.$ac_objext'
14416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14417 (eval $ac_try) 2>&5
14418 ac_status=$?
14419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420 (exit $ac_status); }; }; then
14421 ac_cv_prog_cxx_g=yes
14422 else
14423 echo "$as_me: failed program was:" >&5
14424 sed 's/^/| /' conftest.$ac_ext >&5
14425
14426 ac_cv_prog_cxx_g=no
14427 fi
14428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14429 fi
14430 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14431 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14432 if test "$ac_test_CXXFLAGS" = set; then
14433 CXXFLAGS=$ac_save_CXXFLAGS
14434 elif test $ac_cv_prog_cxx_g = yes; then
14435 if test "$GXX" = yes; then
14436 CXXFLAGS="-g -O2"
14437 else
14438 CXXFLAGS="-g"
14439 fi
14440 else
14441 if test "$GXX" = yes; then
14442 CXXFLAGS="-O2"
14443 else
14444 CXXFLAGS=
14445 fi
14446 fi
14447 for ac_declaration in \
14448 '' \
14449 'extern "C" void std::exit (int) throw (); using std::exit;' \
14450 'extern "C" void std::exit (int); using std::exit;' \
14451 'extern "C" void exit (int) throw ();' \
14452 'extern "C" void exit (int);' \
14453 'void exit (int);'
14454 do
14455 cat >conftest.$ac_ext <<_ACEOF
14456 /* confdefs.h. */
14457 _ACEOF
14458 cat confdefs.h >>conftest.$ac_ext
14459 cat >>conftest.$ac_ext <<_ACEOF
14460 /* end confdefs.h. */
14461 $ac_declaration
14462 #include <stdlib.h>
14463 int
14464 main ()
14465 {
14466 exit (42);
14467 ;
14468 return 0;
14469 }
14470 _ACEOF
14471 rm -f conftest.$ac_objext
14472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14473 (eval $ac_compile) 2>conftest.er1
14474 ac_status=$?
14475 grep -v '^ *+' conftest.er1 >conftest.err
14476 rm -f conftest.er1
14477 cat conftest.err >&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); } &&
14480 { ac_try='test -z "$ac_cxx_werror_flag"
14481 || test ! -s conftest.err'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14484 ac_status=$?
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; } &&
14487 { ac_try='test -s conftest.$ac_objext'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14490 ac_status=$?
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; }; then
14493 :
14494 else
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.$ac_ext >&5
14497
14498 continue
14499 fi
14500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14501 cat >conftest.$ac_ext <<_ACEOF
14502 /* confdefs.h. */
14503 _ACEOF
14504 cat confdefs.h >>conftest.$ac_ext
14505 cat >>conftest.$ac_ext <<_ACEOF
14506 /* end confdefs.h. */
14507 $ac_declaration
14508 int
14509 main ()
14510 {
14511 exit (42);
14512 ;
14513 return 0;
14514 }
14515 _ACEOF
14516 rm -f conftest.$ac_objext
14517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14518 (eval $ac_compile) 2>conftest.er1
14519 ac_status=$?
14520 grep -v '^ *+' conftest.er1 >conftest.err
14521 rm -f conftest.er1
14522 cat conftest.err >&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } &&
14525 { ac_try='test -z "$ac_cxx_werror_flag"
14526 || test ! -s conftest.err'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14528 (eval $ac_try) 2>&5
14529 ac_status=$?
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; } &&
14532 { ac_try='test -s conftest.$ac_objext'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14535 ac_status=$?
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; }; then
14538 break
14539 else
14540 echo "$as_me: failed program was:" >&5
14541 sed 's/^/| /' conftest.$ac_ext >&5
14542
14543 fi
14544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14545 done
14546 rm -f conftest*
14547 if test -n "$ac_declaration"; then
14548 echo '#ifdef __cplusplus' >>confdefs.h
14549 echo $ac_declaration >>confdefs.h
14550 echo '#endif' >>confdefs.h
14551 fi
14552
14553 ac_ext=c
14554 ac_cpp='$CPP $CPPFLAGS'
14555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14558
14559
14560
14561 ac_ext=cc
14562 ac_cpp='$CXXCPP $CPPFLAGS'
14563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14566
14567 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14568 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14569 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14570 echo $ECHO_N "(cached) $ECHO_C" >&6
14571 else
14572 cat >conftest.$ac_ext <<_ACEOF
14573 /* confdefs.h. */
14574 _ACEOF
14575 cat confdefs.h >>conftest.$ac_ext
14576 cat >>conftest.$ac_ext <<_ACEOF
14577 /* end confdefs.h. */
14578
14579 int
14580 main ()
14581 {
14582
14583 #ifndef __INTEL_COMPILER
14584 choke me
14585 #endif
14586
14587 ;
14588 return 0;
14589 }
14590 _ACEOF
14591 rm -f conftest.$ac_objext
14592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14593 (eval $ac_compile) 2>conftest.er1
14594 ac_status=$?
14595 grep -v '^ *+' conftest.er1 >conftest.err
14596 rm -f conftest.er1
14597 cat conftest.err >&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); } &&
14600 { ac_try='test -z "$ac_cxx_werror_flag"
14601 || test ! -s conftest.err'
14602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14603 (eval $ac_try) 2>&5
14604 ac_status=$?
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); }; } &&
14607 { ac_try='test -s conftest.$ac_objext'
14608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14609 (eval $ac_try) 2>&5
14610 ac_status=$?
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); }; }; then
14613 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14614 else
14615 echo "$as_me: failed program was:" >&5
14616 sed 's/^/| /' conftest.$ac_ext >&5
14617
14618 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14619
14620 fi
14621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14622
14623
14624 fi
14625 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14626 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14627 ac_ext=c
14628 ac_cpp='$CPP $CPPFLAGS'
14629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14632
14633 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14634 :; INTELCXX=yes
14635 else
14636 :;
14637 fi
14638
14639
14640 if test "x$GCXX" != "xyes"; then
14641 if test "xCXX" = "xC"; then
14642 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14643 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14644 if test "${bakefile_cv_c_exto+set}" = set; then
14645 echo $ECHO_N "(cached) $ECHO_C" >&6
14646 else
14647 cat >conftest.$ac_ext <<_ACEOF
14648 /* confdefs.h. */
14649 _ACEOF
14650 cat confdefs.h >>conftest.$ac_ext
14651 cat >>conftest.$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14653
14654 int
14655 main ()
14656 {
14657
14658 ;
14659 return 0;
14660 }
14661 _ACEOF
14662 rm -f conftest.$ac_objext conftest.$ac_ext.o
14663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14664 (eval $ac_compile) 2>&5
14665 ac_status=$?
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); }; then
14668 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14669 case $ac_file in
14670 conftest.$ac_ext.o)
14671 bakefile_cv_c_exto="-ext o"
14672 ;;
14673 *)
14674 ;;
14675 esac
14676 done
14677 else
14678 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14679 See \`config.log' for more details." >&5
14680 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14681 See \`config.log' for more details." >&2;}
14682 { (exit 1); exit 1; }; }
14683
14684 fi
14685
14686 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14687
14688 fi
14689 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14690 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14691 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14692 if test "c" = "c"; then
14693 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14694 fi
14695 if test "c" = "cxx"; then
14696 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14697 fi
14698 fi
14699
14700 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14701 unset ac_cv_prog_cc_g
14702 ac_test_CFLAGS=${CFLAGS+set}
14703 ac_save_CFLAGS=$CFLAGS
14704 CFLAGS="-g"
14705 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14706 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14707 if test "${ac_cv_prog_cc_g+set}" = set; then
14708 echo $ECHO_N "(cached) $ECHO_C" >&6
14709 else
14710 cat >conftest.$ac_ext <<_ACEOF
14711 /* confdefs.h. */
14712 _ACEOF
14713 cat confdefs.h >>conftest.$ac_ext
14714 cat >>conftest.$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14716
14717 int
14718 main ()
14719 {
14720
14721 ;
14722 return 0;
14723 }
14724 _ACEOF
14725 rm -f conftest.$ac_objext
14726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14727 (eval $ac_compile) 2>conftest.er1
14728 ac_status=$?
14729 grep -v '^ *+' conftest.er1 >conftest.err
14730 rm -f conftest.er1
14731 cat conftest.err >&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); } &&
14734 { ac_try='test -z "$ac_c_werror_flag"
14735 || test ! -s conftest.err'
14736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14737 (eval $ac_try) 2>&5
14738 ac_status=$?
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); }; } &&
14741 { ac_try='test -s conftest.$ac_objext'
14742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14743 (eval $ac_try) 2>&5
14744 ac_status=$?
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); }; }; then
14747 ac_cv_prog_cc_g=yes
14748 else
14749 echo "$as_me: failed program was:" >&5
14750 sed 's/^/| /' conftest.$ac_ext >&5
14751
14752 ac_cv_prog_cc_g=no
14753 fi
14754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14755 fi
14756 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14757 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14758 if test "$ac_test_CFLAGS" = set; then
14759 CFLAGS=$ac_save_CFLAGS
14760 elif test $ac_cv_prog_cc_g = yes; then
14761 if test "$GCC" = yes; then
14762 CFLAGS="-g -O2"
14763 else
14764 CFLAGS="-g"
14765 fi
14766 else
14767 if test "$GCC" = yes; then
14768 CFLAGS="-O2"
14769 else
14770 CFLAGS=
14771 fi
14772 fi
14773 fi
14774 fi
14775
14776 case `uname -s` in
14777 AIX*)
14778 ac_ext=cc
14779 ac_cpp='$CXXCPP $CPPFLAGS'
14780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14783
14784 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14785 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14786 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14787 echo $ECHO_N "(cached) $ECHO_C" >&6
14788 else
14789 cat >conftest.$ac_ext <<_ACEOF
14790 /* confdefs.h. */
14791 _ACEOF
14792 cat confdefs.h >>conftest.$ac_ext
14793 cat >>conftest.$ac_ext <<_ACEOF
14794 /* end confdefs.h. */
14795
14796 int
14797 main ()
14798 {
14799 #ifndef __xlC__
14800 choke me
14801 #endif
14802
14803 ;
14804 return 0;
14805 }
14806 _ACEOF
14807 rm -f conftest.$ac_objext
14808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14809 (eval $ac_compile) 2>conftest.er1
14810 ac_status=$?
14811 grep -v '^ *+' conftest.er1 >conftest.err
14812 rm -f conftest.er1
14813 cat conftest.err >&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); } &&
14816 { ac_try='test -z "$ac_cxx_werror_flag"
14817 || test ! -s conftest.err'
14818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14819 (eval $ac_try) 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }; } &&
14823 { ac_try='test -s conftest.$ac_objext'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14826 ac_status=$?
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; }; then
14829 bakefile_compiler_xlc=yes
14830 else
14831 echo "$as_me: failed program was:" >&5
14832 sed 's/^/| /' conftest.$ac_ext >&5
14833
14834 bakefile_compiler_xlc=no
14835 fi
14836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14837 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14838
14839 fi
14840 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14841 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14842
14843 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14844 ac_ext=c
14845 ac_cpp='$CPP $CPPFLAGS'
14846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14849
14850
14851 ;;
14852
14853 Darwin)
14854 ac_ext=cc
14855 ac_cpp='$CXXCPP $CPPFLAGS'
14856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14859
14860 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14861 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14862 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14863 echo $ECHO_N "(cached) $ECHO_C" >&6
14864 else
14865 cat >conftest.$ac_ext <<_ACEOF
14866 /* confdefs.h. */
14867 _ACEOF
14868 cat confdefs.h >>conftest.$ac_ext
14869 cat >>conftest.$ac_ext <<_ACEOF
14870 /* end confdefs.h. */
14871
14872 int
14873 main ()
14874 {
14875 #ifndef __MWERKS__
14876 choke me
14877 #endif
14878
14879 ;
14880 return 0;
14881 }
14882 _ACEOF
14883 rm -f conftest.$ac_objext
14884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14885 (eval $ac_compile) 2>conftest.er1
14886 ac_status=$?
14887 grep -v '^ *+' conftest.er1 >conftest.err
14888 rm -f conftest.er1
14889 cat conftest.err >&5
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); } &&
14892 { ac_try='test -z "$ac_cxx_werror_flag"
14893 || test ! -s conftest.err'
14894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14895 (eval $ac_try) 2>&5
14896 ac_status=$?
14897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898 (exit $ac_status); }; } &&
14899 { ac_try='test -s conftest.$ac_objext'
14900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14901 (eval $ac_try) 2>&5
14902 ac_status=$?
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); }; }; then
14905 bakefile_compiler_mwerks=yes
14906 else
14907 echo "$as_me: failed program was:" >&5
14908 sed 's/^/| /' conftest.$ac_ext >&5
14909
14910 bakefile_compiler_mwerks=no
14911 fi
14912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14913 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14914
14915 fi
14916 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14917 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14918
14919 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14920 ac_ext=c
14921 ac_cpp='$CPP $CPPFLAGS'
14922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14925
14926
14927 ac_ext=cc
14928 ac_cpp='$CXXCPP $CPPFLAGS'
14929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14932
14933 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14934 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14935 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14936 echo $ECHO_N "(cached) $ECHO_C" >&6
14937 else
14938 cat >conftest.$ac_ext <<_ACEOF
14939 /* confdefs.h. */
14940 _ACEOF
14941 cat confdefs.h >>conftest.$ac_ext
14942 cat >>conftest.$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14944
14945 int
14946 main ()
14947 {
14948 #ifndef __xlC__
14949 choke me
14950 #endif
14951
14952 ;
14953 return 0;
14954 }
14955 _ACEOF
14956 rm -f conftest.$ac_objext
14957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14958 (eval $ac_compile) 2>conftest.er1
14959 ac_status=$?
14960 grep -v '^ *+' conftest.er1 >conftest.err
14961 rm -f conftest.er1
14962 cat conftest.err >&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); } &&
14965 { ac_try='test -z "$ac_cxx_werror_flag"
14966 || test ! -s conftest.err'
14967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14968 (eval $ac_try) 2>&5
14969 ac_status=$?
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); }; } &&
14972 { ac_try='test -s conftest.$ac_objext'
14973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14974 (eval $ac_try) 2>&5
14975 ac_status=$?
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); }; }; then
14978 bakefile_compiler_xlc=yes
14979 else
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.$ac_ext >&5
14982
14983 bakefile_compiler_xlc=no
14984 fi
14985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14986 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14987
14988 fi
14989 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14990 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14991
14992 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14993 ac_ext=c
14994 ac_cpp='$CPP $CPPFLAGS'
14995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14998
14999
15000 ;;
15001
15002 IRIX*)
15003
15004
15005 ac_ext=cc
15006 ac_cpp='$CXXCPP $CPPFLAGS'
15007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15010
15011 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15012 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
15013 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15014 echo $ECHO_N "(cached) $ECHO_C" >&6
15015 else
15016 cat >conftest.$ac_ext <<_ACEOF
15017 /* confdefs.h. */
15018 _ACEOF
15019 cat confdefs.h >>conftest.$ac_ext
15020 cat >>conftest.$ac_ext <<_ACEOF
15021 /* end confdefs.h. */
15022
15023 int
15024 main ()
15025 {
15026
15027 #ifndef _SGI_COMPILER_VERSION
15028 choke me
15029 #endif
15030
15031 ;
15032 return 0;
15033 }
15034 _ACEOF
15035 rm -f conftest.$ac_objext
15036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15037 (eval $ac_compile) 2>conftest.er1
15038 ac_status=$?
15039 grep -v '^ *+' conftest.er1 >conftest.err
15040 rm -f conftest.er1
15041 cat conftest.err >&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); } &&
15044 { ac_try='test -z "$ac_cxx_werror_flag"
15045 || test ! -s conftest.err'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15048 ac_status=$?
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; } &&
15051 { ac_try='test -s conftest.$ac_objext'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15054 ac_status=$?
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; }; then
15057 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15058 else
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.$ac_ext >&5
15061
15062 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15063
15064 fi
15065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15066
15067
15068 fi
15069 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15070 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
15071 ac_ext=c
15072 ac_cpp='$CPP $CPPFLAGS'
15073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15076
15077 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15078 :; SGICXX=yes
15079 else
15080 :;
15081 fi
15082
15083
15084 ;;
15085
15086 HP-UX*)
15087
15088
15089 ac_ext=cc
15090 ac_cpp='$CXXCPP $CPPFLAGS'
15091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15094
15095 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15096 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
15097 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15098 echo $ECHO_N "(cached) $ECHO_C" >&6
15099 else
15100 cat >conftest.$ac_ext <<_ACEOF
15101 /* confdefs.h. */
15102 _ACEOF
15103 cat confdefs.h >>conftest.$ac_ext
15104 cat >>conftest.$ac_ext <<_ACEOF
15105 /* end confdefs.h. */
15106
15107 int
15108 main ()
15109 {
15110
15111 #ifndef __HP_aCC
15112 choke me
15113 #endif
15114
15115 ;
15116 return 0;
15117 }
15118 _ACEOF
15119 rm -f conftest.$ac_objext
15120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15121 (eval $ac_compile) 2>conftest.er1
15122 ac_status=$?
15123 grep -v '^ *+' conftest.er1 >conftest.err
15124 rm -f conftest.er1
15125 cat conftest.err >&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } &&
15128 { ac_try='test -z "$ac_cxx_werror_flag"
15129 || test ! -s conftest.err'
15130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15131 (eval $ac_try) 2>&5
15132 ac_status=$?
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }; } &&
15135 { ac_try='test -s conftest.$ac_objext'
15136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15137 (eval $ac_try) 2>&5
15138 ac_status=$?
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); }; }; then
15141 bakefile_cv_cxx_compiler___HP_aCC=yes
15142 else
15143 echo "$as_me: failed program was:" >&5
15144 sed 's/^/| /' conftest.$ac_ext >&5
15145
15146 bakefile_cv_cxx_compiler___HP_aCC=no
15147
15148 fi
15149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15150
15151
15152 fi
15153 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15154 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
15155 ac_ext=c
15156 ac_cpp='$CPP $CPPFLAGS'
15157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15160
15161 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
15162 :; HPCXX=yes
15163 else
15164 :;
15165 fi
15166
15167
15168 ;;
15169
15170 OSF1)
15171
15172
15173 ac_ext=cc
15174 ac_cpp='$CXXCPP $CPPFLAGS'
15175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15178
15179 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15180 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15181 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 cat >conftest.$ac_ext <<_ACEOF
15185 /* confdefs.h. */
15186 _ACEOF
15187 cat confdefs.h >>conftest.$ac_ext
15188 cat >>conftest.$ac_ext <<_ACEOF
15189 /* end confdefs.h. */
15190
15191 int
15192 main ()
15193 {
15194
15195 #ifndef __DECCXX
15196 choke me
15197 #endif
15198
15199 ;
15200 return 0;
15201 }
15202 _ACEOF
15203 rm -f conftest.$ac_objext
15204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15205 (eval $ac_compile) 2>conftest.er1
15206 ac_status=$?
15207 grep -v '^ *+' conftest.er1 >conftest.err
15208 rm -f conftest.er1
15209 cat conftest.err >&5
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); } &&
15212 { ac_try='test -z "$ac_cxx_werror_flag"
15213 || test ! -s conftest.err'
15214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15215 (eval $ac_try) 2>&5
15216 ac_status=$?
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }; } &&
15219 { ac_try='test -s conftest.$ac_objext'
15220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15221 (eval $ac_try) 2>&5
15222 ac_status=$?
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); }; }; then
15225 bakefile_cv_cxx_compiler___DECCXX=yes
15226 else
15227 echo "$as_me: failed program was:" >&5
15228 sed 's/^/| /' conftest.$ac_ext >&5
15229
15230 bakefile_cv_cxx_compiler___DECCXX=no
15231
15232 fi
15233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15234
15235
15236 fi
15237 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15238 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15239 ac_ext=c
15240 ac_cpp='$CPP $CPPFLAGS'
15241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15244
15245 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15246 :; COMPAQCXX=yes
15247 else
15248 :;
15249 fi
15250
15251
15252 ;;
15253
15254 SunOS)
15255
15256
15257 ac_ext=cc
15258 ac_cpp='$CXXCPP $CPPFLAGS'
15259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15262
15263 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15264 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15265 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6
15267 else
15268 cat >conftest.$ac_ext <<_ACEOF
15269 /* confdefs.h. */
15270 _ACEOF
15271 cat confdefs.h >>conftest.$ac_ext
15272 cat >>conftest.$ac_ext <<_ACEOF
15273 /* end confdefs.h. */
15274
15275 int
15276 main ()
15277 {
15278
15279 #ifndef __SUNPRO_CC
15280 choke me
15281 #endif
15282
15283 ;
15284 return 0;
15285 }
15286 _ACEOF
15287 rm -f conftest.$ac_objext
15288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15289 (eval $ac_compile) 2>conftest.er1
15290 ac_status=$?
15291 grep -v '^ *+' conftest.er1 >conftest.err
15292 rm -f conftest.er1
15293 cat conftest.err >&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try='test -z "$ac_cxx_werror_flag"
15297 || test ! -s conftest.err'
15298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15299 (eval $ac_try) 2>&5
15300 ac_status=$?
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); }; } &&
15303 { ac_try='test -s conftest.$ac_objext'
15304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15305 (eval $ac_try) 2>&5
15306 ac_status=$?
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); }; }; then
15309 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15310 else
15311 echo "$as_me: failed program was:" >&5
15312 sed 's/^/| /' conftest.$ac_ext >&5
15313
15314 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15315
15316 fi
15317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15318
15319
15320 fi
15321 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15322 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15323 ac_ext=c
15324 ac_cpp='$CPP $CPPFLAGS'
15325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15328
15329 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15330 :; SUNCXX=yes
15331 else
15332 :;
15333 fi
15334
15335
15336 ;;
15337 esac
15338 fi
15339
15340
15341
15342 if test -n "$ac_tool_prefix"; then
15343 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15344 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15345 echo "$as_me:$LINENO: checking for $ac_word" >&5
15346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15347 if test "${ac_cv_prog_RANLIB+set}" = set; then
15348 echo $ECHO_N "(cached) $ECHO_C" >&6
15349 else
15350 if test -n "$RANLIB"; then
15351 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15352 else
15353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15354 for as_dir in $PATH
15355 do
15356 IFS=$as_save_IFS
15357 test -z "$as_dir" && as_dir=.
15358 for ac_exec_ext in '' $ac_executable_extensions; do
15359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15360 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15362 break 2
15363 fi
15364 done
15365 done
15366
15367 fi
15368 fi
15369 RANLIB=$ac_cv_prog_RANLIB
15370 if test -n "$RANLIB"; then
15371 echo "$as_me:$LINENO: result: $RANLIB" >&5
15372 echo "${ECHO_T}$RANLIB" >&6
15373 else
15374 echo "$as_me:$LINENO: result: no" >&5
15375 echo "${ECHO_T}no" >&6
15376 fi
15377
15378 fi
15379 if test -z "$ac_cv_prog_RANLIB"; then
15380 ac_ct_RANLIB=$RANLIB
15381 # Extract the first word of "ranlib", so it can be a program name with args.
15382 set dummy ranlib; ac_word=$2
15383 echo "$as_me:$LINENO: checking for $ac_word" >&5
15384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15385 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15386 echo $ECHO_N "(cached) $ECHO_C" >&6
15387 else
15388 if test -n "$ac_ct_RANLIB"; then
15389 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15390 else
15391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15392 for as_dir in $PATH
15393 do
15394 IFS=$as_save_IFS
15395 test -z "$as_dir" && as_dir=.
15396 for ac_exec_ext in '' $ac_executable_extensions; do
15397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15398 ac_cv_prog_ac_ct_RANLIB="ranlib"
15399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15400 break 2
15401 fi
15402 done
15403 done
15404
15405 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15406 fi
15407 fi
15408 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15409 if test -n "$ac_ct_RANLIB"; then
15410 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15411 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15412 else
15413 echo "$as_me:$LINENO: result: no" >&5
15414 echo "${ECHO_T}no" >&6
15415 fi
15416
15417 RANLIB=$ac_ct_RANLIB
15418 else
15419 RANLIB="$ac_cv_prog_RANLIB"
15420 fi
15421
15422
15423 if test "x$SUNCXX" != xyes; then
15424 if test -n "$ac_tool_prefix"; then
15425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15426 set dummy ${ac_tool_prefix}ar; ac_word=$2
15427 echo "$as_me:$LINENO: checking for $ac_word" >&5
15428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15429 if test "${ac_cv_prog_AR+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15431 else
15432 if test -n "$AR"; then
15433 ac_cv_prog_AR="$AR" # Let the user override the test.
15434 else
15435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15436 for as_dir in $PATH
15437 do
15438 IFS=$as_save_IFS
15439 test -z "$as_dir" && as_dir=.
15440 for ac_exec_ext in '' $ac_executable_extensions; do
15441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15442 ac_cv_prog_AR="${ac_tool_prefix}ar"
15443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15444 break 2
15445 fi
15446 done
15447 done
15448
15449 fi
15450 fi
15451 AR=$ac_cv_prog_AR
15452 if test -n "$AR"; then
15453 echo "$as_me:$LINENO: result: $AR" >&5
15454 echo "${ECHO_T}$AR" >&6
15455 else
15456 echo "$as_me:$LINENO: result: no" >&5
15457 echo "${ECHO_T}no" >&6
15458 fi
15459
15460 fi
15461 if test -z "$ac_cv_prog_AR"; then
15462 ac_ct_AR=$AR
15463 # Extract the first word of "ar", so it can be a program name with args.
15464 set dummy ar; ac_word=$2
15465 echo "$as_me:$LINENO: checking for $ac_word" >&5
15466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15467 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15468 echo $ECHO_N "(cached) $ECHO_C" >&6
15469 else
15470 if test -n "$ac_ct_AR"; then
15471 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15472 else
15473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15474 for as_dir in $PATH
15475 do
15476 IFS=$as_save_IFS
15477 test -z "$as_dir" && as_dir=.
15478 for ac_exec_ext in '' $ac_executable_extensions; do
15479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15480 ac_cv_prog_ac_ct_AR="ar"
15481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15482 break 2
15483 fi
15484 done
15485 done
15486
15487 fi
15488 fi
15489 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15490 if test -n "$ac_ct_AR"; then
15491 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15492 echo "${ECHO_T}$ac_ct_AR" >&6
15493 else
15494 echo "$as_me:$LINENO: result: no" >&5
15495 echo "${ECHO_T}no" >&6
15496 fi
15497
15498 AR=$ac_ct_AR
15499 else
15500 AR="$ac_cv_prog_AR"
15501 fi
15502
15503 if test "x$AR" = "x" ; then
15504 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15505 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15506 { (exit 1); exit 1; }; }
15507 fi
15508 fi
15509
15510 # Find a good install program. We prefer a C program (faster),
15511 # so one script is as good as another. But avoid the broken or
15512 # incompatible versions:
15513 # SysV /etc/install, /usr/sbin/install
15514 # SunOS /usr/etc/install
15515 # IRIX /sbin/install
15516 # AIX /bin/install
15517 # AmigaOS /C/install, which installs bootblocks on floppy discs
15518 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15519 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15520 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15521 # OS/2's system install, which has a completely different semantic
15522 # ./install, which can be erroneously created by make from ./install.sh.
15523 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15524 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15525 if test -z "$INSTALL"; then
15526 if test "${ac_cv_path_install+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15528 else
15529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15530 for as_dir in $PATH
15531 do
15532 IFS=$as_save_IFS
15533 test -z "$as_dir" && as_dir=.
15534 # Account for people who put trailing slashes in PATH elements.
15535 case $as_dir/ in
15536 ./ | .// | /cC/* | \
15537 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15538 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15539 /usr/ucb/* ) ;;
15540 *)
15541 # OSF1 and SCO ODT 3.0 have their own names for install.
15542 # Don't use installbsd from OSF since it installs stuff as root
15543 # by default.
15544 for ac_prog in ginstall scoinst install; do
15545 for ac_exec_ext in '' $ac_executable_extensions; do
15546 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15547 if test $ac_prog = install &&
15548 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15549 # AIX install. It has an incompatible calling convention.
15550 :
15551 elif test $ac_prog = install &&
15552 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15553 # program-specific install script used by HP pwplus--don't use.
15554 :
15555 else
15556 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15557 break 3
15558 fi
15559 fi
15560 done
15561 done
15562 ;;
15563 esac
15564 done
15565
15566
15567 fi
15568 if test "${ac_cv_path_install+set}" = set; then
15569 INSTALL=$ac_cv_path_install
15570 else
15571 # As a last resort, use the slow shell script. We don't cache a
15572 # path for INSTALL within a source directory, because that will
15573 # break other packages using the cache if that directory is
15574 # removed, or if the path is relative.
15575 INSTALL=$ac_install_sh
15576 fi
15577 fi
15578 echo "$as_me:$LINENO: result: $INSTALL" >&5
15579 echo "${ECHO_T}$INSTALL" >&6
15580
15581 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15582 # It thinks the first close brace ends the variable substitution.
15583 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15584
15585 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15586
15587 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15588
15589
15590 case ${INSTALL} in
15591 /* ) # Absolute
15592 ;;
15593 ?:* ) # Drive letter, considered as absolute.
15594 ;;
15595 *)
15596 INSTALL=`pwd`/${INSTALL} ;;
15597 esac
15598
15599
15600 case "${host}" in
15601
15602 *-*-darwin* )
15603 INSTALL_PROGRAM="cp -fp"
15604 INSTALL_DATA="cp -fp"
15605 ;;
15606 *)
15607 ;;
15608 esac
15609
15610 if test -n "$ac_tool_prefix"; then
15611 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15612 set dummy ${ac_tool_prefix}strip; ac_word=$2
15613 echo "$as_me:$LINENO: checking for $ac_word" >&5
15614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15615 if test "${ac_cv_prog_STRIP+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15617 else
15618 if test -n "$STRIP"; then
15619 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15620 else
15621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15622 for as_dir in $PATH
15623 do
15624 IFS=$as_save_IFS
15625 test -z "$as_dir" && as_dir=.
15626 for ac_exec_ext in '' $ac_executable_extensions; do
15627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15628 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15630 break 2
15631 fi
15632 done
15633 done
15634
15635 fi
15636 fi
15637 STRIP=$ac_cv_prog_STRIP
15638 if test -n "$STRIP"; then
15639 echo "$as_me:$LINENO: result: $STRIP" >&5
15640 echo "${ECHO_T}$STRIP" >&6
15641 else
15642 echo "$as_me:$LINENO: result: no" >&5
15643 echo "${ECHO_T}no" >&6
15644 fi
15645
15646 fi
15647 if test -z "$ac_cv_prog_STRIP"; then
15648 ac_ct_STRIP=$STRIP
15649 # Extract the first word of "strip", so it can be a program name with args.
15650 set dummy strip; ac_word=$2
15651 echo "$as_me:$LINENO: checking for $ac_word" >&5
15652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15653 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15654 echo $ECHO_N "(cached) $ECHO_C" >&6
15655 else
15656 if test -n "$ac_ct_STRIP"; then
15657 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15658 else
15659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15660 for as_dir in $PATH
15661 do
15662 IFS=$as_save_IFS
15663 test -z "$as_dir" && as_dir=.
15664 for ac_exec_ext in '' $ac_executable_extensions; do
15665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15666 ac_cv_prog_ac_ct_STRIP="strip"
15667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15668 break 2
15669 fi
15670 done
15671 done
15672
15673 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15674 fi
15675 fi
15676 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15677 if test -n "$ac_ct_STRIP"; then
15678 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15679 echo "${ECHO_T}$ac_ct_STRIP" >&6
15680 else
15681 echo "$as_me:$LINENO: result: no" >&5
15682 echo "${ECHO_T}no" >&6
15683 fi
15684
15685 STRIP=$ac_ct_STRIP
15686 else
15687 STRIP="$ac_cv_prog_STRIP"
15688 fi
15689
15690
15691 if test "$wxUSE_WINE" = "yes"; then
15692 if test -n "$ac_tool_prefix"; then
15693 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15694 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15695 echo "$as_me:$LINENO: checking for $ac_word" >&5
15696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15697 if test "${ac_cv_prog_WINDRES+set}" = set; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 else
15700 if test -n "$WINDRES"; then
15701 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15702 else
15703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15704 for as_dir in $PATH
15705 do
15706 IFS=$as_save_IFS
15707 test -z "$as_dir" && as_dir=.
15708 for ac_exec_ext in '' $ac_executable_extensions; do
15709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15710 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15712 break 2
15713 fi
15714 done
15715 done
15716
15717 fi
15718 fi
15719 WINDRES=$ac_cv_prog_WINDRES
15720 if test -n "$WINDRES"; then
15721 echo "$as_me:$LINENO: result: $WINDRES" >&5
15722 echo "${ECHO_T}$WINDRES" >&6
15723 else
15724 echo "$as_me:$LINENO: result: no" >&5
15725 echo "${ECHO_T}no" >&6
15726 fi
15727
15728 fi
15729 if test -z "$ac_cv_prog_WINDRES"; then
15730 ac_ct_WINDRES=$WINDRES
15731 # Extract the first word of "wrc", so it can be a program name with args.
15732 set dummy wrc; ac_word=$2
15733 echo "$as_me:$LINENO: checking for $ac_word" >&5
15734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15735 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15736 echo $ECHO_N "(cached) $ECHO_C" >&6
15737 else
15738 if test -n "$ac_ct_WINDRES"; then
15739 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15740 else
15741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15742 for as_dir in $PATH
15743 do
15744 IFS=$as_save_IFS
15745 test -z "$as_dir" && as_dir=.
15746 for ac_exec_ext in '' $ac_executable_extensions; do
15747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15748 ac_cv_prog_ac_ct_WINDRES="wrc"
15749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15750 break 2
15751 fi
15752 done
15753 done
15754
15755 fi
15756 fi
15757 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15758 if test -n "$ac_ct_WINDRES"; then
15759 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15760 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15761 else
15762 echo "$as_me:$LINENO: result: no" >&5
15763 echo "${ECHO_T}no" >&6
15764 fi
15765
15766 WINDRES=$ac_ct_WINDRES
15767 else
15768 WINDRES="$ac_cv_prog_WINDRES"
15769 fi
15770
15771 RESCOMP="$WINDRES"
15772 else
15773 case "${host}" in
15774 *-*-cygwin* | *-*-mingw32* )
15775 if test -n "$ac_tool_prefix"; then
15776 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15777 set dummy ${ac_tool_prefix}windres; ac_word=$2
15778 echo "$as_me:$LINENO: checking for $ac_word" >&5
15779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15780 if test "${ac_cv_prog_WINDRES+set}" = set; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15782 else
15783 if test -n "$WINDRES"; then
15784 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15785 else
15786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15787 for as_dir in $PATH
15788 do
15789 IFS=$as_save_IFS
15790 test -z "$as_dir" && as_dir=.
15791 for ac_exec_ext in '' $ac_executable_extensions; do
15792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15793 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15795 break 2
15796 fi
15797 done
15798 done
15799
15800 fi
15801 fi
15802 WINDRES=$ac_cv_prog_WINDRES
15803 if test -n "$WINDRES"; then
15804 echo "$as_me:$LINENO: result: $WINDRES" >&5
15805 echo "${ECHO_T}$WINDRES" >&6
15806 else
15807 echo "$as_me:$LINENO: result: no" >&5
15808 echo "${ECHO_T}no" >&6
15809 fi
15810
15811 fi
15812 if test -z "$ac_cv_prog_WINDRES"; then
15813 ac_ct_WINDRES=$WINDRES
15814 # Extract the first word of "windres", so it can be a program name with args.
15815 set dummy windres; ac_word=$2
15816 echo "$as_me:$LINENO: checking for $ac_word" >&5
15817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15818 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15819 echo $ECHO_N "(cached) $ECHO_C" >&6
15820 else
15821 if test -n "$ac_ct_WINDRES"; then
15822 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15823 else
15824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15825 for as_dir in $PATH
15826 do
15827 IFS=$as_save_IFS
15828 test -z "$as_dir" && as_dir=.
15829 for ac_exec_ext in '' $ac_executable_extensions; do
15830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15831 ac_cv_prog_ac_ct_WINDRES="windres"
15832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15833 break 2
15834 fi
15835 done
15836 done
15837
15838 fi
15839 fi
15840 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15841 if test -n "$ac_ct_WINDRES"; then
15842 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15843 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15844 else
15845 echo "$as_me:$LINENO: result: no" >&5
15846 echo "${ECHO_T}no" >&6
15847 fi
15848
15849 WINDRES=$ac_ct_WINDRES
15850 else
15851 WINDRES="$ac_cv_prog_WINDRES"
15852 fi
15853
15854 RESCOMP="$WINDRES"
15855 if test -n "$ac_tool_prefix"; then
15856 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15857 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15858 echo "$as_me:$LINENO: checking for $ac_word" >&5
15859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15860 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15861 echo $ECHO_N "(cached) $ECHO_C" >&6
15862 else
15863 if test -n "$DLLTOOL"; then
15864 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15865 else
15866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15867 for as_dir in $PATH
15868 do
15869 IFS=$as_save_IFS
15870 test -z "$as_dir" && as_dir=.
15871 for ac_exec_ext in '' $ac_executable_extensions; do
15872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15873 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15875 break 2
15876 fi
15877 done
15878 done
15879
15880 fi
15881 fi
15882 DLLTOOL=$ac_cv_prog_DLLTOOL
15883 if test -n "$DLLTOOL"; then
15884 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15885 echo "${ECHO_T}$DLLTOOL" >&6
15886 else
15887 echo "$as_me:$LINENO: result: no" >&5
15888 echo "${ECHO_T}no" >&6
15889 fi
15890
15891 fi
15892 if test -z "$ac_cv_prog_DLLTOOL"; then
15893 ac_ct_DLLTOOL=$DLLTOOL
15894 # Extract the first word of "dlltool", so it can be a program name with args.
15895 set dummy dlltool; ac_word=$2
15896 echo "$as_me:$LINENO: checking for $ac_word" >&5
15897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15898 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15899 echo $ECHO_N "(cached) $ECHO_C" >&6
15900 else
15901 if test -n "$ac_ct_DLLTOOL"; then
15902 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15903 else
15904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15905 for as_dir in $PATH
15906 do
15907 IFS=$as_save_IFS
15908 test -z "$as_dir" && as_dir=.
15909 for ac_exec_ext in '' $ac_executable_extensions; do
15910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15911 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15913 break 2
15914 fi
15915 done
15916 done
15917
15918 fi
15919 fi
15920 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15921 if test -n "$ac_ct_DLLTOOL"; then
15922 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15923 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15924 else
15925 echo "$as_me:$LINENO: result: no" >&5
15926 echo "${ECHO_T}no" >&6
15927 fi
15928
15929 DLLTOOL=$ac_ct_DLLTOOL
15930 else
15931 DLLTOOL="$ac_cv_prog_DLLTOOL"
15932 fi
15933
15934 ;;
15935 esac
15936 fi
15937
15938 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15939 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15940 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15941 echo $ECHO_N "(cached) $ECHO_C" >&6
15942 else
15943
15944 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15945 $EGREP -s GNU > /dev/null); then
15946 wx_cv_prog_makeisgnu="yes"
15947 else
15948 wx_cv_prog_makeisgnu="no"
15949 fi
15950
15951 fi
15952 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15953 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15954
15955 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15956 IF_GNU_MAKE=""
15957 else
15958 IF_GNU_MAKE="#"
15959 fi
15960
15961
15962
15963 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15964 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15965 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15966 if test "${wx_cv_prog_makevpath+set}" = set; then
15967 echo $ECHO_N "(cached) $ECHO_C" >&6
15968 else
15969
15970 cat - << EOF > confMake
15971 check : file
15972 cp \$? \$@
15973 cp \$? final_file
15974 EOF
15975
15976 if test ! -d sub ; then
15977 mkdir sub
15978 fi
15979 echo dummy > sub/file
15980 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15981 RESULT=$?
15982 rm -f sub/file check final_file confMake
15983 rmdir sub
15984 if test "$RESULT" = 0; then
15985 wx_cv_prog_makevpath="yes"
15986 else
15987 wx_cv_prog_makevpath="no"
15988 fi
15989
15990 fi
15991 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15992 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15993
15994 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15995 { { echo "$as_me:$LINENO: error:
15996 You need a make-utility that is able to use the variable
15997 VPATH correctly.
15998 If your version of make does not support VPATH correctly,
15999 please install GNU-make (possibly as gmake), and start
16000 configure with the following command:
16001 export MAKE=gmake; ./configure for sh-type shells
16002 setenv MAKE gmake; ./configure for csh-type shells
16003 Also please do remember to use gmake in this case every time
16004 you are trying to compile.
16005 " >&5
16006 echo "$as_me: error:
16007 You need a make-utility that is able to use the variable
16008 VPATH correctly.
16009 If your version of make does not support VPATH correctly,
16010 please install GNU-make (possibly as gmake), and start
16011 configure with the following command:
16012 export MAKE=gmake; ./configure for sh-type shells
16013 setenv MAKE gmake; ./configure for csh-type shells
16014 Also please do remember to use gmake in this case every time
16015 you are trying to compile.
16016 " >&2;}
16017 { (exit 1); exit 1; }; }
16018 fi fi
16019 echo "$as_me:$LINENO: checking whether ln -s works" >&5
16020 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
16021 LN_S=$as_ln_s
16022 if test "$LN_S" = "ln -s"; then
16023 echo "$as_me:$LINENO: result: yes" >&5
16024 echo "${ECHO_T}yes" >&6
16025 else
16026 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16027 echo "${ECHO_T}no, using $LN_S" >&6
16028 fi
16029
16030
16031
16032
16033 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16034 CXXFLAGS="-qunique $CXXFLAGS"
16035 fi
16036
16037 case "${host}" in
16038 powerpc-*-darwin* )
16039 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16040 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
16041 cat >conftest.$ac_ext <<_ACEOF
16042 /* confdefs.h. */
16043 _ACEOF
16044 cat confdefs.h >>conftest.$ac_ext
16045 cat >>conftest.$ac_ext <<_ACEOF
16046 /* end confdefs.h. */
16047
16048 int
16049 main ()
16050 {
16051 #ifndef __POWERPC__
16052 choke me for lack of PowerPC
16053 #endif
16054
16055 ;
16056 return 0;
16057 }
16058 _ACEOF
16059 rm -f conftest.$ac_objext
16060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16061 (eval $ac_compile) 2>conftest.er1
16062 ac_status=$?
16063 grep -v '^ *+' conftest.er1 >conftest.err
16064 rm -f conftest.er1
16065 cat conftest.err >&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } &&
16068 { ac_try='test -z "$ac_c_werror_flag"
16069 || test ! -s conftest.err'
16070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16071 (eval $ac_try) 2>&5
16072 ac_status=$?
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); }; } &&
16075 { ac_try='test -s conftest.$ac_objext'
16076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16077 (eval $ac_try) 2>&5
16078 ac_status=$?
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); }; }; then
16081 echo "$as_me:$LINENO: result: yes" >&5
16082 echo "${ECHO_T}yes" >&6
16083 else
16084 echo "$as_me: failed program was:" >&5
16085 sed 's/^/| /' conftest.$ac_ext >&5
16086
16087 echo "$as_me:$LINENO: result: no" >&5
16088 echo "${ECHO_T}no" >&6
16089 cat >>confdefs.h <<\_ACEOF
16090 #define __POWERPC__ 1
16091 _ACEOF
16092
16093
16094 fi
16095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16096 ;;
16097 esac
16098
16099 case "${host}" in
16100 *-*-darwin* )
16101 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
16102 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
16103 cat >conftest.$ac_ext <<_ACEOF
16104 /* confdefs.h. */
16105 _ACEOF
16106 cat confdefs.h >>conftest.$ac_ext
16107 cat >>conftest.$ac_ext <<_ACEOF
16108 /* end confdefs.h. */
16109 #include <CoreFoundation/CFBase.h>
16110
16111 int
16112 main ()
16113 {
16114
16115 ;
16116 return 0;
16117 }
16118 _ACEOF
16119 rm -f conftest.$ac_objext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16121 (eval $ac_compile) 2>conftest.er1
16122 ac_status=$?
16123 grep -v '^ *+' conftest.er1 >conftest.err
16124 rm -f conftest.er1
16125 cat conftest.err >&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try='test -z "$ac_c_werror_flag"
16129 || test ! -s conftest.err'
16130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16131 (eval $ac_try) 2>&5
16132 ac_status=$?
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); }; } &&
16135 { ac_try='test -s conftest.$ac_objext'
16136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16137 (eval $ac_try) 2>&5
16138 ac_status=$?
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); }; }; then
16141 echo "$as_me:$LINENO: result: yes" >&5
16142 echo "${ECHO_T}yes" >&6
16143 else
16144 echo "$as_me: failed program was:" >&5
16145 sed 's/^/| /' conftest.$ac_ext >&5
16146
16147 echo "$as_me:$LINENO: result: no" >&5
16148 echo "${ECHO_T}no" >&6
16149 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
16150 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
16151 cat >conftest.$ac_ext <<_ACEOF
16152 /* confdefs.h. */
16153 _ACEOF
16154 cat confdefs.h >>conftest.$ac_ext
16155 cat >>conftest.$ac_ext <<_ACEOF
16156 /* end confdefs.h. */
16157 #define __CF_USE_FRAMEWORK_INCLUDES__
16158 #include <CoreFoundation/CFBase.h>
16159
16160 int
16161 main ()
16162 {
16163
16164 ;
16165 return 0;
16166 }
16167 _ACEOF
16168 rm -f conftest.$ac_objext
16169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16170 (eval $ac_compile) 2>conftest.er1
16171 ac_status=$?
16172 grep -v '^ *+' conftest.er1 >conftest.err
16173 rm -f conftest.er1
16174 cat conftest.err >&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } &&
16177 { ac_try='test -z "$ac_c_werror_flag"
16178 || test ! -s conftest.err'
16179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180 (eval $ac_try) 2>&5
16181 ac_status=$?
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); }; } &&
16184 { ac_try='test -s conftest.$ac_objext'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16187 ac_status=$?
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; }; then
16190 echo "$as_me:$LINENO: result: yes" >&5
16191 echo "${ECHO_T}yes" >&6
16192 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16193 else
16194 echo "$as_me: failed program was:" >&5
16195 sed 's/^/| /' conftest.$ac_ext >&5
16196
16197 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16198 See \`config.log' for more details." >&5
16199 echo "$as_me: error: no. CoreFoundation not available.
16200 See \`config.log' for more details." >&2;}
16201 { (exit 1); exit 1; }; }
16202
16203 fi
16204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16205
16206
16207 fi
16208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16209 ;;
16210 esac
16211
16212 wants_win32=0
16213 doesnt_want_win32=0
16214 case "${host}" in
16215 *-*-cygwin*)
16216 if test "$wxUSE_MSW" = 1 ; then
16217 wants_win32=1
16218 else
16219 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
16220 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
16221 if test "${wx_cv_nocygwin+set}" = set; then
16222 echo $ECHO_N "(cached) $ECHO_C" >&6
16223 else
16224
16225 cat >conftest.$ac_ext <<_ACEOF
16226 /* confdefs.h. */
16227 _ACEOF
16228 cat confdefs.h >>conftest.$ac_ext
16229 cat >>conftest.$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16231
16232 int
16233 main ()
16234 {
16235
16236 #ifdef __MINGW32__
16237 choke me
16238 #endif
16239
16240 ;
16241 return 0;
16242 }
16243 _ACEOF
16244 rm -f conftest.$ac_objext
16245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16246 (eval $ac_compile) 2>conftest.er1
16247 ac_status=$?
16248 grep -v '^ *+' conftest.er1 >conftest.err
16249 rm -f conftest.er1
16250 cat conftest.err >&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try='test -z "$ac_c_werror_flag"
16254 || test ! -s conftest.err'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16257 ac_status=$?
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; } &&
16260 { ac_try='test -s conftest.$ac_objext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16263 ac_status=$?
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16266 wx_cv_nocygwin=no
16267 else
16268 echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.$ac_ext >&5
16270
16271 wx_cv_nocygwin=yes
16272
16273 fi
16274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16275
16276
16277 fi
16278 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16279 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16280
16281 if test "$wx_cv_nocygwin" = "yes"; then
16282 wants_win32=1
16283 else
16284 doesnt_want_win32=1
16285 fi
16286 fi
16287 if test "$wants_win32" = 1 ; then
16288 BAKEFILE_FORCE_PLATFORM=win32
16289 fi
16290 ;;
16291 *-*-mingw*)
16292 wants_win32=1
16293 ;;
16294 esac
16295
16296 if test "$wxUSE_WINE" = "yes"; then
16297 wants_win32=1
16298 LDFLAGS_GUI="-mwindows"
16299 fi
16300
16301 if test "$wants_win32" = 1 ; then
16302 USE_UNIX=0
16303 USE_WIN32=1
16304 cat >>confdefs.h <<\_ACEOF
16305 #define __WIN32__ 1
16306 _ACEOF
16307
16308 cat >>confdefs.h <<\_ACEOF
16309 #define __WIN95__ 1
16310 _ACEOF
16311
16312 cat >>confdefs.h <<\_ACEOF
16313 #define __WINDOWS__ 1
16314 _ACEOF
16315
16316 cat >>confdefs.h <<\_ACEOF
16317 #define __GNUWIN32__ 1
16318 _ACEOF
16319
16320 cat >>confdefs.h <<\_ACEOF
16321 #define STRICT 1
16322 _ACEOF
16323
16324 fi
16325 if test "$doesnt_want_win32" = 1 ; then
16326 USE_UNIX=1
16327 USE_WIN32=0
16328 fi
16329
16330 if test "$USE_UNIX" = 1 ; then
16331 wxUSE_UNIX=yes
16332 cat >>confdefs.h <<\_ACEOF
16333 #define __UNIX__ 1
16334 _ACEOF
16335
16336 fi
16337
16338 case "${host}" in
16339 *-pc-os2_emx | *-pc-os2-emx )
16340 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16341 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16342 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16343 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16344 echo $ECHO_N "(cached) $ECHO_C" >&6
16345 else
16346 ac_check_lib_save_LIBS=$LIBS
16347 LIBS="-lcExt $LIBS"
16348 cat >conftest.$ac_ext <<_ACEOF
16349 /* confdefs.h. */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354
16355 /* Override any gcc2 internal prototype to avoid an error. */
16356 #ifdef __cplusplus
16357 extern "C"
16358 #endif
16359 /* We use char because int might match the return type of a gcc2
16360 builtin and then its argument prototype would still apply. */
16361 char drand48 ();
16362 int
16363 main ()
16364 {
16365 drand48 ();
16366 ;
16367 return 0;
16368 }
16369 _ACEOF
16370 rm -f conftest.$ac_objext conftest$ac_exeext
16371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16372 (eval $ac_link) 2>conftest.er1
16373 ac_status=$?
16374 grep -v '^ *+' conftest.er1 >conftest.err
16375 rm -f conftest.er1
16376 cat conftest.err >&5
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); } &&
16379 { ac_try='test -z "$ac_c_werror_flag"
16380 || test ! -s conftest.err'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16383 ac_status=$?
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; } &&
16386 { ac_try='test -s conftest$ac_exeext'
16387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388 (eval $ac_try) 2>&5
16389 ac_status=$?
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); }; }; then
16392 ac_cv_lib_cExt_drand48=yes
16393 else
16394 echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.$ac_ext >&5
16396
16397 ac_cv_lib_cExt_drand48=no
16398 fi
16399 rm -f conftest.err conftest.$ac_objext \
16400 conftest$ac_exeext conftest.$ac_ext
16401 LIBS=$ac_check_lib_save_LIBS
16402 fi
16403 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16404 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16405 if test $ac_cv_lib_cExt_drand48 = yes; then
16406 LIBS="$LIBS -lcExt"
16407 fi
16408
16409 else
16410 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16411 fi
16412 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16413 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16414 if test "${wx_cv_gccversion+set}" = set; then
16415 echo $ECHO_N "(cached) $ECHO_C" >&6
16416 else
16417
16418 if test "$cross_compiling" = yes; then
16419 wx_cv_gccversion="EMX2"
16420
16421 else
16422 cat >conftest.$ac_ext <<_ACEOF
16423 /* confdefs.h. */
16424 _ACEOF
16425 cat confdefs.h >>conftest.$ac_ext
16426 cat >>conftest.$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16428
16429 #include <stdio.h>
16430
16431 int main()
16432 {
16433 FILE *f=fopen("conftestval", "w");
16434 if (!f) exit(1);
16435 fprintf(f,
16436 #if (__GNUC__ < 3)
16437 "EMX2"
16438 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16439 "EMX3"
16440 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16441 "Innotek5"
16442 #else
16443 "Innotek6"
16444 #endif
16445 );
16446 exit(0);
16447 }
16448
16449 _ACEOF
16450 rm -f conftest$ac_exeext
16451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16452 (eval $ac_link) 2>&5
16453 ac_status=$?
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457 (eval $ac_try) 2>&5
16458 ac_status=$?
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; }; then
16461 wx_cv_gccversion=`cat conftestval`
16462 else
16463 echo "$as_me: program exited with status $ac_status" >&5
16464 echo "$as_me: failed program was:" >&5
16465 sed 's/^/| /' conftest.$ac_ext >&5
16466
16467 ( exit $ac_status )
16468 wx_cv_gccversion="EMX2"
16469 fi
16470 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16471 fi
16472
16473 fi
16474 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16475 echo "${ECHO_T}$wx_cv_gccversion" >&6
16476 if test "$wx_cv_gccversion" = "EMX2"; then
16477 LIBS="$LIBS -lstdcpp"
16478 LDFLAGS="$LDFLAGS -Zsysv-signals"
16479 else
16480 if test "$wx_cv_gccversion" = "EMX3"; then
16481 LIBS="$LIBS -lstdcxx -lgcc"
16482 LDFLAGS="$LDFLAGS -Zsysv-signals"
16483 else
16484 LIBS="$LIBS -lstdc++"
16485 fi
16486 fi
16487 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16488 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16489 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16490 wxUSE_OMF=yes
16491 enable_omf=yes
16492 fi
16493 ;;
16494 *)
16495
16496 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16497 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16498 if test "${ac_cv_string_strcasecmp+set}" = set; then
16499 echo $ECHO_N "(cached) $ECHO_C" >&6
16500 else
16501
16502 cat >conftest.$ac_ext <<_ACEOF
16503 /* confdefs.h. */
16504 _ACEOF
16505 cat confdefs.h >>conftest.$ac_ext
16506 cat >>conftest.$ac_ext <<_ACEOF
16507 /* end confdefs.h. */
16508
16509 #include <string.h>
16510
16511 int
16512 main ()
16513 {
16514
16515 strcasecmp("foo", "bar");
16516
16517 ;
16518 return 0;
16519 }
16520 _ACEOF
16521 rm -f conftest.$ac_objext conftest$ac_exeext
16522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16523 (eval $ac_link) 2>conftest.er1
16524 ac_status=$?
16525 grep -v '^ *+' conftest.er1 >conftest.err
16526 rm -f conftest.er1
16527 cat conftest.err >&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); } &&
16530 { ac_try='test -z "$ac_c_werror_flag"
16531 || test ! -s conftest.err'
16532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533 (eval $ac_try) 2>&5
16534 ac_status=$?
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); }; } &&
16537 { ac_try='test -s conftest$ac_exeext'
16538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16539 (eval $ac_try) 2>&5
16540 ac_status=$?
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; }; then
16543 ac_cv_string_strcasecmp=yes
16544 else
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.$ac_ext >&5
16547
16548 ac_cv_string_strcasecmp=no
16549
16550 fi
16551 rm -f conftest.err conftest.$ac_objext \
16552 conftest$ac_exeext conftest.$ac_ext
16553
16554 fi
16555 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16556 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16557
16558 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16559 cat >>confdefs.h <<\_ACEOF
16560 #define HAVE_STRCASECMP_IN_STRING_H 1
16561 _ACEOF
16562
16563 else
16564 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16565 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16566 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16567 echo $ECHO_N "(cached) $ECHO_C" >&6
16568 else
16569
16570 cat >conftest.$ac_ext <<_ACEOF
16571 /* confdefs.h. */
16572 _ACEOF
16573 cat confdefs.h >>conftest.$ac_ext
16574 cat >>conftest.$ac_ext <<_ACEOF
16575 /* end confdefs.h. */
16576
16577 #include <strings.h>
16578
16579 int
16580 main ()
16581 {
16582
16583 strcasecmp("foo", "bar");
16584
16585 ;
16586 return 0;
16587 }
16588 _ACEOF
16589 rm -f conftest.$ac_objext conftest$ac_exeext
16590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16591 (eval $ac_link) 2>conftest.er1
16592 ac_status=$?
16593 grep -v '^ *+' conftest.er1 >conftest.err
16594 rm -f conftest.er1
16595 cat conftest.err >&5
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); } &&
16598 { ac_try='test -z "$ac_c_werror_flag"
16599 || test ! -s conftest.err'
16600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601 (eval $ac_try) 2>&5
16602 ac_status=$?
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); }; } &&
16605 { ac_try='test -s conftest$ac_exeext'
16606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607 (eval $ac_try) 2>&5
16608 ac_status=$?
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; }; then
16611 ac_cv_strings_strcasecmp=yes
16612 else
16613 echo "$as_me: failed program was:" >&5
16614 sed 's/^/| /' conftest.$ac_ext >&5
16615
16616 ac_cv_strings_strcasecmp=no
16617
16618 fi
16619 rm -f conftest.err conftest.$ac_objext \
16620 conftest$ac_exeext conftest.$ac_ext
16621
16622 fi
16623 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16624 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16625
16626 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16627 cat >>confdefs.h <<\_ACEOF
16628 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16629 _ACEOF
16630
16631 else
16632 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16633 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16634 { (exit 1); exit 1; }; }
16635 fi
16636 fi
16637
16638 ;;
16639 esac
16640
16641
16642 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16643 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16644 if test "${ac_cv_header_stdc+set}" = set; then
16645 echo $ECHO_N "(cached) $ECHO_C" >&6
16646 else
16647 cat >conftest.$ac_ext <<_ACEOF
16648 /* confdefs.h. */
16649 _ACEOF
16650 cat confdefs.h >>conftest.$ac_ext
16651 cat >>conftest.$ac_ext <<_ACEOF
16652 /* end confdefs.h. */
16653 #include <stdlib.h>
16654 #include <stdarg.h>
16655 #include <string.h>
16656 #include <float.h>
16657
16658 int
16659 main ()
16660 {
16661
16662 ;
16663 return 0;
16664 }
16665 _ACEOF
16666 rm -f conftest.$ac_objext
16667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16668 (eval $ac_compile) 2>conftest.er1
16669 ac_status=$?
16670 grep -v '^ *+' conftest.er1 >conftest.err
16671 rm -f conftest.er1
16672 cat conftest.err >&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } &&
16675 { ac_try='test -z "$ac_c_werror_flag"
16676 || test ! -s conftest.err'
16677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678 (eval $ac_try) 2>&5
16679 ac_status=$?
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; } &&
16682 { ac_try='test -s conftest.$ac_objext'
16683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16684 (eval $ac_try) 2>&5
16685 ac_status=$?
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); }; }; then
16688 ac_cv_header_stdc=yes
16689 else
16690 echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.$ac_ext >&5
16692
16693 ac_cv_header_stdc=no
16694 fi
16695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16696
16697 if test $ac_cv_header_stdc = yes; then
16698 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16699 cat >conftest.$ac_ext <<_ACEOF
16700 /* confdefs.h. */
16701 _ACEOF
16702 cat confdefs.h >>conftest.$ac_ext
16703 cat >>conftest.$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 #include <string.h>
16706
16707 _ACEOF
16708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16709 $EGREP "memchr" >/dev/null 2>&1; then
16710 :
16711 else
16712 ac_cv_header_stdc=no
16713 fi
16714 rm -f conftest*
16715
16716 fi
16717
16718 if test $ac_cv_header_stdc = yes; then
16719 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16720 cat >conftest.$ac_ext <<_ACEOF
16721 /* confdefs.h. */
16722 _ACEOF
16723 cat confdefs.h >>conftest.$ac_ext
16724 cat >>conftest.$ac_ext <<_ACEOF
16725 /* end confdefs.h. */
16726 #include <stdlib.h>
16727
16728 _ACEOF
16729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16730 $EGREP "free" >/dev/null 2>&1; then
16731 :
16732 else
16733 ac_cv_header_stdc=no
16734 fi
16735 rm -f conftest*
16736
16737 fi
16738
16739 if test $ac_cv_header_stdc = yes; then
16740 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16741 if test "$cross_compiling" = yes; then
16742 :
16743 else
16744 cat >conftest.$ac_ext <<_ACEOF
16745 /* confdefs.h. */
16746 _ACEOF
16747 cat confdefs.h >>conftest.$ac_ext
16748 cat >>conftest.$ac_ext <<_ACEOF
16749 /* end confdefs.h. */
16750 #include <ctype.h>
16751 #if ((' ' & 0x0FF) == 0x020)
16752 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16753 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16754 #else
16755 # define ISLOWER(c) \
16756 (('a' <= (c) && (c) <= 'i') \
16757 || ('j' <= (c) && (c) <= 'r') \
16758 || ('s' <= (c) && (c) <= 'z'))
16759 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16760 #endif
16761
16762 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16763 int
16764 main ()
16765 {
16766 int i;
16767 for (i = 0; i < 256; i++)
16768 if (XOR (islower (i), ISLOWER (i))
16769 || toupper (i) != TOUPPER (i))
16770 exit(2);
16771 exit (0);
16772 }
16773 _ACEOF
16774 rm -f conftest$ac_exeext
16775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16776 (eval $ac_link) 2>&5
16777 ac_status=$?
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16781 (eval $ac_try) 2>&5
16782 ac_status=$?
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); }; }; then
16785 :
16786 else
16787 echo "$as_me: program exited with status $ac_status" >&5
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.$ac_ext >&5
16790
16791 ( exit $ac_status )
16792 ac_cv_header_stdc=no
16793 fi
16794 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16795 fi
16796 fi
16797 fi
16798 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16799 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16800 if test $ac_cv_header_stdc = yes; then
16801
16802 cat >>confdefs.h <<\_ACEOF
16803 #define STDC_HEADERS 1
16804 _ACEOF
16805
16806 fi
16807
16808 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16819 inttypes.h stdint.h unistd.h
16820 do
16821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16822 echo "$as_me:$LINENO: checking for $ac_header" >&5
16823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16826 else
16827 cat >conftest.$ac_ext <<_ACEOF
16828 /* confdefs.h. */
16829 _ACEOF
16830 cat confdefs.h >>conftest.$ac_ext
16831 cat >>conftest.$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16833 $ac_includes_default
16834
16835 #include <$ac_header>
16836 _ACEOF
16837 rm -f conftest.$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>conftest.er1
16840 ac_status=$?
16841 grep -v '^ *+' conftest.er1 >conftest.err
16842 rm -f conftest.er1
16843 cat conftest.err >&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try='test -z "$ac_c_werror_flag"
16847 || test ! -s conftest.err'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16850 ac_status=$?
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; } &&
16853 { ac_try='test -s conftest.$ac_objext'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16856 ac_status=$?
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; }; then
16859 eval "$as_ac_Header=yes"
16860 else
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16863
16864 eval "$as_ac_Header=no"
16865 fi
16866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16867 fi
16868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16871 cat >>confdefs.h <<_ACEOF
16872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16873 _ACEOF
16874
16875 fi
16876
16877 done
16878
16879
16880
16881
16882
16883
16884
16885
16886 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16887 do
16888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16889 echo "$as_me:$LINENO: checking for $ac_header" >&5
16890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16893 else
16894 cat >conftest.$ac_ext <<_ACEOF
16895 /* confdefs.h. */
16896 _ACEOF
16897 cat confdefs.h >>conftest.$ac_ext
16898 cat >>conftest.$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900 $ac_includes_default
16901
16902 #include <$ac_header>
16903 _ACEOF
16904 rm -f conftest.$ac_objext
16905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16906 (eval $ac_compile) 2>conftest.er1
16907 ac_status=$?
16908 grep -v '^ *+' conftest.er1 >conftest.err
16909 rm -f conftest.er1
16910 cat conftest.err >&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } &&
16913 { ac_try='test -z "$ac_c_werror_flag"
16914 || test ! -s conftest.err'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16917 ac_status=$?
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; } &&
16920 { ac_try='test -s conftest.$ac_objext'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16923 ac_status=$?
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; }; then
16926 eval "$as_ac_Header=yes"
16927 else
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16930
16931 eval "$as_ac_Header=no"
16932 fi
16933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16934 fi
16935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16938 cat >>confdefs.h <<_ACEOF
16939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16940 _ACEOF
16941
16942 fi
16943
16944 done
16945
16946
16947 if test "$ac_cv_header_wchar_h" != "yes"; then
16948 echo "$as_me:$LINENO: checking for wcstr.h" >&5
16949 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6
16950 if test "${ac_cv_header_wcstr_h+set}" = set; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16952 else
16953 cat >conftest.$ac_ext <<_ACEOF
16954 /* confdefs.h. */
16955 _ACEOF
16956 cat confdefs.h >>conftest.$ac_ext
16957 cat >>conftest.$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16959 $ac_includes_default
16960
16961 #include <wcstr.h>
16962 _ACEOF
16963 rm -f conftest.$ac_objext
16964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16965 (eval $ac_compile) 2>conftest.er1
16966 ac_status=$?
16967 grep -v '^ *+' conftest.er1 >conftest.err
16968 rm -f conftest.er1
16969 cat conftest.err >&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); } &&
16972 { ac_try='test -z "$ac_c_werror_flag"
16973 || test ! -s conftest.err'
16974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16975 (eval $ac_try) 2>&5
16976 ac_status=$?
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); }; } &&
16979 { ac_try='test -s conftest.$ac_objext'
16980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981 (eval $ac_try) 2>&5
16982 ac_status=$?
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); }; }; then
16985 ac_cv_header_wcstr_h=yes
16986 else
16987 echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.$ac_ext >&5
16989
16990 ac_cv_header_wcstr_h=no
16991 fi
16992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16993 fi
16994 echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
16995 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6
16996
16997
16998 fi
16999
17000 case "${host}" in
17001 *-pc-os2_emx | *-pc-os2-emx )
17002 if test $ac_cv_header_langinfo_h = "yes" \
17003 -a \( "$wx_cv_gccversion" = "EMX2" \
17004 -o "$wx_cv_gccversion" = "EMX3" \
17005 -o "$wx_cv_gccversion" = "Innotek5" \); then
17006 LIBS="$LIBS -lintl"
17007 fi
17008 ;;
17009 esac
17010
17011 if test "$USE_UNIX" = 1 ; then
17012 echo "$as_me:$LINENO: checking for sys/select.h" >&5
17013 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6
17014 if test "${ac_cv_header_sys_select_h+set}" = set; then
17015 echo $ECHO_N "(cached) $ECHO_C" >&6
17016 else
17017 cat >conftest.$ac_ext <<_ACEOF
17018 /* confdefs.h. */
17019 _ACEOF
17020 cat confdefs.h >>conftest.$ac_ext
17021 cat >>conftest.$ac_ext <<_ACEOF
17022 /* end confdefs.h. */
17023 $ac_includes_default
17024
17025 #include <sys/select.h>
17026 _ACEOF
17027 rm -f conftest.$ac_objext
17028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17029 (eval $ac_compile) 2>conftest.er1
17030 ac_status=$?
17031 grep -v '^ *+' conftest.er1 >conftest.err
17032 rm -f conftest.er1
17033 cat conftest.err >&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); } &&
17036 { ac_try='test -z "$ac_c_werror_flag"
17037 || test ! -s conftest.err'
17038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17039 (eval $ac_try) 2>&5
17040 ac_status=$?
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); }; } &&
17043 { ac_try='test -s conftest.$ac_objext'
17044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17045 (eval $ac_try) 2>&5
17046 ac_status=$?
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); }; }; then
17049 ac_cv_header_sys_select_h=yes
17050 else
17051 echo "$as_me: failed program was:" >&5
17052 sed 's/^/| /' conftest.$ac_ext >&5
17053
17054 ac_cv_header_sys_select_h=no
17055 fi
17056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17057 fi
17058 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17059 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6
17060
17061
17062 fi
17063
17064
17065 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17066 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17067 if test "${ac_cv_c_const+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 else
17070 cat >conftest.$ac_ext <<_ACEOF
17071 /* confdefs.h. */
17072 _ACEOF
17073 cat confdefs.h >>conftest.$ac_ext
17074 cat >>conftest.$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17076
17077 int
17078 main ()
17079 {
17080 /* FIXME: Include the comments suggested by Paul. */
17081 #ifndef __cplusplus
17082 /* Ultrix mips cc rejects this. */
17083 typedef int charset[2];
17084 const charset x;
17085 /* SunOS 4.1.1 cc rejects this. */
17086 char const *const *ccp;
17087 char **p;
17088 /* NEC SVR4.0.2 mips cc rejects this. */
17089 struct point {int x, y;};
17090 static struct point const zero = {0,0};
17091 /* AIX XL C 1.02.0.0 rejects this.
17092 It does not let you subtract one const X* pointer from another in
17093 an arm of an if-expression whose if-part is not a constant
17094 expression */
17095 const char *g = "string";
17096 ccp = &g + (g ? g-g : 0);
17097 /* HPUX 7.0 cc rejects these. */
17098 ++ccp;
17099 p = (char**) ccp;
17100 ccp = (char const *const *) p;
17101 { /* SCO 3.2v4 cc rejects this. */
17102 char *t;
17103 char const *s = 0 ? (char *) 0 : (char const *) 0;
17104
17105 *t++ = 0;
17106 }
17107 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17108 int x[] = {25, 17};
17109 const int *foo = &x[0];
17110 ++foo;
17111 }
17112 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17113 typedef const int *iptr;
17114 iptr p = 0;
17115 ++p;
17116 }
17117 { /* AIX XL C 1.02.0.0 rejects this saying
17118 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17119 struct s { int j; const int *ap[3]; };
17120 struct s *b; b->j = 5;
17121 }
17122 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17123 const int foo = 10;
17124 }
17125 #endif
17126
17127 ;
17128 return 0;
17129 }
17130 _ACEOF
17131 rm -f conftest.$ac_objext
17132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17133 (eval $ac_compile) 2>conftest.er1
17134 ac_status=$?
17135 grep -v '^ *+' conftest.er1 >conftest.err
17136 rm -f conftest.er1
17137 cat conftest.err >&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); } &&
17140 { ac_try='test -z "$ac_c_werror_flag"
17141 || test ! -s conftest.err'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17144 ac_status=$?
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; } &&
17147 { ac_try='test -s conftest.$ac_objext'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17150 ac_status=$?
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; }; then
17153 ac_cv_c_const=yes
17154 else
17155 echo "$as_me: failed program was:" >&5
17156 sed 's/^/| /' conftest.$ac_ext >&5
17157
17158 ac_cv_c_const=no
17159 fi
17160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17161 fi
17162 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17163 echo "${ECHO_T}$ac_cv_c_const" >&6
17164 if test $ac_cv_c_const = no; then
17165
17166 cat >>confdefs.h <<\_ACEOF
17167 #define const
17168 _ACEOF
17169
17170 fi
17171
17172 echo "$as_me:$LINENO: checking for inline" >&5
17173 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17174 if test "${ac_cv_c_inline+set}" = set; then
17175 echo $ECHO_N "(cached) $ECHO_C" >&6
17176 else
17177 ac_cv_c_inline=no
17178 for ac_kw in inline __inline__ __inline; do
17179 cat >conftest.$ac_ext <<_ACEOF
17180 /* confdefs.h. */
17181 _ACEOF
17182 cat confdefs.h >>conftest.$ac_ext
17183 cat >>conftest.$ac_ext <<_ACEOF
17184 /* end confdefs.h. */
17185 #ifndef __cplusplus
17186 typedef int foo_t;
17187 static $ac_kw foo_t static_foo () {return 0; }
17188 $ac_kw foo_t foo () {return 0; }
17189 #endif
17190
17191 _ACEOF
17192 rm -f conftest.$ac_objext
17193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17194 (eval $ac_compile) 2>conftest.er1
17195 ac_status=$?
17196 grep -v '^ *+' conftest.er1 >conftest.err
17197 rm -f conftest.er1
17198 cat conftest.err >&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } &&
17201 { ac_try='test -z "$ac_c_werror_flag"
17202 || test ! -s conftest.err'
17203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17204 (eval $ac_try) 2>&5
17205 ac_status=$?
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; } &&
17208 { ac_try='test -s conftest.$ac_objext'
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17211 ac_status=$?
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; }; then
17214 ac_cv_c_inline=$ac_kw; break
17215 else
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17218
17219 fi
17220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17221 done
17222
17223 fi
17224 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17225 echo "${ECHO_T}$ac_cv_c_inline" >&6
17226
17227
17228 case $ac_cv_c_inline in
17229 inline | yes) ;;
17230 *)
17231 case $ac_cv_c_inline in
17232 no) ac_val=;;
17233 *) ac_val=$ac_cv_c_inline;;
17234 esac
17235 cat >>confdefs.h <<_ACEOF
17236 #ifndef __cplusplus
17237 #define inline $ac_val
17238 #endif
17239 _ACEOF
17240 ;;
17241 esac
17242
17243
17244 echo "$as_me:$LINENO: checking for short" >&5
17245 echo $ECHO_N "checking for short... $ECHO_C" >&6
17246 if test "${ac_cv_type_short+set}" = set; then
17247 echo $ECHO_N "(cached) $ECHO_C" >&6
17248 else
17249 cat >conftest.$ac_ext <<_ACEOF
17250 /* confdefs.h. */
17251 _ACEOF
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17255 $ac_includes_default
17256 int
17257 main ()
17258 {
17259 if ((short *) 0)
17260 return 0;
17261 if (sizeof (short))
17262 return 0;
17263 ;
17264 return 0;
17265 }
17266 _ACEOF
17267 rm -f conftest.$ac_objext
17268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17269 (eval $ac_compile) 2>conftest.er1
17270 ac_status=$?
17271 grep -v '^ *+' conftest.er1 >conftest.err
17272 rm -f conftest.er1
17273 cat conftest.err >&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } &&
17276 { ac_try='test -z "$ac_c_werror_flag"
17277 || test ! -s conftest.err'
17278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17279 (eval $ac_try) 2>&5
17280 ac_status=$?
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); }; } &&
17283 { ac_try='test -s conftest.$ac_objext'
17284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17285 (eval $ac_try) 2>&5
17286 ac_status=$?
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); }; }; then
17289 ac_cv_type_short=yes
17290 else
17291 echo "$as_me: failed program was:" >&5
17292 sed 's/^/| /' conftest.$ac_ext >&5
17293
17294 ac_cv_type_short=no
17295 fi
17296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17297 fi
17298 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17299 echo "${ECHO_T}$ac_cv_type_short" >&6
17300
17301 echo "$as_me:$LINENO: checking size of short" >&5
17302 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17303 if test "${ac_cv_sizeof_short+set}" = set; then
17304 echo $ECHO_N "(cached) $ECHO_C" >&6
17305 else
17306 if test "$ac_cv_type_short" = yes; then
17307 # The cast to unsigned long works around a bug in the HP C Compiler
17308 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17309 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17310 # This bug is HP SR number 8606223364.
17311 if test "$cross_compiling" = yes; then
17312 # Depending upon the size, compute the lo and hi bounds.
17313 cat >conftest.$ac_ext <<_ACEOF
17314 /* confdefs.h. */
17315 _ACEOF
17316 cat confdefs.h >>conftest.$ac_ext
17317 cat >>conftest.$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319 $ac_includes_default
17320 int
17321 main ()
17322 {
17323 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17324 test_array [0] = 0
17325
17326 ;
17327 return 0;
17328 }
17329 _ACEOF
17330 rm -f conftest.$ac_objext
17331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17332 (eval $ac_compile) 2>conftest.er1
17333 ac_status=$?
17334 grep -v '^ *+' conftest.er1 >conftest.err
17335 rm -f conftest.er1
17336 cat conftest.err >&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); } &&
17339 { ac_try='test -z "$ac_c_werror_flag"
17340 || test ! -s conftest.err'
17341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342 (eval $ac_try) 2>&5
17343 ac_status=$?
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); }; } &&
17346 { ac_try='test -s conftest.$ac_objext'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17349 ac_status=$?
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; }; then
17352 ac_lo=0 ac_mid=0
17353 while :; do
17354 cat >conftest.$ac_ext <<_ACEOF
17355 /* confdefs.h. */
17356 _ACEOF
17357 cat confdefs.h >>conftest.$ac_ext
17358 cat >>conftest.$ac_ext <<_ACEOF
17359 /* end confdefs.h. */
17360 $ac_includes_default
17361 int
17362 main ()
17363 {
17364 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17365 test_array [0] = 0
17366
17367 ;
17368 return 0;
17369 }
17370 _ACEOF
17371 rm -f conftest.$ac_objext
17372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17373 (eval $ac_compile) 2>conftest.er1
17374 ac_status=$?
17375 grep -v '^ *+' conftest.er1 >conftest.err
17376 rm -f conftest.er1
17377 cat conftest.err >&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); } &&
17380 { ac_try='test -z "$ac_c_werror_flag"
17381 || test ! -s conftest.err'
17382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383 (eval $ac_try) 2>&5
17384 ac_status=$?
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; } &&
17387 { ac_try='test -s conftest.$ac_objext'
17388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17389 (eval $ac_try) 2>&5
17390 ac_status=$?
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; }; then
17393 ac_hi=$ac_mid; break
17394 else
17395 echo "$as_me: failed program was:" >&5
17396 sed 's/^/| /' conftest.$ac_ext >&5
17397
17398 ac_lo=`expr $ac_mid + 1`
17399 if test $ac_lo -le $ac_mid; then
17400 ac_lo= ac_hi=
17401 break
17402 fi
17403 ac_mid=`expr 2 '*' $ac_mid + 1`
17404 fi
17405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17406 done
17407 else
17408 echo "$as_me: failed program was:" >&5
17409 sed 's/^/| /' conftest.$ac_ext >&5
17410
17411 cat >conftest.$ac_ext <<_ACEOF
17412 /* confdefs.h. */
17413 _ACEOF
17414 cat confdefs.h >>conftest.$ac_ext
17415 cat >>conftest.$ac_ext <<_ACEOF
17416 /* end confdefs.h. */
17417 $ac_includes_default
17418 int
17419 main ()
17420 {
17421 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17422 test_array [0] = 0
17423
17424 ;
17425 return 0;
17426 }
17427 _ACEOF
17428 rm -f conftest.$ac_objext
17429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17430 (eval $ac_compile) 2>conftest.er1
17431 ac_status=$?
17432 grep -v '^ *+' conftest.er1 >conftest.err
17433 rm -f conftest.er1
17434 cat conftest.err >&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); } &&
17437 { ac_try='test -z "$ac_c_werror_flag"
17438 || test ! -s conftest.err'
17439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17440 (eval $ac_try) 2>&5
17441 ac_status=$?
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }; } &&
17444 { ac_try='test -s conftest.$ac_objext'
17445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17446 (eval $ac_try) 2>&5
17447 ac_status=$?
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); }; }; then
17450 ac_hi=-1 ac_mid=-1
17451 while :; do
17452 cat >conftest.$ac_ext <<_ACEOF
17453 /* confdefs.h. */
17454 _ACEOF
17455 cat confdefs.h >>conftest.$ac_ext
17456 cat >>conftest.$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17458 $ac_includes_default
17459 int
17460 main ()
17461 {
17462 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17463 test_array [0] = 0
17464
17465 ;
17466 return 0;
17467 }
17468 _ACEOF
17469 rm -f conftest.$ac_objext
17470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17471 (eval $ac_compile) 2>conftest.er1
17472 ac_status=$?
17473 grep -v '^ *+' conftest.er1 >conftest.err
17474 rm -f conftest.er1
17475 cat conftest.err >&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); } &&
17478 { ac_try='test -z "$ac_c_werror_flag"
17479 || test ! -s conftest.err'
17480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481 (eval $ac_try) 2>&5
17482 ac_status=$?
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; } &&
17485 { ac_try='test -s conftest.$ac_objext'
17486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17487 (eval $ac_try) 2>&5
17488 ac_status=$?
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); }; }; then
17491 ac_lo=$ac_mid; break
17492 else
17493 echo "$as_me: failed program was:" >&5
17494 sed 's/^/| /' conftest.$ac_ext >&5
17495
17496 ac_hi=`expr '(' $ac_mid ')' - 1`
17497 if test $ac_mid -le $ac_hi; then
17498 ac_lo= ac_hi=
17499 break
17500 fi
17501 ac_mid=`expr 2 '*' $ac_mid`
17502 fi
17503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17504 done
17505 else
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.$ac_ext >&5
17508
17509 ac_lo= ac_hi=
17510 fi
17511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17512 fi
17513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17514 # Binary search between lo and hi bounds.
17515 while test "x$ac_lo" != "x$ac_hi"; do
17516 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17517 cat >conftest.$ac_ext <<_ACEOF
17518 /* confdefs.h. */
17519 _ACEOF
17520 cat confdefs.h >>conftest.$ac_ext
17521 cat >>conftest.$ac_ext <<_ACEOF
17522 /* end confdefs.h. */
17523 $ac_includes_default
17524 int
17525 main ()
17526 {
17527 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17528 test_array [0] = 0
17529
17530 ;
17531 return 0;
17532 }
17533 _ACEOF
17534 rm -f conftest.$ac_objext
17535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17536 (eval $ac_compile) 2>conftest.er1
17537 ac_status=$?
17538 grep -v '^ *+' conftest.er1 >conftest.err
17539 rm -f conftest.er1
17540 cat conftest.err >&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } &&
17543 { ac_try='test -z "$ac_c_werror_flag"
17544 || test ! -s conftest.err'
17545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17546 (eval $ac_try) 2>&5
17547 ac_status=$?
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); }; } &&
17550 { ac_try='test -s conftest.$ac_objext'
17551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17552 (eval $ac_try) 2>&5
17553 ac_status=$?
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); }; }; then
17556 ac_hi=$ac_mid
17557 else
17558 echo "$as_me: failed program was:" >&5
17559 sed 's/^/| /' conftest.$ac_ext >&5
17560
17561 ac_lo=`expr '(' $ac_mid ')' + 1`
17562 fi
17563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17564 done
17565 case $ac_lo in
17566 ?*) ac_cv_sizeof_short=$ac_lo;;
17567 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17568 See \`config.log' for more details." >&5
17569 echo "$as_me: error: cannot compute sizeof (short), 77
17570 See \`config.log' for more details." >&2;}
17571 { (exit 1); exit 1; }; } ;;
17572 esac
17573 else
17574 if test "$cross_compiling" = yes; then
17575 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17576 See \`config.log' for more details." >&5
17577 echo "$as_me: error: cannot run test program while cross compiling
17578 See \`config.log' for more details." >&2;}
17579 { (exit 1); exit 1; }; }
17580 else
17581 cat >conftest.$ac_ext <<_ACEOF
17582 /* confdefs.h. */
17583 _ACEOF
17584 cat confdefs.h >>conftest.$ac_ext
17585 cat >>conftest.$ac_ext <<_ACEOF
17586 /* end confdefs.h. */
17587 $ac_includes_default
17588 long longval () { return (long) (sizeof (short)); }
17589 unsigned long ulongval () { return (long) (sizeof (short)); }
17590 #include <stdio.h>
17591 #include <stdlib.h>
17592 int
17593 main ()
17594 {
17595
17596 FILE *f = fopen ("conftest.val", "w");
17597 if (! f)
17598 exit (1);
17599 if (((long) (sizeof (short))) < 0)
17600 {
17601 long i = longval ();
17602 if (i != ((long) (sizeof (short))))
17603 exit (1);
17604 fprintf (f, "%ld\n", i);
17605 }
17606 else
17607 {
17608 unsigned long i = ulongval ();
17609 if (i != ((long) (sizeof (short))))
17610 exit (1);
17611 fprintf (f, "%lu\n", i);
17612 }
17613 exit (ferror (f) || fclose (f) != 0);
17614
17615 ;
17616 return 0;
17617 }
17618 _ACEOF
17619 rm -f conftest$ac_exeext
17620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17621 (eval $ac_link) 2>&5
17622 ac_status=$?
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17627 ac_status=$?
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; }; then
17630 ac_cv_sizeof_short=`cat conftest.val`
17631 else
17632 echo "$as_me: program exited with status $ac_status" >&5
17633 echo "$as_me: failed program was:" >&5
17634 sed 's/^/| /' conftest.$ac_ext >&5
17635
17636 ( exit $ac_status )
17637 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17638 See \`config.log' for more details." >&5
17639 echo "$as_me: error: cannot compute sizeof (short), 77
17640 See \`config.log' for more details." >&2;}
17641 { (exit 1); exit 1; }; }
17642 fi
17643 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17644 fi
17645 fi
17646 rm -f conftest.val
17647 else
17648 ac_cv_sizeof_short=0
17649 fi
17650 fi
17651 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17652 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17653 cat >>confdefs.h <<_ACEOF
17654 #define SIZEOF_SHORT $ac_cv_sizeof_short
17655 _ACEOF
17656
17657
17658 echo "$as_me:$LINENO: checking for void *" >&5
17659 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17660 if test "${ac_cv_type_void_p+set}" = set; then
17661 echo $ECHO_N "(cached) $ECHO_C" >&6
17662 else
17663 cat >conftest.$ac_ext <<_ACEOF
17664 /* confdefs.h. */
17665 _ACEOF
17666 cat confdefs.h >>conftest.$ac_ext
17667 cat >>conftest.$ac_ext <<_ACEOF
17668 /* end confdefs.h. */
17669 $ac_includes_default
17670 int
17671 main ()
17672 {
17673 if ((void * *) 0)
17674 return 0;
17675 if (sizeof (void *))
17676 return 0;
17677 ;
17678 return 0;
17679 }
17680 _ACEOF
17681 rm -f conftest.$ac_objext
17682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17683 (eval $ac_compile) 2>conftest.er1
17684 ac_status=$?
17685 grep -v '^ *+' conftest.er1 >conftest.err
17686 rm -f conftest.er1
17687 cat conftest.err >&5
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); } &&
17690 { ac_try='test -z "$ac_c_werror_flag"
17691 || test ! -s conftest.err'
17692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17693 (eval $ac_try) 2>&5
17694 ac_status=$?
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }; } &&
17697 { ac_try='test -s conftest.$ac_objext'
17698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17699 (eval $ac_try) 2>&5
17700 ac_status=$?
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); }; }; then
17703 ac_cv_type_void_p=yes
17704 else
17705 echo "$as_me: failed program was:" >&5
17706 sed 's/^/| /' conftest.$ac_ext >&5
17707
17708 ac_cv_type_void_p=no
17709 fi
17710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17711 fi
17712 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17713 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17714
17715 echo "$as_me:$LINENO: checking size of void *" >&5
17716 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17717 if test "${ac_cv_sizeof_void_p+set}" = set; then
17718 echo $ECHO_N "(cached) $ECHO_C" >&6
17719 else
17720 if test "$ac_cv_type_void_p" = yes; then
17721 # The cast to unsigned long works around a bug in the HP C Compiler
17722 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17723 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17724 # This bug is HP SR number 8606223364.
17725 if test "$cross_compiling" = yes; then
17726 # Depending upon the size, compute the lo and hi bounds.
17727 cat >conftest.$ac_ext <<_ACEOF
17728 /* confdefs.h. */
17729 _ACEOF
17730 cat confdefs.h >>conftest.$ac_ext
17731 cat >>conftest.$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733 $ac_includes_default
17734 int
17735 main ()
17736 {
17737 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17738 test_array [0] = 0
17739
17740 ;
17741 return 0;
17742 }
17743 _ACEOF
17744 rm -f conftest.$ac_objext
17745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17746 (eval $ac_compile) 2>conftest.er1
17747 ac_status=$?
17748 grep -v '^ *+' conftest.er1 >conftest.err
17749 rm -f conftest.er1
17750 cat conftest.err >&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); } &&
17753 { ac_try='test -z "$ac_c_werror_flag"
17754 || test ! -s conftest.err'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17757 ac_status=$?
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; } &&
17760 { ac_try='test -s conftest.$ac_objext'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17763 ac_status=$?
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17766 ac_lo=0 ac_mid=0
17767 while :; do
17768 cat >conftest.$ac_ext <<_ACEOF
17769 /* confdefs.h. */
17770 _ACEOF
17771 cat confdefs.h >>conftest.$ac_ext
17772 cat >>conftest.$ac_ext <<_ACEOF
17773 /* end confdefs.h. */
17774 $ac_includes_default
17775 int
17776 main ()
17777 {
17778 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17779 test_array [0] = 0
17780
17781 ;
17782 return 0;
17783 }
17784 _ACEOF
17785 rm -f conftest.$ac_objext
17786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17787 (eval $ac_compile) 2>conftest.er1
17788 ac_status=$?
17789 grep -v '^ *+' conftest.er1 >conftest.err
17790 rm -f conftest.er1
17791 cat conftest.err >&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); } &&
17794 { ac_try='test -z "$ac_c_werror_flag"
17795 || test ! -s conftest.err'
17796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17797 (eval $ac_try) 2>&5
17798 ac_status=$?
17799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800 (exit $ac_status); }; } &&
17801 { ac_try='test -s conftest.$ac_objext'
17802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17803 (eval $ac_try) 2>&5
17804 ac_status=$?
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); }; }; then
17807 ac_hi=$ac_mid; break
17808 else
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17811
17812 ac_lo=`expr $ac_mid + 1`
17813 if test $ac_lo -le $ac_mid; then
17814 ac_lo= ac_hi=
17815 break
17816 fi
17817 ac_mid=`expr 2 '*' $ac_mid + 1`
17818 fi
17819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17820 done
17821 else
17822 echo "$as_me: failed program was:" >&5
17823 sed 's/^/| /' conftest.$ac_ext >&5
17824
17825 cat >conftest.$ac_ext <<_ACEOF
17826 /* confdefs.h. */
17827 _ACEOF
17828 cat confdefs.h >>conftest.$ac_ext
17829 cat >>conftest.$ac_ext <<_ACEOF
17830 /* end confdefs.h. */
17831 $ac_includes_default
17832 int
17833 main ()
17834 {
17835 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17836 test_array [0] = 0
17837
17838 ;
17839 return 0;
17840 }
17841 _ACEOF
17842 rm -f conftest.$ac_objext
17843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17844 (eval $ac_compile) 2>conftest.er1
17845 ac_status=$?
17846 grep -v '^ *+' conftest.er1 >conftest.err
17847 rm -f conftest.er1
17848 cat conftest.err >&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } &&
17851 { ac_try='test -z "$ac_c_werror_flag"
17852 || test ! -s conftest.err'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; } &&
17858 { ac_try='test -s conftest.$ac_objext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17861 ac_status=$?
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; }; then
17864 ac_hi=-1 ac_mid=-1
17865 while :; do
17866 cat >conftest.$ac_ext <<_ACEOF
17867 /* confdefs.h. */
17868 _ACEOF
17869 cat confdefs.h >>conftest.$ac_ext
17870 cat >>conftest.$ac_ext <<_ACEOF
17871 /* end confdefs.h. */
17872 $ac_includes_default
17873 int
17874 main ()
17875 {
17876 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17877 test_array [0] = 0
17878
17879 ;
17880 return 0;
17881 }
17882 _ACEOF
17883 rm -f conftest.$ac_objext
17884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17885 (eval $ac_compile) 2>conftest.er1
17886 ac_status=$?
17887 grep -v '^ *+' conftest.er1 >conftest.err
17888 rm -f conftest.er1
17889 cat conftest.err >&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); } &&
17892 { ac_try='test -z "$ac_c_werror_flag"
17893 || test ! -s conftest.err'
17894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17895 (eval $ac_try) 2>&5
17896 ac_status=$?
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); }; } &&
17899 { ac_try='test -s conftest.$ac_objext'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17902 ac_status=$?
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; }; then
17905 ac_lo=$ac_mid; break
17906 else
17907 echo "$as_me: failed program was:" >&5
17908 sed 's/^/| /' conftest.$ac_ext >&5
17909
17910 ac_hi=`expr '(' $ac_mid ')' - 1`
17911 if test $ac_mid -le $ac_hi; then
17912 ac_lo= ac_hi=
17913 break
17914 fi
17915 ac_mid=`expr 2 '*' $ac_mid`
17916 fi
17917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17918 done
17919 else
17920 echo "$as_me: failed program was:" >&5
17921 sed 's/^/| /' conftest.$ac_ext >&5
17922
17923 ac_lo= ac_hi=
17924 fi
17925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17926 fi
17927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17928 # Binary search between lo and hi bounds.
17929 while test "x$ac_lo" != "x$ac_hi"; do
17930 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17931 cat >conftest.$ac_ext <<_ACEOF
17932 /* confdefs.h. */
17933 _ACEOF
17934 cat confdefs.h >>conftest.$ac_ext
17935 cat >>conftest.$ac_ext <<_ACEOF
17936 /* end confdefs.h. */
17937 $ac_includes_default
17938 int
17939 main ()
17940 {
17941 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17942 test_array [0] = 0
17943
17944 ;
17945 return 0;
17946 }
17947 _ACEOF
17948 rm -f conftest.$ac_objext
17949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17950 (eval $ac_compile) 2>conftest.er1
17951 ac_status=$?
17952 grep -v '^ *+' conftest.er1 >conftest.err
17953 rm -f conftest.er1
17954 cat conftest.err >&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } &&
17957 { ac_try='test -z "$ac_c_werror_flag"
17958 || test ! -s conftest.err'
17959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17960 (eval $ac_try) 2>&5
17961 ac_status=$?
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); }; } &&
17964 { ac_try='test -s conftest.$ac_objext'
17965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17966 (eval $ac_try) 2>&5
17967 ac_status=$?
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); }; }; then
17970 ac_hi=$ac_mid
17971 else
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17974
17975 ac_lo=`expr '(' $ac_mid ')' + 1`
17976 fi
17977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17978 done
17979 case $ac_lo in
17980 ?*) ac_cv_sizeof_void_p=$ac_lo;;
17981 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17982 See \`config.log' for more details." >&5
17983 echo "$as_me: error: cannot compute sizeof (void *), 77
17984 See \`config.log' for more details." >&2;}
17985 { (exit 1); exit 1; }; } ;;
17986 esac
17987 else
17988 if test "$cross_compiling" = yes; then
17989 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17990 See \`config.log' for more details." >&5
17991 echo "$as_me: error: cannot run test program while cross compiling
17992 See \`config.log' for more details." >&2;}
17993 { (exit 1); exit 1; }; }
17994 else
17995 cat >conftest.$ac_ext <<_ACEOF
17996 /* confdefs.h. */
17997 _ACEOF
17998 cat confdefs.h >>conftest.$ac_ext
17999 cat >>conftest.$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18001 $ac_includes_default
18002 long longval () { return (long) (sizeof (void *)); }
18003 unsigned long ulongval () { return (long) (sizeof (void *)); }
18004 #include <stdio.h>
18005 #include <stdlib.h>
18006 int
18007 main ()
18008 {
18009
18010 FILE *f = fopen ("conftest.val", "w");
18011 if (! f)
18012 exit (1);
18013 if (((long) (sizeof (void *))) < 0)
18014 {
18015 long i = longval ();
18016 if (i != ((long) (sizeof (void *))))
18017 exit (1);
18018 fprintf (f, "%ld\n", i);
18019 }
18020 else
18021 {
18022 unsigned long i = ulongval ();
18023 if (i != ((long) (sizeof (void *))))
18024 exit (1);
18025 fprintf (f, "%lu\n", i);
18026 }
18027 exit (ferror (f) || fclose (f) != 0);
18028
18029 ;
18030 return 0;
18031 }
18032 _ACEOF
18033 rm -f conftest$ac_exeext
18034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18035 (eval $ac_link) 2>&5
18036 ac_status=$?
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18040 (eval $ac_try) 2>&5
18041 ac_status=$?
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); }; }; then
18044 ac_cv_sizeof_void_p=`cat conftest.val`
18045 else
18046 echo "$as_me: program exited with status $ac_status" >&5
18047 echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.$ac_ext >&5
18049
18050 ( exit $ac_status )
18051 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18052 See \`config.log' for more details." >&5
18053 echo "$as_me: error: cannot compute sizeof (void *), 77
18054 See \`config.log' for more details." >&2;}
18055 { (exit 1); exit 1; }; }
18056 fi
18057 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18058 fi
18059 fi
18060 rm -f conftest.val
18061 else
18062 ac_cv_sizeof_void_p=0
18063 fi
18064 fi
18065 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18066 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18067 cat >>confdefs.h <<_ACEOF
18068 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18069 _ACEOF
18070
18071
18072 echo "$as_me:$LINENO: checking for int" >&5
18073 echo $ECHO_N "checking for int... $ECHO_C" >&6
18074 if test "${ac_cv_type_int+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6
18076 else
18077 cat >conftest.$ac_ext <<_ACEOF
18078 /* confdefs.h. */
18079 _ACEOF
18080 cat confdefs.h >>conftest.$ac_ext
18081 cat >>conftest.$ac_ext <<_ACEOF
18082 /* end confdefs.h. */
18083 $ac_includes_default
18084 int
18085 main ()
18086 {
18087 if ((int *) 0)
18088 return 0;
18089 if (sizeof (int))
18090 return 0;
18091 ;
18092 return 0;
18093 }
18094 _ACEOF
18095 rm -f conftest.$ac_objext
18096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18097 (eval $ac_compile) 2>conftest.er1
18098 ac_status=$?
18099 grep -v '^ *+' conftest.er1 >conftest.err
18100 rm -f conftest.er1
18101 cat conftest.err >&5
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); } &&
18104 { ac_try='test -z "$ac_c_werror_flag"
18105 || test ! -s conftest.err'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18108 ac_status=$?
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; } &&
18111 { ac_try='test -s conftest.$ac_objext'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18114 ac_status=$?
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; }; then
18117 ac_cv_type_int=yes
18118 else
18119 echo "$as_me: failed program was:" >&5
18120 sed 's/^/| /' conftest.$ac_ext >&5
18121
18122 ac_cv_type_int=no
18123 fi
18124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18125 fi
18126 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18127 echo "${ECHO_T}$ac_cv_type_int" >&6
18128
18129 echo "$as_me:$LINENO: checking size of int" >&5
18130 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18131 if test "${ac_cv_sizeof_int+set}" = set; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 else
18134 if test "$ac_cv_type_int" = yes; then
18135 # The cast to unsigned long works around a bug in the HP C Compiler
18136 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18137 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18138 # This bug is HP SR number 8606223364.
18139 if test "$cross_compiling" = yes; then
18140 # Depending upon the size, compute the lo and hi bounds.
18141 cat >conftest.$ac_ext <<_ACEOF
18142 /* confdefs.h. */
18143 _ACEOF
18144 cat confdefs.h >>conftest.$ac_ext
18145 cat >>conftest.$ac_ext <<_ACEOF
18146 /* end confdefs.h. */
18147 $ac_includes_default
18148 int
18149 main ()
18150 {
18151 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18152 test_array [0] = 0
18153
18154 ;
18155 return 0;
18156 }
18157 _ACEOF
18158 rm -f conftest.$ac_objext
18159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18160 (eval $ac_compile) 2>conftest.er1
18161 ac_status=$?
18162 grep -v '^ *+' conftest.er1 >conftest.err
18163 rm -f conftest.er1
18164 cat conftest.err >&5
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); } &&
18167 { ac_try='test -z "$ac_c_werror_flag"
18168 || test ! -s conftest.err'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18171 ac_status=$?
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; } &&
18174 { ac_try='test -s conftest.$ac_objext'
18175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18176 (eval $ac_try) 2>&5
18177 ac_status=$?
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); }; }; then
18180 ac_lo=0 ac_mid=0
18181 while :; do
18182 cat >conftest.$ac_ext <<_ACEOF
18183 /* confdefs.h. */
18184 _ACEOF
18185 cat confdefs.h >>conftest.$ac_ext
18186 cat >>conftest.$ac_ext <<_ACEOF
18187 /* end confdefs.h. */
18188 $ac_includes_default
18189 int
18190 main ()
18191 {
18192 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18193 test_array [0] = 0
18194
18195 ;
18196 return 0;
18197 }
18198 _ACEOF
18199 rm -f conftest.$ac_objext
18200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18201 (eval $ac_compile) 2>conftest.er1
18202 ac_status=$?
18203 grep -v '^ *+' conftest.er1 >conftest.err
18204 rm -f conftest.er1
18205 cat conftest.err >&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } &&
18208 { ac_try='test -z "$ac_c_werror_flag"
18209 || test ! -s conftest.err'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18212 ac_status=$?
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; } &&
18215 { ac_try='test -s conftest.$ac_objext'
18216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217 (eval $ac_try) 2>&5
18218 ac_status=$?
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; }; then
18221 ac_hi=$ac_mid; break
18222 else
18223 echo "$as_me: failed program was:" >&5
18224 sed 's/^/| /' conftest.$ac_ext >&5
18225
18226 ac_lo=`expr $ac_mid + 1`
18227 if test $ac_lo -le $ac_mid; then
18228 ac_lo= ac_hi=
18229 break
18230 fi
18231 ac_mid=`expr 2 '*' $ac_mid + 1`
18232 fi
18233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18234 done
18235 else
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.$ac_ext >&5
18238
18239 cat >conftest.$ac_ext <<_ACEOF
18240 /* confdefs.h. */
18241 _ACEOF
18242 cat confdefs.h >>conftest.$ac_ext
18243 cat >>conftest.$ac_ext <<_ACEOF
18244 /* end confdefs.h. */
18245 $ac_includes_default
18246 int
18247 main ()
18248 {
18249 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18250 test_array [0] = 0
18251
18252 ;
18253 return 0;
18254 }
18255 _ACEOF
18256 rm -f conftest.$ac_objext
18257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18258 (eval $ac_compile) 2>conftest.er1
18259 ac_status=$?
18260 grep -v '^ *+' conftest.er1 >conftest.err
18261 rm -f conftest.er1
18262 cat conftest.err >&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } &&
18265 { ac_try='test -z "$ac_c_werror_flag"
18266 || test ! -s conftest.err'
18267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268 (eval $ac_try) 2>&5
18269 ac_status=$?
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); }; } &&
18272 { ac_try='test -s conftest.$ac_objext'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18275 ac_status=$?
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; }; then
18278 ac_hi=-1 ac_mid=-1
18279 while :; do
18280 cat >conftest.$ac_ext <<_ACEOF
18281 /* confdefs.h. */
18282 _ACEOF
18283 cat confdefs.h >>conftest.$ac_ext
18284 cat >>conftest.$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18286 $ac_includes_default
18287 int
18288 main ()
18289 {
18290 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18291 test_array [0] = 0
18292
18293 ;
18294 return 0;
18295 }
18296 _ACEOF
18297 rm -f conftest.$ac_objext
18298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18299 (eval $ac_compile) 2>conftest.er1
18300 ac_status=$?
18301 grep -v '^ *+' conftest.er1 >conftest.err
18302 rm -f conftest.er1
18303 cat conftest.err >&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); } &&
18306 { ac_try='test -z "$ac_c_werror_flag"
18307 || test ! -s conftest.err'
18308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18309 (eval $ac_try) 2>&5
18310 ac_status=$?
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); }; } &&
18313 { ac_try='test -s conftest.$ac_objext'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18316 ac_status=$?
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; }; then
18319 ac_lo=$ac_mid; break
18320 else
18321 echo "$as_me: failed program was:" >&5
18322 sed 's/^/| /' conftest.$ac_ext >&5
18323
18324 ac_hi=`expr '(' $ac_mid ')' - 1`
18325 if test $ac_mid -le $ac_hi; then
18326 ac_lo= ac_hi=
18327 break
18328 fi
18329 ac_mid=`expr 2 '*' $ac_mid`
18330 fi
18331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18332 done
18333 else
18334 echo "$as_me: failed program was:" >&5
18335 sed 's/^/| /' conftest.$ac_ext >&5
18336
18337 ac_lo= ac_hi=
18338 fi
18339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18340 fi
18341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18342 # Binary search between lo and hi bounds.
18343 while test "x$ac_lo" != "x$ac_hi"; do
18344 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18345 cat >conftest.$ac_ext <<_ACEOF
18346 /* confdefs.h. */
18347 _ACEOF
18348 cat confdefs.h >>conftest.$ac_ext
18349 cat >>conftest.$ac_ext <<_ACEOF
18350 /* end confdefs.h. */
18351 $ac_includes_default
18352 int
18353 main ()
18354 {
18355 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18356 test_array [0] = 0
18357
18358 ;
18359 return 0;
18360 }
18361 _ACEOF
18362 rm -f conftest.$ac_objext
18363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18364 (eval $ac_compile) 2>conftest.er1
18365 ac_status=$?
18366 grep -v '^ *+' conftest.er1 >conftest.err
18367 rm -f conftest.er1
18368 cat conftest.err >&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } &&
18371 { ac_try='test -z "$ac_c_werror_flag"
18372 || test ! -s conftest.err'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18375 ac_status=$?
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; } &&
18378 { ac_try='test -s conftest.$ac_objext'
18379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380 (eval $ac_try) 2>&5
18381 ac_status=$?
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }; }; then
18384 ac_hi=$ac_mid
18385 else
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.$ac_ext >&5
18388
18389 ac_lo=`expr '(' $ac_mid ')' + 1`
18390 fi
18391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18392 done
18393 case $ac_lo in
18394 ?*) ac_cv_sizeof_int=$ac_lo;;
18395 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18396 See \`config.log' for more details." >&5
18397 echo "$as_me: error: cannot compute sizeof (int), 77
18398 See \`config.log' for more details." >&2;}
18399 { (exit 1); exit 1; }; } ;;
18400 esac
18401 else
18402 if test "$cross_compiling" = yes; then
18403 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18404 See \`config.log' for more details." >&5
18405 echo "$as_me: error: cannot run test program while cross compiling
18406 See \`config.log' for more details." >&2;}
18407 { (exit 1); exit 1; }; }
18408 else
18409 cat >conftest.$ac_ext <<_ACEOF
18410 /* confdefs.h. */
18411 _ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 $ac_includes_default
18416 long longval () { return (long) (sizeof (int)); }
18417 unsigned long ulongval () { return (long) (sizeof (int)); }
18418 #include <stdio.h>
18419 #include <stdlib.h>
18420 int
18421 main ()
18422 {
18423
18424 FILE *f = fopen ("conftest.val", "w");
18425 if (! f)
18426 exit (1);
18427 if (((long) (sizeof (int))) < 0)
18428 {
18429 long i = longval ();
18430 if (i != ((long) (sizeof (int))))
18431 exit (1);
18432 fprintf (f, "%ld\n", i);
18433 }
18434 else
18435 {
18436 unsigned long i = ulongval ();
18437 if (i != ((long) (sizeof (int))))
18438 exit (1);
18439 fprintf (f, "%lu\n", i);
18440 }
18441 exit (ferror (f) || fclose (f) != 0);
18442
18443 ;
18444 return 0;
18445 }
18446 _ACEOF
18447 rm -f conftest$ac_exeext
18448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18449 (eval $ac_link) 2>&5
18450 ac_status=$?
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18454 (eval $ac_try) 2>&5
18455 ac_status=$?
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); }; }; then
18458 ac_cv_sizeof_int=`cat conftest.val`
18459 else
18460 echo "$as_me: program exited with status $ac_status" >&5
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.$ac_ext >&5
18463
18464 ( exit $ac_status )
18465 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18466 See \`config.log' for more details." >&5
18467 echo "$as_me: error: cannot compute sizeof (int), 77
18468 See \`config.log' for more details." >&2;}
18469 { (exit 1); exit 1; }; }
18470 fi
18471 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18472 fi
18473 fi
18474 rm -f conftest.val
18475 else
18476 ac_cv_sizeof_int=0
18477 fi
18478 fi
18479 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18480 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18481 cat >>confdefs.h <<_ACEOF
18482 #define SIZEOF_INT $ac_cv_sizeof_int
18483 _ACEOF
18484
18485
18486 echo "$as_me:$LINENO: checking for long" >&5
18487 echo $ECHO_N "checking for long... $ECHO_C" >&6
18488 if test "${ac_cv_type_long+set}" = set; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18490 else
18491 cat >conftest.$ac_ext <<_ACEOF
18492 /* confdefs.h. */
18493 _ACEOF
18494 cat confdefs.h >>conftest.$ac_ext
18495 cat >>conftest.$ac_ext <<_ACEOF
18496 /* end confdefs.h. */
18497 $ac_includes_default
18498 int
18499 main ()
18500 {
18501 if ((long *) 0)
18502 return 0;
18503 if (sizeof (long))
18504 return 0;
18505 ;
18506 return 0;
18507 }
18508 _ACEOF
18509 rm -f conftest.$ac_objext
18510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18511 (eval $ac_compile) 2>conftest.er1
18512 ac_status=$?
18513 grep -v '^ *+' conftest.er1 >conftest.err
18514 rm -f conftest.er1
18515 cat conftest.err >&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); } &&
18518 { ac_try='test -z "$ac_c_werror_flag"
18519 || test ! -s conftest.err'
18520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18521 (eval $ac_try) 2>&5
18522 ac_status=$?
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); }; } &&
18525 { ac_try='test -s conftest.$ac_objext'
18526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18527 (eval $ac_try) 2>&5
18528 ac_status=$?
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); }; }; then
18531 ac_cv_type_long=yes
18532 else
18533 echo "$as_me: failed program was:" >&5
18534 sed 's/^/| /' conftest.$ac_ext >&5
18535
18536 ac_cv_type_long=no
18537 fi
18538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18539 fi
18540 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18541 echo "${ECHO_T}$ac_cv_type_long" >&6
18542
18543 echo "$as_me:$LINENO: checking size of long" >&5
18544 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18545 if test "${ac_cv_sizeof_long+set}" = set; then
18546 echo $ECHO_N "(cached) $ECHO_C" >&6
18547 else
18548 if test "$ac_cv_type_long" = yes; then
18549 # The cast to unsigned long works around a bug in the HP C Compiler
18550 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18551 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18552 # This bug is HP SR number 8606223364.
18553 if test "$cross_compiling" = yes; then
18554 # Depending upon the size, compute the lo and hi bounds.
18555 cat >conftest.$ac_ext <<_ACEOF
18556 /* confdefs.h. */
18557 _ACEOF
18558 cat confdefs.h >>conftest.$ac_ext
18559 cat >>conftest.$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561 $ac_includes_default
18562 int
18563 main ()
18564 {
18565 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18566 test_array [0] = 0
18567
18568 ;
18569 return 0;
18570 }
18571 _ACEOF
18572 rm -f conftest.$ac_objext
18573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18574 (eval $ac_compile) 2>conftest.er1
18575 ac_status=$?
18576 grep -v '^ *+' conftest.er1 >conftest.err
18577 rm -f conftest.er1
18578 cat conftest.err >&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); } &&
18581 { ac_try='test -z "$ac_c_werror_flag"
18582 || test ! -s conftest.err'
18583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18584 (eval $ac_try) 2>&5
18585 ac_status=$?
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); }; } &&
18588 { ac_try='test -s conftest.$ac_objext'
18589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18590 (eval $ac_try) 2>&5
18591 ac_status=$?
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); }; }; then
18594 ac_lo=0 ac_mid=0
18595 while :; do
18596 cat >conftest.$ac_ext <<_ACEOF
18597 /* confdefs.h. */
18598 _ACEOF
18599 cat confdefs.h >>conftest.$ac_ext
18600 cat >>conftest.$ac_ext <<_ACEOF
18601 /* end confdefs.h. */
18602 $ac_includes_default
18603 int
18604 main ()
18605 {
18606 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18607 test_array [0] = 0
18608
18609 ;
18610 return 0;
18611 }
18612 _ACEOF
18613 rm -f conftest.$ac_objext
18614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18615 (eval $ac_compile) 2>conftest.er1
18616 ac_status=$?
18617 grep -v '^ *+' conftest.er1 >conftest.err
18618 rm -f conftest.er1
18619 cat conftest.err >&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } &&
18622 { ac_try='test -z "$ac_c_werror_flag"
18623 || test ! -s conftest.err'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18626 ac_status=$?
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; } &&
18629 { ac_try='test -s conftest.$ac_objext'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18632 ac_status=$?
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; }; then
18635 ac_hi=$ac_mid; break
18636 else
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.$ac_ext >&5
18639
18640 ac_lo=`expr $ac_mid + 1`
18641 if test $ac_lo -le $ac_mid; then
18642 ac_lo= ac_hi=
18643 break
18644 fi
18645 ac_mid=`expr 2 '*' $ac_mid + 1`
18646 fi
18647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18648 done
18649 else
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18652
18653 cat >conftest.$ac_ext <<_ACEOF
18654 /* confdefs.h. */
18655 _ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 $ac_includes_default
18660 int
18661 main ()
18662 {
18663 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18664 test_array [0] = 0
18665
18666 ;
18667 return 0;
18668 }
18669 _ACEOF
18670 rm -f conftest.$ac_objext
18671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18672 (eval $ac_compile) 2>conftest.er1
18673 ac_status=$?
18674 grep -v '^ *+' conftest.er1 >conftest.err
18675 rm -f conftest.er1
18676 cat conftest.err >&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } &&
18679 { ac_try='test -z "$ac_c_werror_flag"
18680 || test ! -s conftest.err'
18681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18682 (eval $ac_try) 2>&5
18683 ac_status=$?
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); }; } &&
18686 { ac_try='test -s conftest.$ac_objext'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18689 ac_status=$?
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; }; then
18692 ac_hi=-1 ac_mid=-1
18693 while :; do
18694 cat >conftest.$ac_ext <<_ACEOF
18695 /* confdefs.h. */
18696 _ACEOF
18697 cat confdefs.h >>conftest.$ac_ext
18698 cat >>conftest.$ac_ext <<_ACEOF
18699 /* end confdefs.h. */
18700 $ac_includes_default
18701 int
18702 main ()
18703 {
18704 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18705 test_array [0] = 0
18706
18707 ;
18708 return 0;
18709 }
18710 _ACEOF
18711 rm -f conftest.$ac_objext
18712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18713 (eval $ac_compile) 2>conftest.er1
18714 ac_status=$?
18715 grep -v '^ *+' conftest.er1 >conftest.err
18716 rm -f conftest.er1
18717 cat conftest.err >&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } &&
18720 { ac_try='test -z "$ac_c_werror_flag"
18721 || test ! -s conftest.err'
18722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18723 (eval $ac_try) 2>&5
18724 ac_status=$?
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); }; } &&
18727 { ac_try='test -s conftest.$ac_objext'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; }; then
18733 ac_lo=$ac_mid; break
18734 else
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.$ac_ext >&5
18737
18738 ac_hi=`expr '(' $ac_mid ')' - 1`
18739 if test $ac_mid -le $ac_hi; then
18740 ac_lo= ac_hi=
18741 break
18742 fi
18743 ac_mid=`expr 2 '*' $ac_mid`
18744 fi
18745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18746 done
18747 else
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.$ac_ext >&5
18750
18751 ac_lo= ac_hi=
18752 fi
18753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18754 fi
18755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18756 # Binary search between lo and hi bounds.
18757 while test "x$ac_lo" != "x$ac_hi"; do
18758 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18759 cat >conftest.$ac_ext <<_ACEOF
18760 /* confdefs.h. */
18761 _ACEOF
18762 cat confdefs.h >>conftest.$ac_ext
18763 cat >>conftest.$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18765 $ac_includes_default
18766 int
18767 main ()
18768 {
18769 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18770 test_array [0] = 0
18771
18772 ;
18773 return 0;
18774 }
18775 _ACEOF
18776 rm -f conftest.$ac_objext
18777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18778 (eval $ac_compile) 2>conftest.er1
18779 ac_status=$?
18780 grep -v '^ *+' conftest.er1 >conftest.err
18781 rm -f conftest.er1
18782 cat conftest.err >&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try='test -z "$ac_c_werror_flag"
18786 || test ! -s conftest.err'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18789 ac_status=$?
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; } &&
18792 { ac_try='test -s conftest.$ac_objext'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18795 ac_status=$?
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; }; then
18798 ac_hi=$ac_mid
18799 else
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18802
18803 ac_lo=`expr '(' $ac_mid ')' + 1`
18804 fi
18805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18806 done
18807 case $ac_lo in
18808 ?*) ac_cv_sizeof_long=$ac_lo;;
18809 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18810 See \`config.log' for more details." >&5
18811 echo "$as_me: error: cannot compute sizeof (long), 77
18812 See \`config.log' for more details." >&2;}
18813 { (exit 1); exit 1; }; } ;;
18814 esac
18815 else
18816 if test "$cross_compiling" = yes; then
18817 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18818 See \`config.log' for more details." >&5
18819 echo "$as_me: error: cannot run test program while cross compiling
18820 See \`config.log' for more details." >&2;}
18821 { (exit 1); exit 1; }; }
18822 else
18823 cat >conftest.$ac_ext <<_ACEOF
18824 /* confdefs.h. */
18825 _ACEOF
18826 cat confdefs.h >>conftest.$ac_ext
18827 cat >>conftest.$ac_ext <<_ACEOF
18828 /* end confdefs.h. */
18829 $ac_includes_default
18830 long longval () { return (long) (sizeof (long)); }
18831 unsigned long ulongval () { return (long) (sizeof (long)); }
18832 #include <stdio.h>
18833 #include <stdlib.h>
18834 int
18835 main ()
18836 {
18837
18838 FILE *f = fopen ("conftest.val", "w");
18839 if (! f)
18840 exit (1);
18841 if (((long) (sizeof (long))) < 0)
18842 {
18843 long i = longval ();
18844 if (i != ((long) (sizeof (long))))
18845 exit (1);
18846 fprintf (f, "%ld\n", i);
18847 }
18848 else
18849 {
18850 unsigned long i = ulongval ();
18851 if (i != ((long) (sizeof (long))))
18852 exit (1);
18853 fprintf (f, "%lu\n", i);
18854 }
18855 exit (ferror (f) || fclose (f) != 0);
18856
18857 ;
18858 return 0;
18859 }
18860 _ACEOF
18861 rm -f conftest$ac_exeext
18862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18863 (eval $ac_link) 2>&5
18864 ac_status=$?
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18869 ac_status=$?
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; }; then
18872 ac_cv_sizeof_long=`cat conftest.val`
18873 else
18874 echo "$as_me: program exited with status $ac_status" >&5
18875 echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.$ac_ext >&5
18877
18878 ( exit $ac_status )
18879 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18880 See \`config.log' for more details." >&5
18881 echo "$as_me: error: cannot compute sizeof (long), 77
18882 See \`config.log' for more details." >&2;}
18883 { (exit 1); exit 1; }; }
18884 fi
18885 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18886 fi
18887 fi
18888 rm -f conftest.val
18889 else
18890 ac_cv_sizeof_long=0
18891 fi
18892 fi
18893 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18894 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18895 cat >>confdefs.h <<_ACEOF
18896 #define SIZEOF_LONG $ac_cv_sizeof_long
18897 _ACEOF
18898
18899
18900 echo "$as_me:$LINENO: checking for size_t" >&5
18901 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18902 if test "${ac_cv_type_size_t+set}" = set; then
18903 echo $ECHO_N "(cached) $ECHO_C" >&6
18904 else
18905 cat >conftest.$ac_ext <<_ACEOF
18906 /* confdefs.h. */
18907 _ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 $ac_includes_default
18912 int
18913 main ()
18914 {
18915 if ((size_t *) 0)
18916 return 0;
18917 if (sizeof (size_t))
18918 return 0;
18919 ;
18920 return 0;
18921 }
18922 _ACEOF
18923 rm -f conftest.$ac_objext
18924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18925 (eval $ac_compile) 2>conftest.er1
18926 ac_status=$?
18927 grep -v '^ *+' conftest.er1 >conftest.err
18928 rm -f conftest.er1
18929 cat conftest.err >&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } &&
18932 { ac_try='test -z "$ac_c_werror_flag"
18933 || test ! -s conftest.err'
18934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18935 (eval $ac_try) 2>&5
18936 ac_status=$?
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); }; } &&
18939 { ac_try='test -s conftest.$ac_objext'
18940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18941 (eval $ac_try) 2>&5
18942 ac_status=$?
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); }; }; then
18945 ac_cv_type_size_t=yes
18946 else
18947 echo "$as_me: failed program was:" >&5
18948 sed 's/^/| /' conftest.$ac_ext >&5
18949
18950 ac_cv_type_size_t=no
18951 fi
18952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18953 fi
18954 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18955 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18956
18957 echo "$as_me:$LINENO: checking size of size_t" >&5
18958 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18959 if test "${ac_cv_sizeof_size_t+set}" = set; then
18960 echo $ECHO_N "(cached) $ECHO_C" >&6
18961 else
18962 if test "$ac_cv_type_size_t" = yes; then
18963 # The cast to unsigned long works around a bug in the HP C Compiler
18964 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18965 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18966 # This bug is HP SR number 8606223364.
18967 if test "$cross_compiling" = yes; then
18968 # Depending upon the size, compute the lo and hi bounds.
18969 cat >conftest.$ac_ext <<_ACEOF
18970 /* confdefs.h. */
18971 _ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 $ac_includes_default
18976 int
18977 main ()
18978 {
18979 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18980 test_array [0] = 0
18981
18982 ;
18983 return 0;
18984 }
18985 _ACEOF
18986 rm -f conftest.$ac_objext
18987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18988 (eval $ac_compile) 2>conftest.er1
18989 ac_status=$?
18990 grep -v '^ *+' conftest.er1 >conftest.err
18991 rm -f conftest.er1
18992 cat conftest.err >&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); } &&
18995 { ac_try='test -z "$ac_c_werror_flag"
18996 || test ! -s conftest.err'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
18999 ac_status=$?
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; } &&
19002 { ac_try='test -s conftest.$ac_objext'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19005 ac_status=$?
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; }; then
19008 ac_lo=0 ac_mid=0
19009 while :; do
19010 cat >conftest.$ac_ext <<_ACEOF
19011 /* confdefs.h. */
19012 _ACEOF
19013 cat confdefs.h >>conftest.$ac_ext
19014 cat >>conftest.$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19016 $ac_includes_default
19017 int
19018 main ()
19019 {
19020 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19021 test_array [0] = 0
19022
19023 ;
19024 return 0;
19025 }
19026 _ACEOF
19027 rm -f conftest.$ac_objext
19028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19029 (eval $ac_compile) 2>conftest.er1
19030 ac_status=$?
19031 grep -v '^ *+' conftest.er1 >conftest.err
19032 rm -f conftest.er1
19033 cat conftest.err >&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); } &&
19036 { ac_try='test -z "$ac_c_werror_flag"
19037 || test ! -s conftest.err'
19038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039 (eval $ac_try) 2>&5
19040 ac_status=$?
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); }; } &&
19043 { ac_try='test -s conftest.$ac_objext'
19044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19045 (eval $ac_try) 2>&5
19046 ac_status=$?
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); }; }; then
19049 ac_hi=$ac_mid; break
19050 else
19051 echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.$ac_ext >&5
19053
19054 ac_lo=`expr $ac_mid + 1`
19055 if test $ac_lo -le $ac_mid; then
19056 ac_lo= ac_hi=
19057 break
19058 fi
19059 ac_mid=`expr 2 '*' $ac_mid + 1`
19060 fi
19061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19062 done
19063 else
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.$ac_ext >&5
19066
19067 cat >conftest.$ac_ext <<_ACEOF
19068 /* confdefs.h. */
19069 _ACEOF
19070 cat confdefs.h >>conftest.$ac_ext
19071 cat >>conftest.$ac_ext <<_ACEOF
19072 /* end confdefs.h. */
19073 $ac_includes_default
19074 int
19075 main ()
19076 {
19077 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19078 test_array [0] = 0
19079
19080 ;
19081 return 0;
19082 }
19083 _ACEOF
19084 rm -f conftest.$ac_objext
19085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19086 (eval $ac_compile) 2>conftest.er1
19087 ac_status=$?
19088 grep -v '^ *+' conftest.er1 >conftest.err
19089 rm -f conftest.er1
19090 cat conftest.err >&5
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); } &&
19093 { ac_try='test -z "$ac_c_werror_flag"
19094 || test ! -s conftest.err'
19095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19096 (eval $ac_try) 2>&5
19097 ac_status=$?
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); }; } &&
19100 { ac_try='test -s conftest.$ac_objext'
19101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19102 (eval $ac_try) 2>&5
19103 ac_status=$?
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); }; }; then
19106 ac_hi=-1 ac_mid=-1
19107 while :; do
19108 cat >conftest.$ac_ext <<_ACEOF
19109 /* confdefs.h. */
19110 _ACEOF
19111 cat confdefs.h >>conftest.$ac_ext
19112 cat >>conftest.$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19114 $ac_includes_default
19115 int
19116 main ()
19117 {
19118 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19119 test_array [0] = 0
19120
19121 ;
19122 return 0;
19123 }
19124 _ACEOF
19125 rm -f conftest.$ac_objext
19126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19127 (eval $ac_compile) 2>conftest.er1
19128 ac_status=$?
19129 grep -v '^ *+' conftest.er1 >conftest.err
19130 rm -f conftest.er1
19131 cat conftest.err >&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); } &&
19134 { ac_try='test -z "$ac_c_werror_flag"
19135 || test ! -s conftest.err'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19138 ac_status=$?
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; } &&
19141 { ac_try='test -s conftest.$ac_objext'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19144 ac_status=$?
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; }; then
19147 ac_lo=$ac_mid; break
19148 else
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.$ac_ext >&5
19151
19152 ac_hi=`expr '(' $ac_mid ')' - 1`
19153 if test $ac_mid -le $ac_hi; then
19154 ac_lo= ac_hi=
19155 break
19156 fi
19157 ac_mid=`expr 2 '*' $ac_mid`
19158 fi
19159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19160 done
19161 else
19162 echo "$as_me: failed program was:" >&5
19163 sed 's/^/| /' conftest.$ac_ext >&5
19164
19165 ac_lo= ac_hi=
19166 fi
19167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19168 fi
19169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19170 # Binary search between lo and hi bounds.
19171 while test "x$ac_lo" != "x$ac_hi"; do
19172 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19173 cat >conftest.$ac_ext <<_ACEOF
19174 /* confdefs.h. */
19175 _ACEOF
19176 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 $ac_includes_default
19180 int
19181 main ()
19182 {
19183 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19184 test_array [0] = 0
19185
19186 ;
19187 return 0;
19188 }
19189 _ACEOF
19190 rm -f conftest.$ac_objext
19191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19192 (eval $ac_compile) 2>conftest.er1
19193 ac_status=$?
19194 grep -v '^ *+' conftest.er1 >conftest.err
19195 rm -f conftest.er1
19196 cat conftest.err >&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } &&
19199 { ac_try='test -z "$ac_c_werror_flag"
19200 || test ! -s conftest.err'
19201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202 (eval $ac_try) 2>&5
19203 ac_status=$?
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); }; } &&
19206 { ac_try='test -s conftest.$ac_objext'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19209 ac_status=$?
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; }; then
19212 ac_hi=$ac_mid
19213 else
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19216
19217 ac_lo=`expr '(' $ac_mid ')' + 1`
19218 fi
19219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19220 done
19221 case $ac_lo in
19222 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19223 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19224 See \`config.log' for more details." >&5
19225 echo "$as_me: error: cannot compute sizeof (size_t), 77
19226 See \`config.log' for more details." >&2;}
19227 { (exit 1); exit 1; }; } ;;
19228 esac
19229 else
19230 if test "$cross_compiling" = yes; then
19231 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19232 See \`config.log' for more details." >&5
19233 echo "$as_me: error: cannot run test program while cross compiling
19234 See \`config.log' for more details." >&2;}
19235 { (exit 1); exit 1; }; }
19236 else
19237 cat >conftest.$ac_ext <<_ACEOF
19238 /* confdefs.h. */
19239 _ACEOF
19240 cat confdefs.h >>conftest.$ac_ext
19241 cat >>conftest.$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243 $ac_includes_default
19244 long longval () { return (long) (sizeof (size_t)); }
19245 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19246 #include <stdio.h>
19247 #include <stdlib.h>
19248 int
19249 main ()
19250 {
19251
19252 FILE *f = fopen ("conftest.val", "w");
19253 if (! f)
19254 exit (1);
19255 if (((long) (sizeof (size_t))) < 0)
19256 {
19257 long i = longval ();
19258 if (i != ((long) (sizeof (size_t))))
19259 exit (1);
19260 fprintf (f, "%ld\n", i);
19261 }
19262 else
19263 {
19264 unsigned long i = ulongval ();
19265 if (i != ((long) (sizeof (size_t))))
19266 exit (1);
19267 fprintf (f, "%lu\n", i);
19268 }
19269 exit (ferror (f) || fclose (f) != 0);
19270
19271 ;
19272 return 0;
19273 }
19274 _ACEOF
19275 rm -f conftest$ac_exeext
19276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19277 (eval $ac_link) 2>&5
19278 ac_status=$?
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19283 ac_status=$?
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19286 ac_cv_sizeof_size_t=`cat conftest.val`
19287 else
19288 echo "$as_me: program exited with status $ac_status" >&5
19289 echo "$as_me: failed program was:" >&5
19290 sed 's/^/| /' conftest.$ac_ext >&5
19291
19292 ( exit $ac_status )
19293 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19294 See \`config.log' for more details." >&5
19295 echo "$as_me: error: cannot compute sizeof (size_t), 77
19296 See \`config.log' for more details." >&2;}
19297 { (exit 1); exit 1; }; }
19298 fi
19299 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19300 fi
19301 fi
19302 rm -f conftest.val
19303 else
19304 ac_cv_sizeof_size_t=0
19305 fi
19306 fi
19307 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19308 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19309 cat >>confdefs.h <<_ACEOF
19310 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19311 _ACEOF
19312
19313
19314
19315 case "${host}" in
19316 arm-*-linux* )
19317 echo "$as_me:$LINENO: checking for long long" >&5
19318 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19319 if test "${ac_cv_type_long_long+set}" = set; then
19320 echo $ECHO_N "(cached) $ECHO_C" >&6
19321 else
19322 cat >conftest.$ac_ext <<_ACEOF
19323 /* confdefs.h. */
19324 _ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 $ac_includes_default
19329 int
19330 main ()
19331 {
19332 if ((long long *) 0)
19333 return 0;
19334 if (sizeof (long long))
19335 return 0;
19336 ;
19337 return 0;
19338 }
19339 _ACEOF
19340 rm -f conftest.$ac_objext
19341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19342 (eval $ac_compile) 2>conftest.er1
19343 ac_status=$?
19344 grep -v '^ *+' conftest.er1 >conftest.err
19345 rm -f conftest.er1
19346 cat conftest.err >&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try='test -z "$ac_c_werror_flag"
19350 || test ! -s conftest.err'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19353 ac_status=$?
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; } &&
19356 { ac_try='test -s conftest.$ac_objext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19359 ac_status=$?
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19362 ac_cv_type_long_long=yes
19363 else
19364 echo "$as_me: failed program was:" >&5
19365 sed 's/^/| /' conftest.$ac_ext >&5
19366
19367 ac_cv_type_long_long=no
19368 fi
19369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19370 fi
19371 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19372 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19373
19374 echo "$as_me:$LINENO: checking size of long long" >&5
19375 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19376 if test "${ac_cv_sizeof_long_long+set}" = set; then
19377 echo $ECHO_N "(cached) $ECHO_C" >&6
19378 else
19379 if test "$ac_cv_type_long_long" = yes; then
19380 # The cast to unsigned long works around a bug in the HP C Compiler
19381 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19382 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19383 # This bug is HP SR number 8606223364.
19384 if test "$cross_compiling" = yes; then
19385 # Depending upon the size, compute the lo and hi bounds.
19386 cat >conftest.$ac_ext <<_ACEOF
19387 /* confdefs.h. */
19388 _ACEOF
19389 cat confdefs.h >>conftest.$ac_ext
19390 cat >>conftest.$ac_ext <<_ACEOF
19391 /* end confdefs.h. */
19392 $ac_includes_default
19393 int
19394 main ()
19395 {
19396 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19397 test_array [0] = 0
19398
19399 ;
19400 return 0;
19401 }
19402 _ACEOF
19403 rm -f conftest.$ac_objext
19404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19405 (eval $ac_compile) 2>conftest.er1
19406 ac_status=$?
19407 grep -v '^ *+' conftest.er1 >conftest.err
19408 rm -f conftest.er1
19409 cat conftest.err >&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } &&
19412 { ac_try='test -z "$ac_c_werror_flag"
19413 || test ! -s conftest.err'
19414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415 (eval $ac_try) 2>&5
19416 ac_status=$?
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; } &&
19419 { ac_try='test -s conftest.$ac_objext'
19420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421 (eval $ac_try) 2>&5
19422 ac_status=$?
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; }; then
19425 ac_lo=0 ac_mid=0
19426 while :; do
19427 cat >conftest.$ac_ext <<_ACEOF
19428 /* confdefs.h. */
19429 _ACEOF
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433 $ac_includes_default
19434 int
19435 main ()
19436 {
19437 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19438 test_array [0] = 0
19439
19440 ;
19441 return 0;
19442 }
19443 _ACEOF
19444 rm -f conftest.$ac_objext
19445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19446 (eval $ac_compile) 2>conftest.er1
19447 ac_status=$?
19448 grep -v '^ *+' conftest.er1 >conftest.err
19449 rm -f conftest.er1
19450 cat conftest.err >&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); } &&
19453 { ac_try='test -z "$ac_c_werror_flag"
19454 || test ! -s conftest.err'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19457 ac_status=$?
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; } &&
19460 { ac_try='test -s conftest.$ac_objext'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19463 ac_status=$?
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; }; then
19466 ac_hi=$ac_mid; break
19467 else
19468 echo "$as_me: failed program was:" >&5
19469 sed 's/^/| /' conftest.$ac_ext >&5
19470
19471 ac_lo=`expr $ac_mid + 1`
19472 if test $ac_lo -le $ac_mid; then
19473 ac_lo= ac_hi=
19474 break
19475 fi
19476 ac_mid=`expr 2 '*' $ac_mid + 1`
19477 fi
19478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19479 done
19480 else
19481 echo "$as_me: failed program was:" >&5
19482 sed 's/^/| /' conftest.$ac_ext >&5
19483
19484 cat >conftest.$ac_ext <<_ACEOF
19485 /* confdefs.h. */
19486 _ACEOF
19487 cat confdefs.h >>conftest.$ac_ext
19488 cat >>conftest.$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 $ac_includes_default
19491 int
19492 main ()
19493 {
19494 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19495 test_array [0] = 0
19496
19497 ;
19498 return 0;
19499 }
19500 _ACEOF
19501 rm -f conftest.$ac_objext
19502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19503 (eval $ac_compile) 2>conftest.er1
19504 ac_status=$?
19505 grep -v '^ *+' conftest.er1 >conftest.err
19506 rm -f conftest.er1
19507 cat conftest.err >&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } &&
19510 { ac_try='test -z "$ac_c_werror_flag"
19511 || test ! -s conftest.err'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19514 ac_status=$?
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; } &&
19517 { ac_try='test -s conftest.$ac_objext'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19520 ac_status=$?
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; }; then
19523 ac_hi=-1 ac_mid=-1
19524 while :; do
19525 cat >conftest.$ac_ext <<_ACEOF
19526 /* confdefs.h. */
19527 _ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 $ac_includes_default
19532 int
19533 main ()
19534 {
19535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19536 test_array [0] = 0
19537
19538 ;
19539 return 0;
19540 }
19541 _ACEOF
19542 rm -f conftest.$ac_objext
19543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19544 (eval $ac_compile) 2>conftest.er1
19545 ac_status=$?
19546 grep -v '^ *+' conftest.er1 >conftest.err
19547 rm -f conftest.er1
19548 cat conftest.err >&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); } &&
19551 { ac_try='test -z "$ac_c_werror_flag"
19552 || test ! -s conftest.err'
19553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19554 (eval $ac_try) 2>&5
19555 ac_status=$?
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); }; } &&
19558 { ac_try='test -s conftest.$ac_objext'
19559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19560 (eval $ac_try) 2>&5
19561 ac_status=$?
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); }; }; then
19564 ac_lo=$ac_mid; break
19565 else
19566 echo "$as_me: failed program was:" >&5
19567 sed 's/^/| /' conftest.$ac_ext >&5
19568
19569 ac_hi=`expr '(' $ac_mid ')' - 1`
19570 if test $ac_mid -le $ac_hi; then
19571 ac_lo= ac_hi=
19572 break
19573 fi
19574 ac_mid=`expr 2 '*' $ac_mid`
19575 fi
19576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19577 done
19578 else
19579 echo "$as_me: failed program was:" >&5
19580 sed 's/^/| /' conftest.$ac_ext >&5
19581
19582 ac_lo= ac_hi=
19583 fi
19584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19585 fi
19586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19587 # Binary search between lo and hi bounds.
19588 while test "x$ac_lo" != "x$ac_hi"; do
19589 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19590 cat >conftest.$ac_ext <<_ACEOF
19591 /* confdefs.h. */
19592 _ACEOF
19593 cat confdefs.h >>conftest.$ac_ext
19594 cat >>conftest.$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19597 int
19598 main ()
19599 {
19600 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19601 test_array [0] = 0
19602
19603 ;
19604 return 0;
19605 }
19606 _ACEOF
19607 rm -f conftest.$ac_objext
19608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19609 (eval $ac_compile) 2>conftest.er1
19610 ac_status=$?
19611 grep -v '^ *+' conftest.er1 >conftest.err
19612 rm -f conftest.er1
19613 cat conftest.err >&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); } &&
19616 { ac_try='test -z "$ac_c_werror_flag"
19617 || test ! -s conftest.err'
19618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19619 (eval $ac_try) 2>&5
19620 ac_status=$?
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); }; } &&
19623 { ac_try='test -s conftest.$ac_objext'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19626 ac_status=$?
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; }; then
19629 ac_hi=$ac_mid
19630 else
19631 echo "$as_me: failed program was:" >&5
19632 sed 's/^/| /' conftest.$ac_ext >&5
19633
19634 ac_lo=`expr '(' $ac_mid ')' + 1`
19635 fi
19636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19637 done
19638 case $ac_lo in
19639 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19640 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19641 See \`config.log' for more details." >&5
19642 echo "$as_me: error: cannot compute sizeof (long long), 77
19643 See \`config.log' for more details." >&2;}
19644 { (exit 1); exit 1; }; } ;;
19645 esac
19646 else
19647 if test "$cross_compiling" = yes; then
19648 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19649 See \`config.log' for more details." >&5
19650 echo "$as_me: error: cannot run test program while cross compiling
19651 See \`config.log' for more details." >&2;}
19652 { (exit 1); exit 1; }; }
19653 else
19654 cat >conftest.$ac_ext <<_ACEOF
19655 /* confdefs.h. */
19656 _ACEOF
19657 cat confdefs.h >>conftest.$ac_ext
19658 cat >>conftest.$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19660 $ac_includes_default
19661 long longval () { return (long) (sizeof (long long)); }
19662 unsigned long ulongval () { return (long) (sizeof (long long)); }
19663 #include <stdio.h>
19664 #include <stdlib.h>
19665 int
19666 main ()
19667 {
19668
19669 FILE *f = fopen ("conftest.val", "w");
19670 if (! f)
19671 exit (1);
19672 if (((long) (sizeof (long long))) < 0)
19673 {
19674 long i = longval ();
19675 if (i != ((long) (sizeof (long long))))
19676 exit (1);
19677 fprintf (f, "%ld\n", i);
19678 }
19679 else
19680 {
19681 unsigned long i = ulongval ();
19682 if (i != ((long) (sizeof (long long))))
19683 exit (1);
19684 fprintf (f, "%lu\n", i);
19685 }
19686 exit (ferror (f) || fclose (f) != 0);
19687
19688 ;
19689 return 0;
19690 }
19691 _ACEOF
19692 rm -f conftest$ac_exeext
19693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19694 (eval $ac_link) 2>&5
19695 ac_status=$?
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699 (eval $ac_try) 2>&5
19700 ac_status=$?
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19703 ac_cv_sizeof_long_long=`cat conftest.val`
19704 else
19705 echo "$as_me: program exited with status $ac_status" >&5
19706 echo "$as_me: failed program was:" >&5
19707 sed 's/^/| /' conftest.$ac_ext >&5
19708
19709 ( exit $ac_status )
19710 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19711 See \`config.log' for more details." >&5
19712 echo "$as_me: error: cannot compute sizeof (long long), 77
19713 See \`config.log' for more details." >&2;}
19714 { (exit 1); exit 1; }; }
19715 fi
19716 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19717 fi
19718 fi
19719 rm -f conftest.val
19720 else
19721 ac_cv_sizeof_long_long=0
19722 fi
19723 fi
19724 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19725 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19726 cat >>confdefs.h <<_ACEOF
19727 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19728 _ACEOF
19729
19730
19731 ;;
19732 *-hp-hpux* )
19733 echo "$as_me:$LINENO: checking for long long" >&5
19734 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19735 if test "${ac_cv_type_long_long+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19737 else
19738 cat >conftest.$ac_ext <<_ACEOF
19739 /* confdefs.h. */
19740 _ACEOF
19741 cat confdefs.h >>conftest.$ac_ext
19742 cat >>conftest.$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 $ac_includes_default
19745 int
19746 main ()
19747 {
19748 if ((long long *) 0)
19749 return 0;
19750 if (sizeof (long long))
19751 return 0;
19752 ;
19753 return 0;
19754 }
19755 _ACEOF
19756 rm -f conftest.$ac_objext
19757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19758 (eval $ac_compile) 2>conftest.er1
19759 ac_status=$?
19760 grep -v '^ *+' conftest.er1 >conftest.err
19761 rm -f conftest.er1
19762 cat conftest.err >&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } &&
19765 { ac_try='test -z "$ac_c_werror_flag"
19766 || test ! -s conftest.err'
19767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19768 (eval $ac_try) 2>&5
19769 ac_status=$?
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); }; } &&
19772 { ac_try='test -s conftest.$ac_objext'
19773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19774 (eval $ac_try) 2>&5
19775 ac_status=$?
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); }; }; then
19778 ac_cv_type_long_long=yes
19779 else
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19782
19783 ac_cv_type_long_long=no
19784 fi
19785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19786 fi
19787 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19788 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19789
19790 echo "$as_me:$LINENO: checking size of long long" >&5
19791 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19792 if test "${ac_cv_sizeof_long_long+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 else
19795 if test "$ac_cv_type_long_long" = yes; then
19796 # The cast to unsigned long works around a bug in the HP C Compiler
19797 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19798 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19799 # This bug is HP SR number 8606223364.
19800 if test "$cross_compiling" = yes; then
19801 # Depending upon the size, compute the lo and hi bounds.
19802 cat >conftest.$ac_ext <<_ACEOF
19803 /* confdefs.h. */
19804 _ACEOF
19805 cat confdefs.h >>conftest.$ac_ext
19806 cat >>conftest.$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808 $ac_includes_default
19809 int
19810 main ()
19811 {
19812 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19813 test_array [0] = 0
19814
19815 ;
19816 return 0;
19817 }
19818 _ACEOF
19819 rm -f conftest.$ac_objext
19820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19821 (eval $ac_compile) 2>conftest.er1
19822 ac_status=$?
19823 grep -v '^ *+' conftest.er1 >conftest.err
19824 rm -f conftest.er1
19825 cat conftest.err >&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } &&
19828 { ac_try='test -z "$ac_c_werror_flag"
19829 || test ! -s conftest.err'
19830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19831 (eval $ac_try) 2>&5
19832 ac_status=$?
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); }; } &&
19835 { ac_try='test -s conftest.$ac_objext'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19838 ac_status=$?
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; }; then
19841 ac_lo=0 ac_mid=0
19842 while :; do
19843 cat >conftest.$ac_ext <<_ACEOF
19844 /* confdefs.h. */
19845 _ACEOF
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19849 $ac_includes_default
19850 int
19851 main ()
19852 {
19853 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19854 test_array [0] = 0
19855
19856 ;
19857 return 0;
19858 }
19859 _ACEOF
19860 rm -f conftest.$ac_objext
19861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19862 (eval $ac_compile) 2>conftest.er1
19863 ac_status=$?
19864 grep -v '^ *+' conftest.er1 >conftest.err
19865 rm -f conftest.er1
19866 cat conftest.err >&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); } &&
19869 { ac_try='test -z "$ac_c_werror_flag"
19870 || test ! -s conftest.err'
19871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19872 (eval $ac_try) 2>&5
19873 ac_status=$?
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); }; } &&
19876 { ac_try='test -s conftest.$ac_objext'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19879 ac_status=$?
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; }; then
19882 ac_hi=$ac_mid; break
19883 else
19884 echo "$as_me: failed program was:" >&5
19885 sed 's/^/| /' conftest.$ac_ext >&5
19886
19887 ac_lo=`expr $ac_mid + 1`
19888 if test $ac_lo -le $ac_mid; then
19889 ac_lo= ac_hi=
19890 break
19891 fi
19892 ac_mid=`expr 2 '*' $ac_mid + 1`
19893 fi
19894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19895 done
19896 else
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.$ac_ext >&5
19899
19900 cat >conftest.$ac_ext <<_ACEOF
19901 /* confdefs.h. */
19902 _ACEOF
19903 cat confdefs.h >>conftest.$ac_ext
19904 cat >>conftest.$ac_ext <<_ACEOF
19905 /* end confdefs.h. */
19906 $ac_includes_default
19907 int
19908 main ()
19909 {
19910 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19911 test_array [0] = 0
19912
19913 ;
19914 return 0;
19915 }
19916 _ACEOF
19917 rm -f conftest.$ac_objext
19918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19919 (eval $ac_compile) 2>conftest.er1
19920 ac_status=$?
19921 grep -v '^ *+' conftest.er1 >conftest.err
19922 rm -f conftest.er1
19923 cat conftest.err >&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); } &&
19926 { ac_try='test -z "$ac_c_werror_flag"
19927 || test ! -s conftest.err'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19930 ac_status=$?
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; } &&
19933 { ac_try='test -s conftest.$ac_objext'
19934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935 (eval $ac_try) 2>&5
19936 ac_status=$?
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); }; }; then
19939 ac_hi=-1 ac_mid=-1
19940 while :; do
19941 cat >conftest.$ac_ext <<_ACEOF
19942 /* confdefs.h. */
19943 _ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 $ac_includes_default
19948 int
19949 main ()
19950 {
19951 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19952 test_array [0] = 0
19953
19954 ;
19955 return 0;
19956 }
19957 _ACEOF
19958 rm -f conftest.$ac_objext
19959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19960 (eval $ac_compile) 2>conftest.er1
19961 ac_status=$?
19962 grep -v '^ *+' conftest.er1 >conftest.err
19963 rm -f conftest.er1
19964 cat conftest.err >&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try='test -z "$ac_c_werror_flag"
19968 || test ! -s conftest.err'
19969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19970 (eval $ac_try) 2>&5
19971 ac_status=$?
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); }; } &&
19974 { ac_try='test -s conftest.$ac_objext'
19975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19976 (eval $ac_try) 2>&5
19977 ac_status=$?
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); }; }; then
19980 ac_lo=$ac_mid; break
19981 else
19982 echo "$as_me: failed program was:" >&5
19983 sed 's/^/| /' conftest.$ac_ext >&5
19984
19985 ac_hi=`expr '(' $ac_mid ')' - 1`
19986 if test $ac_mid -le $ac_hi; then
19987 ac_lo= ac_hi=
19988 break
19989 fi
19990 ac_mid=`expr 2 '*' $ac_mid`
19991 fi
19992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19993 done
19994 else
19995 echo "$as_me: failed program was:" >&5
19996 sed 's/^/| /' conftest.$ac_ext >&5
19997
19998 ac_lo= ac_hi=
19999 fi
20000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20001 fi
20002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20003 # Binary search between lo and hi bounds.
20004 while test "x$ac_lo" != "x$ac_hi"; do
20005 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20006 cat >conftest.$ac_ext <<_ACEOF
20007 /* confdefs.h. */
20008 _ACEOF
20009 cat confdefs.h >>conftest.$ac_ext
20010 cat >>conftest.$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20012 $ac_includes_default
20013 int
20014 main ()
20015 {
20016 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20017 test_array [0] = 0
20018
20019 ;
20020 return 0;
20021 }
20022 _ACEOF
20023 rm -f conftest.$ac_objext
20024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20025 (eval $ac_compile) 2>conftest.er1
20026 ac_status=$?
20027 grep -v '^ *+' conftest.er1 >conftest.err
20028 rm -f conftest.er1
20029 cat conftest.err >&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); } &&
20032 { ac_try='test -z "$ac_c_werror_flag"
20033 || test ! -s conftest.err'
20034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20035 (eval $ac_try) 2>&5
20036 ac_status=$?
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); }; } &&
20039 { ac_try='test -s conftest.$ac_objext'
20040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20041 (eval $ac_try) 2>&5
20042 ac_status=$?
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); }; }; then
20045 ac_hi=$ac_mid
20046 else
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20049
20050 ac_lo=`expr '(' $ac_mid ')' + 1`
20051 fi
20052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20053 done
20054 case $ac_lo in
20055 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20056 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20057 See \`config.log' for more details." >&5
20058 echo "$as_me: error: cannot compute sizeof (long long), 77
20059 See \`config.log' for more details." >&2;}
20060 { (exit 1); exit 1; }; } ;;
20061 esac
20062 else
20063 if test "$cross_compiling" = yes; then
20064 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20065 See \`config.log' for more details." >&5
20066 echo "$as_me: error: cannot run test program while cross compiling
20067 See \`config.log' for more details." >&2;}
20068 { (exit 1); exit 1; }; }
20069 else
20070 cat >conftest.$ac_ext <<_ACEOF
20071 /* confdefs.h. */
20072 _ACEOF
20073 cat confdefs.h >>conftest.$ac_ext
20074 cat >>conftest.$ac_ext <<_ACEOF
20075 /* end confdefs.h. */
20076 $ac_includes_default
20077 long longval () { return (long) (sizeof (long long)); }
20078 unsigned long ulongval () { return (long) (sizeof (long long)); }
20079 #include <stdio.h>
20080 #include <stdlib.h>
20081 int
20082 main ()
20083 {
20084
20085 FILE *f = fopen ("conftest.val", "w");
20086 if (! f)
20087 exit (1);
20088 if (((long) (sizeof (long long))) < 0)
20089 {
20090 long i = longval ();
20091 if (i != ((long) (sizeof (long long))))
20092 exit (1);
20093 fprintf (f, "%ld\n", i);
20094 }
20095 else
20096 {
20097 unsigned long i = ulongval ();
20098 if (i != ((long) (sizeof (long long))))
20099 exit (1);
20100 fprintf (f, "%lu\n", i);
20101 }
20102 exit (ferror (f) || fclose (f) != 0);
20103
20104 ;
20105 return 0;
20106 }
20107 _ACEOF
20108 rm -f conftest$ac_exeext
20109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20110 (eval $ac_link) 2>&5
20111 ac_status=$?
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20116 ac_status=$?
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; }; then
20119 ac_cv_sizeof_long_long=`cat conftest.val`
20120 else
20121 echo "$as_me: program exited with status $ac_status" >&5
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.$ac_ext >&5
20124
20125 ( exit $ac_status )
20126 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20127 See \`config.log' for more details." >&5
20128 echo "$as_me: error: cannot compute sizeof (long long), 77
20129 See \`config.log' for more details." >&2;}
20130 { (exit 1); exit 1; }; }
20131 fi
20132 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20133 fi
20134 fi
20135 rm -f conftest.val
20136 else
20137 ac_cv_sizeof_long_long=0
20138 fi
20139 fi
20140 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20141 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20142 cat >>confdefs.h <<_ACEOF
20143 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20144 _ACEOF
20145
20146
20147 if test "$ac_cv_sizeof_long_long" != "0"; then
20148 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20149 fi
20150 ;;
20151 * )
20152 echo "$as_me:$LINENO: checking for long long" >&5
20153 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20154 if test "${ac_cv_type_long_long+set}" = set; then
20155 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 else
20157 cat >conftest.$ac_ext <<_ACEOF
20158 /* confdefs.h. */
20159 _ACEOF
20160 cat confdefs.h >>conftest.$ac_ext
20161 cat >>conftest.$ac_ext <<_ACEOF
20162 /* end confdefs.h. */
20163 $ac_includes_default
20164 int
20165 main ()
20166 {
20167 if ((long long *) 0)
20168 return 0;
20169 if (sizeof (long long))
20170 return 0;
20171 ;
20172 return 0;
20173 }
20174 _ACEOF
20175 rm -f conftest.$ac_objext
20176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20177 (eval $ac_compile) 2>conftest.er1
20178 ac_status=$?
20179 grep -v '^ *+' conftest.er1 >conftest.err
20180 rm -f conftest.er1
20181 cat conftest.err >&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } &&
20184 { ac_try='test -z "$ac_c_werror_flag"
20185 || test ! -s conftest.err'
20186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187 (eval $ac_try) 2>&5
20188 ac_status=$?
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; } &&
20191 { ac_try='test -s conftest.$ac_objext'
20192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20193 (eval $ac_try) 2>&5
20194 ac_status=$?
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); }; }; then
20197 ac_cv_type_long_long=yes
20198 else
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.$ac_ext >&5
20201
20202 ac_cv_type_long_long=no
20203 fi
20204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20205 fi
20206 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20207 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20208
20209 echo "$as_me:$LINENO: checking size of long long" >&5
20210 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20211 if test "${ac_cv_sizeof_long_long+set}" = set; then
20212 echo $ECHO_N "(cached) $ECHO_C" >&6
20213 else
20214 if test "$ac_cv_type_long_long" = yes; then
20215 # The cast to unsigned long works around a bug in the HP C Compiler
20216 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20217 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20218 # This bug is HP SR number 8606223364.
20219 if test "$cross_compiling" = yes; then
20220 # Depending upon the size, compute the lo and hi bounds.
20221 cat >conftest.$ac_ext <<_ACEOF
20222 /* confdefs.h. */
20223 _ACEOF
20224 cat confdefs.h >>conftest.$ac_ext
20225 cat >>conftest.$ac_ext <<_ACEOF
20226 /* end confdefs.h. */
20227 $ac_includes_default
20228 int
20229 main ()
20230 {
20231 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20232 test_array [0] = 0
20233
20234 ;
20235 return 0;
20236 }
20237 _ACEOF
20238 rm -f conftest.$ac_objext
20239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20240 (eval $ac_compile) 2>conftest.er1
20241 ac_status=$?
20242 grep -v '^ *+' conftest.er1 >conftest.err
20243 rm -f conftest.er1
20244 cat conftest.err >&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); } &&
20247 { ac_try='test -z "$ac_c_werror_flag"
20248 || test ! -s conftest.err'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20251 ac_status=$?
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; } &&
20254 { ac_try='test -s conftest.$ac_objext'
20255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20256 (eval $ac_try) 2>&5
20257 ac_status=$?
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); }; }; then
20260 ac_lo=0 ac_mid=0
20261 while :; do
20262 cat >conftest.$ac_ext <<_ACEOF
20263 /* confdefs.h. */
20264 _ACEOF
20265 cat confdefs.h >>conftest.$ac_ext
20266 cat >>conftest.$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 $ac_includes_default
20269 int
20270 main ()
20271 {
20272 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20273 test_array [0] = 0
20274
20275 ;
20276 return 0;
20277 }
20278 _ACEOF
20279 rm -f conftest.$ac_objext
20280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20281 (eval $ac_compile) 2>conftest.er1
20282 ac_status=$?
20283 grep -v '^ *+' conftest.er1 >conftest.err
20284 rm -f conftest.er1
20285 cat conftest.err >&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); } &&
20288 { ac_try='test -z "$ac_c_werror_flag"
20289 || test ! -s conftest.err'
20290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20291 (eval $ac_try) 2>&5
20292 ac_status=$?
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); }; } &&
20295 { ac_try='test -s conftest.$ac_objext'
20296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20297 (eval $ac_try) 2>&5
20298 ac_status=$?
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); }; }; then
20301 ac_hi=$ac_mid; break
20302 else
20303 echo "$as_me: failed program was:" >&5
20304 sed 's/^/| /' conftest.$ac_ext >&5
20305
20306 ac_lo=`expr $ac_mid + 1`
20307 if test $ac_lo -le $ac_mid; then
20308 ac_lo= ac_hi=
20309 break
20310 fi
20311 ac_mid=`expr 2 '*' $ac_mid + 1`
20312 fi
20313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20314 done
20315 else
20316 echo "$as_me: failed program was:" >&5
20317 sed 's/^/| /' conftest.$ac_ext >&5
20318
20319 cat >conftest.$ac_ext <<_ACEOF
20320 /* confdefs.h. */
20321 _ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 $ac_includes_default
20326 int
20327 main ()
20328 {
20329 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20330 test_array [0] = 0
20331
20332 ;
20333 return 0;
20334 }
20335 _ACEOF
20336 rm -f conftest.$ac_objext
20337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20338 (eval $ac_compile) 2>conftest.er1
20339 ac_status=$?
20340 grep -v '^ *+' conftest.er1 >conftest.err
20341 rm -f conftest.er1
20342 cat conftest.err >&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); } &&
20345 { ac_try='test -z "$ac_c_werror_flag"
20346 || test ! -s conftest.err'
20347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20348 (eval $ac_try) 2>&5
20349 ac_status=$?
20350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351 (exit $ac_status); }; } &&
20352 { ac_try='test -s conftest.$ac_objext'
20353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20354 (eval $ac_try) 2>&5
20355 ac_status=$?
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); }; }; then
20358 ac_hi=-1 ac_mid=-1
20359 while :; do
20360 cat >conftest.$ac_ext <<_ACEOF
20361 /* confdefs.h. */
20362 _ACEOF
20363 cat confdefs.h >>conftest.$ac_ext
20364 cat >>conftest.$ac_ext <<_ACEOF
20365 /* end confdefs.h. */
20366 $ac_includes_default
20367 int
20368 main ()
20369 {
20370 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20371 test_array [0] = 0
20372
20373 ;
20374 return 0;
20375 }
20376 _ACEOF
20377 rm -f conftest.$ac_objext
20378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20379 (eval $ac_compile) 2>conftest.er1
20380 ac_status=$?
20381 grep -v '^ *+' conftest.er1 >conftest.err
20382 rm -f conftest.er1
20383 cat conftest.err >&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); } &&
20386 { ac_try='test -z "$ac_c_werror_flag"
20387 || test ! -s conftest.err'
20388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20389 (eval $ac_try) 2>&5
20390 ac_status=$?
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); }; } &&
20393 { ac_try='test -s conftest.$ac_objext'
20394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20395 (eval $ac_try) 2>&5
20396 ac_status=$?
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); }; }; then
20399 ac_lo=$ac_mid; break
20400 else
20401 echo "$as_me: failed program was:" >&5
20402 sed 's/^/| /' conftest.$ac_ext >&5
20403
20404 ac_hi=`expr '(' $ac_mid ')' - 1`
20405 if test $ac_mid -le $ac_hi; then
20406 ac_lo= ac_hi=
20407 break
20408 fi
20409 ac_mid=`expr 2 '*' $ac_mid`
20410 fi
20411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20412 done
20413 else
20414 echo "$as_me: failed program was:" >&5
20415 sed 's/^/| /' conftest.$ac_ext >&5
20416
20417 ac_lo= ac_hi=
20418 fi
20419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20420 fi
20421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20422 # Binary search between lo and hi bounds.
20423 while test "x$ac_lo" != "x$ac_hi"; do
20424 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20425 cat >conftest.$ac_ext <<_ACEOF
20426 /* confdefs.h. */
20427 _ACEOF
20428 cat confdefs.h >>conftest.$ac_ext
20429 cat >>conftest.$ac_ext <<_ACEOF
20430 /* end confdefs.h. */
20431 $ac_includes_default
20432 int
20433 main ()
20434 {
20435 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20436 test_array [0] = 0
20437
20438 ;
20439 return 0;
20440 }
20441 _ACEOF
20442 rm -f conftest.$ac_objext
20443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20444 (eval $ac_compile) 2>conftest.er1
20445 ac_status=$?
20446 grep -v '^ *+' conftest.er1 >conftest.err
20447 rm -f conftest.er1
20448 cat conftest.err >&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } &&
20451 { ac_try='test -z "$ac_c_werror_flag"
20452 || test ! -s conftest.err'
20453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20454 (eval $ac_try) 2>&5
20455 ac_status=$?
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); }; } &&
20458 { ac_try='test -s conftest.$ac_objext'
20459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460 (eval $ac_try) 2>&5
20461 ac_status=$?
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); }; }; then
20464 ac_hi=$ac_mid
20465 else
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.$ac_ext >&5
20468
20469 ac_lo=`expr '(' $ac_mid ')' + 1`
20470 fi
20471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20472 done
20473 case $ac_lo in
20474 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20475 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20476 See \`config.log' for more details." >&5
20477 echo "$as_me: error: cannot compute sizeof (long long), 77
20478 See \`config.log' for more details." >&2;}
20479 { (exit 1); exit 1; }; } ;;
20480 esac
20481 else
20482 if test "$cross_compiling" = yes; then
20483 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20484 See \`config.log' for more details." >&5
20485 echo "$as_me: error: cannot run test program while cross compiling
20486 See \`config.log' for more details." >&2;}
20487 { (exit 1); exit 1; }; }
20488 else
20489 cat >conftest.$ac_ext <<_ACEOF
20490 /* confdefs.h. */
20491 _ACEOF
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 $ac_includes_default
20496 long longval () { return (long) (sizeof (long long)); }
20497 unsigned long ulongval () { return (long) (sizeof (long long)); }
20498 #include <stdio.h>
20499 #include <stdlib.h>
20500 int
20501 main ()
20502 {
20503
20504 FILE *f = fopen ("conftest.val", "w");
20505 if (! f)
20506 exit (1);
20507 if (((long) (sizeof (long long))) < 0)
20508 {
20509 long i = longval ();
20510 if (i != ((long) (sizeof (long long))))
20511 exit (1);
20512 fprintf (f, "%ld\n", i);
20513 }
20514 else
20515 {
20516 unsigned long i = ulongval ();
20517 if (i != ((long) (sizeof (long long))))
20518 exit (1);
20519 fprintf (f, "%lu\n", i);
20520 }
20521 exit (ferror (f) || fclose (f) != 0);
20522
20523 ;
20524 return 0;
20525 }
20526 _ACEOF
20527 rm -f conftest$ac_exeext
20528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20529 (eval $ac_link) 2>&5
20530 ac_status=$?
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20534 (eval $ac_try) 2>&5
20535 ac_status=$?
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); }; }; then
20538 ac_cv_sizeof_long_long=`cat conftest.val`
20539 else
20540 echo "$as_me: program exited with status $ac_status" >&5
20541 echo "$as_me: failed program was:" >&5
20542 sed 's/^/| /' conftest.$ac_ext >&5
20543
20544 ( exit $ac_status )
20545 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20546 See \`config.log' for more details." >&5
20547 echo "$as_me: error: cannot compute sizeof (long long), 77
20548 See \`config.log' for more details." >&2;}
20549 { (exit 1); exit 1; }; }
20550 fi
20551 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20552 fi
20553 fi
20554 rm -f conftest.val
20555 else
20556 ac_cv_sizeof_long_long=0
20557 fi
20558 fi
20559 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20560 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20561 cat >>confdefs.h <<_ACEOF
20562 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20563 _ACEOF
20564
20565
20566 esac
20567
20568 echo "$as_me:$LINENO: checking for wchar_t" >&5
20569 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20570 if test "${ac_cv_type_wchar_t+set}" = set; then
20571 echo $ECHO_N "(cached) $ECHO_C" >&6
20572 else
20573 cat >conftest.$ac_ext <<_ACEOF
20574 /* confdefs.h. */
20575 _ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20579
20580 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20581 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20582 # error "fake wchar_t"
20583 #endif
20584 #ifdef HAVE_WCHAR_H
20585 # ifdef __CYGWIN__
20586 # include <stddef.h>
20587 # endif
20588 # include <wchar.h>
20589 #endif
20590 #ifdef HAVE_STDLIB_H
20591 # include <stdlib.h>
20592 #endif
20593 #include <stdio.h>
20594
20595
20596
20597 int
20598 main ()
20599 {
20600 if ((wchar_t *) 0)
20601 return 0;
20602 if (sizeof (wchar_t))
20603 return 0;
20604 ;
20605 return 0;
20606 }
20607 _ACEOF
20608 rm -f conftest.$ac_objext
20609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20610 (eval $ac_compile) 2>conftest.er1
20611 ac_status=$?
20612 grep -v '^ *+' conftest.er1 >conftest.err
20613 rm -f conftest.er1
20614 cat conftest.err >&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); } &&
20617 { ac_try='test -z "$ac_c_werror_flag"
20618 || test ! -s conftest.err'
20619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 (eval $ac_try) 2>&5
20621 ac_status=$?
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; } &&
20624 { ac_try='test -s conftest.$ac_objext'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20627 ac_status=$?
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; }; then
20630 ac_cv_type_wchar_t=yes
20631 else
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.$ac_ext >&5
20634
20635 ac_cv_type_wchar_t=no
20636 fi
20637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20638 fi
20639 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20640 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20641
20642 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20643 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20644 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20645 echo $ECHO_N "(cached) $ECHO_C" >&6
20646 else
20647 if test "$ac_cv_type_wchar_t" = yes; then
20648 # The cast to unsigned long works around a bug in the HP C Compiler
20649 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20650 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20651 # This bug is HP SR number 8606223364.
20652 if test "$cross_compiling" = yes; then
20653 # Depending upon the size, compute the lo and hi bounds.
20654 cat >conftest.$ac_ext <<_ACEOF
20655 /* confdefs.h. */
20656 _ACEOF
20657 cat confdefs.h >>conftest.$ac_ext
20658 cat >>conftest.$ac_ext <<_ACEOF
20659 /* end confdefs.h. */
20660
20661 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20662 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20663 # error "fake wchar_t"
20664 #endif
20665 #ifdef HAVE_WCHAR_H
20666 # ifdef __CYGWIN__
20667 # include <stddef.h>
20668 # endif
20669 # include <wchar.h>
20670 #endif
20671 #ifdef HAVE_STDLIB_H
20672 # include <stdlib.h>
20673 #endif
20674 #include <stdio.h>
20675
20676
20677
20678 int
20679 main ()
20680 {
20681 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20682 test_array [0] = 0
20683
20684 ;
20685 return 0;
20686 }
20687 _ACEOF
20688 rm -f conftest.$ac_objext
20689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20690 (eval $ac_compile) 2>conftest.er1
20691 ac_status=$?
20692 grep -v '^ *+' conftest.er1 >conftest.err
20693 rm -f conftest.er1
20694 cat conftest.err >&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } &&
20697 { ac_try='test -z "$ac_c_werror_flag"
20698 || test ! -s conftest.err'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20701 ac_status=$?
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try='test -s conftest.$ac_objext'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20707 ac_status=$?
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; }; then
20710 ac_lo=0 ac_mid=0
20711 while :; do
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))) <= $ac_mid)];
20740 test_array [0] = 0
20741
20742 ;
20743 return 0;
20744 }
20745 _ACEOF
20746 rm -f conftest.$ac_objext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>conftest.er1
20749 ac_status=$?
20750 grep -v '^ *+' conftest.er1 >conftest.err
20751 rm -f conftest.er1
20752 cat conftest.err >&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try='test -z "$ac_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_hi=$ac_mid; break
20769 else
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.$ac_ext >&5
20772
20773 ac_lo=`expr $ac_mid + 1`
20774 if test $ac_lo -le $ac_mid; then
20775 ac_lo= ac_hi=
20776 break
20777 fi
20778 ac_mid=`expr 2 '*' $ac_mid + 1`
20779 fi
20780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20781 done
20782 else
20783 echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.$ac_ext >&5
20785
20786 cat >conftest.$ac_ext <<_ACEOF
20787 /* confdefs.h. */
20788 _ACEOF
20789 cat confdefs.h >>conftest.$ac_ext
20790 cat >>conftest.$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20792
20793 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20794 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20795 # error "fake wchar_t"
20796 #endif
20797 #ifdef HAVE_WCHAR_H
20798 # ifdef __CYGWIN__
20799 # include <stddef.h>
20800 # endif
20801 # include <wchar.h>
20802 #endif
20803 #ifdef HAVE_STDLIB_H
20804 # include <stdlib.h>
20805 #endif
20806 #include <stdio.h>
20807
20808
20809
20810 int
20811 main ()
20812 {
20813 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20814 test_array [0] = 0
20815
20816 ;
20817 return 0;
20818 }
20819 _ACEOF
20820 rm -f conftest.$ac_objext
20821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20822 (eval $ac_compile) 2>conftest.er1
20823 ac_status=$?
20824 grep -v '^ *+' conftest.er1 >conftest.err
20825 rm -f conftest.er1
20826 cat conftest.err >&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); } &&
20829 { ac_try='test -z "$ac_c_werror_flag"
20830 || test ! -s conftest.err'
20831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20832 (eval $ac_try) 2>&5
20833 ac_status=$?
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); }; } &&
20836 { ac_try='test -s conftest.$ac_objext'
20837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20838 (eval $ac_try) 2>&5
20839 ac_status=$?
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); }; }; then
20842 ac_hi=-1 ac_mid=-1
20843 while :; do
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))) >= $ac_mid)];
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_lo=$ac_mid; break
20901 else
20902 echo "$as_me: failed program was:" >&5
20903 sed 's/^/| /' conftest.$ac_ext >&5
20904
20905 ac_hi=`expr '(' $ac_mid ')' - 1`
20906 if test $ac_mid -le $ac_hi; then
20907 ac_lo= ac_hi=
20908 break
20909 fi
20910 ac_mid=`expr 2 '*' $ac_mid`
20911 fi
20912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20913 done
20914 else
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.$ac_ext >&5
20917
20918 ac_lo= ac_hi=
20919 fi
20920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20921 fi
20922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20923 # Binary search between lo and hi bounds.
20924 while test "x$ac_lo" != "x$ac_hi"; do
20925 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20926 cat >conftest.$ac_ext <<_ACEOF
20927 /* confdefs.h. */
20928 _ACEOF
20929 cat confdefs.h >>conftest.$ac_ext
20930 cat >>conftest.$ac_ext <<_ACEOF
20931 /* end confdefs.h. */
20932
20933 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20934 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20935 # error "fake wchar_t"
20936 #endif
20937 #ifdef HAVE_WCHAR_H
20938 # ifdef __CYGWIN__
20939 # include <stddef.h>
20940 # endif
20941 # include <wchar.h>
20942 #endif
20943 #ifdef HAVE_STDLIB_H
20944 # include <stdlib.h>
20945 #endif
20946 #include <stdio.h>
20947
20948
20949
20950 int
20951 main ()
20952 {
20953 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20954 test_array [0] = 0
20955
20956 ;
20957 return 0;
20958 }
20959 _ACEOF
20960 rm -f conftest.$ac_objext
20961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20962 (eval $ac_compile) 2>conftest.er1
20963 ac_status=$?
20964 grep -v '^ *+' conftest.er1 >conftest.err
20965 rm -f conftest.er1
20966 cat conftest.err >&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); } &&
20969 { ac_try='test -z "$ac_c_werror_flag"
20970 || test ! -s conftest.err'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20973 ac_status=$?
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; } &&
20976 { ac_try='test -s conftest.$ac_objext'
20977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20978 (eval $ac_try) 2>&5
20979 ac_status=$?
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); }; }; then
20982 ac_hi=$ac_mid
20983 else
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20986
20987 ac_lo=`expr '(' $ac_mid ')' + 1`
20988 fi
20989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20990 done
20991 case $ac_lo in
20992 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
20993 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20994 See \`config.log' for more details." >&5
20995 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20996 See \`config.log' for more details." >&2;}
20997 { (exit 1); exit 1; }; } ;;
20998 esac
20999 else
21000 if test "$cross_compiling" = yes; then
21001 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21002 See \`config.log' for more details." >&5
21003 echo "$as_me: error: cannot run test program while cross compiling
21004 See \`config.log' for more details." >&2;}
21005 { (exit 1); exit 1; }; }
21006 else
21007 cat >conftest.$ac_ext <<_ACEOF
21008 /* confdefs.h. */
21009 _ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013
21014 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21015 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21016 # error "fake wchar_t"
21017 #endif
21018 #ifdef HAVE_WCHAR_H
21019 # ifdef __CYGWIN__
21020 # include <stddef.h>
21021 # endif
21022 # include <wchar.h>
21023 #endif
21024 #ifdef HAVE_STDLIB_H
21025 # include <stdlib.h>
21026 #endif
21027 #include <stdio.h>
21028
21029
21030
21031 long longval () { return (long) (sizeof (wchar_t)); }
21032 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21033 #include <stdio.h>
21034 #include <stdlib.h>
21035 int
21036 main ()
21037 {
21038
21039 FILE *f = fopen ("conftest.val", "w");
21040 if (! f)
21041 exit (1);
21042 if (((long) (sizeof (wchar_t))) < 0)
21043 {
21044 long i = longval ();
21045 if (i != ((long) (sizeof (wchar_t))))
21046 exit (1);
21047 fprintf (f, "%ld\n", i);
21048 }
21049 else
21050 {
21051 unsigned long i = ulongval ();
21052 if (i != ((long) (sizeof (wchar_t))))
21053 exit (1);
21054 fprintf (f, "%lu\n", i);
21055 }
21056 exit (ferror (f) || fclose (f) != 0);
21057
21058 ;
21059 return 0;
21060 }
21061 _ACEOF
21062 rm -f conftest$ac_exeext
21063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21064 (eval $ac_link) 2>&5
21065 ac_status=$?
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21069 (eval $ac_try) 2>&5
21070 ac_status=$?
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); }; }; then
21073 ac_cv_sizeof_wchar_t=`cat conftest.val`
21074 else
21075 echo "$as_me: program exited with status $ac_status" >&5
21076 echo "$as_me: failed program was:" >&5
21077 sed 's/^/| /' conftest.$ac_ext >&5
21078
21079 ( exit $ac_status )
21080 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21081 See \`config.log' for more details." >&5
21082 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21083 See \`config.log' for more details." >&2;}
21084 { (exit 1); exit 1; }; }
21085 fi
21086 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21087 fi
21088 fi
21089 rm -f conftest.val
21090 else
21091 ac_cv_sizeof_wchar_t=0
21092 fi
21093 fi
21094 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21095 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21096 cat >>confdefs.h <<_ACEOF
21097 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21098 _ACEOF
21099
21100
21101 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21102 wxUSE_WCHAR_T=yes
21103 else
21104 wxUSE_WCHAR_T=no
21105 fi
21106
21107 echo "$as_me:$LINENO: checking for va_copy" >&5
21108 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21109 if test "${wx_cv_func_va_copy+set}" = set; then
21110 echo $ECHO_N "(cached) $ECHO_C" >&6
21111 else
21112
21113 cat >conftest.$ac_ext <<_ACEOF
21114
21115 #include <stdarg.h>
21116 void foo(char *f, ...)
21117 {
21118 va_list ap1, ap2;
21119 va_start(ap1, f);
21120 va_copy(ap2, ap1);
21121 va_end(ap2);
21122 va_end(ap1);
21123 }
21124 int main()
21125 {
21126 foo("hi", 17);
21127 return 0;
21128 }
21129 _ACEOF
21130 rm -f conftest.$ac_objext conftest$ac_exeext
21131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21132 (eval $ac_link) 2>conftest.er1
21133 ac_status=$?
21134 grep -v '^ *+' conftest.er1 >conftest.err
21135 rm -f conftest.er1
21136 cat conftest.err >&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } &&
21139 { ac_try='test -z "$ac_c_werror_flag"
21140 || test ! -s conftest.err'
21141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21142 (eval $ac_try) 2>&5
21143 ac_status=$?
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); }; } &&
21146 { ac_try='test -s conftest$ac_exeext'
21147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21148 (eval $ac_try) 2>&5
21149 ac_status=$?
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); }; }; then
21152 wx_cv_func_va_copy=yes
21153 else
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.$ac_ext >&5
21156
21157 wx_cv_func_va_copy=no
21158
21159 fi
21160 rm -f conftest.err conftest.$ac_objext \
21161 conftest$ac_exeext conftest.$ac_ext
21162
21163
21164 fi
21165 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21166 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21167
21168 if test $wx_cv_func_va_copy = "yes"; then
21169 cat >>confdefs.h <<\_ACEOF
21170 #define HAVE_VA_COPY 1
21171 _ACEOF
21172
21173 else
21174 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21175 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21176 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21177 echo $ECHO_N "(cached) $ECHO_C" >&6
21178 else
21179
21180 if test "$cross_compiling" = yes; then
21181 wx_cv_type_va_list_lvalue=yes
21182
21183 else
21184 cat >conftest.$ac_ext <<_ACEOF
21185
21186 #include <stdarg.h>
21187 int foo(char *f, ...)
21188 {
21189 va_list ap1, ap2;
21190 va_start(ap1, f);
21191 ap2 = ap1;
21192 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21193 return 1;
21194 va_end(ap2);
21195 va_end(ap1);
21196 return 0;
21197 }
21198 int main()
21199 {
21200 return foo("hi", 17);
21201 }
21202 _ACEOF
21203 rm -f conftest$ac_exeext
21204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21205 (eval $ac_link) 2>&5
21206 ac_status=$?
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21211 ac_status=$?
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; }; then
21214 wx_cv_type_va_list_lvalue=yes
21215 else
21216 echo "$as_me: program exited with status $ac_status" >&5
21217 echo "$as_me: failed program was:" >&5
21218 sed 's/^/| /' conftest.$ac_ext >&5
21219
21220 ( exit $ac_status )
21221 wx_cv_type_va_list_lvalue=no
21222 fi
21223 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21224 fi
21225
21226
21227 fi
21228 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21229 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21230
21231 if test $wx_cv_type_va_list_lvalue != "yes"; then
21232 cat >>confdefs.h <<\_ACEOF
21233 #define VA_LIST_IS_ARRAY 1
21234 _ACEOF
21235
21236 fi
21237 fi
21238
21239 if test "$wxUSE_VARARG_MACROS" = "yes"; then
21240
21241 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21242 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21243 if test "${wx_cv_have_variadic_macros+set}" = set; then
21244 echo $ECHO_N "(cached) $ECHO_C" >&6
21245 else
21246
21247 ac_ext=cc
21248 ac_cpp='$CXXCPP $CPPFLAGS'
21249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21252
21253 cat >conftest.$ac_ext <<_ACEOF
21254 /* confdefs.h. */
21255 _ACEOF
21256 cat confdefs.h >>conftest.$ac_ext
21257 cat >>conftest.$ac_ext <<_ACEOF
21258 /* end confdefs.h. */
21259
21260 #include <stdio.h>
21261 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21262
21263 int
21264 main ()
21265 {
21266
21267 test("%s %d %p", "test", 1, 0);
21268
21269
21270 ;
21271 return 0;
21272 }
21273 _ACEOF
21274 rm -f conftest.$ac_objext
21275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21276 (eval $ac_compile) 2>conftest.er1
21277 ac_status=$?
21278 grep -v '^ *+' conftest.er1 >conftest.err
21279 rm -f conftest.er1
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } &&
21283 { ac_try='test -z "$ac_cxx_werror_flag"
21284 || test ! -s conftest.err'
21285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21286 (eval $ac_try) 2>&5
21287 ac_status=$?
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); }; } &&
21290 { ac_try='test -s conftest.$ac_objext'
21291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21292 (eval $ac_try) 2>&5
21293 ac_status=$?
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); }; }; then
21296 wx_cv_have_variadic_macros=yes
21297 else
21298 echo "$as_me: failed program was:" >&5
21299 sed 's/^/| /' conftest.$ac_ext >&5
21300
21301 wx_cv_have_variadic_macros=no
21302
21303 fi
21304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21305 ac_ext=c
21306 ac_cpp='$CPP $CPPFLAGS'
21307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21310
21311
21312
21313 fi
21314 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21315 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21316
21317 if test $wx_cv_have_variadic_macros = "yes"; then
21318 cat >>confdefs.h <<\_ACEOF
21319 #define HAVE_VARIADIC_MACROS 1
21320 _ACEOF
21321
21322 fi
21323
21324 fi
21325 # Check whether --enable-largefile or --disable-largefile was given.
21326 if test "${enable_largefile+set}" = set; then
21327 enableval="$enable_largefile"
21328
21329 fi;
21330 if test "$enable_largefile" != no; then
21331 wx_largefile=no
21332
21333 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21334 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21335 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21336 echo $ECHO_N "(cached) $ECHO_C" >&6
21337 else
21338
21339 cat >conftest.$ac_ext <<_ACEOF
21340 /* confdefs.h. */
21341 _ACEOF
21342 cat confdefs.h >>conftest.$ac_ext
21343 cat >>conftest.$ac_ext <<_ACEOF
21344 /* end confdefs.h. */
21345 #define _FILE_OFFSET_BITS 64
21346 #include <sys/types.h>
21347 int
21348 main ()
21349 {
21350 typedef struct {
21351 unsigned int field: sizeof(off_t) == 8;
21352 } wxlf;
21353
21354 ;
21355 return 0;
21356 }
21357 _ACEOF
21358 rm -f conftest.$ac_objext
21359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21360 (eval $ac_compile) 2>conftest.er1
21361 ac_status=$?
21362 grep -v '^ *+' conftest.er1 >conftest.err
21363 rm -f conftest.er1
21364 cat conftest.err >&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } &&
21367 { ac_try='test -z "$ac_c_werror_flag"
21368 || test ! -s conftest.err'
21369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21370 (eval $ac_try) 2>&5
21371 ac_status=$?
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; } &&
21374 { ac_try='test -s conftest.$ac_objext'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21377 ac_status=$?
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; }; then
21380 ac_cv_sys_file_offset_bits=64
21381 else
21382 echo "$as_me: failed program was:" >&5
21383 sed 's/^/| /' conftest.$ac_ext >&5
21384
21385 ac_cv_sys_file_offset_bits=no
21386 fi
21387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21388
21389
21390 fi
21391 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21392 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21393
21394 if test "$ac_cv_sys_file_offset_bits" != no; then
21395 wx_largefile=yes
21396 cat >>confdefs.h <<_ACEOF
21397 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21398 _ACEOF
21399
21400 fi
21401
21402 if test "x$wx_largefile" != "xyes"; then
21403
21404 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21405 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21406 if test "${ac_cv_sys_large_files+set}" = set; then
21407 echo $ECHO_N "(cached) $ECHO_C" >&6
21408 else
21409
21410 cat >conftest.$ac_ext <<_ACEOF
21411 /* confdefs.h. */
21412 _ACEOF
21413 cat confdefs.h >>conftest.$ac_ext
21414 cat >>conftest.$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 #define _LARGE_FILES 1
21417 #include <sys/types.h>
21418 int
21419 main ()
21420 {
21421 typedef struct {
21422 unsigned int field: sizeof(off_t) == 8;
21423 } wxlf;
21424
21425 ;
21426 return 0;
21427 }
21428 _ACEOF
21429 rm -f conftest.$ac_objext
21430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21431 (eval $ac_compile) 2>conftest.er1
21432 ac_status=$?
21433 grep -v '^ *+' conftest.er1 >conftest.err
21434 rm -f conftest.er1
21435 cat conftest.err >&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try='test -z "$ac_c_werror_flag"
21439 || test ! -s conftest.err'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21442 ac_status=$?
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; } &&
21445 { ac_try='test -s conftest.$ac_objext'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21448 ac_status=$?
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; }; then
21451 ac_cv_sys_large_files=1
21452 else
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.$ac_ext >&5
21455
21456 ac_cv_sys_large_files=no
21457 fi
21458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21459
21460
21461 fi
21462 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21463 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21464
21465 if test "$ac_cv_sys_large_files" != no; then
21466 wx_largefile=yes
21467 cat >>confdefs.h <<_ACEOF
21468 #define _LARGE_FILES $ac_cv_sys_large_files
21469 _ACEOF
21470
21471 fi
21472
21473 fi
21474
21475 echo "$as_me:$LINENO: checking if large file support is available" >&5
21476 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21477 if test "x$wx_largefile" = "xyes"; then
21478 cat >>confdefs.h <<\_ACEOF
21479 #define HAVE_LARGEFILE_SUPPORT 1
21480 _ACEOF
21481
21482 fi
21483 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21484 echo "${ECHO_T}$wx_largefile" >&6
21485 fi
21486
21487
21488 if test "x$wx_largefile" = "xyes"; then
21489 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21490 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21491
21492 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21493 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21494 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21495 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21496 echo $ECHO_N "(cached) $ECHO_C" >&6
21497 else
21498
21499 ac_ext=cc
21500 ac_cpp='$CXXCPP $CPPFLAGS'
21501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21504
21505 cat >conftest.$ac_ext <<_ACEOF
21506 /* confdefs.h. */
21507 _ACEOF
21508 cat confdefs.h >>conftest.$ac_ext
21509 cat >>conftest.$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21511
21512 int
21513 main ()
21514 {
21515
21516 #ifndef __STDC_EXT__
21517 choke me
21518 #endif
21519
21520 ;
21521 return 0;
21522 }
21523 _ACEOF
21524 rm -f conftest.$ac_objext
21525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21526 (eval $ac_compile) 2>conftest.er1
21527 ac_status=$?
21528 grep -v '^ *+' conftest.er1 >conftest.err
21529 rm -f conftest.er1
21530 cat conftest.err >&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); } &&
21533 { ac_try='test -z "$ac_cxx_werror_flag"
21534 || test ! -s conftest.err'
21535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21536 (eval $ac_try) 2>&5
21537 ac_status=$?
21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539 (exit $ac_status); }; } &&
21540 { ac_try='test -s conftest.$ac_objext'
21541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21542 (eval $ac_try) 2>&5
21543 ac_status=$?
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); }; }; then
21546 wx_cv_STDC_EXT_required=no
21547 else
21548 echo "$as_me: failed program was:" >&5
21549 sed 's/^/| /' conftest.$ac_ext >&5
21550
21551 wx_cv_STDC_EXT_required=yes
21552
21553 fi
21554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21555 ac_ext=c
21556 ac_cpp='$CPP $CPPFLAGS'
21557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21560
21561
21562
21563 fi
21564 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21565 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21566 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21567 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21568 fi
21569 fi
21570 else
21571 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21572 fi
21573 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21574 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21575 if test "${ac_cv_sys_largefile_source+set}" = set; then
21576 echo $ECHO_N "(cached) $ECHO_C" >&6
21577 else
21578 while :; do
21579 ac_cv_sys_largefile_source=no
21580 cat >conftest.$ac_ext <<_ACEOF
21581 /* confdefs.h. */
21582 _ACEOF
21583 cat confdefs.h >>conftest.$ac_ext
21584 cat >>conftest.$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21586 #include <stdio.h>
21587 int
21588 main ()
21589 {
21590 return !fseeko;
21591 ;
21592 return 0;
21593 }
21594 _ACEOF
21595 rm -f conftest.$ac_objext
21596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21597 (eval $ac_compile) 2>conftest.er1
21598 ac_status=$?
21599 grep -v '^ *+' conftest.er1 >conftest.err
21600 rm -f conftest.er1
21601 cat conftest.err >&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); } &&
21604 { ac_try='test -z "$ac_c_werror_flag"
21605 || test ! -s conftest.err'
21606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21607 (eval $ac_try) 2>&5
21608 ac_status=$?
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); }; } &&
21611 { ac_try='test -s conftest.$ac_objext'
21612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21613 (eval $ac_try) 2>&5
21614 ac_status=$?
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); }; }; then
21617 break
21618 else
21619 echo "$as_me: failed program was:" >&5
21620 sed 's/^/| /' conftest.$ac_ext >&5
21621
21622 fi
21623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21624 cat >conftest.$ac_ext <<_ACEOF
21625 /* confdefs.h. */
21626 _ACEOF
21627 cat confdefs.h >>conftest.$ac_ext
21628 cat >>conftest.$ac_ext <<_ACEOF
21629 /* end confdefs.h. */
21630 #define _LARGEFILE_SOURCE 1
21631 #include <stdio.h>
21632 int
21633 main ()
21634 {
21635 return !fseeko;
21636 ;
21637 return 0;
21638 }
21639 _ACEOF
21640 rm -f conftest.$ac_objext
21641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21642 (eval $ac_compile) 2>conftest.er1
21643 ac_status=$?
21644 grep -v '^ *+' conftest.er1 >conftest.err
21645 rm -f conftest.er1
21646 cat conftest.err >&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); } &&
21649 { ac_try='test -z "$ac_c_werror_flag"
21650 || test ! -s conftest.err'
21651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21652 (eval $ac_try) 2>&5
21653 ac_status=$?
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); }; } &&
21656 { ac_try='test -s conftest.$ac_objext'
21657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21658 (eval $ac_try) 2>&5
21659 ac_status=$?
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); }; }; then
21662 ac_cv_sys_largefile_source=1; break
21663 else
21664 echo "$as_me: failed program was:" >&5
21665 sed 's/^/| /' conftest.$ac_ext >&5
21666
21667 fi
21668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21669 break
21670 done
21671 fi
21672 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21673 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21674 if test "$ac_cv_sys_largefile_source" != no; then
21675
21676 cat >>confdefs.h <<_ACEOF
21677 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21678 _ACEOF
21679
21680 fi
21681 rm -f conftest*
21682
21683 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21684 # in glibc 2.1.3, but that breaks too many other things.
21685 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21686 echo "$as_me:$LINENO: checking for fseeko" >&5
21687 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21688 if test "${ac_cv_func_fseeko+set}" = set; then
21689 echo $ECHO_N "(cached) $ECHO_C" >&6
21690 else
21691 cat >conftest.$ac_ext <<_ACEOF
21692 /* confdefs.h. */
21693 _ACEOF
21694 cat confdefs.h >>conftest.$ac_ext
21695 cat >>conftest.$ac_ext <<_ACEOF
21696 /* end confdefs.h. */
21697 #include <stdio.h>
21698 int
21699 main ()
21700 {
21701 return fseeko && fseeko (stdin, 0, 0);
21702 ;
21703 return 0;
21704 }
21705 _ACEOF
21706 rm -f conftest.$ac_objext conftest$ac_exeext
21707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21708 (eval $ac_link) 2>conftest.er1
21709 ac_status=$?
21710 grep -v '^ *+' conftest.er1 >conftest.err
21711 rm -f conftest.er1
21712 cat conftest.err >&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); } &&
21715 { ac_try='test -z "$ac_c_werror_flag"
21716 || test ! -s conftest.err'
21717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21718 (eval $ac_try) 2>&5
21719 ac_status=$?
21720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 (exit $ac_status); }; } &&
21722 { ac_try='test -s conftest$ac_exeext'
21723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 (eval $ac_try) 2>&5
21725 ac_status=$?
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); }; }; then
21728 ac_cv_func_fseeko=yes
21729 else
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.$ac_ext >&5
21732
21733 ac_cv_func_fseeko=no
21734 fi
21735 rm -f conftest.err conftest.$ac_objext \
21736 conftest$ac_exeext conftest.$ac_ext
21737 fi
21738 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21739 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21740 if test $ac_cv_func_fseeko = yes; then
21741
21742 cat >>confdefs.h <<\_ACEOF
21743 #define HAVE_FSEEKO 1
21744 _ACEOF
21745
21746 fi
21747
21748 if test "$ac_cv_sys_largefile_source" != no; then
21749 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21750 fi
21751 fi
21752
21753 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21754 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21755 if test "${ac_cv_c_bigendian+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21757 else
21758 ac_cv_c_bigendian=unknown
21759 # See if sys/param.h defines the BYTE_ORDER macro.
21760 cat >conftest.$ac_ext <<_ACEOF
21761 /* confdefs.h. */
21762 _ACEOF
21763 cat confdefs.h >>conftest.$ac_ext
21764 cat >>conftest.$ac_ext <<_ACEOF
21765 /* end confdefs.h. */
21766 #include <sys/types.h>
21767 #include <sys/param.h>
21768 int
21769 main ()
21770 {
21771
21772 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21773 bogus endian macros
21774 #endif
21775 ;
21776 return 0;
21777 }
21778 _ACEOF
21779 rm -f conftest.$ac_objext
21780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21781 (eval $ac_compile) 2>conftest.er1
21782 ac_status=$?
21783 grep -v '^ *+' conftest.er1 >conftest.err
21784 rm -f conftest.er1
21785 cat conftest.err >&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); } &&
21788 { ac_try='test -z "$ac_c_werror_flag"
21789 || test ! -s conftest.err'
21790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21791 (eval $ac_try) 2>&5
21792 ac_status=$?
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; } &&
21795 { ac_try='test -s conftest.$ac_objext'
21796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21797 (eval $ac_try) 2>&5
21798 ac_status=$?
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); }; }; then
21801 # It does; now see whether it defined to BIG_ENDIAN or not.
21802 cat >conftest.$ac_ext <<_ACEOF
21803 /* confdefs.h. */
21804 _ACEOF
21805 cat confdefs.h >>conftest.$ac_ext
21806 cat >>conftest.$ac_ext <<_ACEOF
21807 /* end confdefs.h. */
21808 #include <sys/types.h>
21809 #include <sys/param.h>
21810 int
21811 main ()
21812 {
21813
21814 #if BYTE_ORDER != BIG_ENDIAN
21815 not big endian
21816 #endif
21817 ;
21818 return 0;
21819 }
21820 _ACEOF
21821 rm -f conftest.$ac_objext
21822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21823 (eval $ac_compile) 2>conftest.er1
21824 ac_status=$?
21825 grep -v '^ *+' conftest.er1 >conftest.err
21826 rm -f conftest.er1
21827 cat conftest.err >&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } &&
21830 { ac_try='test -z "$ac_c_werror_flag"
21831 || test ! -s conftest.err'
21832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21833 (eval $ac_try) 2>&5
21834 ac_status=$?
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); }; } &&
21837 { ac_try='test -s conftest.$ac_objext'
21838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21839 (eval $ac_try) 2>&5
21840 ac_status=$?
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); }; }; then
21843 ac_cv_c_bigendian=yes
21844 else
21845 echo "$as_me: failed program was:" >&5
21846 sed 's/^/| /' conftest.$ac_ext >&5
21847
21848 ac_cv_c_bigendian=no
21849 fi
21850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21851 else
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.$ac_ext >&5
21854
21855 fi
21856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21857 if test $ac_cv_c_bigendian = unknown; then
21858 if test "$cross_compiling" = yes; then
21859 ac_cv_c_bigendian=unknown
21860 else
21861 cat >conftest.$ac_ext <<_ACEOF
21862 /* confdefs.h. */
21863 _ACEOF
21864 cat confdefs.h >>conftest.$ac_ext
21865 cat >>conftest.$ac_ext <<_ACEOF
21866 /* end confdefs.h. */
21867 main () {
21868 /* Are we little or big endian? From Harbison&Steele. */
21869 union
21870 {
21871 long l;
21872 char c[sizeof (long)];
21873 } u;
21874 u.l = 1;
21875 exit (u.c[sizeof (long) - 1] == 1);
21876 }
21877 _ACEOF
21878 rm -f conftest$ac_exeext
21879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21880 (eval $ac_link) 2>&5
21881 ac_status=$?
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21885 (eval $ac_try) 2>&5
21886 ac_status=$?
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); }; }; then
21889 ac_cv_c_bigendian=no
21890 else
21891 echo "$as_me: program exited with status $ac_status" >&5
21892 echo "$as_me: failed program was:" >&5
21893 sed 's/^/| /' conftest.$ac_ext >&5
21894
21895 ( exit $ac_status )
21896 ac_cv_c_bigendian=yes
21897 fi
21898 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21899 fi
21900 fi
21901 fi
21902 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21903 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21904 if test $ac_cv_c_bigendian = unknown; then
21905 { 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
21906 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;}
21907 fi
21908 if test $ac_cv_c_bigendian = yes; then
21909 cat >>confdefs.h <<\_ACEOF
21910 #define WORDS_BIGENDIAN 1
21911 _ACEOF
21912
21913 fi
21914
21915
21916
21917
21918
21919 ac_ext=cc
21920 ac_cpp='$CXXCPP $CPPFLAGS'
21921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21924
21925
21926 echo "$as_me:$LINENO: checking for iostream" >&5
21927 echo $ECHO_N "checking for iostream... $ECHO_C" >&6
21928 if test "${ac_cv_header_iostream+set}" = set; then
21929 echo $ECHO_N "(cached) $ECHO_C" >&6
21930 else
21931 cat >conftest.$ac_ext <<_ACEOF
21932 /* confdefs.h. */
21933 _ACEOF
21934 cat confdefs.h >>conftest.$ac_ext
21935 cat >>conftest.$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21937
21938
21939 #include <iostream>
21940 _ACEOF
21941 rm -f conftest.$ac_objext
21942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21943 (eval $ac_compile) 2>conftest.er1
21944 ac_status=$?
21945 grep -v '^ *+' conftest.er1 >conftest.err
21946 rm -f conftest.er1
21947 cat conftest.err >&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } &&
21950 { ac_try='test -z "$ac_cxx_werror_flag"
21951 || test ! -s conftest.err'
21952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21953 (eval $ac_try) 2>&5
21954 ac_status=$?
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); }; } &&
21957 { ac_try='test -s conftest.$ac_objext'
21958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959 (eval $ac_try) 2>&5
21960 ac_status=$?
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; }; then
21963 ac_cv_header_iostream=yes
21964 else
21965 echo "$as_me: failed program was:" >&5
21966 sed 's/^/| /' conftest.$ac_ext >&5
21967
21968 ac_cv_header_iostream=no
21969 fi
21970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21971 fi
21972 echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
21973 echo "${ECHO_T}$ac_cv_header_iostream" >&6
21974
21975
21976
21977 if test "$ac_cv_header_iostream" = "yes" ; then
21978 :
21979 else
21980 cat >>confdefs.h <<\_ACEOF
21981 #define wxUSE_IOSTREAMH 1
21982 _ACEOF
21983
21984 fi
21985
21986 ac_ext=c
21987 ac_cpp='$CPP $CPPFLAGS'
21988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21991
21992
21993
21994
21995 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21996 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21997 if test "${wx_cv_cpp_bool+set}" = set; then
21998 echo $ECHO_N "(cached) $ECHO_C" >&6
21999 else
22000
22001
22002
22003 ac_ext=cc
22004 ac_cpp='$CXXCPP $CPPFLAGS'
22005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22008
22009
22010 cat >conftest.$ac_ext <<_ACEOF
22011 /* confdefs.h. */
22012 _ACEOF
22013 cat confdefs.h >>conftest.$ac_ext
22014 cat >>conftest.$ac_ext <<_ACEOF
22015 /* end confdefs.h. */
22016
22017
22018 int
22019 main ()
22020 {
22021
22022 bool b = true;
22023
22024 return 0;
22025
22026 ;
22027 return 0;
22028 }
22029 _ACEOF
22030 rm -f conftest.$ac_objext
22031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22032 (eval $ac_compile) 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); } &&
22039 { ac_try='test -z "$ac_cxx_werror_flag"
22040 || test ! -s conftest.err'
22041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22042 (eval $ac_try) 2>&5
22043 ac_status=$?
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); }; } &&
22046 { ac_try='test -s conftest.$ac_objext'
22047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22048 (eval $ac_try) 2>&5
22049 ac_status=$?
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); }; }; then
22052
22053 wx_cv_cpp_bool=yes
22054
22055 else
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22058
22059
22060 wx_cv_cpp_bool=no
22061
22062
22063 fi
22064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22065
22066 ac_ext=c
22067 ac_cpp='$CPP $CPPFLAGS'
22068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22071
22072
22073 fi
22074 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22075 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22076
22077 if test "$wx_cv_cpp_bool" = "yes"; then
22078 cat >>confdefs.h <<\_ACEOF
22079 #define HAVE_BOOL 1
22080 _ACEOF
22081
22082 fi
22083
22084
22085
22086 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22087 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22088 if test "${wx_cv_explicit+set}" = set; then
22089 echo $ECHO_N "(cached) $ECHO_C" >&6
22090 else
22091
22092
22093
22094 ac_ext=cc
22095 ac_cpp='$CXXCPP $CPPFLAGS'
22096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22099
22100
22101 cat >conftest.$ac_ext <<_ACEOF
22102 /* confdefs.h. */
22103 _ACEOF
22104 cat confdefs.h >>conftest.$ac_ext
22105 cat >>conftest.$ac_ext <<_ACEOF
22106 /* end confdefs.h. */
22107
22108 class Foo { public: explicit Foo(int) {} };
22109
22110 int
22111 main ()
22112 {
22113
22114 return 0;
22115
22116 ;
22117 return 0;
22118 }
22119 _ACEOF
22120 rm -f conftest.$ac_objext
22121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22122 (eval $ac_compile) 2>conftest.er1
22123 ac_status=$?
22124 grep -v '^ *+' conftest.er1 >conftest.err
22125 rm -f conftest.er1
22126 cat conftest.err >&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } &&
22129 { ac_try='test -z "$ac_cxx_werror_flag"
22130 || test ! -s conftest.err'
22131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22132 (eval $ac_try) 2>&5
22133 ac_status=$?
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); }; } &&
22136 { ac_try='test -s conftest.$ac_objext'
22137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22138 (eval $ac_try) 2>&5
22139 ac_status=$?
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); }; }; then
22142
22143 cat >conftest.$ac_ext <<_ACEOF
22144 /* confdefs.h. */
22145 _ACEOF
22146 cat confdefs.h >>conftest.$ac_ext
22147 cat >>conftest.$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22149
22150 class Foo { public: explicit Foo(int) {} };
22151 static void TakeFoo(const Foo& foo) { }
22152
22153 int
22154 main ()
22155 {
22156
22157 TakeFoo(17);
22158 return 0;
22159
22160 ;
22161 return 0;
22162 }
22163 _ACEOF
22164 rm -f conftest.$ac_objext
22165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22166 (eval $ac_compile) 2>conftest.er1
22167 ac_status=$?
22168 grep -v '^ *+' conftest.er1 >conftest.err
22169 rm -f conftest.er1
22170 cat conftest.err >&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } &&
22173 { ac_try='test -z "$ac_cxx_werror_flag"
22174 || test ! -s conftest.err'
22175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22176 (eval $ac_try) 2>&5
22177 ac_status=$?
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; } &&
22180 { ac_try='test -s conftest.$ac_objext'
22181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22182 (eval $ac_try) 2>&5
22183 ac_status=$?
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); }; }; then
22186 wx_cv_explicit=no
22187 else
22188 echo "$as_me: failed program was:" >&5
22189 sed 's/^/| /' conftest.$ac_ext >&5
22190
22191 wx_cv_explicit=yes
22192
22193 fi
22194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22195
22196 else
22197 echo "$as_me: failed program was:" >&5
22198 sed 's/^/| /' conftest.$ac_ext >&5
22199
22200 wx_cv_explicit=no
22201
22202 fi
22203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22204
22205 ac_ext=c
22206 ac_cpp='$CPP $CPPFLAGS'
22207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22210
22211
22212 fi
22213 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22214 echo "${ECHO_T}$wx_cv_explicit" >&6
22215
22216 if test "$wx_cv_explicit" = "yes"; then
22217 cat >>confdefs.h <<\_ACEOF
22218 #define HAVE_EXPLICIT 1
22219 _ACEOF
22220
22221 fi
22222
22223
22224 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22225 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22226 if test "${ac_cv_cxx_const_cast+set}" = set; then
22227 echo $ECHO_N "(cached) $ECHO_C" >&6
22228 else
22229
22230
22231 ac_ext=cc
22232 ac_cpp='$CXXCPP $CPPFLAGS'
22233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22236
22237 cat >conftest.$ac_ext <<_ACEOF
22238 /* confdefs.h. */
22239 _ACEOF
22240 cat confdefs.h >>conftest.$ac_ext
22241 cat >>conftest.$ac_ext <<_ACEOF
22242 /* end confdefs.h. */
22243
22244 int
22245 main ()
22246 {
22247 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22248 ;
22249 return 0;
22250 }
22251 _ACEOF
22252 rm -f conftest.$ac_objext
22253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22254 (eval $ac_compile) 2>conftest.er1
22255 ac_status=$?
22256 grep -v '^ *+' conftest.er1 >conftest.err
22257 rm -f conftest.er1
22258 cat conftest.err >&5
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); } &&
22261 { ac_try='test -z "$ac_cxx_werror_flag"
22262 || test ! -s conftest.err'
22263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22264 (eval $ac_try) 2>&5
22265 ac_status=$?
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; } &&
22268 { ac_try='test -s conftest.$ac_objext'
22269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22270 (eval $ac_try) 2>&5
22271 ac_status=$?
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); }; }; then
22274 ac_cv_cxx_const_cast=yes
22275 else
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.$ac_ext >&5
22278
22279 ac_cv_cxx_const_cast=no
22280 fi
22281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22282 ac_ext=c
22283 ac_cpp='$CPP $CPPFLAGS'
22284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22287
22288
22289 fi
22290 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22291 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22292 if test "$ac_cv_cxx_const_cast" = yes; then
22293
22294 cat >>confdefs.h <<\_ACEOF
22295 #define HAVE_CONST_CAST
22296 _ACEOF
22297
22298 fi
22299
22300 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22301 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22302 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22303 echo $ECHO_N "(cached) $ECHO_C" >&6
22304 else
22305
22306
22307 ac_ext=cc
22308 ac_cpp='$CXXCPP $CPPFLAGS'
22309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <typeinfo>
22320 class Base { public : Base () {} virtual void f () = 0;};
22321 class Derived : public Base { public : Derived () {} virtual void f () {} };
22322 class Unrelated { public : Unrelated () {} };
22323 int g (Unrelated&) { return 0; }
22324 int
22325 main ()
22326 {
22327
22328 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
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 ac_cv_cxx_reinterpret_cast=yes
22356 else
22357 echo "$as_me: failed program was:" >&5
22358 sed 's/^/| /' conftest.$ac_ext >&5
22359
22360 ac_cv_cxx_reinterpret_cast=no
22361 fi
22362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22363 ac_ext=c
22364 ac_cpp='$CPP $CPPFLAGS'
22365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22368
22369
22370 fi
22371 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22372 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22373 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22374
22375 cat >>confdefs.h <<\_ACEOF
22376 #define HAVE_REINTERPRET_CAST
22377 _ACEOF
22378
22379 fi
22380
22381 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22382 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22383 if test "${ac_cv_cxx_static_cast+set}" = set; then
22384 echo $ECHO_N "(cached) $ECHO_C" >&6
22385 else
22386
22387
22388 ac_ext=cc
22389 ac_cpp='$CXXCPP $CPPFLAGS'
22390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22393
22394 cat >conftest.$ac_ext <<_ACEOF
22395 /* confdefs.h. */
22396 _ACEOF
22397 cat confdefs.h >>conftest.$ac_ext
22398 cat >>conftest.$ac_ext <<_ACEOF
22399 /* end confdefs.h. */
22400 #include <typeinfo>
22401 class Base { public : Base () {} virtual void f () = 0; };
22402 class Derived : public Base { public : Derived () {} virtual void f () {} };
22403 int g (Derived&) { return 0; }
22404 int
22405 main ()
22406 {
22407
22408 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22409 ;
22410 return 0;
22411 }
22412 _ACEOF
22413 rm -f conftest.$ac_objext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22415 (eval $ac_compile) 2>conftest.er1
22416 ac_status=$?
22417 grep -v '^ *+' conftest.er1 >conftest.err
22418 rm -f conftest.er1
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } &&
22422 { ac_try='test -z "$ac_cxx_werror_flag"
22423 || test ! -s conftest.err'
22424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425 (eval $ac_try) 2>&5
22426 ac_status=$?
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); }; } &&
22429 { ac_try='test -s conftest.$ac_objext'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22432 ac_status=$?
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; }; then
22435 ac_cv_cxx_static_cast=yes
22436 else
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.$ac_ext >&5
22439
22440 ac_cv_cxx_static_cast=no
22441 fi
22442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22443 ac_ext=c
22444 ac_cpp='$CPP $CPPFLAGS'
22445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22448
22449
22450 fi
22451 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22452 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22453 if test "$ac_cv_cxx_static_cast" = yes; then
22454
22455 cat >>confdefs.h <<\_ACEOF
22456 #define HAVE_STATIC_CAST
22457 _ACEOF
22458
22459 fi
22460
22461
22462 if test "x$SUNCXX" = xyes; then
22463 CXXFLAGS="-features=tmplife $CXXFLAGS"
22464 fi
22465
22466 if test "x$SUNCC" = xyes; then
22467 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22468 fi
22469
22470 if test "x$SGICC" = "xyes"; then
22471 CFLAGS="-woff 3970 $CFLAGS"
22472 fi
22473 if test "x$SGICXX" = "xyes"; then
22474 CXXFLAGS="-woff 3970 $CXXFLAGS"
22475 fi
22476
22477 if test "x$HPCC" = "xyes"; then
22478 CFLAGS="+W 2011,2450 $CFLAGS"
22479 fi
22480 if test "x$HPCXX" = "xyes"; then
22481 CXXFLAGS="+W 2340 $CXXFLAGS"
22482 fi
22483
22484 if test "x$COMPAQCXX" = "xyes"; then
22485 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22486 fi
22487
22488 ac_ext=cc
22489 ac_cpp='$CXXCPP $CPPFLAGS'
22490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22493
22494
22495 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22496 if test "$wxUSE_UNICODE" = "yes"; then
22497 std_string="std::wstring"
22498 char_type="wchar_t"
22499 else
22500 std_string="std::string"
22501 char_type="char"
22502 fi
22503
22504 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22505 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22506 if test "${wx_cv_class_stdstring+set}" = set; then
22507 echo $ECHO_N "(cached) $ECHO_C" >&6
22508 else
22509
22510 cat >conftest.$ac_ext <<_ACEOF
22511 /* confdefs.h. */
22512 _ACEOF
22513 cat confdefs.h >>conftest.$ac_ext
22514 cat >>conftest.$ac_ext <<_ACEOF
22515 /* end confdefs.h. */
22516 #include <string>
22517 int
22518 main ()
22519 {
22520 $std_string foo;
22521 ;
22522 return 0;
22523 }
22524 _ACEOF
22525 rm -f conftest.$ac_objext
22526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22527 (eval $ac_compile) 2>conftest.er1
22528 ac_status=$?
22529 grep -v '^ *+' conftest.er1 >conftest.err
22530 rm -f conftest.er1
22531 cat conftest.err >&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } &&
22534 { ac_try='test -z "$ac_cxx_werror_flag"
22535 || test ! -s conftest.err'
22536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22537 (eval $ac_try) 2>&5
22538 ac_status=$?
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); }; } &&
22541 { ac_try='test -s conftest.$ac_objext'
22542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22543 (eval $ac_try) 2>&5
22544 ac_status=$?
22545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22546 (exit $ac_status); }; }; then
22547 wx_cv_class_stdstring=yes
22548 else
22549 echo "$as_me: failed program was:" >&5
22550 sed 's/^/| /' conftest.$ac_ext >&5
22551
22552 wx_cv_class_stdstring=no
22553
22554 fi
22555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22556
22557
22558 fi
22559 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
22560 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
22561
22562 if test "$wx_cv_class_stdstring" = yes; then
22563 if test "$wxUSE_UNICODE" = "yes"; then
22564 cat >>confdefs.h <<\_ACEOF
22565 #define HAVE_STD_WSTRING 1
22566 _ACEOF
22567
22568 fi
22569 else
22570 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22571 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22572 if test "${wx_cv_class_stdbasicstring+set}" = set; then
22573 echo $ECHO_N "(cached) $ECHO_C" >&6
22574 else
22575
22576 cat >conftest.$ac_ext <<_ACEOF
22577 /* confdefs.h. */
22578 _ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582
22583 #ifdef HAVE_WCHAR_H
22584 # ifdef __CYGWIN__
22585 # include <stddef.h>
22586 # endif
22587 # include <wchar.h>
22588 #endif
22589 #ifdef HAVE_STDLIB_H
22590 # include <stdlib.h>
22591 #endif
22592 #include <stdio.h>
22593 #include <string>
22594
22595 int
22596 main ()
22597 {
22598 std::basic_string<$char_type> foo;
22599 const $char_type* dummy = foo.c_str();
22600 ;
22601 return 0;
22602 }
22603 _ACEOF
22604 rm -f conftest.$ac_objext
22605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22606 (eval $ac_compile) 2>conftest.er1
22607 ac_status=$?
22608 grep -v '^ *+' conftest.er1 >conftest.err
22609 rm -f conftest.er1
22610 cat conftest.err >&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); } &&
22613 { ac_try='test -z "$ac_cxx_werror_flag"
22614 || test ! -s conftest.err'
22615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22616 (eval $ac_try) 2>&5
22617 ac_status=$?
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); }; } &&
22620 { ac_try='test -s conftest.$ac_objext'
22621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22622 (eval $ac_try) 2>&5
22623 ac_status=$?
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); }; }; then
22626 wx_cv_class_stdbasicstring=yes
22627 else
22628 echo "$as_me: failed program was:" >&5
22629 sed 's/^/| /' conftest.$ac_ext >&5
22630
22631 wx_cv_class_stdbasicstring=no
22632
22633 fi
22634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22635
22636
22637 fi
22638 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
22639 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
22640
22641 if test "$wx_cv_class_stdbasicstring" != yes; then
22642 if test "$wxUSE_STL" = "yes"; then
22643 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22644 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22645 { (exit 1); exit 1; }; }
22646 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
22647 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22648 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22649 { (exit 1); exit 1; }; }
22650 else
22651 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22652 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22653 wxUSE_STD_STRING=no
22654 fi
22655 fi
22656 fi
22657 fi
22658
22659 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22660 echo "$as_me:$LINENO: checking for std::istream" >&5
22661 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22662 if test "${ac_cv_type_std__istream+set}" = set; then
22663 echo $ECHO_N "(cached) $ECHO_C" >&6
22664 else
22665 cat >conftest.$ac_ext <<_ACEOF
22666 /* confdefs.h. */
22667 _ACEOF
22668 cat confdefs.h >>conftest.$ac_ext
22669 cat >>conftest.$ac_ext <<_ACEOF
22670 /* end confdefs.h. */
22671 #include <iostream>
22672
22673 int
22674 main ()
22675 {
22676 if ((std::istream *) 0)
22677 return 0;
22678 if (sizeof (std::istream))
22679 return 0;
22680 ;
22681 return 0;
22682 }
22683 _ACEOF
22684 rm -f conftest.$ac_objext
22685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22686 (eval $ac_compile) 2>conftest.er1
22687 ac_status=$?
22688 grep -v '^ *+' conftest.er1 >conftest.err
22689 rm -f conftest.er1
22690 cat conftest.err >&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); } &&
22693 { ac_try='test -z "$ac_cxx_werror_flag"
22694 || test ! -s conftest.err'
22695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696 (eval $ac_try) 2>&5
22697 ac_status=$?
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); }; } &&
22700 { ac_try='test -s conftest.$ac_objext'
22701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702 (eval $ac_try) 2>&5
22703 ac_status=$?
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); }; }; then
22706 ac_cv_type_std__istream=yes
22707 else
22708 echo "$as_me: failed program was:" >&5
22709 sed 's/^/| /' conftest.$ac_ext >&5
22710
22711 ac_cv_type_std__istream=no
22712 fi
22713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22714 fi
22715 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22716 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22717 if test $ac_cv_type_std__istream = yes; then
22718
22719 cat >>confdefs.h <<_ACEOF
22720 #define HAVE_STD__ISTREAM 1
22721 _ACEOF
22722
22723
22724 else
22725 wxUSE_STD_IOSTREAM=no
22726 fi
22727 echo "$as_me:$LINENO: checking for std::ostream" >&5
22728 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22729 if test "${ac_cv_type_std__ostream+set}" = set; then
22730 echo $ECHO_N "(cached) $ECHO_C" >&6
22731 else
22732 cat >conftest.$ac_ext <<_ACEOF
22733 /* confdefs.h. */
22734 _ACEOF
22735 cat confdefs.h >>conftest.$ac_ext
22736 cat >>conftest.$ac_ext <<_ACEOF
22737 /* end confdefs.h. */
22738 #include <iostream>
22739
22740 int
22741 main ()
22742 {
22743 if ((std::ostream *) 0)
22744 return 0;
22745 if (sizeof (std::ostream))
22746 return 0;
22747 ;
22748 return 0;
22749 }
22750 _ACEOF
22751 rm -f conftest.$ac_objext
22752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22753 (eval $ac_compile) 2>conftest.er1
22754 ac_status=$?
22755 grep -v '^ *+' conftest.er1 >conftest.err
22756 rm -f conftest.er1
22757 cat conftest.err >&5
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); } &&
22760 { ac_try='test -z "$ac_cxx_werror_flag"
22761 || test ! -s conftest.err'
22762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22763 (eval $ac_try) 2>&5
22764 ac_status=$?
22765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22766 (exit $ac_status); }; } &&
22767 { ac_try='test -s conftest.$ac_objext'
22768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22769 (eval $ac_try) 2>&5
22770 ac_status=$?
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); }; }; then
22773 ac_cv_type_std__ostream=yes
22774 else
22775 echo "$as_me: failed program was:" >&5
22776 sed 's/^/| /' conftest.$ac_ext >&5
22777
22778 ac_cv_type_std__ostream=no
22779 fi
22780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22781 fi
22782 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22783 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22784 if test $ac_cv_type_std__ostream = yes; then
22785
22786 cat >>confdefs.h <<_ACEOF
22787 #define HAVE_STD__OSTREAM 1
22788 _ACEOF
22789
22790
22791 else
22792 wxUSE_STD_IOSTREAM=no
22793 fi
22794
22795
22796 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22797 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
22798 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22799 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22800 { (exit 1); exit 1; }; }
22801 else
22802 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22803 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22804 fi
22805 fi
22806 fi
22807
22808 if test "$wxUSE_STL" = "yes"; then
22809 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22810 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22811 if test "${wx_cv_lib_stl+set}" = set; then
22812 echo $ECHO_N "(cached) $ECHO_C" >&6
22813 else
22814 cat >conftest.$ac_ext <<_ACEOF
22815 /* confdefs.h. */
22816 _ACEOF
22817 cat confdefs.h >>conftest.$ac_ext
22818 cat >>conftest.$ac_ext <<_ACEOF
22819 /* end confdefs.h. */
22820 #include <string>
22821 #include <functional>
22822 #include <algorithm>
22823 #include <vector>
22824 #include <list>
22825 int
22826 main ()
22827 {
22828 std::vector<int> moo;
22829 std::list<int> foo;
22830 std::vector<int>::iterator it =
22831 std::find_if(moo.begin(), moo.end(),
22832 std::bind2nd(std::less<int>(), 3));
22833 ;
22834 return 0;
22835 }
22836 _ACEOF
22837 rm -f conftest.$ac_objext
22838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22839 (eval $ac_compile) 2>conftest.er1
22840 ac_status=$?
22841 grep -v '^ *+' conftest.er1 >conftest.err
22842 rm -f conftest.er1
22843 cat conftest.err >&5
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); } &&
22846 { ac_try='test -z "$ac_cxx_werror_flag"
22847 || test ! -s conftest.err'
22848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22849 (eval $ac_try) 2>&5
22850 ac_status=$?
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); }; } &&
22853 { ac_try='test -s conftest.$ac_objext'
22854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22855 (eval $ac_try) 2>&5
22856 ac_status=$?
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); }; }; then
22859 wx_cv_lib_stl=yes
22860 else
22861 echo "$as_me: failed program was:" >&5
22862 sed 's/^/| /' conftest.$ac_ext >&5
22863
22864 wx_cv_lib_stl=no
22865
22866 fi
22867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22868
22869 fi
22870 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
22871 echo "${ECHO_T}$wx_cv_lib_stl" >&6
22872
22873 if test "$wx_cv_lib_stl" != yes; then
22874 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
22875 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
22876 { (exit 1); exit 1; }; }
22877 fi
22878
22879 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22880 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22881 if test "${wx_cv_func_stdstring_compare+set}" = set; then
22882 echo $ECHO_N "(cached) $ECHO_C" >&6
22883 else
22884 cat >conftest.$ac_ext <<_ACEOF
22885 /* confdefs.h. */
22886 _ACEOF
22887 cat confdefs.h >>conftest.$ac_ext
22888 cat >>conftest.$ac_ext <<_ACEOF
22889 /* end confdefs.h. */
22890 #include <string>
22891 int
22892 main ()
22893 {
22894 std::string foo, bar;
22895 foo.compare(bar);
22896 foo.compare(1, 1, bar);
22897 foo.compare(1, 1, bar, 1, 1);
22898 foo.compare("");
22899 foo.compare(1, 1, "");
22900 foo.compare(1, 1, "", 2);
22901 ;
22902 return 0;
22903 }
22904 _ACEOF
22905 rm -f conftest.$ac_objext
22906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22907 (eval $ac_compile) 2>conftest.er1
22908 ac_status=$?
22909 grep -v '^ *+' conftest.er1 >conftest.err
22910 rm -f conftest.er1
22911 cat conftest.err >&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try='test -z "$ac_cxx_werror_flag"
22915 || test ! -s conftest.err'
22916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22917 (eval $ac_try) 2>&5
22918 ac_status=$?
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); }; } &&
22921 { ac_try='test -s conftest.$ac_objext'
22922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22923 (eval $ac_try) 2>&5
22924 ac_status=$?
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); }; }; then
22927 wx_cv_func_stdstring_compare=yes
22928 else
22929 echo "$as_me: failed program was:" >&5
22930 sed 's/^/| /' conftest.$ac_ext >&5
22931
22932 wx_cv_func_stdstring_compare=no
22933
22934 fi
22935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22936
22937 fi
22938 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
22939 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
22940
22941 if test "$wx_cv_func_stdstring_compare" = yes; then
22942 cat >>confdefs.h <<\_ACEOF
22943 #define HAVE_STD_STRING_COMPARE 1
22944 _ACEOF
22945
22946 fi
22947
22948 echo "$as_me:$LINENO: checking for hash_map" >&5
22949 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22950 if test "${ac_cv_header_hash_map+set}" = set; then
22951 echo $ECHO_N "(cached) $ECHO_C" >&6
22952 else
22953 cat >conftest.$ac_ext <<_ACEOF
22954 /* confdefs.h. */
22955 _ACEOF
22956 cat confdefs.h >>conftest.$ac_ext
22957 cat >>conftest.$ac_ext <<_ACEOF
22958 /* end confdefs.h. */
22959
22960
22961
22962 #include <hash_map>
22963 _ACEOF
22964 rm -f conftest.$ac_objext
22965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22966 (eval $ac_compile) 2>conftest.er1
22967 ac_status=$?
22968 grep -v '^ *+' conftest.er1 >conftest.err
22969 rm -f conftest.er1
22970 cat conftest.err >&5
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); } &&
22973 { ac_try='test -z "$ac_cxx_werror_flag"
22974 || test ! -s conftest.err'
22975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22976 (eval $ac_try) 2>&5
22977 ac_status=$?
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); }; } &&
22980 { ac_try='test -s conftest.$ac_objext'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22983 ac_status=$?
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; }; then
22986 ac_cv_header_hash_map=yes
22987 else
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.$ac_ext >&5
22990
22991 ac_cv_header_hash_map=no
22992 fi
22993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22994 fi
22995 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22996 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22997 if test $ac_cv_header_hash_map = yes; then
22998 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
22999 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
23000 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23001 echo $ECHO_N "(cached) $ECHO_C" >&6
23002 else
23003 cat >conftest.$ac_ext <<_ACEOF
23004 /* confdefs.h. */
23005 _ACEOF
23006 cat confdefs.h >>conftest.$ac_ext
23007 cat >>conftest.$ac_ext <<_ACEOF
23008 /* end confdefs.h. */
23009 #include <hash_map>
23010 #include <hash_set>
23011 int
23012 main ()
23013 {
23014 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23015 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23016 ;
23017 return 0;
23018 }
23019 _ACEOF
23020 rm -f conftest.$ac_objext
23021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23022 (eval $ac_compile) 2>conftest.er1
23023 ac_status=$?
23024 grep -v '^ *+' conftest.er1 >conftest.err
23025 rm -f conftest.er1
23026 cat conftest.err >&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } &&
23029 { ac_try='test -z "$ac_cxx_werror_flag"
23030 || test ! -s conftest.err'
23031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23032 (eval $ac_try) 2>&5
23033 ac_status=$?
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); }; } &&
23036 { ac_try='test -s conftest.$ac_objext'
23037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23038 (eval $ac_try) 2>&5
23039 ac_status=$?
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); }; }; then
23042 wx_cv_class_stdhashmapset=yes
23043 else
23044 echo "$as_me: failed program was:" >&5
23045 sed 's/^/| /' conftest.$ac_ext >&5
23046
23047 wx_cv_class_stdhashmapset=no
23048 fi
23049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23050
23051
23052 fi
23053 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23054 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23055 fi
23056
23057
23058
23059 if test "$wx_cv_class_stdhashmapset" = yes; then
23060 cat >>confdefs.h <<\_ACEOF
23061 #define HAVE_HASH_MAP 1
23062 _ACEOF
23063
23064 cat >>confdefs.h <<\_ACEOF
23065 #define HAVE_STD_HASH_MAP 1
23066 _ACEOF
23067
23068 fi
23069
23070 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23071 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23072 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23073 echo $ECHO_N "(cached) $ECHO_C" >&6
23074 else
23075 cat >conftest.$ac_ext <<_ACEOF
23076 /* confdefs.h. */
23077 _ACEOF
23078 cat confdefs.h >>conftest.$ac_ext
23079 cat >>conftest.$ac_ext <<_ACEOF
23080 /* end confdefs.h. */
23081
23082
23083
23084 #include <ext/hash_map>
23085 _ACEOF
23086 rm -f conftest.$ac_objext
23087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23088 (eval $ac_compile) 2>conftest.er1
23089 ac_status=$?
23090 grep -v '^ *+' conftest.er1 >conftest.err
23091 rm -f conftest.er1
23092 cat conftest.err >&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } &&
23095 { ac_try='test -z "$ac_cxx_werror_flag"
23096 || test ! -s conftest.err'
23097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23098 (eval $ac_try) 2>&5
23099 ac_status=$?
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; } &&
23102 { ac_try='test -s conftest.$ac_objext'
23103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23104 (eval $ac_try) 2>&5
23105 ac_status=$?
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); }; }; then
23108 ac_cv_header_ext_hash_map=yes
23109 else
23110 echo "$as_me: failed program was:" >&5
23111 sed 's/^/| /' conftest.$ac_ext >&5
23112
23113 ac_cv_header_ext_hash_map=no
23114 fi
23115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23116 fi
23117 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23118 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23119 if test $ac_cv_header_ext_hash_map = yes; then
23120 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23121 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
23122 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23123 echo $ECHO_N "(cached) $ECHO_C" >&6
23124 else
23125 cat >conftest.$ac_ext <<_ACEOF
23126 /* confdefs.h. */
23127 _ACEOF
23128 cat confdefs.h >>conftest.$ac_ext
23129 cat >>conftest.$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23131 #include <ext/hash_map>
23132 #include <ext/hash_set>
23133 int
23134 main ()
23135 {
23136 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23137 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23138 ;
23139 return 0;
23140 }
23141 _ACEOF
23142 rm -f conftest.$ac_objext
23143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23144 (eval $ac_compile) 2>conftest.er1
23145 ac_status=$?
23146 grep -v '^ *+' conftest.er1 >conftest.err
23147 rm -f conftest.er1
23148 cat conftest.err >&5
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); } &&
23151 { ac_try='test -z "$ac_cxx_werror_flag"
23152 || test ! -s conftest.err'
23153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23154 (eval $ac_try) 2>&5
23155 ac_status=$?
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); }; } &&
23158 { ac_try='test -s conftest.$ac_objext'
23159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23160 (eval $ac_try) 2>&5
23161 ac_status=$?
23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163 (exit $ac_status); }; }; then
23164 wx_cv_class_gnuhashmapset=yes
23165 else
23166 echo "$as_me: failed program was:" >&5
23167 sed 's/^/| /' conftest.$ac_ext >&5
23168
23169 wx_cv_class_gnuhashmapset=no
23170 fi
23171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23172
23173
23174 fi
23175 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23176 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
23177 fi
23178
23179
23180
23181 if test "$wx_cv_class_gnuhashmapset" = yes; then
23182 cat >>confdefs.h <<\_ACEOF
23183 #define HAVE_EXT_HASH_MAP 1
23184 _ACEOF
23185
23186 cat >>confdefs.h <<\_ACEOF
23187 #define HAVE_GNU_CXX_HASH_MAP 1
23188 _ACEOF
23189
23190 fi
23191 fi
23192
23193 ac_ext=c
23194 ac_cpp='$CPP $CPPFLAGS'
23195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23198
23199
23200
23201 SEARCH_INCLUDE="\
23202 /usr/local/include \
23203 \
23204 /usr/Motif-2.1/include \
23205 /usr/Motif-1.2/include \
23206 /usr/include/Motif1.2 \
23207 \
23208 /usr/dt/include \
23209 /usr/openwin/include \
23210 \
23211 /usr/include/Xm \
23212 \
23213 /usr/X11R6/include \
23214 /usr/X11R6.4/include \
23215 /usr/X11R5/include \
23216 /usr/X11R4/include \
23217 \
23218 /usr/include/X11R6 \
23219 /usr/include/X11R5 \
23220 /usr/include/X11R4 \
23221 \
23222 /usr/local/X11R6/include \
23223 /usr/local/X11R5/include \
23224 /usr/local/X11R4/include \
23225 \
23226 /usr/local/include/X11R6 \
23227 /usr/local/include/X11R5 \
23228 /usr/local/include/X11R4 \
23229 \
23230 /usr/X11/include \
23231 /usr/include/X11 \
23232 /usr/local/X11/include \
23233 /usr/local/include/X11 \
23234 \
23235 /usr/XFree86/include/X11 \
23236 /usr/pkg/include \
23237 \
23238 /usr/openwin/share/include"
23239
23240 echo "$as_me:$LINENO: checking for libraries directory" >&5
23241 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23242
23243 case "${host}" in
23244 *-*-irix6* )
23245 if test "${wx_cv_std_libpath+set}" = set; then
23246 echo $ECHO_N "(cached) $ECHO_C" >&6
23247 else
23248
23249 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23250 for e in a so sl dylib dll.a; do
23251 libc="$d/libc.$e"
23252 if test -f $libc; then
23253 save_LIBS="$LIBS"
23254 LIBS="$libc"
23255 cat >conftest.$ac_ext <<_ACEOF
23256 int main() { return 0; }
23257 _ACEOF
23258 rm -f conftest.$ac_objext conftest$ac_exeext
23259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23260 (eval $ac_link) 2>conftest.er1
23261 ac_status=$?
23262 grep -v '^ *+' conftest.er1 >conftest.err
23263 rm -f conftest.er1
23264 cat conftest.err >&5
23265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266 (exit $ac_status); } &&
23267 { ac_try='test -z "$ac_c_werror_flag"
23268 || test ! -s conftest.err'
23269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23270 (eval $ac_try) 2>&5
23271 ac_status=$?
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); }; } &&
23274 { ac_try='test -s conftest$ac_exeext'
23275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276 (eval $ac_try) 2>&5
23277 ac_status=$?
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); }; }; then
23280 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23281 else
23282 echo "$as_me: failed program was:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23284
23285 fi
23286 rm -f conftest.err conftest.$ac_objext \
23287 conftest$ac_exeext conftest.$ac_ext
23288 LIBS="$save_LIBS"
23289 if test "x$wx_cv_std_libpath" != "x"; then
23290 break 2
23291 fi
23292 fi
23293 done
23294 done
23295 if test "x$wx_cv_std_libpath" = "x"; then
23296 wx_cv_std_libpath="lib"
23297 fi
23298
23299
23300 fi
23301
23302 ;;
23303
23304 *-*-solaris2* )
23305 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23306 wx_cv_std_libpath="lib/64"
23307 else
23308 wx_cv_std_libpath="lib"
23309 fi
23310 ;;
23311
23312 *-*-linux* )
23313 if test "$ac_cv_sizeof_void_p" = 8 -a \
23314 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23315 wx_cv_std_libpath="lib64"
23316 else
23317 wx_cv_std_libpath="lib"
23318 fi
23319 ;;
23320
23321 *)
23322 wx_cv_std_libpath="lib";
23323 ;;
23324 esac
23325
23326 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23327 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23328
23329 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23330
23331 if test "$build" != "$host" -a "$GCC" = yes; then
23332 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
23333 cross_root=`dirname $cross_root`
23334 cross_root=`dirname $cross_root`
23335
23336 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23337 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23338 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
23339
23340 if test -z "$PKG_CONFIG_PATH"; then
23341 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23342 export PKG_CONFIG_PATH
23343 fi
23344
23345 if test -z "$x_includes" -o "$x_includes" = NONE; then
23346
23347 ac_find_includes=
23348 for ac_dir in $SEARCH_INCLUDE /usr/include;
23349 do
23350 if test -f "$ac_dir/X11/Intrinsic.h"; then
23351 ac_find_includes=$ac_dir
23352 break
23353 fi
23354 done
23355
23356 x_includes=$ac_find_includes
23357 fi
23358 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
23359
23360 ac_find_libraries=
23361 for ac_dir in $SEARCH_LIB;
23362 do
23363 for ac_extension in a so sl dylib dll.a; do
23364 if test -f "$ac_dir/libXt.$ac_extension"; then
23365 ac_find_libraries=$ac_dir
23366 break 2
23367 fi
23368 done
23369 done
23370
23371 x_libraries=$ac_find_libraries
23372 fi
23373 fi
23374 fi
23375
23376
23377 cat >confcache <<\_ACEOF
23378 # This file is a shell script that caches the results of configure
23379 # tests run on this system so they can be shared between configure
23380 # scripts and configure runs, see configure's option --config-cache.
23381 # It is not useful on other systems. If it contains results you don't
23382 # want to keep, you may remove or edit it.
23383 #
23384 # config.status only pays attention to the cache file if you give it
23385 # the --recheck option to rerun configure.
23386 #
23387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23389 # following values.
23390
23391 _ACEOF
23392
23393 # The following way of writing the cache mishandles newlines in values,
23394 # but we know of no workaround that is simple, portable, and efficient.
23395 # So, don't put newlines in cache variables' values.
23396 # Ultrix sh set writes to stderr and can't be redirected directly,
23397 # and sets the high bit in the cache file unless we assign to the vars.
23398 {
23399 (set) 2>&1 |
23400 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23401 *ac_space=\ *)
23402 # `set' does not quote correctly, so add quotes (double-quote
23403 # substitution turns \\\\ into \\, and sed turns \\ into \).
23404 sed -n \
23405 "s/'/'\\\\''/g;
23406 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23407 ;;
23408 *)
23409 # `set' quotes correctly as required by POSIX, so do not add quotes.
23410 sed -n \
23411 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23412 ;;
23413 esac;
23414 } |
23415 sed '
23416 t clear
23417 : clear
23418 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23419 t end
23420 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23421 : end' >>confcache
23422 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23423 if test -w $cache_file; then
23424 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23425 cat confcache >$cache_file
23426 else
23427 echo "not updating unwritable cache $cache_file"
23428 fi
23429 fi
23430 rm -f confcache
23431
23432 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23433 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23434 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23435 if test "${wx_cv_lib_glibc21+set}" = set; then
23436 echo $ECHO_N "(cached) $ECHO_C" >&6
23437 else
23438
23439 cat >conftest.$ac_ext <<_ACEOF
23440 /* confdefs.h. */
23441 _ACEOF
23442 cat confdefs.h >>conftest.$ac_ext
23443 cat >>conftest.$ac_ext <<_ACEOF
23444 /* end confdefs.h. */
23445 #include <features.h>
23446 int
23447 main ()
23448 {
23449
23450 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23451 not glibc 2.1
23452 #endif
23453
23454 ;
23455 return 0;
23456 }
23457 _ACEOF
23458 rm -f conftest.$ac_objext
23459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23460 (eval $ac_compile) 2>conftest.er1
23461 ac_status=$?
23462 grep -v '^ *+' conftest.er1 >conftest.err
23463 rm -f conftest.er1
23464 cat conftest.err >&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); } &&
23467 { ac_try='test -z "$ac_c_werror_flag"
23468 || test ! -s conftest.err'
23469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23470 (eval $ac_try) 2>&5
23471 ac_status=$?
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); }; } &&
23474 { ac_try='test -s conftest.$ac_objext'
23475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23476 (eval $ac_try) 2>&5
23477 ac_status=$?
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); }; }; then
23480
23481 wx_cv_lib_glibc21=yes
23482
23483 else
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.$ac_ext >&5
23486
23487
23488 wx_cv_lib_glibc21=no
23489
23490
23491 fi
23492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23493
23494 fi
23495 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23496 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23497 if test "$wx_cv_lib_glibc21" = "yes"; then
23498 cat >>confdefs.h <<\_ACEOF
23499 #define wxHAVE_GLIBC2 1
23500 _ACEOF
23501
23502 fi
23503 fi
23504
23505 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23506 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23507 cat >>confdefs.h <<\_ACEOF
23508 #define _GNU_SOURCE 1
23509 _ACEOF
23510
23511 fi
23512 fi
23513
23514 have_cos=0
23515 have_floor=0
23516
23517 for ac_func in cos
23518 do
23519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23520 echo "$as_me:$LINENO: checking for $ac_func" >&5
23521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23522 if eval "test \"\${$as_ac_var+set}\" = set"; then
23523 echo $ECHO_N "(cached) $ECHO_C" >&6
23524 else
23525 cat >conftest.$ac_ext <<_ACEOF
23526 /* confdefs.h. */
23527 _ACEOF
23528 cat confdefs.h >>conftest.$ac_ext
23529 cat >>conftest.$ac_ext <<_ACEOF
23530 /* end confdefs.h. */
23531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23533 #define $ac_func innocuous_$ac_func
23534
23535 /* System header to define __stub macros and hopefully few prototypes,
23536 which can conflict with char $ac_func (); below.
23537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23538 <limits.h> exists even on freestanding compilers. */
23539
23540 #ifdef __STDC__
23541 # include <limits.h>
23542 #else
23543 # include <assert.h>
23544 #endif
23545
23546 #undef $ac_func
23547
23548 /* Override any gcc2 internal prototype to avoid an error. */
23549 #ifdef __cplusplus
23550 extern "C"
23551 {
23552 #endif
23553 /* We use char because int might match the return type of a gcc2
23554 builtin and then its argument prototype would still apply. */
23555 char $ac_func ();
23556 /* The GNU C library defines this for functions which it implements
23557 to always fail with ENOSYS. Some functions are actually named
23558 something starting with __ and the normal name is an alias. */
23559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23560 choke me
23561 #else
23562 char (*f) () = $ac_func;
23563 #endif
23564 #ifdef __cplusplus
23565 }
23566 #endif
23567
23568 int
23569 main ()
23570 {
23571 return f != $ac_func;
23572 ;
23573 return 0;
23574 }
23575 _ACEOF
23576 rm -f conftest.$ac_objext conftest$ac_exeext
23577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23578 (eval $ac_link) 2>conftest.er1
23579 ac_status=$?
23580 grep -v '^ *+' conftest.er1 >conftest.err
23581 rm -f conftest.er1
23582 cat conftest.err >&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); } &&
23585 { ac_try='test -z "$ac_c_werror_flag"
23586 || test ! -s conftest.err'
23587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23588 (eval $ac_try) 2>&5
23589 ac_status=$?
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); }; } &&
23592 { ac_try='test -s conftest$ac_exeext'
23593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23594 (eval $ac_try) 2>&5
23595 ac_status=$?
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); }; }; then
23598 eval "$as_ac_var=yes"
23599 else
23600 echo "$as_me: failed program was:" >&5
23601 sed 's/^/| /' conftest.$ac_ext >&5
23602
23603 eval "$as_ac_var=no"
23604 fi
23605 rm -f conftest.err conftest.$ac_objext \
23606 conftest$ac_exeext conftest.$ac_ext
23607 fi
23608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23610 if test `eval echo '${'$as_ac_var'}'` = yes; then
23611 cat >>confdefs.h <<_ACEOF
23612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23613 _ACEOF
23614 have_cos=1
23615 fi
23616 done
23617
23618
23619 for ac_func in floor
23620 do
23621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23622 echo "$as_me:$LINENO: checking for $ac_func" >&5
23623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23624 if eval "test \"\${$as_ac_var+set}\" = set"; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23626 else
23627 cat >conftest.$ac_ext <<_ACEOF
23628 /* confdefs.h. */
23629 _ACEOF
23630 cat confdefs.h >>conftest.$ac_ext
23631 cat >>conftest.$ac_ext <<_ACEOF
23632 /* end confdefs.h. */
23633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23635 #define $ac_func innocuous_$ac_func
23636
23637 /* System header to define __stub macros and hopefully few prototypes,
23638 which can conflict with char $ac_func (); below.
23639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23640 <limits.h> exists even on freestanding compilers. */
23641
23642 #ifdef __STDC__
23643 # include <limits.h>
23644 #else
23645 # include <assert.h>
23646 #endif
23647
23648 #undef $ac_func
23649
23650 /* Override any gcc2 internal prototype to avoid an error. */
23651 #ifdef __cplusplus
23652 extern "C"
23653 {
23654 #endif
23655 /* We use char because int might match the return type of a gcc2
23656 builtin and then its argument prototype would still apply. */
23657 char $ac_func ();
23658 /* The GNU C library defines this for functions which it implements
23659 to always fail with ENOSYS. Some functions are actually named
23660 something starting with __ and the normal name is an alias. */
23661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23662 choke me
23663 #else
23664 char (*f) () = $ac_func;
23665 #endif
23666 #ifdef __cplusplus
23667 }
23668 #endif
23669
23670 int
23671 main ()
23672 {
23673 return f != $ac_func;
23674 ;
23675 return 0;
23676 }
23677 _ACEOF
23678 rm -f conftest.$ac_objext conftest$ac_exeext
23679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23680 (eval $ac_link) 2>conftest.er1
23681 ac_status=$?
23682 grep -v '^ *+' conftest.er1 >conftest.err
23683 rm -f conftest.er1
23684 cat conftest.err >&5
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); } &&
23687 { ac_try='test -z "$ac_c_werror_flag"
23688 || test ! -s conftest.err'
23689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23690 (eval $ac_try) 2>&5
23691 ac_status=$?
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; } &&
23694 { ac_try='test -s conftest$ac_exeext'
23695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23696 (eval $ac_try) 2>&5
23697 ac_status=$?
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); }; }; then
23700 eval "$as_ac_var=yes"
23701 else
23702 echo "$as_me: failed program was:" >&5
23703 sed 's/^/| /' conftest.$ac_ext >&5
23704
23705 eval "$as_ac_var=no"
23706 fi
23707 rm -f conftest.err conftest.$ac_objext \
23708 conftest$ac_exeext conftest.$ac_ext
23709 fi
23710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23712 if test `eval echo '${'$as_ac_var'}'` = yes; then
23713 cat >>confdefs.h <<_ACEOF
23714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23715 _ACEOF
23716 have_floor=1
23717 fi
23718 done
23719
23720 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
23721 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
23722 if test "$have_cos" = 1 -a "$have_floor" = 1; then
23723 echo "$as_me:$LINENO: result: yes" >&5
23724 echo "${ECHO_T}yes" >&6
23725 else
23726 echo "$as_me:$LINENO: result: no" >&5
23727 echo "${ECHO_T}no" >&6
23728 LIBS="$LIBS -lm"
23729 # use different functions to avoid configure caching
23730 have_sin=0
23731 have_ceil=0
23732
23733 for ac_func in sin
23734 do
23735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23736 echo "$as_me:$LINENO: checking for $ac_func" >&5
23737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23738 if eval "test \"\${$as_ac_var+set}\" = set"; then
23739 echo $ECHO_N "(cached) $ECHO_C" >&6
23740 else
23741 cat >conftest.$ac_ext <<_ACEOF
23742 /* confdefs.h. */
23743 _ACEOF
23744 cat confdefs.h >>conftest.$ac_ext
23745 cat >>conftest.$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23749 #define $ac_func innocuous_$ac_func
23750
23751 /* System header to define __stub macros and hopefully few prototypes,
23752 which can conflict with char $ac_func (); below.
23753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23754 <limits.h> exists even on freestanding compilers. */
23755
23756 #ifdef __STDC__
23757 # include <limits.h>
23758 #else
23759 # include <assert.h>
23760 #endif
23761
23762 #undef $ac_func
23763
23764 /* Override any gcc2 internal prototype to avoid an error. */
23765 #ifdef __cplusplus
23766 extern "C"
23767 {
23768 #endif
23769 /* We use char because int might match the return type of a gcc2
23770 builtin and then its argument prototype would still apply. */
23771 char $ac_func ();
23772 /* The GNU C library defines this for functions which it implements
23773 to always fail with ENOSYS. Some functions are actually named
23774 something starting with __ and the normal name is an alias. */
23775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23776 choke me
23777 #else
23778 char (*f) () = $ac_func;
23779 #endif
23780 #ifdef __cplusplus
23781 }
23782 #endif
23783
23784 int
23785 main ()
23786 {
23787 return f != $ac_func;
23788 ;
23789 return 0;
23790 }
23791 _ACEOF
23792 rm -f conftest.$ac_objext conftest$ac_exeext
23793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23794 (eval $ac_link) 2>conftest.er1
23795 ac_status=$?
23796 grep -v '^ *+' conftest.er1 >conftest.err
23797 rm -f conftest.er1
23798 cat conftest.err >&5
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); } &&
23801 { ac_try='test -z "$ac_c_werror_flag"
23802 || test ! -s conftest.err'
23803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23804 (eval $ac_try) 2>&5
23805 ac_status=$?
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); }; } &&
23808 { ac_try='test -s conftest$ac_exeext'
23809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23810 (eval $ac_try) 2>&5
23811 ac_status=$?
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); }; }; then
23814 eval "$as_ac_var=yes"
23815 else
23816 echo "$as_me: failed program was:" >&5
23817 sed 's/^/| /' conftest.$ac_ext >&5
23818
23819 eval "$as_ac_var=no"
23820 fi
23821 rm -f conftest.err conftest.$ac_objext \
23822 conftest$ac_exeext conftest.$ac_ext
23823 fi
23824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23826 if test `eval echo '${'$as_ac_var'}'` = yes; then
23827 cat >>confdefs.h <<_ACEOF
23828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23829 _ACEOF
23830 have_sin=1
23831 fi
23832 done
23833
23834
23835 for ac_func in ceil
23836 do
23837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23838 echo "$as_me:$LINENO: checking for $ac_func" >&5
23839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23840 if eval "test \"\${$as_ac_var+set}\" = set"; then
23841 echo $ECHO_N "(cached) $ECHO_C" >&6
23842 else
23843 cat >conftest.$ac_ext <<_ACEOF
23844 /* confdefs.h. */
23845 _ACEOF
23846 cat confdefs.h >>conftest.$ac_ext
23847 cat >>conftest.$ac_ext <<_ACEOF
23848 /* end confdefs.h. */
23849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23851 #define $ac_func innocuous_$ac_func
23852
23853 /* System header to define __stub macros and hopefully few prototypes,
23854 which can conflict with char $ac_func (); below.
23855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23856 <limits.h> exists even on freestanding compilers. */
23857
23858 #ifdef __STDC__
23859 # include <limits.h>
23860 #else
23861 # include <assert.h>
23862 #endif
23863
23864 #undef $ac_func
23865
23866 /* Override any gcc2 internal prototype to avoid an error. */
23867 #ifdef __cplusplus
23868 extern "C"
23869 {
23870 #endif
23871 /* We use char because int might match the return type of a gcc2
23872 builtin and then its argument prototype would still apply. */
23873 char $ac_func ();
23874 /* The GNU C library defines this for functions which it implements
23875 to always fail with ENOSYS. Some functions are actually named
23876 something starting with __ and the normal name is an alias. */
23877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23878 choke me
23879 #else
23880 char (*f) () = $ac_func;
23881 #endif
23882 #ifdef __cplusplus
23883 }
23884 #endif
23885
23886 int
23887 main ()
23888 {
23889 return f != $ac_func;
23890 ;
23891 return 0;
23892 }
23893 _ACEOF
23894 rm -f conftest.$ac_objext conftest$ac_exeext
23895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23896 (eval $ac_link) 2>conftest.er1
23897 ac_status=$?
23898 grep -v '^ *+' conftest.er1 >conftest.err
23899 rm -f conftest.er1
23900 cat conftest.err >&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); } &&
23903 { ac_try='test -z "$ac_c_werror_flag"
23904 || test ! -s conftest.err'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23907 ac_status=$?
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; } &&
23910 { ac_try='test -s conftest$ac_exeext'
23911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23912 (eval $ac_try) 2>&5
23913 ac_status=$?
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); }; }; then
23916 eval "$as_ac_var=yes"
23917 else
23918 echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.$ac_ext >&5
23920
23921 eval "$as_ac_var=no"
23922 fi
23923 rm -f conftest.err conftest.$ac_objext \
23924 conftest$ac_exeext conftest.$ac_ext
23925 fi
23926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23928 if test `eval echo '${'$as_ac_var'}'` = yes; then
23929 cat >>confdefs.h <<_ACEOF
23930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23931 _ACEOF
23932 have_ceil=1
23933 fi
23934 done
23935
23936 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
23937 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
23938 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
23939 echo "$as_me:$LINENO: result: yes" >&5
23940 echo "${ECHO_T}yes" >&6
23941 else
23942 echo "$as_me:$LINENO: result: no" >&5
23943 echo "${ECHO_T}no" >&6
23944 # not sure we should warn the user, crash, etc.
23945 fi
23946 fi
23947
23948 ac_ext=cc
23949 ac_cpp='$CXXCPP $CPPFLAGS'
23950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23953
23954 if test "wxUSE_UNICODE" = "yes"; then
23955
23956 for wx_func in wcstoull
23957 do
23958 echo "$as_me:$LINENO: checking for $wx_func" >&5
23959 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
23960 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
23961 echo $ECHO_N "(cached) $ECHO_C" >&6
23962 else
23963
23964 cat >conftest.$ac_ext <<_ACEOF
23965
23966 /* confdefs.h. */
23967 _ACEOF
23968 cat confdefs.h >>conftest.$ac_ext
23969 cat >>conftest.$ac_ext <<_ACEOF
23970 /* end confdefs.h. */
23971
23972
23973 $ac_includes_default
23974
23975 int
23976 main ()
23977 {
23978
23979 #ifndef $wx_func
23980 &$wx_func;
23981 #endif
23982
23983
23984 ;
23985 return 0;
23986 }
23987
23988 _ACEOF
23989 rm -f conftest.$ac_objext conftest$ac_exeext
23990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23991 (eval $ac_link) 2>conftest.er1
23992 ac_status=$?
23993 grep -v '^ *+' conftest.er1 >conftest.err
23994 rm -f conftest.er1
23995 cat conftest.err >&5
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); } &&
23998 { ac_try='test -z "$ac_cxx_werror_flag"
23999 || test ! -s conftest.err'
24000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24001 (eval $ac_try) 2>&5
24002 ac_status=$?
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); }; } &&
24005 { ac_try='test -s conftest$ac_exeext'
24006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24007 (eval $ac_try) 2>&5
24008 ac_status=$?
24009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010 (exit $ac_status); }; }; then
24011 eval wx_cv_func_$wx_func=yes
24012 else
24013 echo "$as_me: failed program was:" >&5
24014 sed 's/^/| /' conftest.$ac_ext >&5
24015
24016 eval wx_cv_func_$wx_func=no
24017 fi
24018 rm -f conftest.err conftest.$ac_objext \
24019 conftest$ac_exeext conftest.$ac_ext
24020
24021 fi
24022 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24023 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24024
24025 if eval test \$wx_cv_func_$wx_func = yes
24026 then
24027 cat >>confdefs.h <<_ACEOF
24028 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24029 _ACEOF
24030
24031
24032 else
24033 :
24034
24035 fi
24036 done
24037
24038 else
24039
24040 for wx_func in strtoull
24041 do
24042 echo "$as_me:$LINENO: checking for $wx_func" >&5
24043 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24044 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24045 echo $ECHO_N "(cached) $ECHO_C" >&6
24046 else
24047
24048 cat >conftest.$ac_ext <<_ACEOF
24049
24050 /* confdefs.h. */
24051 _ACEOF
24052 cat confdefs.h >>conftest.$ac_ext
24053 cat >>conftest.$ac_ext <<_ACEOF
24054 /* end confdefs.h. */
24055
24056
24057 $ac_includes_default
24058
24059 int
24060 main ()
24061 {
24062
24063 #ifndef $wx_func
24064 &$wx_func;
24065 #endif
24066
24067
24068 ;
24069 return 0;
24070 }
24071
24072 _ACEOF
24073 rm -f conftest.$ac_objext conftest$ac_exeext
24074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24075 (eval $ac_link) 2>conftest.er1
24076 ac_status=$?
24077 grep -v '^ *+' conftest.er1 >conftest.err
24078 rm -f conftest.er1
24079 cat conftest.err >&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); } &&
24082 { ac_try='test -z "$ac_cxx_werror_flag"
24083 || test ! -s conftest.err'
24084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24085 (eval $ac_try) 2>&5
24086 ac_status=$?
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); }; } &&
24089 { ac_try='test -s conftest$ac_exeext'
24090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24091 (eval $ac_try) 2>&5
24092 ac_status=$?
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); }; }; then
24095 eval wx_cv_func_$wx_func=yes
24096 else
24097 echo "$as_me: failed program was:" >&5
24098 sed 's/^/| /' conftest.$ac_ext >&5
24099
24100 eval wx_cv_func_$wx_func=no
24101 fi
24102 rm -f conftest.err conftest.$ac_objext \
24103 conftest$ac_exeext conftest.$ac_ext
24104
24105 fi
24106 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24107 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24108
24109 if eval test \$wx_cv_func_$wx_func = yes
24110 then
24111 cat >>confdefs.h <<_ACEOF
24112 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24113 _ACEOF
24114
24115
24116 else
24117 :
24118
24119 fi
24120 done
24121
24122 fi
24123 ac_ext=c
24124 ac_cpp='$CPP $CPPFLAGS'
24125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24128
24129
24130
24131
24132 if test "$wxUSE_REGEX" != "no"; then
24133 cat >>confdefs.h <<\_ACEOF
24134 #define wxUSE_REGEX 1
24135 _ACEOF
24136
24137
24138 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24139 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24140 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24141 wxUSE_REGEX=builtin
24142 fi
24143
24144 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24145 echo "$as_me:$LINENO: checking for regex.h" >&5
24146 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24147 if test "${ac_cv_header_regex_h+set}" = set; then
24148 echo $ECHO_N "(cached) $ECHO_C" >&6
24149 else
24150 cat >conftest.$ac_ext <<_ACEOF
24151 /* confdefs.h. */
24152 _ACEOF
24153 cat confdefs.h >>conftest.$ac_ext
24154 cat >>conftest.$ac_ext <<_ACEOF
24155 /* end confdefs.h. */
24156
24157
24158 #include <regex.h>
24159 _ACEOF
24160 rm -f conftest.$ac_objext
24161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24162 (eval $ac_compile) 2>conftest.er1
24163 ac_status=$?
24164 grep -v '^ *+' conftest.er1 >conftest.err
24165 rm -f conftest.er1
24166 cat conftest.err >&5
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); } &&
24169 { ac_try='test -z "$ac_c_werror_flag"
24170 || test ! -s conftest.err'
24171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24172 (eval $ac_try) 2>&5
24173 ac_status=$?
24174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24175 (exit $ac_status); }; } &&
24176 { ac_try='test -s conftest.$ac_objext'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24179 ac_status=$?
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; }; then
24182 ac_cv_header_regex_h=yes
24183 else
24184 echo "$as_me: failed program was:" >&5
24185 sed 's/^/| /' conftest.$ac_ext >&5
24186
24187 ac_cv_header_regex_h=no
24188 fi
24189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24190 fi
24191 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24192 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24193 if test $ac_cv_header_regex_h = yes; then
24194
24195
24196 for ac_func in regcomp re_search
24197 do
24198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24199 echo "$as_me:$LINENO: checking for $ac_func" >&5
24200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24201 if eval "test \"\${$as_ac_var+set}\" = set"; then
24202 echo $ECHO_N "(cached) $ECHO_C" >&6
24203 else
24204 cat >conftest.$ac_ext <<_ACEOF
24205 /* confdefs.h. */
24206 _ACEOF
24207 cat confdefs.h >>conftest.$ac_ext
24208 cat >>conftest.$ac_ext <<_ACEOF
24209 /* end confdefs.h. */
24210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24212 #define $ac_func innocuous_$ac_func
24213
24214 /* System header to define __stub macros and hopefully few prototypes,
24215 which can conflict with char $ac_func (); below.
24216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24217 <limits.h> exists even on freestanding compilers. */
24218
24219 #ifdef __STDC__
24220 # include <limits.h>
24221 #else
24222 # include <assert.h>
24223 #endif
24224
24225 #undef $ac_func
24226
24227 /* Override any gcc2 internal prototype to avoid an error. */
24228 #ifdef __cplusplus
24229 extern "C"
24230 {
24231 #endif
24232 /* We use char because int might match the return type of a gcc2
24233 builtin and then its argument prototype would still apply. */
24234 char $ac_func ();
24235 /* The GNU C library defines this for functions which it implements
24236 to always fail with ENOSYS. Some functions are actually named
24237 something starting with __ and the normal name is an alias. */
24238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24239 choke me
24240 #else
24241 char (*f) () = $ac_func;
24242 #endif
24243 #ifdef __cplusplus
24244 }
24245 #endif
24246
24247 int
24248 main ()
24249 {
24250 return f != $ac_func;
24251 ;
24252 return 0;
24253 }
24254 _ACEOF
24255 rm -f conftest.$ac_objext conftest$ac_exeext
24256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24257 (eval $ac_link) 2>conftest.er1
24258 ac_status=$?
24259 grep -v '^ *+' conftest.er1 >conftest.err
24260 rm -f conftest.er1
24261 cat conftest.err >&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } &&
24264 { ac_try='test -z "$ac_c_werror_flag"
24265 || test ! -s conftest.err'
24266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24267 (eval $ac_try) 2>&5
24268 ac_status=$?
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); }; } &&
24271 { ac_try='test -s conftest$ac_exeext'
24272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24273 (eval $ac_try) 2>&5
24274 ac_status=$?
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); }; }; then
24277 eval "$as_ac_var=yes"
24278 else
24279 echo "$as_me: failed program was:" >&5
24280 sed 's/^/| /' conftest.$ac_ext >&5
24281
24282 eval "$as_ac_var=no"
24283 fi
24284 rm -f conftest.err conftest.$ac_objext \
24285 conftest$ac_exeext conftest.$ac_ext
24286 fi
24287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24289 if test `eval echo '${'$as_ac_var'}'` = yes; then
24290 cat >>confdefs.h <<_ACEOF
24291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24292 _ACEOF
24293
24294 fi
24295 done
24296
24297 fi
24298
24299
24300
24301 if test "x$ac_cv_func_regcomp" != "xyes"; then
24302 if test "$wxUSE_REGEX" = "sys" ; then
24303 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24304 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24305 { (exit 1); exit 1; }; }
24306 else
24307 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24308 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24309 wxUSE_REGEX=builtin
24310 fi
24311 else
24312 wxUSE_REGEX=sys
24313 cat >>confdefs.h <<\_ACEOF
24314 #define WX_NO_REGEX_ADVANCED 1
24315 _ACEOF
24316
24317 fi
24318 fi
24319 fi
24320
24321
24322 ZLIB_LINK=
24323 if test "$wxUSE_ZLIB" != "no" ; then
24324 cat >>confdefs.h <<\_ACEOF
24325 #define wxUSE_ZLIB 1
24326 _ACEOF
24327
24328
24329 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24330 if test "$USE_DARWIN" = 1; then
24331 system_zlib_h_ok="yes"
24332 else
24333 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24334 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24335 if test "${ac_cv_header_zlib_h+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24337 else
24338 if test "$cross_compiling" = yes; then
24339 unset ac_cv_header_zlib_h
24340
24341 else
24342 cat >conftest.$ac_ext <<_ACEOF
24343 /* confdefs.h. */
24344 _ACEOF
24345 cat confdefs.h >>conftest.$ac_ext
24346 cat >>conftest.$ac_ext <<_ACEOF
24347 /* end confdefs.h. */
24348
24349 #include <zlib.h>
24350 #include <stdio.h>
24351
24352 int main()
24353 {
24354 FILE *f=fopen("conftestval", "w");
24355 if (!f) exit(1);
24356 fprintf(f, "%s",
24357 ZLIB_VERSION[0] == '1' &&
24358 (ZLIB_VERSION[2] > '1' ||
24359 (ZLIB_VERSION[2] == '1' &&
24360 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24361 exit(0);
24362 }
24363
24364 _ACEOF
24365 rm -f conftest$ac_exeext
24366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24367 (eval $ac_link) 2>&5
24368 ac_status=$?
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24372 (eval $ac_try) 2>&5
24373 ac_status=$?
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); }; }; then
24376 ac_cv_header_zlib_h=`cat conftestval`
24377 else
24378 echo "$as_me: program exited with status $ac_status" >&5
24379 echo "$as_me: failed program was:" >&5
24380 sed 's/^/| /' conftest.$ac_ext >&5
24381
24382 ( exit $ac_status )
24383 ac_cv_header_zlib_h=no
24384 fi
24385 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24386 fi
24387
24388 fi
24389 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24390 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24391 echo "$as_me:$LINENO: checking for zlib.h" >&5
24392 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24393 if test "${ac_cv_header_zlib_h+set}" = set; then
24394 echo $ECHO_N "(cached) $ECHO_C" >&6
24395 else
24396 cat >conftest.$ac_ext <<_ACEOF
24397 /* confdefs.h. */
24398 _ACEOF
24399 cat confdefs.h >>conftest.$ac_ext
24400 cat >>conftest.$ac_ext <<_ACEOF
24401 /* end confdefs.h. */
24402
24403
24404 #include <zlib.h>
24405 _ACEOF
24406 rm -f conftest.$ac_objext
24407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24408 (eval $ac_compile) 2>conftest.er1
24409 ac_status=$?
24410 grep -v '^ *+' conftest.er1 >conftest.err
24411 rm -f conftest.er1
24412 cat conftest.err >&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); } &&
24415 { ac_try='test -z "$ac_c_werror_flag"
24416 || test ! -s conftest.err'
24417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24418 (eval $ac_try) 2>&5
24419 ac_status=$?
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); }; } &&
24422 { ac_try='test -s conftest.$ac_objext'
24423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24424 (eval $ac_try) 2>&5
24425 ac_status=$?
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); }; }; then
24428 ac_cv_header_zlib_h=yes
24429 else
24430 echo "$as_me: failed program was:" >&5
24431 sed 's/^/| /' conftest.$ac_ext >&5
24432
24433 ac_cv_header_zlib_h=no
24434 fi
24435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24436 fi
24437 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24438 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24439
24440
24441
24442 system_zlib_h_ok=$ac_cv_header_zlib_h
24443 fi
24444
24445 if test "$system_zlib_h_ok" = "yes"; then
24446 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24447 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24448 if test "${ac_cv_lib_z_deflate+set}" = set; then
24449 echo $ECHO_N "(cached) $ECHO_C" >&6
24450 else
24451 ac_check_lib_save_LIBS=$LIBS
24452 LIBS="-lz $LIBS"
24453 cat >conftest.$ac_ext <<_ACEOF
24454 /* confdefs.h. */
24455 _ACEOF
24456 cat confdefs.h >>conftest.$ac_ext
24457 cat >>conftest.$ac_ext <<_ACEOF
24458 /* end confdefs.h. */
24459
24460 /* Override any gcc2 internal prototype to avoid an error. */
24461 #ifdef __cplusplus
24462 extern "C"
24463 #endif
24464 /* We use char because int might match the return type of a gcc2
24465 builtin and then its argument prototype would still apply. */
24466 char deflate ();
24467 int
24468 main ()
24469 {
24470 deflate ();
24471 ;
24472 return 0;
24473 }
24474 _ACEOF
24475 rm -f conftest.$ac_objext conftest$ac_exeext
24476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24477 (eval $ac_link) 2>conftest.er1
24478 ac_status=$?
24479 grep -v '^ *+' conftest.er1 >conftest.err
24480 rm -f conftest.er1
24481 cat conftest.err >&5
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); } &&
24484 { ac_try='test -z "$ac_c_werror_flag"
24485 || test ! -s conftest.err'
24486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24487 (eval $ac_try) 2>&5
24488 ac_status=$?
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); }; } &&
24491 { ac_try='test -s conftest$ac_exeext'
24492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24493 (eval $ac_try) 2>&5
24494 ac_status=$?
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); }; }; then
24497 ac_cv_lib_z_deflate=yes
24498 else
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.$ac_ext >&5
24501
24502 ac_cv_lib_z_deflate=no
24503 fi
24504 rm -f conftest.err conftest.$ac_objext \
24505 conftest$ac_exeext conftest.$ac_ext
24506 LIBS=$ac_check_lib_save_LIBS
24507 fi
24508 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24509 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24510 if test $ac_cv_lib_z_deflate = yes; then
24511 ZLIB_LINK=" -lz"
24512 fi
24513
24514 fi
24515
24516 if test "x$ZLIB_LINK" = "x" ; then
24517 if test "$wxUSE_ZLIB" = "sys" ; then
24518 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24519 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24520 { (exit 1); exit 1; }; }
24521 else
24522 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24523 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24524 wxUSE_ZLIB=builtin
24525 fi
24526 else
24527 wxUSE_ZLIB=sys
24528 fi
24529 fi
24530 fi
24531
24532
24533 PNG_LINK=
24534 if test "$wxUSE_LIBPNG" != "no" ; then
24535 cat >>confdefs.h <<\_ACEOF
24536 #define wxUSE_LIBPNG 1
24537 _ACEOF
24538
24539
24540 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24541 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24542 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24543 wxUSE_LIBPNG=sys
24544 fi
24545
24546 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24547 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24548 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24549 wxUSE_LIBPNG=builtin
24550 fi
24551
24552 if test "$wxUSE_MGL" != 1 ; then
24553 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24554 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24555 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24556 if test "${ac_cv_header_png_h+set}" = set; then
24557 echo $ECHO_N "(cached) $ECHO_C" >&6
24558 else
24559 if test "$cross_compiling" = yes; then
24560 unset ac_cv_header_png_h
24561
24562 else
24563 cat >conftest.$ac_ext <<_ACEOF
24564 /* confdefs.h. */
24565 _ACEOF
24566 cat confdefs.h >>conftest.$ac_ext
24567 cat >>conftest.$ac_ext <<_ACEOF
24568 /* end confdefs.h. */
24569
24570 #include <png.h>
24571 #include <stdio.h>
24572
24573 int main()
24574 {
24575 FILE *f=fopen("conftestval", "w");
24576 if (!f) exit(1);
24577 fprintf(f, "%s",
24578 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24579 exit(0);
24580 }
24581
24582 _ACEOF
24583 rm -f conftest$ac_exeext
24584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24585 (eval $ac_link) 2>&5
24586 ac_status=$?
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24590 (eval $ac_try) 2>&5
24591 ac_status=$?
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); }; }; then
24594 ac_cv_header_png_h=`cat conftestval`
24595 else
24596 echo "$as_me: program exited with status $ac_status" >&5
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.$ac_ext >&5
24599
24600 ( exit $ac_status )
24601 ac_cv_header_png_h=no
24602 fi
24603 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24604 fi
24605
24606 fi
24607 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24608 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24609 echo "$as_me:$LINENO: checking for png.h" >&5
24610 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24611 if test "${ac_cv_header_png_h+set}" = set; then
24612 echo $ECHO_N "(cached) $ECHO_C" >&6
24613 else
24614 cat >conftest.$ac_ext <<_ACEOF
24615 /* confdefs.h. */
24616 _ACEOF
24617 cat confdefs.h >>conftest.$ac_ext
24618 cat >>conftest.$ac_ext <<_ACEOF
24619 /* end confdefs.h. */
24620
24621
24622 #include <png.h>
24623 _ACEOF
24624 rm -f conftest.$ac_objext
24625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24626 (eval $ac_compile) 2>conftest.er1
24627 ac_status=$?
24628 grep -v '^ *+' conftest.er1 >conftest.err
24629 rm -f conftest.er1
24630 cat conftest.err >&5
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); } &&
24633 { ac_try='test -z "$ac_c_werror_flag"
24634 || test ! -s conftest.err'
24635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24636 (eval $ac_try) 2>&5
24637 ac_status=$?
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); }; } &&
24640 { ac_try='test -s conftest.$ac_objext'
24641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24642 (eval $ac_try) 2>&5
24643 ac_status=$?
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); }; }; then
24646 ac_cv_header_png_h=yes
24647 else
24648 echo "$as_me: failed program was:" >&5
24649 sed 's/^/| /' conftest.$ac_ext >&5
24650
24651 ac_cv_header_png_h=no
24652 fi
24653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24654 fi
24655 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24656 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24657
24658
24659
24660 if test "$ac_cv_header_png_h" = "yes"; then
24661 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24662 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24663 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24664 echo $ECHO_N "(cached) $ECHO_C" >&6
24665 else
24666 ac_check_lib_save_LIBS=$LIBS
24667 LIBS="-lpng -lz -lm $LIBS"
24668 cat >conftest.$ac_ext <<_ACEOF
24669 /* confdefs.h. */
24670 _ACEOF
24671 cat confdefs.h >>conftest.$ac_ext
24672 cat >>conftest.$ac_ext <<_ACEOF
24673 /* end confdefs.h. */
24674
24675 /* Override any gcc2 internal prototype to avoid an error. */
24676 #ifdef __cplusplus
24677 extern "C"
24678 #endif
24679 /* We use char because int might match the return type of a gcc2
24680 builtin and then its argument prototype would still apply. */
24681 char png_check_sig ();
24682 int
24683 main ()
24684 {
24685 png_check_sig ();
24686 ;
24687 return 0;
24688 }
24689 _ACEOF
24690 rm -f conftest.$ac_objext conftest$ac_exeext
24691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24692 (eval $ac_link) 2>conftest.er1
24693 ac_status=$?
24694 grep -v '^ *+' conftest.er1 >conftest.err
24695 rm -f conftest.er1
24696 cat conftest.err >&5
24697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698 (exit $ac_status); } &&
24699 { ac_try='test -z "$ac_c_werror_flag"
24700 || test ! -s conftest.err'
24701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24702 (eval $ac_try) 2>&5
24703 ac_status=$?
24704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24705 (exit $ac_status); }; } &&
24706 { ac_try='test -s conftest$ac_exeext'
24707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24708 (eval $ac_try) 2>&5
24709 ac_status=$?
24710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24711 (exit $ac_status); }; }; then
24712 ac_cv_lib_png_png_check_sig=yes
24713 else
24714 echo "$as_me: failed program was:" >&5
24715 sed 's/^/| /' conftest.$ac_ext >&5
24716
24717 ac_cv_lib_png_png_check_sig=no
24718 fi
24719 rm -f conftest.err conftest.$ac_objext \
24720 conftest$ac_exeext conftest.$ac_ext
24721 LIBS=$ac_check_lib_save_LIBS
24722 fi
24723 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24724 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24725 if test $ac_cv_lib_png_png_check_sig = yes; then
24726 PNG_LINK=" -lpng -lz"
24727 fi
24728
24729 fi
24730
24731 if test "x$PNG_LINK" = "x" ; then
24732 if test "$wxUSE_LIBPNG" = "sys" ; then
24733 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24734 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24735 { (exit 1); exit 1; }; }
24736 else
24737 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24738 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24739 wxUSE_LIBPNG=builtin
24740 fi
24741 else
24742 wxUSE_LIBPNG=sys
24743 fi
24744 fi
24745 fi
24746
24747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
24748 fi
24749
24750
24751 JPEG_LINK=
24752 if test "$wxUSE_LIBJPEG" != "no" ; then
24753 cat >>confdefs.h <<\_ACEOF
24754 #define wxUSE_LIBJPEG 1
24755 _ACEOF
24756
24757
24758 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24759 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24760 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24761 wxUSE_LIBJPEG=sys
24762 fi
24763
24764 if test "$wxUSE_MGL" != 1 ; then
24765 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24766 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24767 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24768 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24769 echo $ECHO_N "(cached) $ECHO_C" >&6
24770 else
24771 cat >conftest.$ac_ext <<_ACEOF
24772 /* confdefs.h. */
24773 _ACEOF
24774 cat confdefs.h >>conftest.$ac_ext
24775 cat >>conftest.$ac_ext <<_ACEOF
24776 /* end confdefs.h. */
24777
24778 #undef HAVE_STDLIB_H
24779 #include <stdio.h>
24780 #include <jpeglib.h>
24781
24782 int
24783 main ()
24784 {
24785
24786
24787 ;
24788 return 0;
24789 }
24790 _ACEOF
24791 rm -f conftest.$ac_objext
24792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24793 (eval $ac_compile) 2>conftest.er1
24794 ac_status=$?
24795 grep -v '^ *+' conftest.er1 >conftest.err
24796 rm -f conftest.er1
24797 cat conftest.err >&5
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); } &&
24800 { ac_try='test -z "$ac_c_werror_flag"
24801 || test ! -s conftest.err'
24802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803 (eval $ac_try) 2>&5
24804 ac_status=$?
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); }; } &&
24807 { ac_try='test -s conftest.$ac_objext'
24808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24809 (eval $ac_try) 2>&5
24810 ac_status=$?
24811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812 (exit $ac_status); }; }; then
24813 ac_cv_header_jpeglib_h=yes
24814 else
24815 echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.$ac_ext >&5
24817
24818 ac_cv_header_jpeglib_h=no
24819
24820 fi
24821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24822
24823 fi
24824
24825 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24826 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24827
24828 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24829 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24830 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24831 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24832 echo $ECHO_N "(cached) $ECHO_C" >&6
24833 else
24834 ac_check_lib_save_LIBS=$LIBS
24835 LIBS="-ljpeg $LIBS"
24836 cat >conftest.$ac_ext <<_ACEOF
24837 /* confdefs.h. */
24838 _ACEOF
24839 cat confdefs.h >>conftest.$ac_ext
24840 cat >>conftest.$ac_ext <<_ACEOF
24841 /* end confdefs.h. */
24842
24843 /* Override any gcc2 internal prototype to avoid an error. */
24844 #ifdef __cplusplus
24845 extern "C"
24846 #endif
24847 /* We use char because int might match the return type of a gcc2
24848 builtin and then its argument prototype would still apply. */
24849 char jpeg_read_header ();
24850 int
24851 main ()
24852 {
24853 jpeg_read_header ();
24854 ;
24855 return 0;
24856 }
24857 _ACEOF
24858 rm -f conftest.$ac_objext conftest$ac_exeext
24859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24860 (eval $ac_link) 2>conftest.er1
24861 ac_status=$?
24862 grep -v '^ *+' conftest.er1 >conftest.err
24863 rm -f conftest.er1
24864 cat conftest.err >&5
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); } &&
24867 { ac_try='test -z "$ac_c_werror_flag"
24868 || test ! -s conftest.err'
24869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24870 (eval $ac_try) 2>&5
24871 ac_status=$?
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); }; } &&
24874 { ac_try='test -s conftest$ac_exeext'
24875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24876 (eval $ac_try) 2>&5
24877 ac_status=$?
24878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); }; }; then
24880 ac_cv_lib_jpeg_jpeg_read_header=yes
24881 else
24882 echo "$as_me: failed program was:" >&5
24883 sed 's/^/| /' conftest.$ac_ext >&5
24884
24885 ac_cv_lib_jpeg_jpeg_read_header=no
24886 fi
24887 rm -f conftest.err conftest.$ac_objext \
24888 conftest$ac_exeext conftest.$ac_ext
24889 LIBS=$ac_check_lib_save_LIBS
24890 fi
24891 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24892 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24893 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24894 JPEG_LINK=" -ljpeg"
24895 fi
24896
24897 fi
24898
24899 if test "x$JPEG_LINK" = "x" ; then
24900 if test "$wxUSE_LIBJPEG" = "sys" ; then
24901 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24902 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24903 { (exit 1); exit 1; }; }
24904 else
24905 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24906 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24907 wxUSE_LIBJPEG=builtin
24908 fi
24909 else
24910 wxUSE_LIBJPEG=sys
24911
24912 if test "$wxUSE_MSW" = 1; then
24913 echo "$as_me:$LINENO: checking for boolean" >&5
24914 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
24915 if test "${ac_cv_type_boolean+set}" = set; then
24916 echo $ECHO_N "(cached) $ECHO_C" >&6
24917 else
24918 cat >conftest.$ac_ext <<_ACEOF
24919 /* confdefs.h. */
24920 _ACEOF
24921 cat confdefs.h >>conftest.$ac_ext
24922 cat >>conftest.$ac_ext <<_ACEOF
24923 /* end confdefs.h. */
24924 #include <windows.h>
24925
24926 int
24927 main ()
24928 {
24929 if ((boolean *) 0)
24930 return 0;
24931 if (sizeof (boolean))
24932 return 0;
24933 ;
24934 return 0;
24935 }
24936 _ACEOF
24937 rm -f conftest.$ac_objext
24938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24939 (eval $ac_compile) 2>conftest.er1
24940 ac_status=$?
24941 grep -v '^ *+' conftest.er1 >conftest.err
24942 rm -f conftest.er1
24943 cat conftest.err >&5
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); } &&
24946 { ac_try='test -z "$ac_c_werror_flag"
24947 || test ! -s conftest.err'
24948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24949 (eval $ac_try) 2>&5
24950 ac_status=$?
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); }; } &&
24953 { ac_try='test -s conftest.$ac_objext'
24954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24955 (eval $ac_try) 2>&5
24956 ac_status=$?
24957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); }; }; then
24959 ac_cv_type_boolean=yes
24960 else
24961 echo "$as_me: failed program was:" >&5
24962 sed 's/^/| /' conftest.$ac_ext >&5
24963
24964 ac_cv_type_boolean=no
24965 fi
24966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24967 fi
24968 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
24969 echo "${ECHO_T}$ac_cv_type_boolean" >&6
24970 if test $ac_cv_type_boolean = yes; then
24971
24972 cat >>confdefs.h <<_ACEOF
24973 #define HAVE_BOOLEAN 1
24974 _ACEOF
24975
24976
24977 echo "$as_me:$LINENO: checking for boolean" >&5
24978 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
24979 if test "${ac_cv_type_boolean+set}" = set; then
24980 echo $ECHO_N "(cached) $ECHO_C" >&6
24981 else
24982 cat >conftest.$ac_ext <<_ACEOF
24983 /* confdefs.h. */
24984 _ACEOF
24985 cat confdefs.h >>conftest.$ac_ext
24986 cat >>conftest.$ac_ext <<_ACEOF
24987 /* end confdefs.h. */
24988
24989 #undef HAVE_BOOLEAN
24990 #include <stdio.h>
24991 #include <jpeglib.h>
24992
24993
24994 int
24995 main ()
24996 {
24997 if ((boolean *) 0)
24998 return 0;
24999 if (sizeof (boolean))
25000 return 0;
25001 ;
25002 return 0;
25003 }
25004 _ACEOF
25005 rm -f conftest.$ac_objext
25006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25007 (eval $ac_compile) 2>conftest.er1
25008 ac_status=$?
25009 grep -v '^ *+' conftest.er1 >conftest.err
25010 rm -f conftest.er1
25011 cat conftest.err >&5
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); } &&
25014 { ac_try='test -z "$ac_c_werror_flag"
25015 || test ! -s conftest.err'
25016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25017 (eval $ac_try) 2>&5
25018 ac_status=$?
25019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25020 (exit $ac_status); }; } &&
25021 { ac_try='test -s conftest.$ac_objext'
25022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25023 (eval $ac_try) 2>&5
25024 ac_status=$?
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); }; }; then
25027 ac_cv_type_boolean=yes
25028 else
25029 echo "$as_me: failed program was:" >&5
25030 sed 's/^/| /' conftest.$ac_ext >&5
25031
25032 ac_cv_type_boolean=no
25033 fi
25034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25035 fi
25036 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25037 echo "${ECHO_T}$ac_cv_type_boolean" >&6
25038
25039 echo "$as_me:$LINENO: checking size of boolean" >&5
25040 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
25041 if test "${ac_cv_sizeof_boolean+set}" = set; then
25042 echo $ECHO_N "(cached) $ECHO_C" >&6
25043 else
25044 if test "$ac_cv_type_boolean" = yes; then
25045 # The cast to unsigned long works around a bug in the HP C Compiler
25046 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25047 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25048 # This bug is HP SR number 8606223364.
25049 if test "$cross_compiling" = yes; then
25050 # Depending upon the size, compute the lo and hi bounds.
25051 cat >conftest.$ac_ext <<_ACEOF
25052 /* confdefs.h. */
25053 _ACEOF
25054 cat confdefs.h >>conftest.$ac_ext
25055 cat >>conftest.$ac_ext <<_ACEOF
25056 /* end confdefs.h. */
25057
25058 #undef HAVE_BOOLEAN
25059 #include <stdio.h>
25060 #include <jpeglib.h>
25061
25062
25063 int
25064 main ()
25065 {
25066 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
25067 test_array [0] = 0
25068
25069 ;
25070 return 0;
25071 }
25072 _ACEOF
25073 rm -f conftest.$ac_objext
25074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25075 (eval $ac_compile) 2>conftest.er1
25076 ac_status=$?
25077 grep -v '^ *+' conftest.er1 >conftest.err
25078 rm -f conftest.er1
25079 cat conftest.err >&5
25080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25081 (exit $ac_status); } &&
25082 { ac_try='test -z "$ac_c_werror_flag"
25083 || test ! -s conftest.err'
25084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25085 (eval $ac_try) 2>&5
25086 ac_status=$?
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); }; } &&
25089 { ac_try='test -s conftest.$ac_objext'
25090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25091 (eval $ac_try) 2>&5
25092 ac_status=$?
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); }; }; then
25095 ac_lo=0 ac_mid=0
25096 while :; do
25097 cat >conftest.$ac_ext <<_ACEOF
25098 /* confdefs.h. */
25099 _ACEOF
25100 cat confdefs.h >>conftest.$ac_ext
25101 cat >>conftest.$ac_ext <<_ACEOF
25102 /* end confdefs.h. */
25103
25104 #undef HAVE_BOOLEAN
25105 #include <stdio.h>
25106 #include <jpeglib.h>
25107
25108
25109 int
25110 main ()
25111 {
25112 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25113 test_array [0] = 0
25114
25115 ;
25116 return 0;
25117 }
25118 _ACEOF
25119 rm -f conftest.$ac_objext
25120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25121 (eval $ac_compile) 2>conftest.er1
25122 ac_status=$?
25123 grep -v '^ *+' conftest.er1 >conftest.err
25124 rm -f conftest.er1
25125 cat conftest.err >&5
25126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25127 (exit $ac_status); } &&
25128 { ac_try='test -z "$ac_c_werror_flag"
25129 || test ! -s conftest.err'
25130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131 (eval $ac_try) 2>&5
25132 ac_status=$?
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); }; } &&
25135 { ac_try='test -s conftest.$ac_objext'
25136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25137 (eval $ac_try) 2>&5
25138 ac_status=$?
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); }; }; then
25141 ac_hi=$ac_mid; break
25142 else
25143 echo "$as_me: failed program was:" >&5
25144 sed 's/^/| /' conftest.$ac_ext >&5
25145
25146 ac_lo=`expr $ac_mid + 1`
25147 if test $ac_lo -le $ac_mid; then
25148 ac_lo= ac_hi=
25149 break
25150 fi
25151 ac_mid=`expr 2 '*' $ac_mid + 1`
25152 fi
25153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25154 done
25155 else
25156 echo "$as_me: failed program was:" >&5
25157 sed 's/^/| /' conftest.$ac_ext >&5
25158
25159 cat >conftest.$ac_ext <<_ACEOF
25160 /* confdefs.h. */
25161 _ACEOF
25162 cat confdefs.h >>conftest.$ac_ext
25163 cat >>conftest.$ac_ext <<_ACEOF
25164 /* end confdefs.h. */
25165
25166 #undef HAVE_BOOLEAN
25167 #include <stdio.h>
25168 #include <jpeglib.h>
25169
25170
25171 int
25172 main ()
25173 {
25174 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
25175 test_array [0] = 0
25176
25177 ;
25178 return 0;
25179 }
25180 _ACEOF
25181 rm -f conftest.$ac_objext
25182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25183 (eval $ac_compile) 2>conftest.er1
25184 ac_status=$?
25185 grep -v '^ *+' conftest.er1 >conftest.err
25186 rm -f conftest.er1
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } &&
25190 { ac_try='test -z "$ac_c_werror_flag"
25191 || test ! -s conftest.err'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; } &&
25197 { ac_try='test -s conftest.$ac_objext'
25198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25199 (eval $ac_try) 2>&5
25200 ac_status=$?
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }; }; then
25203 ac_hi=-1 ac_mid=-1
25204 while :; do
25205 cat >conftest.$ac_ext <<_ACEOF
25206 /* confdefs.h. */
25207 _ACEOF
25208 cat confdefs.h >>conftest.$ac_ext
25209 cat >>conftest.$ac_ext <<_ACEOF
25210 /* end confdefs.h. */
25211
25212 #undef HAVE_BOOLEAN
25213 #include <stdio.h>
25214 #include <jpeglib.h>
25215
25216
25217 int
25218 main ()
25219 {
25220 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
25221 test_array [0] = 0
25222
25223 ;
25224 return 0;
25225 }
25226 _ACEOF
25227 rm -f conftest.$ac_objext
25228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25229 (eval $ac_compile) 2>conftest.er1
25230 ac_status=$?
25231 grep -v '^ *+' conftest.er1 >conftest.err
25232 rm -f conftest.er1
25233 cat conftest.err >&5
25234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25235 (exit $ac_status); } &&
25236 { ac_try='test -z "$ac_c_werror_flag"
25237 || test ! -s conftest.err'
25238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25239 (eval $ac_try) 2>&5
25240 ac_status=$?
25241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242 (exit $ac_status); }; } &&
25243 { ac_try='test -s conftest.$ac_objext'
25244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25245 (eval $ac_try) 2>&5
25246 ac_status=$?
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); }; }; then
25249 ac_lo=$ac_mid; break
25250 else
25251 echo "$as_me: failed program was:" >&5
25252 sed 's/^/| /' conftest.$ac_ext >&5
25253
25254 ac_hi=`expr '(' $ac_mid ')' - 1`
25255 if test $ac_mid -le $ac_hi; then
25256 ac_lo= ac_hi=
25257 break
25258 fi
25259 ac_mid=`expr 2 '*' $ac_mid`
25260 fi
25261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25262 done
25263 else
25264 echo "$as_me: failed program was:" >&5
25265 sed 's/^/| /' conftest.$ac_ext >&5
25266
25267 ac_lo= ac_hi=
25268 fi
25269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25270 fi
25271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25272 # Binary search between lo and hi bounds.
25273 while test "x$ac_lo" != "x$ac_hi"; do
25274 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25275 cat >conftest.$ac_ext <<_ACEOF
25276 /* confdefs.h. */
25277 _ACEOF
25278 cat confdefs.h >>conftest.$ac_ext
25279 cat >>conftest.$ac_ext <<_ACEOF
25280 /* end confdefs.h. */
25281
25282 #undef HAVE_BOOLEAN
25283 #include <stdio.h>
25284 #include <jpeglib.h>
25285
25286
25287 int
25288 main ()
25289 {
25290 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25291 test_array [0] = 0
25292
25293 ;
25294 return 0;
25295 }
25296 _ACEOF
25297 rm -f conftest.$ac_objext
25298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25299 (eval $ac_compile) 2>conftest.er1
25300 ac_status=$?
25301 grep -v '^ *+' conftest.er1 >conftest.err
25302 rm -f conftest.er1
25303 cat conftest.err >&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } &&
25306 { ac_try='test -z "$ac_c_werror_flag"
25307 || test ! -s conftest.err'
25308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25309 (eval $ac_try) 2>&5
25310 ac_status=$?
25311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312 (exit $ac_status); }; } &&
25313 { ac_try='test -s conftest.$ac_objext'
25314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25315 (eval $ac_try) 2>&5
25316 ac_status=$?
25317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318 (exit $ac_status); }; }; then
25319 ac_hi=$ac_mid
25320 else
25321 echo "$as_me: failed program was:" >&5
25322 sed 's/^/| /' conftest.$ac_ext >&5
25323
25324 ac_lo=`expr '(' $ac_mid ')' + 1`
25325 fi
25326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25327 done
25328 case $ac_lo in
25329 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25330 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25331 See \`config.log' for more details." >&5
25332 echo "$as_me: error: cannot compute sizeof (boolean), 77
25333 See \`config.log' for more details." >&2;}
25334 { (exit 1); exit 1; }; } ;;
25335 esac
25336 else
25337 if test "$cross_compiling" = yes; then
25338 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25339 See \`config.log' for more details." >&5
25340 echo "$as_me: error: cannot run test program while cross compiling
25341 See \`config.log' for more details." >&2;}
25342 { (exit 1); exit 1; }; }
25343 else
25344 cat >conftest.$ac_ext <<_ACEOF
25345 /* confdefs.h. */
25346 _ACEOF
25347 cat confdefs.h >>conftest.$ac_ext
25348 cat >>conftest.$ac_ext <<_ACEOF
25349 /* end confdefs.h. */
25350
25351 #undef HAVE_BOOLEAN
25352 #include <stdio.h>
25353 #include <jpeglib.h>
25354
25355
25356 long longval () { return (long) (sizeof (boolean)); }
25357 unsigned long ulongval () { return (long) (sizeof (boolean)); }
25358 #include <stdio.h>
25359 #include <stdlib.h>
25360 int
25361 main ()
25362 {
25363
25364 FILE *f = fopen ("conftest.val", "w");
25365 if (! f)
25366 exit (1);
25367 if (((long) (sizeof (boolean))) < 0)
25368 {
25369 long i = longval ();
25370 if (i != ((long) (sizeof (boolean))))
25371 exit (1);
25372 fprintf (f, "%ld\n", i);
25373 }
25374 else
25375 {
25376 unsigned long i = ulongval ();
25377 if (i != ((long) (sizeof (boolean))))
25378 exit (1);
25379 fprintf (f, "%lu\n", i);
25380 }
25381 exit (ferror (f) || fclose (f) != 0);
25382
25383 ;
25384 return 0;
25385 }
25386 _ACEOF
25387 rm -f conftest$ac_exeext
25388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25389 (eval $ac_link) 2>&5
25390 ac_status=$?
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25394 (eval $ac_try) 2>&5
25395 ac_status=$?
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); }; }; then
25398 ac_cv_sizeof_boolean=`cat conftest.val`
25399 else
25400 echo "$as_me: program exited with status $ac_status" >&5
25401 echo "$as_me: failed program was:" >&5
25402 sed 's/^/| /' conftest.$ac_ext >&5
25403
25404 ( exit $ac_status )
25405 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25406 See \`config.log' for more details." >&5
25407 echo "$as_me: error: cannot compute sizeof (boolean), 77
25408 See \`config.log' for more details." >&2;}
25409 { (exit 1); exit 1; }; }
25410 fi
25411 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25412 fi
25413 fi
25414 rm -f conftest.val
25415 else
25416 ac_cv_sizeof_boolean=0
25417 fi
25418 fi
25419 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
25420 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
25421 cat >>confdefs.h <<_ACEOF
25422 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
25423 _ACEOF
25424
25425
25426 cat >>confdefs.h <<_ACEOF
25427 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
25428 _ACEOF
25429
25430
25431 fi
25432
25433 fi
25434 fi
25435 fi
25436 fi
25437 fi
25438
25439
25440 TIFF_LINK=
25441 TIFF_PREREQ_LINKS=-lm
25442 if test "$wxUSE_LIBTIFF" != "no" ; then
25443 cat >>confdefs.h <<\_ACEOF
25444 #define wxUSE_LIBTIFF 1
25445 _ACEOF
25446
25447
25448 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25449 if test "$wxUSE_LIBJPEG" = "sys"; then
25450 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
25451 fi
25452 if test "$wxUSE_ZLIB" = "sys"; then
25453 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25454 fi
25455 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25456 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25457 if test "${ac_cv_header_tiffio_h+set}" = set; then
25458 echo $ECHO_N "(cached) $ECHO_C" >&6
25459 else
25460 cat >conftest.$ac_ext <<_ACEOF
25461 /* confdefs.h. */
25462 _ACEOF
25463 cat confdefs.h >>conftest.$ac_ext
25464 cat >>conftest.$ac_ext <<_ACEOF
25465 /* end confdefs.h. */
25466
25467
25468
25469 #include <tiffio.h>
25470 _ACEOF
25471 rm -f conftest.$ac_objext
25472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25473 (eval $ac_compile) 2>conftest.er1
25474 ac_status=$?
25475 grep -v '^ *+' conftest.er1 >conftest.err
25476 rm -f conftest.er1
25477 cat conftest.err >&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } &&
25480 { ac_try='test -z "$ac_c_werror_flag"
25481 || test ! -s conftest.err'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25484 ac_status=$?
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; } &&
25487 { ac_try='test -s conftest.$ac_objext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25490 ac_status=$?
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 ac_cv_header_tiffio_h=yes
25494 else
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.$ac_ext >&5
25497
25498 ac_cv_header_tiffio_h=no
25499 fi
25500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25501 fi
25502 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25503 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25504 if test $ac_cv_header_tiffio_h = yes; then
25505
25506 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25507 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25508 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25509 echo $ECHO_N "(cached) $ECHO_C" >&6
25510 else
25511 ac_check_lib_save_LIBS=$LIBS
25512 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25513 cat >conftest.$ac_ext <<_ACEOF
25514 /* confdefs.h. */
25515 _ACEOF
25516 cat confdefs.h >>conftest.$ac_ext
25517 cat >>conftest.$ac_ext <<_ACEOF
25518 /* end confdefs.h. */
25519
25520 /* Override any gcc2 internal prototype to avoid an error. */
25521 #ifdef __cplusplus
25522 extern "C"
25523 #endif
25524 /* We use char because int might match the return type of a gcc2
25525 builtin and then its argument prototype would still apply. */
25526 char TIFFError ();
25527 int
25528 main ()
25529 {
25530 TIFFError ();
25531 ;
25532 return 0;
25533 }
25534 _ACEOF
25535 rm -f conftest.$ac_objext conftest$ac_exeext
25536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25537 (eval $ac_link) 2>conftest.er1
25538 ac_status=$?
25539 grep -v '^ *+' conftest.er1 >conftest.err
25540 rm -f conftest.er1
25541 cat conftest.err >&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); } &&
25544 { ac_try='test -z "$ac_c_werror_flag"
25545 || test ! -s conftest.err'
25546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25547 (eval $ac_try) 2>&5
25548 ac_status=$?
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); }; } &&
25551 { ac_try='test -s conftest$ac_exeext'
25552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25553 (eval $ac_try) 2>&5
25554 ac_status=$?
25555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25556 (exit $ac_status); }; }; then
25557 ac_cv_lib_tiff_TIFFError=yes
25558 else
25559 echo "$as_me: failed program was:" >&5
25560 sed 's/^/| /' conftest.$ac_ext >&5
25561
25562 ac_cv_lib_tiff_TIFFError=no
25563 fi
25564 rm -f conftest.err conftest.$ac_objext \
25565 conftest$ac_exeext conftest.$ac_ext
25566 LIBS=$ac_check_lib_save_LIBS
25567 fi
25568 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25569 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25570 if test $ac_cv_lib_tiff_TIFFError = yes; then
25571 TIFF_LINK=" -ltiff"
25572 fi
25573
25574
25575 fi
25576
25577
25578
25579 if test "x$TIFF_LINK" = "x" ; then
25580 if test "$wxUSE_LIBTIFF" = "sys" ; then
25581 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25582 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25583 { (exit 1); exit 1; }; }
25584 else
25585 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25586 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25587 wxUSE_LIBTIFF=builtin
25588 fi
25589 else
25590 wxUSE_LIBTIFF=sys
25591 fi
25592 fi
25593 fi
25594
25595
25596 if test "$wxUSE_WCHAR_T" != "yes"; then
25597 if test "$wxUSE_EXPAT" != "no"; then
25598 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25599 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25600 wxUSE_EXPAT=no
25601 fi
25602 if test "$wxUSE_XML" != "no"; then
25603 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25604 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25605 wxUSE_XML=no
25606 fi
25607 fi
25608
25609 if test "$wxUSE_EXPAT" != "no"; then
25610 wxUSE_XML=yes
25611 cat >>confdefs.h <<\_ACEOF
25612 #define wxUSE_EXPAT 1
25613 _ACEOF
25614
25615 cat >>confdefs.h <<\_ACEOF
25616 #define wxUSE_XML 1
25617 _ACEOF
25618
25619
25620 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25621 echo "$as_me:$LINENO: checking for expat.h" >&5
25622 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25623 if test "${ac_cv_header_expat_h+set}" = set; then
25624 echo $ECHO_N "(cached) $ECHO_C" >&6
25625 else
25626 cat >conftest.$ac_ext <<_ACEOF
25627 /* confdefs.h. */
25628 _ACEOF
25629 cat confdefs.h >>conftest.$ac_ext
25630 cat >>conftest.$ac_ext <<_ACEOF
25631 /* end confdefs.h. */
25632
25633
25634 #include <expat.h>
25635 _ACEOF
25636 rm -f conftest.$ac_objext
25637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25638 (eval $ac_compile) 2>conftest.er1
25639 ac_status=$?
25640 grep -v '^ *+' conftest.er1 >conftest.err
25641 rm -f conftest.er1
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } &&
25645 { ac_try='test -z "$ac_c_werror_flag"
25646 || test ! -s conftest.err'
25647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25648 (eval $ac_try) 2>&5
25649 ac_status=$?
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); }; } &&
25652 { ac_try='test -s conftest.$ac_objext'
25653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654 (eval $ac_try) 2>&5
25655 ac_status=$?
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); }; }; then
25658 ac_cv_header_expat_h=yes
25659 else
25660 echo "$as_me: failed program was:" >&5
25661 sed 's/^/| /' conftest.$ac_ext >&5
25662
25663 ac_cv_header_expat_h=no
25664 fi
25665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25666 fi
25667 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25668 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25669 if test $ac_cv_header_expat_h = yes; then
25670 found_expat_h=1
25671 fi
25672
25673
25674 if test "x$found_expat_h" = "x1"; then
25675 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25676 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25677 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25678 echo $ECHO_N "(cached) $ECHO_C" >&6
25679 else
25680
25681 ac_ext=cc
25682 ac_cpp='$CXXCPP $CPPFLAGS'
25683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25686
25687 cat >conftest.$ac_ext <<_ACEOF
25688 /* confdefs.h. */
25689 _ACEOF
25690 cat confdefs.h >>conftest.$ac_ext
25691 cat >>conftest.$ac_ext <<_ACEOF
25692 /* end confdefs.h. */
25693 #include <expat.h>
25694 int
25695 main ()
25696 {
25697
25698 ;
25699 return 0;
25700 }
25701 _ACEOF
25702 rm -f conftest.$ac_objext
25703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25704 (eval $ac_compile) 2>conftest.er1
25705 ac_status=$?
25706 grep -v '^ *+' conftest.er1 >conftest.err
25707 rm -f conftest.er1
25708 cat conftest.err >&5
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); } &&
25711 { ac_try='test -z "$ac_cxx_werror_flag"
25712 || test ! -s conftest.err'
25713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25714 (eval $ac_try) 2>&5
25715 ac_status=$?
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); }; } &&
25718 { ac_try='test -s conftest.$ac_objext'
25719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25720 (eval $ac_try) 2>&5
25721 ac_status=$?
25722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25723 (exit $ac_status); }; }; then
25724 wx_cv_expat_is_not_broken=yes
25725 else
25726 echo "$as_me: failed program was:" >&5
25727 sed 's/^/| /' conftest.$ac_ext >&5
25728
25729 wx_cv_expat_is_not_broken=no
25730
25731 fi
25732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25733 ac_ext=c
25734 ac_cpp='$CPP $CPPFLAGS'
25735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25738
25739
25740
25741 fi
25742 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25743 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25744 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25745 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25746 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25747 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25748 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 else
25750 ac_check_lib_save_LIBS=$LIBS
25751 LIBS="-lexpat $LIBS"
25752 cat >conftest.$ac_ext <<_ACEOF
25753 /* confdefs.h. */
25754 _ACEOF
25755 cat confdefs.h >>conftest.$ac_ext
25756 cat >>conftest.$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25758
25759 /* Override any gcc2 internal prototype to avoid an error. */
25760 #ifdef __cplusplus
25761 extern "C"
25762 #endif
25763 /* We use char because int might match the return type of a gcc2
25764 builtin and then its argument prototype would still apply. */
25765 char XML_ParserCreate ();
25766 int
25767 main ()
25768 {
25769 XML_ParserCreate ();
25770 ;
25771 return 0;
25772 }
25773 _ACEOF
25774 rm -f conftest.$ac_objext conftest$ac_exeext
25775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25776 (eval $ac_link) 2>conftest.er1
25777 ac_status=$?
25778 grep -v '^ *+' conftest.er1 >conftest.err
25779 rm -f conftest.er1
25780 cat conftest.err >&5
25781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782 (exit $ac_status); } &&
25783 { ac_try='test -z "$ac_c_werror_flag"
25784 || test ! -s conftest.err'
25785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25786 (eval $ac_try) 2>&5
25787 ac_status=$?
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); }; } &&
25790 { ac_try='test -s conftest$ac_exeext'
25791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25792 (eval $ac_try) 2>&5
25793 ac_status=$?
25794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25795 (exit $ac_status); }; }; then
25796 ac_cv_lib_expat_XML_ParserCreate=yes
25797 else
25798 echo "$as_me: failed program was:" >&5
25799 sed 's/^/| /' conftest.$ac_ext >&5
25800
25801 ac_cv_lib_expat_XML_ParserCreate=no
25802 fi
25803 rm -f conftest.err conftest.$ac_objext \
25804 conftest$ac_exeext conftest.$ac_ext
25805 LIBS=$ac_check_lib_save_LIBS
25806 fi
25807 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25808 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25809 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25810 EXPAT_LINK=" -lexpat"
25811 fi
25812
25813 fi
25814 fi
25815 if test "x$EXPAT_LINK" = "x" ; then
25816 if test "$wxUSE_EXPAT" = "sys" ; then
25817 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25818 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25819 { (exit 1); exit 1; }; }
25820 else
25821 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25822 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25823 wxUSE_EXPAT=builtin
25824 fi
25825 else
25826 wxUSE_EXPAT=sys
25827 fi
25828 fi
25829 if test "$wxUSE_EXPAT" = "builtin" ; then
25830
25831
25832 subdirs="$subdirs src/expat"
25833
25834 fi
25835 fi
25836
25837
25838
25839 if test "$wxUSE_LIBMSPACK" != "no"; then
25840 echo "$as_me:$LINENO: checking for mspack.h" >&5
25841 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25842 if test "${ac_cv_header_mspack_h+set}" = set; then
25843 echo $ECHO_N "(cached) $ECHO_C" >&6
25844 else
25845 cat >conftest.$ac_ext <<_ACEOF
25846 /* confdefs.h. */
25847 _ACEOF
25848 cat confdefs.h >>conftest.$ac_ext
25849 cat >>conftest.$ac_ext <<_ACEOF
25850 /* end confdefs.h. */
25851
25852
25853 #include <mspack.h>
25854 _ACEOF
25855 rm -f conftest.$ac_objext
25856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25857 (eval $ac_compile) 2>conftest.er1
25858 ac_status=$?
25859 grep -v '^ *+' conftest.er1 >conftest.err
25860 rm -f conftest.er1
25861 cat conftest.err >&5
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); } &&
25864 { ac_try='test -z "$ac_c_werror_flag"
25865 || test ! -s conftest.err'
25866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25867 (eval $ac_try) 2>&5
25868 ac_status=$?
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); }; } &&
25871 { ac_try='test -s conftest.$ac_objext'
25872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25873 (eval $ac_try) 2>&5
25874 ac_status=$?
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); }; }; then
25877 ac_cv_header_mspack_h=yes
25878 else
25879 echo "$as_me: failed program was:" >&5
25880 sed 's/^/| /' conftest.$ac_ext >&5
25881
25882 ac_cv_header_mspack_h=no
25883 fi
25884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25885 fi
25886 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25887 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25888 if test $ac_cv_header_mspack_h = yes; then
25889 found_mspack_h=1
25890 fi
25891
25892
25893 if test "x$found_mspack_h" = "x1"; then
25894 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25895 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25896 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25897 echo $ECHO_N "(cached) $ECHO_C" >&6
25898 else
25899 ac_check_lib_save_LIBS=$LIBS
25900 LIBS="-lmspack $LIBS"
25901 cat >conftest.$ac_ext <<_ACEOF
25902 /* confdefs.h. */
25903 _ACEOF
25904 cat confdefs.h >>conftest.$ac_ext
25905 cat >>conftest.$ac_ext <<_ACEOF
25906 /* end confdefs.h. */
25907
25908 /* Override any gcc2 internal prototype to avoid an error. */
25909 #ifdef __cplusplus
25910 extern "C"
25911 #endif
25912 /* We use char because int might match the return type of a gcc2
25913 builtin and then its argument prototype would still apply. */
25914 char mspack_create_chm_decompressor ();
25915 int
25916 main ()
25917 {
25918 mspack_create_chm_decompressor ();
25919 ;
25920 return 0;
25921 }
25922 _ACEOF
25923 rm -f conftest.$ac_objext conftest$ac_exeext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25925 (eval $ac_link) 2>conftest.er1
25926 ac_status=$?
25927 grep -v '^ *+' conftest.er1 >conftest.err
25928 rm -f conftest.er1
25929 cat conftest.err >&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } &&
25932 { ac_try='test -z "$ac_c_werror_flag"
25933 || test ! -s conftest.err'
25934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25935 (eval $ac_try) 2>&5
25936 ac_status=$?
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); }; } &&
25939 { ac_try='test -s conftest$ac_exeext'
25940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25941 (eval $ac_try) 2>&5
25942 ac_status=$?
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); }; }; then
25945 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
25946 else
25947 echo "$as_me: failed program was:" >&5
25948 sed 's/^/| /' conftest.$ac_ext >&5
25949
25950 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
25951 fi
25952 rm -f conftest.err conftest.$ac_objext \
25953 conftest$ac_exeext conftest.$ac_ext
25954 LIBS=$ac_check_lib_save_LIBS
25955 fi
25956 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25957 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25958 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25959 MSPACK_LINK=" -lmspack"
25960 fi
25961
25962 fi
25963 if test "x$MSPACK_LINK" = "x" ; then
25964 wxUSE_LIBMSPACK=no
25965 fi
25966 fi
25967
25968 if test "$wxUSE_LIBMSPACK" != "no"; then
25969 cat >>confdefs.h <<\_ACEOF
25970 #define wxUSE_LIBMSPACK 1
25971 _ACEOF
25972
25973 fi
25974
25975
25976
25977 AFMINSTALL=
25978 WIN32INSTALL=
25979
25980 TOOLKIT=
25981 TOOLKIT_INCLUDE=
25982 WIDGET_SET=
25983
25984 if test "$USE_WIN32" = 1 ; then
25985 echo "$as_me:$LINENO: checking for w32api.h" >&5
25986 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6
25987 if test "${ac_cv_header_w32api_h+set}" = set; then
25988 echo $ECHO_N "(cached) $ECHO_C" >&6
25989 else
25990 cat >conftest.$ac_ext <<_ACEOF
25991 /* confdefs.h. */
25992 _ACEOF
25993 cat confdefs.h >>conftest.$ac_ext
25994 cat >>conftest.$ac_ext <<_ACEOF
25995 /* end confdefs.h. */
25996
25997
25998 #include <w32api.h>
25999 _ACEOF
26000 rm -f conftest.$ac_objext
26001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26002 (eval $ac_compile) 2>conftest.er1
26003 ac_status=$?
26004 grep -v '^ *+' conftest.er1 >conftest.err
26005 rm -f conftest.er1
26006 cat conftest.err >&5
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); } &&
26009 { ac_try='test -z "$ac_c_werror_flag"
26010 || test ! -s conftest.err'
26011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26012 (eval $ac_try) 2>&5
26013 ac_status=$?
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); }; } &&
26016 { ac_try='test -s conftest.$ac_objext'
26017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26018 (eval $ac_try) 2>&5
26019 ac_status=$?
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); }; }; then
26022 ac_cv_header_w32api_h=yes
26023 else
26024 echo "$as_me: failed program was:" >&5
26025 sed 's/^/| /' conftest.$ac_ext >&5
26026
26027 ac_cv_header_w32api_h=no
26028 fi
26029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26030 fi
26031 echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26032 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6
26033
26034
26035 echo "$as_me:$LINENO: checking for windows.h" >&5
26036 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26037 if test "${ac_cv_header_windows_h+set}" = set; then
26038 echo $ECHO_N "(cached) $ECHO_C" >&6
26039 else
26040 cat >conftest.$ac_ext <<_ACEOF
26041 /* confdefs.h. */
26042 _ACEOF
26043 cat confdefs.h >>conftest.$ac_ext
26044 cat >>conftest.$ac_ext <<_ACEOF
26045 /* end confdefs.h. */
26046
26047
26048 #include <windows.h>
26049 _ACEOF
26050 rm -f conftest.$ac_objext
26051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26052 (eval $ac_compile) 2>conftest.er1
26053 ac_status=$?
26054 grep -v '^ *+' conftest.er1 >conftest.err
26055 rm -f conftest.er1
26056 cat conftest.err >&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); } &&
26059 { ac_try='test -z "$ac_c_werror_flag"
26060 || test ! -s conftest.err'
26061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26062 (eval $ac_try) 2>&5
26063 ac_status=$?
26064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26065 (exit $ac_status); }; } &&
26066 { ac_try='test -s conftest.$ac_objext'
26067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26068 (eval $ac_try) 2>&5
26069 ac_status=$?
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); }; }; then
26072 ac_cv_header_windows_h=yes
26073 else
26074 echo "$as_me: failed program was:" >&5
26075 sed 's/^/| /' conftest.$ac_ext >&5
26076
26077 ac_cv_header_windows_h=no
26078 fi
26079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26080 fi
26081 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26082 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26083 if test $ac_cv_header_windows_h = yes; then
26084 :
26085 else
26086
26087 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26088 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26089 { (exit 1); exit 1; }; }
26090
26091 fi
26092
26093
26094
26095 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26096
26097 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26098 LIBS="$LIBS -loleacc"
26099 fi
26100
26101 case "${host}" in
26102 *-*-cygwin* )
26103 LIBS="$LIBS -lkernel32 -luser32"
26104 esac
26105
26106 if test "$wxUSE_ODBC" = "sys" ; then
26107 wxUSE_ODBC = "yes"
26108 fi
26109 if test "$wxUSE_ODBC" = "yes" ; then
26110 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26111 cat >>confdefs.h <<\_ACEOF
26112 #define wxUSE_ODBC 1
26113 _ACEOF
26114
26115 fi
26116
26117 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26118 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26119
26120 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26121
26122 WIN32INSTALL=win32install
26123
26124 echo "$as_me:$LINENO: checking for pbt.h" >&5
26125 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
26126 if test "${ac_cv_header_pbt_h+set}" = set; then
26127 echo $ECHO_N "(cached) $ECHO_C" >&6
26128 else
26129 cat >conftest.$ac_ext <<_ACEOF
26130 /* confdefs.h. */
26131 _ACEOF
26132 cat confdefs.h >>conftest.$ac_ext
26133 cat >>conftest.$ac_ext <<_ACEOF
26134 /* end confdefs.h. */
26135
26136
26137 #include <pbt.h>
26138 _ACEOF
26139 rm -f conftest.$ac_objext
26140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26141 (eval $ac_compile) 2>conftest.er1
26142 ac_status=$?
26143 grep -v '^ *+' conftest.er1 >conftest.err
26144 rm -f conftest.er1
26145 cat conftest.err >&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); } &&
26148 { ac_try='test -z "$ac_c_werror_flag"
26149 || test ! -s conftest.err'
26150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26151 (eval $ac_try) 2>&5
26152 ac_status=$?
26153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26154 (exit $ac_status); }; } &&
26155 { ac_try='test -s conftest.$ac_objext'
26156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26157 (eval $ac_try) 2>&5
26158 ac_status=$?
26159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26160 (exit $ac_status); }; }; then
26161 ac_cv_header_pbt_h=yes
26162 else
26163 echo "$as_me: failed program was:" >&5
26164 sed 's/^/| /' conftest.$ac_ext >&5
26165
26166 ac_cv_header_pbt_h=no
26167 fi
26168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26169 fi
26170 echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26171 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
26172 if test $ac_cv_header_pbt_h = yes; then
26173 :
26174 else
26175 cat >>confdefs.h <<\_ACEOF
26176 #define NEED_PBT_H 1
26177 _ACEOF
26178
26179 fi
26180
26181
26182 fi
26183
26184 if test "$wxUSE_GUI" = "yes"; then
26185 USE_GUI=1
26186
26187 GUI_TK_LIBRARY=
26188
26189 WXGTK12=
26190 WXGTK127=
26191 WXGTK20=
26192 WXGPE=
26193
26194 if test "$wxUSE_COCOA" = 1 ; then
26195 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26196 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26197 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26198 wxUSE_PRINTING_ARCHITECTURE=no
26199 fi
26200 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26201 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26202 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26203 wxUSE_DRAG_AND_DROP=no
26204 fi
26205 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26206 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26207 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26208 wxUSE_DRAGIMAGE=no
26209 fi
26210 fi
26211
26212 if test "$wxUSE_MSW" = 1 ; then
26213 TOOLKIT=MSW
26214 GUIDIST=MSW_DIST
26215
26216 case "${host}" in
26217 *-*-mingw32* )
26218 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26219 esac
26220 fi
26221
26222 if test "$wxUSE_GTK" = 1; then
26223 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26224 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26225
26226 gtk_version_cached=1
26227 if test "${wx_cv_lib_gtk+set}" = set; then
26228 echo $ECHO_N "(cached) $ECHO_C" >&6
26229 else
26230
26231 gtk_version_cached=0
26232 echo "$as_me:$LINENO: result: " >&5
26233 echo "${ECHO_T}" >&6
26234
26235 GTK_MODULES=
26236 if test "$wxUSE_THREADS" = "yes"; then
26237 GTK_MODULES=gthread
26238 fi
26239
26240 wx_cv_lib_gtk=
26241 if test "x$wxGTK_VERSION" != "x1"
26242 then
26243 case "${host}" in
26244 *-*-solaris2* )
26245 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26246 enable_gtktest=no
26247 fi
26248 esac
26249
26250 # Check whether --enable-gtktest or --disable-gtktest was given.
26251 if test "${enable_gtktest+set}" = set; then
26252 enableval="$enable_gtktest"
26253
26254 else
26255 enable_gtktest=yes
26256 fi;
26257
26258 pkg_config_args=gtk+-2.0
26259 for module in . $GTK_MODULES
26260 do
26261 case "$module" in
26262 gthread)
26263 pkg_config_args="$pkg_config_args gthread-2.0"
26264 ;;
26265 esac
26266 done
26267
26268 no_gtk=""
26269
26270 # Extract the first word of "pkg-config", so it can be a program name with args.
26271 set dummy pkg-config; ac_word=$2
26272 echo "$as_me:$LINENO: checking for $ac_word" >&5
26273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26274 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26276 else
26277 case $PKG_CONFIG in
26278 [\\/]* | ?:[\\/]*)
26279 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26280 ;;
26281 *)
26282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26283 for as_dir in $PATH
26284 do
26285 IFS=$as_save_IFS
26286 test -z "$as_dir" && as_dir=.
26287 for ac_exec_ext in '' $ac_executable_extensions; do
26288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26289 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26291 break 2
26292 fi
26293 done
26294 done
26295
26296 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26297 ;;
26298 esac
26299 fi
26300 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26301
26302 if test -n "$PKG_CONFIG"; then
26303 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26304 echo "${ECHO_T}$PKG_CONFIG" >&6
26305 else
26306 echo "$as_me:$LINENO: result: no" >&5
26307 echo "${ECHO_T}no" >&6
26308 fi
26309
26310
26311 if test x$PKG_CONFIG != xno ; then
26312 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26313 :
26314 else
26315 echo "*** pkg-config too old; version 0.7 or better required."
26316 no_gtk=yes
26317 PKG_CONFIG=no
26318 fi
26319 else
26320 no_gtk=yes
26321 fi
26322
26323 min_gtk_version=2.0.0
26324 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26325 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26326
26327 if test x$PKG_CONFIG != xno ; then
26328 ## don't try to run the test against uninstalled libtool libs
26329 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26330 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26331 enable_gtktest=no
26332 fi
26333
26334 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26335 :
26336 else
26337 no_gtk=yes
26338 fi
26339 fi
26340
26341 if test x"$no_gtk" = x ; then
26342 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26343 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26344 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26345 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26346 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26348 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26350 if test "x$enable_gtktest" = "xyes" ; then
26351 ac_save_CFLAGS="$CFLAGS"
26352 ac_save_LIBS="$LIBS"
26353 CFLAGS="$CFLAGS $GTK_CFLAGS"
26354 LIBS="$GTK_LIBS $LIBS"
26355 rm -f conf.gtktest
26356 if test "$cross_compiling" = yes; then
26357 echo $ac_n "cross compiling; assumed OK... $ac_c"
26358 else
26359 cat >conftest.$ac_ext <<_ACEOF
26360 /* confdefs.h. */
26361 _ACEOF
26362 cat confdefs.h >>conftest.$ac_ext
26363 cat >>conftest.$ac_ext <<_ACEOF
26364 /* end confdefs.h. */
26365
26366 #include <gtk/gtk.h>
26367 #include <stdio.h>
26368 #include <stdlib.h>
26369
26370 int
26371 main ()
26372 {
26373 int major, minor, micro;
26374 char *tmp_version;
26375
26376 system ("touch conf.gtktest");
26377
26378 /* HP/UX 9 (%@#!) writes to sscanf strings */
26379 tmp_version = g_strdup("$min_gtk_version");
26380 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26381 printf("%s, bad version string\n", "$min_gtk_version");
26382 exit(1);
26383 }
26384
26385 if ((gtk_major_version != $gtk_config_major_version) ||
26386 (gtk_minor_version != $gtk_config_minor_version) ||
26387 (gtk_micro_version != $gtk_config_micro_version))
26388 {
26389 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26390 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26391 gtk_major_version, gtk_minor_version, gtk_micro_version);
26392 printf ("*** was found! If pkg-config was correct, then it is best\n");
26393 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26394 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26395 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26396 printf("*** required on your system.\n");
26397 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26398 printf("*** to point to the correct configuration files\n");
26399 }
26400 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26401 (gtk_minor_version != GTK_MINOR_VERSION) ||
26402 (gtk_micro_version != GTK_MICRO_VERSION))
26403 {
26404 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26405 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26406 printf("*** library (version %d.%d.%d)\n",
26407 gtk_major_version, gtk_minor_version, gtk_micro_version);
26408 }
26409 else
26410 {
26411 if ((gtk_major_version > major) ||
26412 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26413 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26414 {
26415 return 0;
26416 }
26417 else
26418 {
26419 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26420 gtk_major_version, gtk_minor_version, gtk_micro_version);
26421 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26422 major, minor, micro);
26423 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26424 printf("***\n");
26425 printf("*** If you have already installed a sufficiently new version, this error\n");
26426 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26427 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26428 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26429 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26430 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26431 printf("*** so that the correct libraries are found at run-time))\n");
26432 }
26433 }
26434 return 1;
26435 }
26436
26437 _ACEOF
26438 rm -f conftest$ac_exeext
26439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26440 (eval $ac_link) 2>&5
26441 ac_status=$?
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26445 (eval $ac_try) 2>&5
26446 ac_status=$?
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); }; }; then
26449 :
26450 else
26451 echo "$as_me: program exited with status $ac_status" >&5
26452 echo "$as_me: failed program was:" >&5
26453 sed 's/^/| /' conftest.$ac_ext >&5
26454
26455 ( exit $ac_status )
26456 no_gtk=yes
26457 fi
26458 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26459 fi
26460 CFLAGS="$ac_save_CFLAGS"
26461 LIBS="$ac_save_LIBS"
26462 fi
26463 fi
26464 if test "x$no_gtk" = x ; then
26465 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26466 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26467 wx_cv_lib_gtk=2.0
26468 else
26469 echo "$as_me:$LINENO: result: no" >&5
26470 echo "${ECHO_T}no" >&6
26471 if test "$PKG_CONFIG" = "no" ; then
26472 echo "*** A new enough version of pkg-config was not found."
26473 echo "*** See http://pkgconfig.sourceforge.net"
26474 else
26475 if test -f conf.gtktest ; then
26476 :
26477 else
26478 echo "*** Could not run GTK+ test program, checking why..."
26479 ac_save_CFLAGS="$CFLAGS"
26480 ac_save_LIBS="$LIBS"
26481 CFLAGS="$CFLAGS $GTK_CFLAGS"
26482 LIBS="$LIBS $GTK_LIBS"
26483 cat >conftest.$ac_ext <<_ACEOF
26484 /* confdefs.h. */
26485 _ACEOF
26486 cat confdefs.h >>conftest.$ac_ext
26487 cat >>conftest.$ac_ext <<_ACEOF
26488 /* end confdefs.h. */
26489
26490 #include <gtk/gtk.h>
26491 #include <stdio.h>
26492
26493 int
26494 main ()
26495 {
26496 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26497 ;
26498 return 0;
26499 }
26500 _ACEOF
26501 rm -f conftest.$ac_objext conftest$ac_exeext
26502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26503 (eval $ac_link) 2>conftest.er1
26504 ac_status=$?
26505 grep -v '^ *+' conftest.er1 >conftest.err
26506 rm -f conftest.er1
26507 cat conftest.err >&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); } &&
26510 { ac_try='test -z "$ac_c_werror_flag"
26511 || test ! -s conftest.err'
26512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26513 (eval $ac_try) 2>&5
26514 ac_status=$?
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); }; } &&
26517 { ac_try='test -s conftest$ac_exeext'
26518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26519 (eval $ac_try) 2>&5
26520 ac_status=$?
26521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522 (exit $ac_status); }; }; then
26523 echo "*** The test program compiled, but did not run. This usually means"
26524 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26525 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26526 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26527 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26528 echo "*** is required on your system"
26529 echo "***"
26530 echo "*** If you have an old version installed, it is best to remove it, although"
26531 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26532 else
26533 echo "$as_me: failed program was:" >&5
26534 sed 's/^/| /' conftest.$ac_ext >&5
26535
26536 echo "*** The test program failed to compile or link. See the file config.log for the"
26537 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26538 fi
26539 rm -f conftest.err conftest.$ac_objext \
26540 conftest$ac_exeext conftest.$ac_ext
26541 CFLAGS="$ac_save_CFLAGS"
26542 LIBS="$ac_save_LIBS"
26543 fi
26544 fi
26545 GTK_CFLAGS=""
26546 GTK_LIBS=""
26547 :
26548 fi
26549
26550
26551 rm -f conf.gtktest
26552
26553
26554 case "${host}" in
26555 *-*-solaris2* )
26556 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26557 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
26558 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
26559 fi
26560 if test "$wxUSE_SHARED" != "yes"; then
26561 GTK_LIBS="$GTK_LIBS -lX11"
26562 fi
26563 esac
26564 fi
26565
26566 if test -z "$wx_cv_lib_gtk"; then
26567 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26568
26569 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26570 if test "${with_gtk_prefix+set}" = set; then
26571 withval="$with_gtk_prefix"
26572 gtk_config_prefix="$withval"
26573 else
26574 gtk_config_prefix=""
26575 fi;
26576
26577 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26578 if test "${with_gtk_exec_prefix+set}" = set; then
26579 withval="$with_gtk_exec_prefix"
26580 gtk_config_exec_prefix="$withval"
26581 else
26582 gtk_config_exec_prefix=""
26583 fi;
26584 # Check whether --enable-gtktest or --disable-gtktest was given.
26585 if test "${enable_gtktest+set}" = set; then
26586 enableval="$enable_gtktest"
26587
26588 else
26589 enable_gtktest=yes
26590 fi;
26591
26592 for module in . $GTK_MODULES
26593 do
26594 case "$module" in
26595 gthread)
26596 gtk_config_args="$gtk_config_args gthread"
26597 ;;
26598 esac
26599 done
26600
26601 if test x$gtk_config_exec_prefix != x ; then
26602 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26603 if test x${GTK_CONFIG+set} != xset ; then
26604 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26605 fi
26606 fi
26607 if test x$gtk_config_prefix != x ; then
26608 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26609 if test x${GTK_CONFIG+set} != xset ; then
26610 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26611 fi
26612 fi
26613
26614 # Extract the first word of "gtk-config", so it can be a program name with args.
26615 set dummy gtk-config; ac_word=$2
26616 echo "$as_me:$LINENO: checking for $ac_word" >&5
26617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26618 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26619 echo $ECHO_N "(cached) $ECHO_C" >&6
26620 else
26621 case $GTK_CONFIG in
26622 [\\/]* | ?:[\\/]*)
26623 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26624 ;;
26625 *)
26626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26627 for as_dir in $PATH
26628 do
26629 IFS=$as_save_IFS
26630 test -z "$as_dir" && as_dir=.
26631 for ac_exec_ext in '' $ac_executable_extensions; do
26632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26633 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26635 break 2
26636 fi
26637 done
26638 done
26639
26640 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26641 ;;
26642 esac
26643 fi
26644 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26645
26646 if test -n "$GTK_CONFIG"; then
26647 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26648 echo "${ECHO_T}$GTK_CONFIG" >&6
26649 else
26650 echo "$as_me:$LINENO: result: no" >&5
26651 echo "${ECHO_T}no" >&6
26652 fi
26653
26654 min_gtk_version=1.2.7
26655 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26656 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26657 no_gtk=""
26658 if test "$GTK_CONFIG" = "no" ; then
26659 no_gtk=yes
26660 else
26661 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26662 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26663 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26664 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26665 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26666 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26667 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26668 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26669 if test "x$enable_gtktest" = "xyes" ; then
26670 ac_save_CFLAGS="$CFLAGS"
26671 ac_save_LIBS="$LIBS"
26672 CFLAGS="$CFLAGS $GTK_CFLAGS"
26673 LIBS="$GTK_LIBS $LIBS"
26674 rm -f conf.gtktest
26675 if test "$cross_compiling" = yes; then
26676 echo $ac_n "cross compiling; assumed OK... $ac_c"
26677 else
26678 cat >conftest.$ac_ext <<_ACEOF
26679 /* confdefs.h. */
26680 _ACEOF
26681 cat confdefs.h >>conftest.$ac_ext
26682 cat >>conftest.$ac_ext <<_ACEOF
26683 /* end confdefs.h. */
26684
26685 #include <gtk/gtk.h>
26686 #include <stdio.h>
26687 #include <stdlib.h>
26688
26689 int
26690 main ()
26691 {
26692 int major, minor, micro;
26693 char *tmp_version;
26694
26695 system ("touch conf.gtktest");
26696
26697 /* HP/UX 9 (%@#!) writes to sscanf strings */
26698 tmp_version = g_strdup("$min_gtk_version");
26699 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26700 printf("%s, bad version string\n", "$min_gtk_version");
26701 exit(1);
26702 }
26703
26704 if ((gtk_major_version != $gtk_config_major_version) ||
26705 (gtk_minor_version != $gtk_config_minor_version) ||
26706 (gtk_micro_version != $gtk_config_micro_version))
26707 {
26708 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26709 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26710 gtk_major_version, gtk_minor_version, gtk_micro_version);
26711 printf ("*** was found! If gtk-config was correct, then it is best\n");
26712 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26713 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26714 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26715 printf("*** required on your system.\n");
26716 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26717 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26718 printf("*** before re-running configure\n");
26719 }
26720 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26721 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26722 (gtk_minor_version != GTK_MINOR_VERSION) ||
26723 (gtk_micro_version != GTK_MICRO_VERSION))
26724 {
26725 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26726 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26727 printf("*** library (version %d.%d.%d)\n",
26728 gtk_major_version, gtk_minor_version, gtk_micro_version);
26729 }
26730 #endif /* defined (GTK_MAJOR_VERSION) ... */
26731 else
26732 {
26733 if ((gtk_major_version > major) ||
26734 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26735 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26736 {
26737 return 0;
26738 }
26739 else
26740 {
26741 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26742 gtk_major_version, gtk_minor_version, gtk_micro_version);
26743 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26744 major, minor, micro);
26745 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26746 printf("***\n");
26747 printf("*** If you have already installed a sufficiently new version, this error\n");
26748 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26749 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26750 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26751 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26752 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26753 printf("*** so that the correct libraries are found at run-time))\n");
26754 }
26755 }
26756 return 1;
26757 }
26758
26759 _ACEOF
26760 rm -f conftest$ac_exeext
26761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26762 (eval $ac_link) 2>&5
26763 ac_status=$?
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26767 (eval $ac_try) 2>&5
26768 ac_status=$?
26769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770 (exit $ac_status); }; }; then
26771 :
26772 else
26773 echo "$as_me: program exited with status $ac_status" >&5
26774 echo "$as_me: failed program was:" >&5
26775 sed 's/^/| /' conftest.$ac_ext >&5
26776
26777 ( exit $ac_status )
26778 no_gtk=yes
26779 fi
26780 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26781 fi
26782 CFLAGS="$ac_save_CFLAGS"
26783 LIBS="$ac_save_LIBS"
26784 fi
26785 fi
26786 if test "x$no_gtk" = x ; then
26787 echo "$as_me:$LINENO: result: yes" >&5
26788 echo "${ECHO_T}yes" >&6
26789 wx_cv_lib_gtk=1.2.7
26790 else
26791 echo "$as_me:$LINENO: result: no" >&5
26792 echo "${ECHO_T}no" >&6
26793 if test "$GTK_CONFIG" = "no" ; then
26794 echo "*** The gtk-config script installed by GTK could not be found"
26795 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26796 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26797 echo "*** full path to gtk-config."
26798 else
26799 if test -f conf.gtktest ; then
26800 :
26801 else
26802 echo "*** Could not run GTK test program, checking why..."
26803 CFLAGS="$CFLAGS $GTK_CFLAGS"
26804 LIBS="$LIBS $GTK_LIBS"
26805 cat >conftest.$ac_ext <<_ACEOF
26806 /* confdefs.h. */
26807 _ACEOF
26808 cat confdefs.h >>conftest.$ac_ext
26809 cat >>conftest.$ac_ext <<_ACEOF
26810 /* end confdefs.h. */
26811
26812 #include <gtk/gtk.h>
26813 #include <stdio.h>
26814
26815 int
26816 main ()
26817 {
26818 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26819 ;
26820 return 0;
26821 }
26822 _ACEOF
26823 rm -f conftest.$ac_objext conftest$ac_exeext
26824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26825 (eval $ac_link) 2>conftest.er1
26826 ac_status=$?
26827 grep -v '^ *+' conftest.er1 >conftest.err
26828 rm -f conftest.er1
26829 cat conftest.err >&5
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); } &&
26832 { ac_try='test -z "$ac_c_werror_flag"
26833 || test ! -s conftest.err'
26834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26835 (eval $ac_try) 2>&5
26836 ac_status=$?
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); }; } &&
26839 { ac_try='test -s conftest$ac_exeext'
26840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26841 (eval $ac_try) 2>&5
26842 ac_status=$?
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); }; }; then
26845 echo "*** The test program compiled, but did not run. This usually means"
26846 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26847 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26848 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26849 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26850 echo "*** is required on your system"
26851 echo "***"
26852 echo "*** If you have an old version installed, it is best to remove it, although"
26853 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26854 echo "***"
26855 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26856 echo "*** came with the system with the command"
26857 echo "***"
26858 echo "*** rpm --erase --nodeps gtk gtk-devel"
26859 else
26860 echo "$as_me: failed program was:" >&5
26861 sed 's/^/| /' conftest.$ac_ext >&5
26862
26863 echo "*** The test program failed to compile or link. See the file config.log for the"
26864 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26865 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26866 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26867 fi
26868 rm -f conftest.err conftest.$ac_objext \
26869 conftest$ac_exeext conftest.$ac_ext
26870 CFLAGS="$ac_save_CFLAGS"
26871 LIBS="$ac_save_LIBS"
26872 fi
26873 fi
26874 GTK_CFLAGS=""
26875 GTK_LIBS=""
26876 :
26877 fi
26878
26879
26880 rm -f conf.gtktest
26881
26882
26883 if test -z "$wx_cv_lib_gtk"; then
26884
26885 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26886 if test "${with_gtk_prefix+set}" = set; then
26887 withval="$with_gtk_prefix"
26888 gtk_config_prefix="$withval"
26889 else
26890 gtk_config_prefix=""
26891 fi;
26892
26893 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26894 if test "${with_gtk_exec_prefix+set}" = set; then
26895 withval="$with_gtk_exec_prefix"
26896 gtk_config_exec_prefix="$withval"
26897 else
26898 gtk_config_exec_prefix=""
26899 fi;
26900 # Check whether --enable-gtktest or --disable-gtktest was given.
26901 if test "${enable_gtktest+set}" = set; then
26902 enableval="$enable_gtktest"
26903
26904 else
26905 enable_gtktest=yes
26906 fi;
26907
26908 for module in . $GTK_MODULES
26909 do
26910 case "$module" in
26911 gthread)
26912 gtk_config_args="$gtk_config_args gthread"
26913 ;;
26914 esac
26915 done
26916
26917 if test x$gtk_config_exec_prefix != x ; then
26918 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26919 if test x${GTK_CONFIG+set} != xset ; then
26920 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26921 fi
26922 fi
26923 if test x$gtk_config_prefix != x ; then
26924 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26925 if test x${GTK_CONFIG+set} != xset ; then
26926 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26927 fi
26928 fi
26929
26930 # Extract the first word of "gtk-config", so it can be a program name with args.
26931 set dummy gtk-config; ac_word=$2
26932 echo "$as_me:$LINENO: checking for $ac_word" >&5
26933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26934 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26935 echo $ECHO_N "(cached) $ECHO_C" >&6
26936 else
26937 case $GTK_CONFIG in
26938 [\\/]* | ?:[\\/]*)
26939 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26940 ;;
26941 *)
26942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26943 for as_dir in $PATH
26944 do
26945 IFS=$as_save_IFS
26946 test -z "$as_dir" && as_dir=.
26947 for ac_exec_ext in '' $ac_executable_extensions; do
26948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26949 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26951 break 2
26952 fi
26953 done
26954 done
26955
26956 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26957 ;;
26958 esac
26959 fi
26960 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26961
26962 if test -n "$GTK_CONFIG"; then
26963 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26964 echo "${ECHO_T}$GTK_CONFIG" >&6
26965 else
26966 echo "$as_me:$LINENO: result: no" >&5
26967 echo "${ECHO_T}no" >&6
26968 fi
26969
26970 min_gtk_version=1.2.3
26971 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26972 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26973 no_gtk=""
26974 if test "$GTK_CONFIG" = "no" ; then
26975 no_gtk=yes
26976 else
26977 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26978 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26979 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26980 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26981 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26983 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26985 if test "x$enable_gtktest" = "xyes" ; then
26986 ac_save_CFLAGS="$CFLAGS"
26987 ac_save_LIBS="$LIBS"
26988 CFLAGS="$CFLAGS $GTK_CFLAGS"
26989 LIBS="$GTK_LIBS $LIBS"
26990 rm -f conf.gtktest
26991 if test "$cross_compiling" = yes; then
26992 echo $ac_n "cross compiling; assumed OK... $ac_c"
26993 else
26994 cat >conftest.$ac_ext <<_ACEOF
26995 /* confdefs.h. */
26996 _ACEOF
26997 cat confdefs.h >>conftest.$ac_ext
26998 cat >>conftest.$ac_ext <<_ACEOF
26999 /* end confdefs.h. */
27000
27001 #include <gtk/gtk.h>
27002 #include <stdio.h>
27003 #include <stdlib.h>
27004
27005 int
27006 main ()
27007 {
27008 int major, minor, micro;
27009 char *tmp_version;
27010
27011 system ("touch conf.gtktest");
27012
27013 /* HP/UX 9 (%@#!) writes to sscanf strings */
27014 tmp_version = g_strdup("$min_gtk_version");
27015 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27016 printf("%s, bad version string\n", "$min_gtk_version");
27017 exit(1);
27018 }
27019
27020 if ((gtk_major_version != $gtk_config_major_version) ||
27021 (gtk_minor_version != $gtk_config_minor_version) ||
27022 (gtk_micro_version != $gtk_config_micro_version))
27023 {
27024 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27025 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27026 gtk_major_version, gtk_minor_version, gtk_micro_version);
27027 printf ("*** was found! If gtk-config was correct, then it is best\n");
27028 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27029 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27030 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27031 printf("*** required on your system.\n");
27032 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27033 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27034 printf("*** before re-running configure\n");
27035 }
27036 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27037 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27038 (gtk_minor_version != GTK_MINOR_VERSION) ||
27039 (gtk_micro_version != GTK_MICRO_VERSION))
27040 {
27041 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27042 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27043 printf("*** library (version %d.%d.%d)\n",
27044 gtk_major_version, gtk_minor_version, gtk_micro_version);
27045 }
27046 #endif /* defined (GTK_MAJOR_VERSION) ... */
27047 else
27048 {
27049 if ((gtk_major_version > major) ||
27050 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27051 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27052 {
27053 return 0;
27054 }
27055 else
27056 {
27057 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27058 gtk_major_version, gtk_minor_version, gtk_micro_version);
27059 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27060 major, minor, micro);
27061 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27062 printf("***\n");
27063 printf("*** If you have already installed a sufficiently new version, this error\n");
27064 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27065 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27066 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27067 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27068 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27069 printf("*** so that the correct libraries are found at run-time))\n");
27070 }
27071 }
27072 return 1;
27073 }
27074
27075 _ACEOF
27076 rm -f conftest$ac_exeext
27077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27078 (eval $ac_link) 2>&5
27079 ac_status=$?
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27083 (eval $ac_try) 2>&5
27084 ac_status=$?
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); }; }; then
27087 :
27088 else
27089 echo "$as_me: program exited with status $ac_status" >&5
27090 echo "$as_me: failed program was:" >&5
27091 sed 's/^/| /' conftest.$ac_ext >&5
27092
27093 ( exit $ac_status )
27094 no_gtk=yes
27095 fi
27096 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27097 fi
27098 CFLAGS="$ac_save_CFLAGS"
27099 LIBS="$ac_save_LIBS"
27100 fi
27101 fi
27102 if test "x$no_gtk" = x ; then
27103 echo "$as_me:$LINENO: result: yes" >&5
27104 echo "${ECHO_T}yes" >&6
27105 wx_cv_lib_gtk=1.2.3
27106 else
27107 echo "$as_me:$LINENO: result: no" >&5
27108 echo "${ECHO_T}no" >&6
27109 if test "$GTK_CONFIG" = "no" ; then
27110 echo "*** The gtk-config script installed by GTK could not be found"
27111 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27112 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27113 echo "*** full path to gtk-config."
27114 else
27115 if test -f conf.gtktest ; then
27116 :
27117 else
27118 echo "*** Could not run GTK test program, checking why..."
27119 CFLAGS="$CFLAGS $GTK_CFLAGS"
27120 LIBS="$LIBS $GTK_LIBS"
27121 cat >conftest.$ac_ext <<_ACEOF
27122 /* confdefs.h. */
27123 _ACEOF
27124 cat confdefs.h >>conftest.$ac_ext
27125 cat >>conftest.$ac_ext <<_ACEOF
27126 /* end confdefs.h. */
27127
27128 #include <gtk/gtk.h>
27129 #include <stdio.h>
27130
27131 int
27132 main ()
27133 {
27134 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27135 ;
27136 return 0;
27137 }
27138 _ACEOF
27139 rm -f conftest.$ac_objext conftest$ac_exeext
27140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27141 (eval $ac_link) 2>conftest.er1
27142 ac_status=$?
27143 grep -v '^ *+' conftest.er1 >conftest.err
27144 rm -f conftest.er1
27145 cat conftest.err >&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); } &&
27148 { ac_try='test -z "$ac_c_werror_flag"
27149 || test ! -s conftest.err'
27150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27151 (eval $ac_try) 2>&5
27152 ac_status=$?
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); }; } &&
27155 { ac_try='test -s conftest$ac_exeext'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27158 ac_status=$?
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; }; then
27161 echo "*** The test program compiled, but did not run. This usually means"
27162 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27163 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27164 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27165 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27166 echo "*** is required on your system"
27167 echo "***"
27168 echo "*** If you have an old version installed, it is best to remove it, although"
27169 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27170 echo "***"
27171 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27172 echo "*** came with the system with the command"
27173 echo "***"
27174 echo "*** rpm --erase --nodeps gtk gtk-devel"
27175 else
27176 echo "$as_me: failed program was:" >&5
27177 sed 's/^/| /' conftest.$ac_ext >&5
27178
27179 echo "*** The test program failed to compile or link. See the file config.log for the"
27180 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27181 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27182 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27183 fi
27184 rm -f conftest.err conftest.$ac_objext \
27185 conftest$ac_exeext conftest.$ac_ext
27186 CFLAGS="$ac_save_CFLAGS"
27187 LIBS="$ac_save_LIBS"
27188 fi
27189 fi
27190 GTK_CFLAGS=""
27191 GTK_LIBS=""
27192 :
27193 fi
27194
27195
27196 rm -f conf.gtktest
27197
27198 fi
27199 fi
27200 fi
27201
27202 if test -z "$wx_cv_lib_gtk"; then
27203 wx_cv_lib_gtk=none
27204 else
27205 wx_cv_cflags_gtk=$GTK_CFLAGS
27206 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27207 fi
27208
27209
27210 fi
27211
27212
27213 if test "$gtk_version_cached" = 1; then
27214 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27215 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27216 fi
27217
27218 case "$wx_cv_lib_gtk" in
27219 2.0) WXGTK20=1
27220 TOOLKIT_VERSION=2
27221 ;;
27222 1.2.7) WXGTK127=1
27223 WXGTK12=1
27224 ;;
27225 1.2.3) WXGTK12=1
27226 ;;
27227 *) { { echo "$as_me:$LINENO: error:
27228 The development files for GTK+ were not found. For GTK+ 2, please
27229 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27230 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27231 and that the version is 1.2.3 or above. Also check that the
27232 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27233 --libs' are in the LD_LIBRARY_PATH or equivalent.
27234 " >&5
27235 echo "$as_me: error:
27236 The development files for GTK+ were not found. For GTK+ 2, please
27237 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27238 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27239 and that the version is 1.2.3 or above. Also check that the
27240 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27241 --libs' are in the LD_LIBRARY_PATH or equivalent.
27242 " >&2;}
27243 { (exit 1); exit 1; }; }
27244 ;;
27245 esac
27246
27247 if test "$WXGTK20" = 1; then
27248 save_CFLAGS="$CFLAGS"
27249 save_LIBS="$LIBS"
27250 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27251 LIBS="$LIBS $wx_cv_libs_gtk"
27252
27253 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27254 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
27255 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27256 echo $ECHO_N "(cached) $ECHO_C" >&6
27257 else
27258 cat >conftest.$ac_ext <<_ACEOF
27259 /* confdefs.h. */
27260 _ACEOF
27261 cat confdefs.h >>conftest.$ac_ext
27262 cat >>conftest.$ac_ext <<_ACEOF
27263 /* end confdefs.h. */
27264 #include <gtk/gtk.h>
27265
27266 int
27267 main ()
27268 {
27269 #ifndef gtk_icon_size_lookup
27270 char *p = (char *) gtk_icon_size_lookup;
27271 #endif
27272
27273 ;
27274 return 0;
27275 }
27276 _ACEOF
27277 rm -f conftest.$ac_objext
27278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27279 (eval $ac_compile) 2>conftest.er1
27280 ac_status=$?
27281 grep -v '^ *+' conftest.er1 >conftest.err
27282 rm -f conftest.er1
27283 cat conftest.err >&5
27284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285 (exit $ac_status); } &&
27286 { ac_try='test -z "$ac_c_werror_flag"
27287 || test ! -s conftest.err'
27288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27289 (eval $ac_try) 2>&5
27290 ac_status=$?
27291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292 (exit $ac_status); }; } &&
27293 { ac_try='test -s conftest.$ac_objext'
27294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27295 (eval $ac_try) 2>&5
27296 ac_status=$?
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); }; }; then
27299 ac_cv_have_decl_gtk_icon_size_lookup=yes
27300 else
27301 echo "$as_me: failed program was:" >&5
27302 sed 's/^/| /' conftest.$ac_ext >&5
27303
27304 ac_cv_have_decl_gtk_icon_size_lookup=no
27305 fi
27306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27307 fi
27308 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27309 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
27310 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27311
27312 cat >>confdefs.h <<_ACEOF
27313 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27314 _ACEOF
27315
27316
27317 else
27318 cat >>confdefs.h <<_ACEOF
27319 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27320 _ACEOF
27321
27322 cat >>confdefs.h <<\_ACEOF
27323 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27324 _ACEOF
27325
27326 fi
27327
27328
27329
27330
27331 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27332 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6
27333 cat >conftest.$ac_ext <<_ACEOF
27334 /* confdefs.h. */
27335 _ACEOF
27336 cat confdefs.h >>conftest.$ac_ext
27337 cat >>conftest.$ac_ext <<_ACEOF
27338 /* end confdefs.h. */
27339
27340 #include <gtk/gtk.h>
27341
27342 int
27343 main ()
27344 {
27345
27346 #if !GTK_CHECK_VERSION(2,10,0)
27347 Not GTK+ 2.10
27348 #endif
27349
27350 ;
27351 return 0;
27352 }
27353 _ACEOF
27354 rm -f conftest.$ac_objext
27355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27356 (eval $ac_compile) 2>conftest.er1
27357 ac_status=$?
27358 grep -v '^ *+' conftest.er1 >conftest.err
27359 rm -f conftest.er1
27360 cat conftest.err >&5
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); } &&
27363 { ac_try='test -z "$ac_c_werror_flag"
27364 || test ! -s conftest.err'
27365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27366 (eval $ac_try) 2>&5
27367 ac_status=$?
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); }; } &&
27370 { ac_try='test -s conftest.$ac_objext'
27371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27372 (eval $ac_try) 2>&5
27373 ac_status=$?
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); }; }; then
27376
27377 cat >>confdefs.h <<\_ACEOF
27378 #define __WXGTK210__ 1
27379 _ACEOF
27380
27381 cat >>confdefs.h <<\_ACEOF
27382 #define __WXGTK26__ 1
27383 _ACEOF
27384
27385 cat >>confdefs.h <<\_ACEOF
27386 #define __WXGTK24__ 1
27387 _ACEOF
27388
27389 echo "$as_me:$LINENO: result: yes" >&5
27390 echo "${ECHO_T}yes" >&6
27391 ac_wxgtk210=1
27392
27393 else
27394 echo "$as_me: failed program was:" >&5
27395 sed 's/^/| /' conftest.$ac_ext >&5
27396
27397
27398 echo "$as_me:$LINENO: result: no" >&5
27399 echo "${ECHO_T}no" >&6
27400 ac_wxgtk210=0
27401
27402 fi
27403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27404
27405 if test "$ac_wxgtk210" = 0; then
27406 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
27407 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
27408 cat >conftest.$ac_ext <<_ACEOF
27409 /* confdefs.h. */
27410 _ACEOF
27411 cat confdefs.h >>conftest.$ac_ext
27412 cat >>conftest.$ac_ext <<_ACEOF
27413 /* end confdefs.h. */
27414
27415 #include <gtk/gtk.h>
27416
27417 int
27418 main ()
27419 {
27420
27421 #if !GTK_CHECK_VERSION(2,6,0)
27422 Not GTK+ 2.6
27423 #endif
27424
27425 ;
27426 return 0;
27427 }
27428 _ACEOF
27429 rm -f conftest.$ac_objext
27430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27431 (eval $ac_compile) 2>conftest.er1
27432 ac_status=$?
27433 grep -v '^ *+' conftest.er1 >conftest.err
27434 rm -f conftest.er1
27435 cat conftest.err >&5
27436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27437 (exit $ac_status); } &&
27438 { ac_try='test -z "$ac_c_werror_flag"
27439 || test ! -s conftest.err'
27440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27441 (eval $ac_try) 2>&5
27442 ac_status=$?
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); }; } &&
27445 { ac_try='test -s conftest.$ac_objext'
27446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447 (eval $ac_try) 2>&5
27448 ac_status=$?
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); }; }; then
27451
27452 cat >>confdefs.h <<\_ACEOF
27453 #define __WXGTK26__ 1
27454 _ACEOF
27455
27456 cat >>confdefs.h <<\_ACEOF
27457 #define __WXGTK24__ 1
27458 _ACEOF
27459
27460 echo "$as_me:$LINENO: result: yes" >&5
27461 echo "${ECHO_T}yes" >&6
27462 ac_wxgtk26=1
27463
27464 else
27465 echo "$as_me: failed program was:" >&5
27466 sed 's/^/| /' conftest.$ac_ext >&5
27467
27468
27469 echo "$as_me:$LINENO: result: no" >&5
27470 echo "${ECHO_T}no" >&6
27471 ac_wxgtk26=0
27472
27473 fi
27474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27475 fi
27476
27477 if test "$ac_wxgtk26" = 0; then
27478 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27479 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27480 cat >conftest.$ac_ext <<_ACEOF
27481 /* confdefs.h. */
27482 _ACEOF
27483 cat confdefs.h >>conftest.$ac_ext
27484 cat >>conftest.$ac_ext <<_ACEOF
27485 /* end confdefs.h. */
27486
27487 #include <gtk/gtk.h>
27488
27489 int
27490 main ()
27491 {
27492
27493 #if !GTK_CHECK_VERSION(2,4,0)
27494 Not GTK+ 2.4
27495 #endif
27496
27497 ;
27498 return 0;
27499 }
27500 _ACEOF
27501 rm -f conftest.$ac_objext
27502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27503 (eval $ac_compile) 2>conftest.er1
27504 ac_status=$?
27505 grep -v '^ *+' conftest.er1 >conftest.err
27506 rm -f conftest.er1
27507 cat conftest.err >&5
27508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27509 (exit $ac_status); } &&
27510 { ac_try='test -z "$ac_c_werror_flag"
27511 || test ! -s conftest.err'
27512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27513 (eval $ac_try) 2>&5
27514 ac_status=$?
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); }; } &&
27517 { ac_try='test -s conftest.$ac_objext'
27518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27519 (eval $ac_try) 2>&5
27520 ac_status=$?
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); }; }; then
27523
27524 cat >>confdefs.h <<\_ACEOF
27525 #define __WXGTK24__ 1
27526 _ACEOF
27527
27528 echo "$as_me:$LINENO: result: yes" >&5
27529 echo "${ECHO_T}yes" >&6
27530
27531 else
27532 echo "$as_me: failed program was:" >&5
27533 sed 's/^/| /' conftest.$ac_ext >&5
27534
27535
27536 echo "$as_me:$LINENO: result: no" >&5
27537 echo "${ECHO_T}no" >&6
27538
27539 fi
27540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27541 fi
27542
27543 CFLAGS="$save_CFLAGS"
27544 LIBS="$save_LIBS"
27545 else
27546 if test "$wxUSE_UNICODE" = "yes"; then
27547 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27548 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27549 wxUSE_UNICODE=no
27550 fi
27551
27552 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27553 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27554 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27555 echo $ECHO_N "(cached) $ECHO_C" >&6
27556 else
27557 ac_check_lib_save_LIBS=$LIBS
27558 LIBS="-lgdk $LIBS"
27559 cat >conftest.$ac_ext <<_ACEOF
27560 /* confdefs.h. */
27561 _ACEOF
27562 cat confdefs.h >>conftest.$ac_ext
27563 cat >>conftest.$ac_ext <<_ACEOF
27564 /* end confdefs.h. */
27565
27566 /* Override any gcc2 internal prototype to avoid an error. */
27567 #ifdef __cplusplus
27568 extern "C"
27569 #endif
27570 /* We use char because int might match the return type of a gcc2
27571 builtin and then its argument prototype would still apply. */
27572 char gdk_im_open ();
27573 int
27574 main ()
27575 {
27576 gdk_im_open ();
27577 ;
27578 return 0;
27579 }
27580 _ACEOF
27581 rm -f conftest.$ac_objext conftest$ac_exeext
27582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27583 (eval $ac_link) 2>conftest.er1
27584 ac_status=$?
27585 grep -v '^ *+' conftest.er1 >conftest.err
27586 rm -f conftest.er1
27587 cat conftest.err >&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); } &&
27590 { ac_try='test -z "$ac_c_werror_flag"
27591 || test ! -s conftest.err'
27592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27593 (eval $ac_try) 2>&5
27594 ac_status=$?
27595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27596 (exit $ac_status); }; } &&
27597 { ac_try='test -s conftest$ac_exeext'
27598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27599 (eval $ac_try) 2>&5
27600 ac_status=$?
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); }; }; then
27603 ac_cv_lib_gdk_gdk_im_open=yes
27604 else
27605 echo "$as_me: failed program was:" >&5
27606 sed 's/^/| /' conftest.$ac_ext >&5
27607
27608 ac_cv_lib_gdk_gdk_im_open=no
27609 fi
27610 rm -f conftest.err conftest.$ac_objext \
27611 conftest$ac_exeext conftest.$ac_ext
27612 LIBS=$ac_check_lib_save_LIBS
27613 fi
27614 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27615 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27616 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27617 cat >>confdefs.h <<\_ACEOF
27618 #define HAVE_XIM 1
27619 _ACEOF
27620
27621 fi
27622
27623
27624 if test "$USE_DARWIN" != 1; then
27625
27626 for ac_func in poll
27627 do
27628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27629 echo "$as_me:$LINENO: checking for $ac_func" >&5
27630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27631 if eval "test \"\${$as_ac_var+set}\" = set"; then
27632 echo $ECHO_N "(cached) $ECHO_C" >&6
27633 else
27634 cat >conftest.$ac_ext <<_ACEOF
27635 /* confdefs.h. */
27636 _ACEOF
27637 cat confdefs.h >>conftest.$ac_ext
27638 cat >>conftest.$ac_ext <<_ACEOF
27639 /* end confdefs.h. */
27640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27642 #define $ac_func innocuous_$ac_func
27643
27644 /* System header to define __stub macros and hopefully few prototypes,
27645 which can conflict with char $ac_func (); below.
27646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27647 <limits.h> exists even on freestanding compilers. */
27648
27649 #ifdef __STDC__
27650 # include <limits.h>
27651 #else
27652 # include <assert.h>
27653 #endif
27654
27655 #undef $ac_func
27656
27657 /* Override any gcc2 internal prototype to avoid an error. */
27658 #ifdef __cplusplus
27659 extern "C"
27660 {
27661 #endif
27662 /* We use char because int might match the return type of a gcc2
27663 builtin and then its argument prototype would still apply. */
27664 char $ac_func ();
27665 /* The GNU C library defines this for functions which it implements
27666 to always fail with ENOSYS. Some functions are actually named
27667 something starting with __ and the normal name is an alias. */
27668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27669 choke me
27670 #else
27671 char (*f) () = $ac_func;
27672 #endif
27673 #ifdef __cplusplus
27674 }
27675 #endif
27676
27677 int
27678 main ()
27679 {
27680 return f != $ac_func;
27681 ;
27682 return 0;
27683 }
27684 _ACEOF
27685 rm -f conftest.$ac_objext conftest$ac_exeext
27686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27687 (eval $ac_link) 2>conftest.er1
27688 ac_status=$?
27689 grep -v '^ *+' conftest.er1 >conftest.err
27690 rm -f conftest.er1
27691 cat conftest.err >&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); } &&
27694 { ac_try='test -z "$ac_c_werror_flag"
27695 || test ! -s conftest.err'
27696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27697 (eval $ac_try) 2>&5
27698 ac_status=$?
27699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27700 (exit $ac_status); }; } &&
27701 { ac_try='test -s conftest$ac_exeext'
27702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27703 (eval $ac_try) 2>&5
27704 ac_status=$?
27705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706 (exit $ac_status); }; }; then
27707 eval "$as_ac_var=yes"
27708 else
27709 echo "$as_me: failed program was:" >&5
27710 sed 's/^/| /' conftest.$ac_ext >&5
27711
27712 eval "$as_ac_var=no"
27713 fi
27714 rm -f conftest.err conftest.$ac_objext \
27715 conftest$ac_exeext conftest.$ac_ext
27716 fi
27717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27719 if test `eval echo '${'$as_ac_var'}'` = yes; then
27720 cat >>confdefs.h <<_ACEOF
27721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27722 _ACEOF
27723
27724 fi
27725 done
27726
27727 fi
27728 fi
27729
27730 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
27731 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27732
27733 AFMINSTALL=afminstall
27734 TOOLKIT=GTK
27735 GUIDIST=GTK_DIST
27736
27737 if test "$wxUSE_GPE" = "yes"; then
27738 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27739 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27740
27741 ac_find_libraries=
27742 for ac_dir in $SEARCH_LIB;
27743 do
27744 for ac_extension in a so sl dylib dll.a; do
27745 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27746 ac_find_libraries=$ac_dir
27747 break 2
27748 fi
27749 done
27750 done
27751
27752 if test "$ac_find_libraries" != "" ; then
27753
27754 if test "$ac_find_libraries" = "default location"; then
27755 ac_path_to_link=""
27756 else
27757 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27758 result=$?
27759 if test $result = 0; then
27760 ac_path_to_link=""
27761 else
27762 ac_path_to_link=" -L$ac_find_libraries"
27763 fi
27764 fi
27765
27766 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27767 WXGPE=1
27768 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27769 echo "${ECHO_T}found in $ac_find_libraries" >&6
27770 else
27771 echo "$as_me:$LINENO: result: not found" >&5
27772 echo "${ECHO_T}not found" >&6
27773 fi
27774
27775 fi
27776 fi
27777
27778 if test "$wxUSE_MGL" = 1; then
27779 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27780 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27781 if test "x$MGL_ROOT" = x ; then
27782 echo "$as_me:$LINENO: result: not found" >&5
27783 echo "${ECHO_T}not found" >&6
27784 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27785 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27786 { (exit 1); exit 1; }; }
27787 else
27788 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27789 echo "${ECHO_T}$MGL_ROOT" >&6
27790 fi
27791
27792 echo "$as_me:$LINENO: checking for libmgl location" >&5
27793 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27794 case "${host}" in
27795 *-*-linux* )
27796 if test "x$wxUSE_SHARED" = xyes ; then
27797 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27798 else
27799 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27800 fi
27801 ;;
27802 *-pc-msdosdjgpp )
27803 mgl_os_candidates="dos32/dj2"
27804 ;;
27805 *)
27806 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27807 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27808 { (exit 1); exit 1; }; }
27809 esac
27810
27811 mgl_lib_type=""
27812 mgl_os=""
27813
27814 for mgl_os_i in $mgl_os_candidates ; do
27815 if test "x$mgl_os" = x ; then
27816 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27817 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
27818 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
27819 mgl_lib_type=debug
27820 mgl_os=$mgl_os_i
27821 fi
27822 fi
27823 if test "x$mgl_lib_type" = x ; then
27824 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
27825 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
27826 mgl_lib_type=release
27827 mgl_os=$mgl_os_i
27828 fi
27829 fi
27830 fi
27831 done
27832
27833 if test "x$mgl_os" = x ; then
27834 echo "$as_me:$LINENO: result: not found" >&5
27835 echo "${ECHO_T}not found" >&6
27836 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27837 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27838 { (exit 1); exit 1; }; }
27839 fi
27840 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27841 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27842
27843 wxUSE_UNIVERSAL="yes"
27844
27845 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
27846 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27847
27848 AFMINSTALL=afminstall
27849 TOOLKIT=MGL
27850 GUIDIST=MGL_DIST
27851 fi
27852
27853 if test "$wxUSE_DFB" = 1; then
27854
27855
27856 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27857 if test -n "$ac_tool_prefix"; then
27858 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27859 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27860 echo "$as_me:$LINENO: checking for $ac_word" >&5
27861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27862 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27863 echo $ECHO_N "(cached) $ECHO_C" >&6
27864 else
27865 case $PKG_CONFIG in
27866 [\\/]* | ?:[\\/]*)
27867 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27868 ;;
27869 *)
27870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27871 for as_dir in $PATH
27872 do
27873 IFS=$as_save_IFS
27874 test -z "$as_dir" && as_dir=.
27875 for ac_exec_ext in '' $ac_executable_extensions; do
27876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27877 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27879 break 2
27880 fi
27881 done
27882 done
27883
27884 ;;
27885 esac
27886 fi
27887 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27888
27889 if test -n "$PKG_CONFIG"; then
27890 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27891 echo "${ECHO_T}$PKG_CONFIG" >&6
27892 else
27893 echo "$as_me:$LINENO: result: no" >&5
27894 echo "${ECHO_T}no" >&6
27895 fi
27896
27897 fi
27898 if test -z "$ac_cv_path_PKG_CONFIG"; then
27899 ac_pt_PKG_CONFIG=$PKG_CONFIG
27900 # Extract the first word of "pkg-config", so it can be a program name with args.
27901 set dummy pkg-config; ac_word=$2
27902 echo "$as_me:$LINENO: checking for $ac_word" >&5
27903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27904 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
27905 echo $ECHO_N "(cached) $ECHO_C" >&6
27906 else
27907 case $ac_pt_PKG_CONFIG in
27908 [\\/]* | ?:[\\/]*)
27909 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27910 ;;
27911 *)
27912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27913 for as_dir in $PATH
27914 do
27915 IFS=$as_save_IFS
27916 test -z "$as_dir" && as_dir=.
27917 for ac_exec_ext in '' $ac_executable_extensions; do
27918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27919 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27921 break 2
27922 fi
27923 done
27924 done
27925
27926 ;;
27927 esac
27928 fi
27929 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27930
27931 if test -n "$ac_pt_PKG_CONFIG"; then
27932 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
27933 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
27934 else
27935 echo "$as_me:$LINENO: result: no" >&5
27936 echo "${ECHO_T}no" >&6
27937 fi
27938
27939 PKG_CONFIG=$ac_pt_PKG_CONFIG
27940 else
27941 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27942 fi
27943
27944 fi
27945 if test -n "$PKG_CONFIG"; then
27946 _pkg_min_version=0.9.0
27947 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
27948 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
27949 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27950 echo "$as_me:$LINENO: result: yes" >&5
27951 echo "${ECHO_T}yes" >&6
27952 else
27953 echo "$as_me:$LINENO: result: no" >&5
27954 echo "${ECHO_T}no" >&6
27955 PKG_CONFIG=""
27956 fi
27957
27958 fi
27959
27960
27961 pkg_failed=no
27962 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
27963 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
27964
27965 if test -n "$PKG_CONFIG"; then
27966 if test -n "$DIRECTFB_CFLAGS"; then
27967 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
27968 else
27969 if test -n "$PKG_CONFIG" && \
27970 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
27971 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
27972 ac_status=$?
27973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27974 (exit $ac_status); }; then
27975 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
27976 else
27977 pkg_failed=yes
27978 fi
27979 fi
27980 else
27981 pkg_failed=untried
27982 fi
27983 if test -n "$PKG_CONFIG"; then
27984 if test -n "$DIRECTFB_LIBS"; then
27985 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
27986 else
27987 if test -n "$PKG_CONFIG" && \
27988 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
27989 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
27990 ac_status=$?
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); }; then
27993 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
27994 else
27995 pkg_failed=yes
27996 fi
27997 fi
27998 else
27999 pkg_failed=untried
28000 fi
28001
28002
28003
28004 if test $pkg_failed = yes; then
28005
28006 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28007 _pkg_short_errors_supported=yes
28008 else
28009 _pkg_short_errors_supported=no
28010 fi
28011 if test $_pkg_short_errors_supported = yes; then
28012 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28013 else
28014 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28015 fi
28016 # Put the nasty error message in config.log where it belongs
28017 echo "$DIRECTFB_PKG_ERRORS" >&5
28018
28019
28020 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28021 echo "$as_me: error: DirectFB not found." >&2;}
28022 { (exit 1); exit 1; }; }
28023
28024
28025 elif test $pkg_failed = untried; then
28026
28027 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28028 echo "$as_me: error: DirectFB not found." >&2;}
28029 { (exit 1); exit 1; }; }
28030
28031
28032 else
28033 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28034 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28035 echo "$as_me:$LINENO: result: yes" >&5
28036 echo "${ECHO_T}yes" >&6
28037
28038 wxUSE_UNIVERSAL="yes"
28039 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28040 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28041 TOOLKIT=DFB
28042 GUIDIST=DFB_DIST
28043
28044 fi
28045 fi
28046
28047 if test "$wxUSE_MICROWIN" = 1; then
28048 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28049 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28050 if test "x$MICROWINDOWS" = x ; then
28051 echo "$as_me:$LINENO: result: not found" >&5
28052 echo "${ECHO_T}not found" >&6
28053 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28054 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28055 { (exit 1); exit 1; }; }
28056 else
28057 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28058 echo "${ECHO_T}$MICROWINDOWS" >&6
28059 fi
28060
28061 if test -f $MICROWINDOWS/lib/libmwin.a; then
28062 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28063 echo "${ECHO_T}MicroWindows' libraries found." >&6
28064 else
28065 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28066 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28067 { (exit 1); exit 1; }; }
28068 fi
28069
28070 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28071 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28072
28073 wxUSE_UNIVERSAL="yes"
28074
28075 AFMINSTALL=afminstall
28076 TOOLKIT=MICROWIN
28077 GUIDIST=MICROWIN_DIST
28078
28079 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28080 fi
28081
28082 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28083 echo "$as_me:$LINENO: checking for X" >&5
28084 echo $ECHO_N "checking for X... $ECHO_C" >&6
28085
28086
28087 # Check whether --with-x or --without-x was given.
28088 if test "${with_x+set}" = set; then
28089 withval="$with_x"
28090
28091 fi;
28092 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28093 if test "x$with_x" = xno; then
28094 # The user explicitly disabled X.
28095 have_x=disabled
28096 else
28097 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
28098 # Both variables are already set.
28099 have_x=yes
28100 else
28101 if test "${ac_cv_have_x+set}" = set; then
28102 echo $ECHO_N "(cached) $ECHO_C" >&6
28103 else
28104 # One or both of the vars are not set, and there is no cached value.
28105 ac_x_includes=no ac_x_libraries=no
28106 rm -fr conftest.dir
28107 if mkdir conftest.dir; then
28108 cd conftest.dir
28109 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28110 cat >Imakefile <<'_ACEOF'
28111 acfindx:
28112 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28113 _ACEOF
28114 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
28115 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28116 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28117 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28118 for ac_extension in a so sl; do
28119 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
28120 test -f $ac_im_libdir/libX11.$ac_extension; then
28121 ac_im_usrlibdir=$ac_im_libdir; break
28122 fi
28123 done
28124 # Screen out bogus values from the imake configuration. They are
28125 # bogus both because they are the default anyway, and because
28126 # using them would break gcc on systems where it needs fixed includes.
28127 case $ac_im_incroot in
28128 /usr/include) ;;
28129 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28130 esac
28131 case $ac_im_usrlibdir in
28132 /usr/lib | /lib) ;;
28133 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28134 esac
28135 fi
28136 cd ..
28137 rm -fr conftest.dir
28138 fi
28139
28140 # Standard set of common directories for X headers.
28141 # Check X11 before X11Rn because it is often a symlink to the current release.
28142 ac_x_header_dirs='
28143 /usr/X11/include
28144 /usr/X11R6/include
28145 /usr/X11R5/include
28146 /usr/X11R4/include
28147
28148 /usr/include/X11
28149 /usr/include/X11R6
28150 /usr/include/X11R5
28151 /usr/include/X11R4
28152
28153 /usr/local/X11/include
28154 /usr/local/X11R6/include
28155 /usr/local/X11R5/include
28156 /usr/local/X11R4/include
28157
28158 /usr/local/include/X11
28159 /usr/local/include/X11R6
28160 /usr/local/include/X11R5
28161 /usr/local/include/X11R4
28162
28163 /usr/X386/include
28164 /usr/x386/include
28165 /usr/XFree86/include/X11
28166
28167 /usr/include
28168 /usr/local/include
28169 /usr/unsupported/include
28170 /usr/athena/include
28171 /usr/local/x11r5/include
28172 /usr/lpp/Xamples/include
28173
28174 /usr/openwin/include
28175 /usr/openwin/share/include'
28176
28177 if test "$ac_x_includes" = no; then
28178 # Guess where to find include files, by looking for Intrinsic.h.
28179 # First, try using that file with no special directory specified.
28180 cat >conftest.$ac_ext <<_ACEOF
28181 /* confdefs.h. */
28182 _ACEOF
28183 cat confdefs.h >>conftest.$ac_ext
28184 cat >>conftest.$ac_ext <<_ACEOF
28185 /* end confdefs.h. */
28186 #include <X11/Intrinsic.h>
28187 _ACEOF
28188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28190 ac_status=$?
28191 grep -v '^ *+' conftest.er1 >conftest.err
28192 rm -f conftest.er1
28193 cat conftest.err >&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); } >/dev/null; then
28196 if test -s conftest.err; then
28197 ac_cpp_err=$ac_c_preproc_warn_flag
28198 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28199 else
28200 ac_cpp_err=
28201 fi
28202 else
28203 ac_cpp_err=yes
28204 fi
28205 if test -z "$ac_cpp_err"; then
28206 # We can compile using X headers with no special include directory.
28207 ac_x_includes=
28208 else
28209 echo "$as_me: failed program was:" >&5
28210 sed 's/^/| /' conftest.$ac_ext >&5
28211
28212 for ac_dir in $ac_x_header_dirs; do
28213 if test -r "$ac_dir/X11/Intrinsic.h"; then
28214 ac_x_includes=$ac_dir
28215 break
28216 fi
28217 done
28218 fi
28219 rm -f conftest.err conftest.$ac_ext
28220 fi # $ac_x_includes = no
28221
28222 if test "$ac_x_libraries" = no; then
28223 # Check for the libraries.
28224 # See if we find them without any special options.
28225 # Don't add to $LIBS permanently.
28226 ac_save_LIBS=$LIBS
28227 LIBS="-lXt $LIBS"
28228 cat >conftest.$ac_ext <<_ACEOF
28229 /* confdefs.h. */
28230 _ACEOF
28231 cat confdefs.h >>conftest.$ac_ext
28232 cat >>conftest.$ac_ext <<_ACEOF
28233 /* end confdefs.h. */
28234 #include <X11/Intrinsic.h>
28235 int
28236 main ()
28237 {
28238 XtMalloc (0)
28239 ;
28240 return 0;
28241 }
28242 _ACEOF
28243 rm -f conftest.$ac_objext conftest$ac_exeext
28244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28245 (eval $ac_link) 2>conftest.er1
28246 ac_status=$?
28247 grep -v '^ *+' conftest.er1 >conftest.err
28248 rm -f conftest.er1
28249 cat conftest.err >&5
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); } &&
28252 { ac_try='test -z "$ac_c_werror_flag"
28253 || test ! -s conftest.err'
28254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28255 (eval $ac_try) 2>&5
28256 ac_status=$?
28257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28258 (exit $ac_status); }; } &&
28259 { ac_try='test -s conftest$ac_exeext'
28260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28261 (eval $ac_try) 2>&5
28262 ac_status=$?
28263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28264 (exit $ac_status); }; }; then
28265 LIBS=$ac_save_LIBS
28266 # We can link X programs with no special library path.
28267 ac_x_libraries=
28268 else
28269 echo "$as_me: failed program was:" >&5
28270 sed 's/^/| /' conftest.$ac_ext >&5
28271
28272 LIBS=$ac_save_LIBS
28273 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28274 do
28275 # Don't even attempt the hair of trying to link an X program!
28276 for ac_extension in a so sl; do
28277 if test -r $ac_dir/libXt.$ac_extension; then
28278 ac_x_libraries=$ac_dir
28279 break 2
28280 fi
28281 done
28282 done
28283 fi
28284 rm -f conftest.err conftest.$ac_objext \
28285 conftest$ac_exeext conftest.$ac_ext
28286 fi # $ac_x_libraries = no
28287
28288 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
28289 # Didn't find X anywhere. Cache the known absence of X.
28290 ac_cv_have_x="have_x=no"
28291 else
28292 # Record where we found X for the cache.
28293 ac_cv_have_x="have_x=yes \
28294 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28295 fi
28296 fi
28297
28298 fi
28299 eval "$ac_cv_have_x"
28300 fi # $with_x != no
28301
28302 if test "$have_x" != yes; then
28303 echo "$as_me:$LINENO: result: $have_x" >&5
28304 echo "${ECHO_T}$have_x" >&6
28305 no_x=yes
28306 else
28307 # If each of the values was on the command line, it overrides each guess.
28308 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28309 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28310 # Update the cache value to reflect the command line values.
28311 ac_cv_have_x="have_x=yes \
28312 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28313 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28314 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28315 fi
28316
28317 if test "$no_x" = yes; then
28318 # Not all programs may use this symbol, but it does not hurt to define it.
28319
28320 cat >>confdefs.h <<\_ACEOF
28321 #define X_DISPLAY_MISSING 1
28322 _ACEOF
28323
28324 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28325 else
28326 if test -n "$x_includes"; then
28327 X_CFLAGS="$X_CFLAGS -I$x_includes"
28328 fi
28329
28330 # It would also be nice to do this for all -L options, not just this one.
28331 if test -n "$x_libraries"; then
28332 X_LIBS="$X_LIBS -L$x_libraries"
28333 # For Solaris; some versions of Sun CC require a space after -R and
28334 # others require no space. Words are not sufficient . . . .
28335 case `(uname -sr) 2>/dev/null` in
28336 "SunOS 5"*)
28337 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28338 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28339 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28340 cat >conftest.$ac_ext <<_ACEOF
28341 /* confdefs.h. */
28342 _ACEOF
28343 cat confdefs.h >>conftest.$ac_ext
28344 cat >>conftest.$ac_ext <<_ACEOF
28345 /* end confdefs.h. */
28346
28347 int
28348 main ()
28349 {
28350
28351 ;
28352 return 0;
28353 }
28354 _ACEOF
28355 rm -f conftest.$ac_objext conftest$ac_exeext
28356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28357 (eval $ac_link) 2>conftest.er1
28358 ac_status=$?
28359 grep -v '^ *+' conftest.er1 >conftest.err
28360 rm -f conftest.er1
28361 cat conftest.err >&5
28362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363 (exit $ac_status); } &&
28364 { ac_try='test -z "$ac_c_werror_flag"
28365 || test ! -s conftest.err'
28366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28367 (eval $ac_try) 2>&5
28368 ac_status=$?
28369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370 (exit $ac_status); }; } &&
28371 { ac_try='test -s conftest$ac_exeext'
28372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28373 (eval $ac_try) 2>&5
28374 ac_status=$?
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); }; }; then
28377 ac_R_nospace=yes
28378 else
28379 echo "$as_me: failed program was:" >&5
28380 sed 's/^/| /' conftest.$ac_ext >&5
28381
28382 ac_R_nospace=no
28383 fi
28384 rm -f conftest.err conftest.$ac_objext \
28385 conftest$ac_exeext conftest.$ac_ext
28386 if test $ac_R_nospace = yes; then
28387 echo "$as_me:$LINENO: result: no" >&5
28388 echo "${ECHO_T}no" >&6
28389 X_LIBS="$X_LIBS -R$x_libraries"
28390 else
28391 LIBS="$ac_xsave_LIBS -R $x_libraries"
28392 cat >conftest.$ac_ext <<_ACEOF
28393 /* confdefs.h. */
28394 _ACEOF
28395 cat confdefs.h >>conftest.$ac_ext
28396 cat >>conftest.$ac_ext <<_ACEOF
28397 /* end confdefs.h. */
28398
28399 int
28400 main ()
28401 {
28402
28403 ;
28404 return 0;
28405 }
28406 _ACEOF
28407 rm -f conftest.$ac_objext conftest$ac_exeext
28408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28409 (eval $ac_link) 2>conftest.er1
28410 ac_status=$?
28411 grep -v '^ *+' conftest.er1 >conftest.err
28412 rm -f conftest.er1
28413 cat conftest.err >&5
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); } &&
28416 { ac_try='test -z "$ac_c_werror_flag"
28417 || test ! -s conftest.err'
28418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28419 (eval $ac_try) 2>&5
28420 ac_status=$?
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); }; } &&
28423 { ac_try='test -s conftest$ac_exeext'
28424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28425 (eval $ac_try) 2>&5
28426 ac_status=$?
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); }; }; then
28429 ac_R_space=yes
28430 else
28431 echo "$as_me: failed program was:" >&5
28432 sed 's/^/| /' conftest.$ac_ext >&5
28433
28434 ac_R_space=no
28435 fi
28436 rm -f conftest.err conftest.$ac_objext \
28437 conftest$ac_exeext conftest.$ac_ext
28438 if test $ac_R_space = yes; then
28439 echo "$as_me:$LINENO: result: yes" >&5
28440 echo "${ECHO_T}yes" >&6
28441 X_LIBS="$X_LIBS -R $x_libraries"
28442 else
28443 echo "$as_me:$LINENO: result: neither works" >&5
28444 echo "${ECHO_T}neither works" >&6
28445 fi
28446 fi
28447 LIBS=$ac_xsave_LIBS
28448 esac
28449 fi
28450
28451 # Check for system-dependent libraries X programs must link with.
28452 # Do this before checking for the system-independent R6 libraries
28453 # (-lICE), since we may need -lsocket or whatever for X linking.
28454
28455 if test "$ISC" = yes; then
28456 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
28457 else
28458 # Martyn Johnson says this is needed for Ultrix, if the X
28459 # libraries were built with DECnet support. And Karl Berry says
28460 # the Alpha needs dnet_stub (dnet does not exist).
28461 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
28462 cat >conftest.$ac_ext <<_ACEOF
28463 /* confdefs.h. */
28464 _ACEOF
28465 cat confdefs.h >>conftest.$ac_ext
28466 cat >>conftest.$ac_ext <<_ACEOF
28467 /* end confdefs.h. */
28468
28469 /* Override any gcc2 internal prototype to avoid an error. */
28470 #ifdef __cplusplus
28471 extern "C"
28472 #endif
28473 /* We use char because int might match the return type of a gcc2
28474 builtin and then its argument prototype would still apply. */
28475 char XOpenDisplay ();
28476 int
28477 main ()
28478 {
28479 XOpenDisplay ();
28480 ;
28481 return 0;
28482 }
28483 _ACEOF
28484 rm -f conftest.$ac_objext conftest$ac_exeext
28485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28486 (eval $ac_link) 2>conftest.er1
28487 ac_status=$?
28488 grep -v '^ *+' conftest.er1 >conftest.err
28489 rm -f conftest.er1
28490 cat conftest.err >&5
28491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28492 (exit $ac_status); } &&
28493 { ac_try='test -z "$ac_c_werror_flag"
28494 || test ! -s conftest.err'
28495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28496 (eval $ac_try) 2>&5
28497 ac_status=$?
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); }; } &&
28500 { ac_try='test -s conftest$ac_exeext'
28501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28502 (eval $ac_try) 2>&5
28503 ac_status=$?
28504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28505 (exit $ac_status); }; }; then
28506 :
28507 else
28508 echo "$as_me: failed program was:" >&5
28509 sed 's/^/| /' conftest.$ac_ext >&5
28510
28511 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28512 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28513 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28514 echo $ECHO_N "(cached) $ECHO_C" >&6
28515 else
28516 ac_check_lib_save_LIBS=$LIBS
28517 LIBS="-ldnet $LIBS"
28518 cat >conftest.$ac_ext <<_ACEOF
28519 /* confdefs.h. */
28520 _ACEOF
28521 cat confdefs.h >>conftest.$ac_ext
28522 cat >>conftest.$ac_ext <<_ACEOF
28523 /* end confdefs.h. */
28524
28525 /* Override any gcc2 internal prototype to avoid an error. */
28526 #ifdef __cplusplus
28527 extern "C"
28528 #endif
28529 /* We use char because int might match the return type of a gcc2
28530 builtin and then its argument prototype would still apply. */
28531 char dnet_ntoa ();
28532 int
28533 main ()
28534 {
28535 dnet_ntoa ();
28536 ;
28537 return 0;
28538 }
28539 _ACEOF
28540 rm -f conftest.$ac_objext conftest$ac_exeext
28541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28542 (eval $ac_link) 2>conftest.er1
28543 ac_status=$?
28544 grep -v '^ *+' conftest.er1 >conftest.err
28545 rm -f conftest.er1
28546 cat conftest.err >&5
28547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28548 (exit $ac_status); } &&
28549 { ac_try='test -z "$ac_c_werror_flag"
28550 || test ! -s conftest.err'
28551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28552 (eval $ac_try) 2>&5
28553 ac_status=$?
28554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28555 (exit $ac_status); }; } &&
28556 { ac_try='test -s conftest$ac_exeext'
28557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28558 (eval $ac_try) 2>&5
28559 ac_status=$?
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); }; }; then
28562 ac_cv_lib_dnet_dnet_ntoa=yes
28563 else
28564 echo "$as_me: failed program was:" >&5
28565 sed 's/^/| /' conftest.$ac_ext >&5
28566
28567 ac_cv_lib_dnet_dnet_ntoa=no
28568 fi
28569 rm -f conftest.err conftest.$ac_objext \
28570 conftest$ac_exeext conftest.$ac_ext
28571 LIBS=$ac_check_lib_save_LIBS
28572 fi
28573 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28574 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28575 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28576 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
28577 fi
28578
28579 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
28580 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28581 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28582 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28583 echo $ECHO_N "(cached) $ECHO_C" >&6
28584 else
28585 ac_check_lib_save_LIBS=$LIBS
28586 LIBS="-ldnet_stub $LIBS"
28587 cat >conftest.$ac_ext <<_ACEOF
28588 /* confdefs.h. */
28589 _ACEOF
28590 cat confdefs.h >>conftest.$ac_ext
28591 cat >>conftest.$ac_ext <<_ACEOF
28592 /* end confdefs.h. */
28593
28594 /* Override any gcc2 internal prototype to avoid an error. */
28595 #ifdef __cplusplus
28596 extern "C"
28597 #endif
28598 /* We use char because int might match the return type of a gcc2
28599 builtin and then its argument prototype would still apply. */
28600 char dnet_ntoa ();
28601 int
28602 main ()
28603 {
28604 dnet_ntoa ();
28605 ;
28606 return 0;
28607 }
28608 _ACEOF
28609 rm -f conftest.$ac_objext conftest$ac_exeext
28610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28611 (eval $ac_link) 2>conftest.er1
28612 ac_status=$?
28613 grep -v '^ *+' conftest.er1 >conftest.err
28614 rm -f conftest.er1
28615 cat conftest.err >&5
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); } &&
28618 { ac_try='test -z "$ac_c_werror_flag"
28619 || test ! -s conftest.err'
28620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28621 (eval $ac_try) 2>&5
28622 ac_status=$?
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); }; } &&
28625 { ac_try='test -s conftest$ac_exeext'
28626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28627 (eval $ac_try) 2>&5
28628 ac_status=$?
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); }; }; then
28631 ac_cv_lib_dnet_stub_dnet_ntoa=yes
28632 else
28633 echo "$as_me: failed program was:" >&5
28634 sed 's/^/| /' conftest.$ac_ext >&5
28635
28636 ac_cv_lib_dnet_stub_dnet_ntoa=no
28637 fi
28638 rm -f conftest.err conftest.$ac_objext \
28639 conftest$ac_exeext conftest.$ac_ext
28640 LIBS=$ac_check_lib_save_LIBS
28641 fi
28642 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28643 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28644 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28645 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
28646 fi
28647
28648 fi
28649 fi
28650 rm -f conftest.err conftest.$ac_objext \
28651 conftest$ac_exeext conftest.$ac_ext
28652 LIBS="$ac_xsave_LIBS"
28653
28654 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28655 # to get the SysV transport functions.
28656 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28657 # needs -lnsl.
28658 # The nsl library prevents programs from opening the X display
28659 # on Irix 5.2, according to T.E. Dickey.
28660 # The functions gethostbyname, getservbyname, and inet_addr are
28661 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28662 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28663 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28664 if test "${ac_cv_func_gethostbyname+set}" = set; then
28665 echo $ECHO_N "(cached) $ECHO_C" >&6
28666 else
28667 cat >conftest.$ac_ext <<_ACEOF
28668 /* confdefs.h. */
28669 _ACEOF
28670 cat confdefs.h >>conftest.$ac_ext
28671 cat >>conftest.$ac_ext <<_ACEOF
28672 /* end confdefs.h. */
28673 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28675 #define gethostbyname innocuous_gethostbyname
28676
28677 /* System header to define __stub macros and hopefully few prototypes,
28678 which can conflict with char gethostbyname (); below.
28679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28680 <limits.h> exists even on freestanding compilers. */
28681
28682 #ifdef __STDC__
28683 # include <limits.h>
28684 #else
28685 # include <assert.h>
28686 #endif
28687
28688 #undef gethostbyname
28689
28690 /* Override any gcc2 internal prototype to avoid an error. */
28691 #ifdef __cplusplus
28692 extern "C"
28693 {
28694 #endif
28695 /* We use char because int might match the return type of a gcc2
28696 builtin and then its argument prototype would still apply. */
28697 char gethostbyname ();
28698 /* The GNU C library defines this for functions which it implements
28699 to always fail with ENOSYS. Some functions are actually named
28700 something starting with __ and the normal name is an alias. */
28701 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28702 choke me
28703 #else
28704 char (*f) () = gethostbyname;
28705 #endif
28706 #ifdef __cplusplus
28707 }
28708 #endif
28709
28710 int
28711 main ()
28712 {
28713 return f != gethostbyname;
28714 ;
28715 return 0;
28716 }
28717 _ACEOF
28718 rm -f conftest.$ac_objext conftest$ac_exeext
28719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28720 (eval $ac_link) 2>conftest.er1
28721 ac_status=$?
28722 grep -v '^ *+' conftest.er1 >conftest.err
28723 rm -f conftest.er1
28724 cat conftest.err >&5
28725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726 (exit $ac_status); } &&
28727 { ac_try='test -z "$ac_c_werror_flag"
28728 || test ! -s conftest.err'
28729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28730 (eval $ac_try) 2>&5
28731 ac_status=$?
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); }; } &&
28734 { ac_try='test -s conftest$ac_exeext'
28735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28736 (eval $ac_try) 2>&5
28737 ac_status=$?
28738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739 (exit $ac_status); }; }; then
28740 ac_cv_func_gethostbyname=yes
28741 else
28742 echo "$as_me: failed program was:" >&5
28743 sed 's/^/| /' conftest.$ac_ext >&5
28744
28745 ac_cv_func_gethostbyname=no
28746 fi
28747 rm -f conftest.err conftest.$ac_objext \
28748 conftest$ac_exeext conftest.$ac_ext
28749 fi
28750 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28751 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28752
28753 if test $ac_cv_func_gethostbyname = no; then
28754 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28755 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28756 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28757 echo $ECHO_N "(cached) $ECHO_C" >&6
28758 else
28759 ac_check_lib_save_LIBS=$LIBS
28760 LIBS="-lnsl $LIBS"
28761 cat >conftest.$ac_ext <<_ACEOF
28762 /* confdefs.h. */
28763 _ACEOF
28764 cat confdefs.h >>conftest.$ac_ext
28765 cat >>conftest.$ac_ext <<_ACEOF
28766 /* end confdefs.h. */
28767
28768 /* Override any gcc2 internal prototype to avoid an error. */
28769 #ifdef __cplusplus
28770 extern "C"
28771 #endif
28772 /* We use char because int might match the return type of a gcc2
28773 builtin and then its argument prototype would still apply. */
28774 char gethostbyname ();
28775 int
28776 main ()
28777 {
28778 gethostbyname ();
28779 ;
28780 return 0;
28781 }
28782 _ACEOF
28783 rm -f conftest.$ac_objext conftest$ac_exeext
28784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28785 (eval $ac_link) 2>conftest.er1
28786 ac_status=$?
28787 grep -v '^ *+' conftest.er1 >conftest.err
28788 rm -f conftest.er1
28789 cat conftest.err >&5
28790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); } &&
28792 { ac_try='test -z "$ac_c_werror_flag"
28793 || test ! -s conftest.err'
28794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28795 (eval $ac_try) 2>&5
28796 ac_status=$?
28797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28798 (exit $ac_status); }; } &&
28799 { ac_try='test -s conftest$ac_exeext'
28800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28801 (eval $ac_try) 2>&5
28802 ac_status=$?
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); }; }; then
28805 ac_cv_lib_nsl_gethostbyname=yes
28806 else
28807 echo "$as_me: failed program was:" >&5
28808 sed 's/^/| /' conftest.$ac_ext >&5
28809
28810 ac_cv_lib_nsl_gethostbyname=no
28811 fi
28812 rm -f conftest.err conftest.$ac_objext \
28813 conftest$ac_exeext conftest.$ac_ext
28814 LIBS=$ac_check_lib_save_LIBS
28815 fi
28816 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28817 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28818 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28819 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
28820 fi
28821
28822 if test $ac_cv_lib_nsl_gethostbyname = no; then
28823 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28824 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28825 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28826 echo $ECHO_N "(cached) $ECHO_C" >&6
28827 else
28828 ac_check_lib_save_LIBS=$LIBS
28829 LIBS="-lbsd $LIBS"
28830 cat >conftest.$ac_ext <<_ACEOF
28831 /* confdefs.h. */
28832 _ACEOF
28833 cat confdefs.h >>conftest.$ac_ext
28834 cat >>conftest.$ac_ext <<_ACEOF
28835 /* end confdefs.h. */
28836
28837 /* Override any gcc2 internal prototype to avoid an error. */
28838 #ifdef __cplusplus
28839 extern "C"
28840 #endif
28841 /* We use char because int might match the return type of a gcc2
28842 builtin and then its argument prototype would still apply. */
28843 char gethostbyname ();
28844 int
28845 main ()
28846 {
28847 gethostbyname ();
28848 ;
28849 return 0;
28850 }
28851 _ACEOF
28852 rm -f conftest.$ac_objext conftest$ac_exeext
28853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28854 (eval $ac_link) 2>conftest.er1
28855 ac_status=$?
28856 grep -v '^ *+' conftest.er1 >conftest.err
28857 rm -f conftest.er1
28858 cat conftest.err >&5
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); } &&
28861 { ac_try='test -z "$ac_c_werror_flag"
28862 || test ! -s conftest.err'
28863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28864 (eval $ac_try) 2>&5
28865 ac_status=$?
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); }; } &&
28868 { ac_try='test -s conftest$ac_exeext'
28869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28870 (eval $ac_try) 2>&5
28871 ac_status=$?
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); }; }; then
28874 ac_cv_lib_bsd_gethostbyname=yes
28875 else
28876 echo "$as_me: failed program was:" >&5
28877 sed 's/^/| /' conftest.$ac_ext >&5
28878
28879 ac_cv_lib_bsd_gethostbyname=no
28880 fi
28881 rm -f conftest.err conftest.$ac_objext \
28882 conftest$ac_exeext conftest.$ac_ext
28883 LIBS=$ac_check_lib_save_LIBS
28884 fi
28885 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28886 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28887 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28888 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
28889 fi
28890
28891 fi
28892 fi
28893
28894 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28895 # socket/setsockopt and other routines are undefined under SCO ODT
28896 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28897 # on later versions), says Simon Leinen: it contains gethostby*
28898 # variants that don't use the name server (or something). -lsocket
28899 # must be given before -lnsl if both are needed. We assume that
28900 # if connect needs -lnsl, so does gethostbyname.
28901 echo "$as_me:$LINENO: checking for connect" >&5
28902 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28903 if test "${ac_cv_func_connect+set}" = set; then
28904 echo $ECHO_N "(cached) $ECHO_C" >&6
28905 else
28906 cat >conftest.$ac_ext <<_ACEOF
28907 /* confdefs.h. */
28908 _ACEOF
28909 cat confdefs.h >>conftest.$ac_ext
28910 cat >>conftest.$ac_ext <<_ACEOF
28911 /* end confdefs.h. */
28912 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28914 #define connect innocuous_connect
28915
28916 /* System header to define __stub macros and hopefully few prototypes,
28917 which can conflict with char connect (); below.
28918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28919 <limits.h> exists even on freestanding compilers. */
28920
28921 #ifdef __STDC__
28922 # include <limits.h>
28923 #else
28924 # include <assert.h>
28925 #endif
28926
28927 #undef connect
28928
28929 /* Override any gcc2 internal prototype to avoid an error. */
28930 #ifdef __cplusplus
28931 extern "C"
28932 {
28933 #endif
28934 /* We use char because int might match the return type of a gcc2
28935 builtin and then its argument prototype would still apply. */
28936 char connect ();
28937 /* The GNU C library defines this for functions which it implements
28938 to always fail with ENOSYS. Some functions are actually named
28939 something starting with __ and the normal name is an alias. */
28940 #if defined (__stub_connect) || defined (__stub___connect)
28941 choke me
28942 #else
28943 char (*f) () = connect;
28944 #endif
28945 #ifdef __cplusplus
28946 }
28947 #endif
28948
28949 int
28950 main ()
28951 {
28952 return f != connect;
28953 ;
28954 return 0;
28955 }
28956 _ACEOF
28957 rm -f conftest.$ac_objext conftest$ac_exeext
28958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28959 (eval $ac_link) 2>conftest.er1
28960 ac_status=$?
28961 grep -v '^ *+' conftest.er1 >conftest.err
28962 rm -f conftest.er1
28963 cat conftest.err >&5
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); } &&
28966 { ac_try='test -z "$ac_c_werror_flag"
28967 || test ! -s conftest.err'
28968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28969 (eval $ac_try) 2>&5
28970 ac_status=$?
28971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28972 (exit $ac_status); }; } &&
28973 { ac_try='test -s conftest$ac_exeext'
28974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28975 (eval $ac_try) 2>&5
28976 ac_status=$?
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); }; }; then
28979 ac_cv_func_connect=yes
28980 else
28981 echo "$as_me: failed program was:" >&5
28982 sed 's/^/| /' conftest.$ac_ext >&5
28983
28984 ac_cv_func_connect=no
28985 fi
28986 rm -f conftest.err conftest.$ac_objext \
28987 conftest$ac_exeext conftest.$ac_ext
28988 fi
28989 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28990 echo "${ECHO_T}$ac_cv_func_connect" >&6
28991
28992 if test $ac_cv_func_connect = no; then
28993 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28994 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28995 if test "${ac_cv_lib_socket_connect+set}" = set; then
28996 echo $ECHO_N "(cached) $ECHO_C" >&6
28997 else
28998 ac_check_lib_save_LIBS=$LIBS
28999 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29000 cat >conftest.$ac_ext <<_ACEOF
29001 /* confdefs.h. */
29002 _ACEOF
29003 cat confdefs.h >>conftest.$ac_ext
29004 cat >>conftest.$ac_ext <<_ACEOF
29005 /* end confdefs.h. */
29006
29007 /* Override any gcc2 internal prototype to avoid an error. */
29008 #ifdef __cplusplus
29009 extern "C"
29010 #endif
29011 /* We use char because int might match the return type of a gcc2
29012 builtin and then its argument prototype would still apply. */
29013 char connect ();
29014 int
29015 main ()
29016 {
29017 connect ();
29018 ;
29019 return 0;
29020 }
29021 _ACEOF
29022 rm -f conftest.$ac_objext conftest$ac_exeext
29023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29024 (eval $ac_link) 2>conftest.er1
29025 ac_status=$?
29026 grep -v '^ *+' conftest.er1 >conftest.err
29027 rm -f conftest.er1
29028 cat conftest.err >&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); } &&
29031 { ac_try='test -z "$ac_c_werror_flag"
29032 || test ! -s conftest.err'
29033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29034 (eval $ac_try) 2>&5
29035 ac_status=$?
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); }; } &&
29038 { ac_try='test -s conftest$ac_exeext'
29039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29040 (eval $ac_try) 2>&5
29041 ac_status=$?
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); }; }; then
29044 ac_cv_lib_socket_connect=yes
29045 else
29046 echo "$as_me: failed program was:" >&5
29047 sed 's/^/| /' conftest.$ac_ext >&5
29048
29049 ac_cv_lib_socket_connect=no
29050 fi
29051 rm -f conftest.err conftest.$ac_objext \
29052 conftest$ac_exeext conftest.$ac_ext
29053 LIBS=$ac_check_lib_save_LIBS
29054 fi
29055 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29056 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29057 if test $ac_cv_lib_socket_connect = yes; then
29058 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29059 fi
29060
29061 fi
29062
29063 # Guillermo Gomez says -lposix is necessary on A/UX.
29064 echo "$as_me:$LINENO: checking for remove" >&5
29065 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29066 if test "${ac_cv_func_remove+set}" = set; then
29067 echo $ECHO_N "(cached) $ECHO_C" >&6
29068 else
29069 cat >conftest.$ac_ext <<_ACEOF
29070 /* confdefs.h. */
29071 _ACEOF
29072 cat confdefs.h >>conftest.$ac_ext
29073 cat >>conftest.$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29075 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29077 #define remove innocuous_remove
29078
29079 /* System header to define __stub macros and hopefully few prototypes,
29080 which can conflict with char remove (); below.
29081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29082 <limits.h> exists even on freestanding compilers. */
29083
29084 #ifdef __STDC__
29085 # include <limits.h>
29086 #else
29087 # include <assert.h>
29088 #endif
29089
29090 #undef remove
29091
29092 /* Override any gcc2 internal prototype to avoid an error. */
29093 #ifdef __cplusplus
29094 extern "C"
29095 {
29096 #endif
29097 /* We use char because int might match the return type of a gcc2
29098 builtin and then its argument prototype would still apply. */
29099 char remove ();
29100 /* The GNU C library defines this for functions which it implements
29101 to always fail with ENOSYS. Some functions are actually named
29102 something starting with __ and the normal name is an alias. */
29103 #if defined (__stub_remove) || defined (__stub___remove)
29104 choke me
29105 #else
29106 char (*f) () = remove;
29107 #endif
29108 #ifdef __cplusplus
29109 }
29110 #endif
29111
29112 int
29113 main ()
29114 {
29115 return f != remove;
29116 ;
29117 return 0;
29118 }
29119 _ACEOF
29120 rm -f conftest.$ac_objext conftest$ac_exeext
29121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29122 (eval $ac_link) 2>conftest.er1
29123 ac_status=$?
29124 grep -v '^ *+' conftest.er1 >conftest.err
29125 rm -f conftest.er1
29126 cat conftest.err >&5
29127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29128 (exit $ac_status); } &&
29129 { ac_try='test -z "$ac_c_werror_flag"
29130 || test ! -s conftest.err'
29131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29132 (eval $ac_try) 2>&5
29133 ac_status=$?
29134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29135 (exit $ac_status); }; } &&
29136 { ac_try='test -s conftest$ac_exeext'
29137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29138 (eval $ac_try) 2>&5
29139 ac_status=$?
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); }; }; then
29142 ac_cv_func_remove=yes
29143 else
29144 echo "$as_me: failed program was:" >&5
29145 sed 's/^/| /' conftest.$ac_ext >&5
29146
29147 ac_cv_func_remove=no
29148 fi
29149 rm -f conftest.err conftest.$ac_objext \
29150 conftest$ac_exeext conftest.$ac_ext
29151 fi
29152 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29153 echo "${ECHO_T}$ac_cv_func_remove" >&6
29154
29155 if test $ac_cv_func_remove = no; then
29156 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29157 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29158 if test "${ac_cv_lib_posix_remove+set}" = set; then
29159 echo $ECHO_N "(cached) $ECHO_C" >&6
29160 else
29161 ac_check_lib_save_LIBS=$LIBS
29162 LIBS="-lposix $LIBS"
29163 cat >conftest.$ac_ext <<_ACEOF
29164 /* confdefs.h. */
29165 _ACEOF
29166 cat confdefs.h >>conftest.$ac_ext
29167 cat >>conftest.$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29169
29170 /* Override any gcc2 internal prototype to avoid an error. */
29171 #ifdef __cplusplus
29172 extern "C"
29173 #endif
29174 /* We use char because int might match the return type of a gcc2
29175 builtin and then its argument prototype would still apply. */
29176 char remove ();
29177 int
29178 main ()
29179 {
29180 remove ();
29181 ;
29182 return 0;
29183 }
29184 _ACEOF
29185 rm -f conftest.$ac_objext conftest$ac_exeext
29186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29187 (eval $ac_link) 2>conftest.er1
29188 ac_status=$?
29189 grep -v '^ *+' conftest.er1 >conftest.err
29190 rm -f conftest.er1
29191 cat conftest.err >&5
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); } &&
29194 { ac_try='test -z "$ac_c_werror_flag"
29195 || test ! -s conftest.err'
29196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29197 (eval $ac_try) 2>&5
29198 ac_status=$?
29199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29200 (exit $ac_status); }; } &&
29201 { ac_try='test -s conftest$ac_exeext'
29202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29203 (eval $ac_try) 2>&5
29204 ac_status=$?
29205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29206 (exit $ac_status); }; }; then
29207 ac_cv_lib_posix_remove=yes
29208 else
29209 echo "$as_me: failed program was:" >&5
29210 sed 's/^/| /' conftest.$ac_ext >&5
29211
29212 ac_cv_lib_posix_remove=no
29213 fi
29214 rm -f conftest.err conftest.$ac_objext \
29215 conftest$ac_exeext conftest.$ac_ext
29216 LIBS=$ac_check_lib_save_LIBS
29217 fi
29218 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29219 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29220 if test $ac_cv_lib_posix_remove = yes; then
29221 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29222 fi
29223
29224 fi
29225
29226 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29227 echo "$as_me:$LINENO: checking for shmat" >&5
29228 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29229 if test "${ac_cv_func_shmat+set}" = set; then
29230 echo $ECHO_N "(cached) $ECHO_C" >&6
29231 else
29232 cat >conftest.$ac_ext <<_ACEOF
29233 /* confdefs.h. */
29234 _ACEOF
29235 cat confdefs.h >>conftest.$ac_ext
29236 cat >>conftest.$ac_ext <<_ACEOF
29237 /* end confdefs.h. */
29238 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29240 #define shmat innocuous_shmat
29241
29242 /* System header to define __stub macros and hopefully few prototypes,
29243 which can conflict with char shmat (); below.
29244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29245 <limits.h> exists even on freestanding compilers. */
29246
29247 #ifdef __STDC__
29248 # include <limits.h>
29249 #else
29250 # include <assert.h>
29251 #endif
29252
29253 #undef shmat
29254
29255 /* Override any gcc2 internal prototype to avoid an error. */
29256 #ifdef __cplusplus
29257 extern "C"
29258 {
29259 #endif
29260 /* We use char because int might match the return type of a gcc2
29261 builtin and then its argument prototype would still apply. */
29262 char shmat ();
29263 /* The GNU C library defines this for functions which it implements
29264 to always fail with ENOSYS. Some functions are actually named
29265 something starting with __ and the normal name is an alias. */
29266 #if defined (__stub_shmat) || defined (__stub___shmat)
29267 choke me
29268 #else
29269 char (*f) () = shmat;
29270 #endif
29271 #ifdef __cplusplus
29272 }
29273 #endif
29274
29275 int
29276 main ()
29277 {
29278 return f != shmat;
29279 ;
29280 return 0;
29281 }
29282 _ACEOF
29283 rm -f conftest.$ac_objext conftest$ac_exeext
29284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29285 (eval $ac_link) 2>conftest.er1
29286 ac_status=$?
29287 grep -v '^ *+' conftest.er1 >conftest.err
29288 rm -f conftest.er1
29289 cat conftest.err >&5
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); } &&
29292 { ac_try='test -z "$ac_c_werror_flag"
29293 || test ! -s conftest.err'
29294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29295 (eval $ac_try) 2>&5
29296 ac_status=$?
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); }; } &&
29299 { ac_try='test -s conftest$ac_exeext'
29300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29301 (eval $ac_try) 2>&5
29302 ac_status=$?
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); }; }; then
29305 ac_cv_func_shmat=yes
29306 else
29307 echo "$as_me: failed program was:" >&5
29308 sed 's/^/| /' conftest.$ac_ext >&5
29309
29310 ac_cv_func_shmat=no
29311 fi
29312 rm -f conftest.err conftest.$ac_objext \
29313 conftest$ac_exeext conftest.$ac_ext
29314 fi
29315 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29316 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29317
29318 if test $ac_cv_func_shmat = no; then
29319 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29320 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29321 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29322 echo $ECHO_N "(cached) $ECHO_C" >&6
29323 else
29324 ac_check_lib_save_LIBS=$LIBS
29325 LIBS="-lipc $LIBS"
29326 cat >conftest.$ac_ext <<_ACEOF
29327 /* confdefs.h. */
29328 _ACEOF
29329 cat confdefs.h >>conftest.$ac_ext
29330 cat >>conftest.$ac_ext <<_ACEOF
29331 /* end confdefs.h. */
29332
29333 /* Override any gcc2 internal prototype to avoid an error. */
29334 #ifdef __cplusplus
29335 extern "C"
29336 #endif
29337 /* We use char because int might match the return type of a gcc2
29338 builtin and then its argument prototype would still apply. */
29339 char shmat ();
29340 int
29341 main ()
29342 {
29343 shmat ();
29344 ;
29345 return 0;
29346 }
29347 _ACEOF
29348 rm -f conftest.$ac_objext conftest$ac_exeext
29349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29350 (eval $ac_link) 2>conftest.er1
29351 ac_status=$?
29352 grep -v '^ *+' conftest.er1 >conftest.err
29353 rm -f conftest.er1
29354 cat conftest.err >&5
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); } &&
29357 { ac_try='test -z "$ac_c_werror_flag"
29358 || test ! -s conftest.err'
29359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29360 (eval $ac_try) 2>&5
29361 ac_status=$?
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); }; } &&
29364 { ac_try='test -s conftest$ac_exeext'
29365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29366 (eval $ac_try) 2>&5
29367 ac_status=$?
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); }; }; then
29370 ac_cv_lib_ipc_shmat=yes
29371 else
29372 echo "$as_me: failed program was:" >&5
29373 sed 's/^/| /' conftest.$ac_ext >&5
29374
29375 ac_cv_lib_ipc_shmat=no
29376 fi
29377 rm -f conftest.err conftest.$ac_objext \
29378 conftest$ac_exeext conftest.$ac_ext
29379 LIBS=$ac_check_lib_save_LIBS
29380 fi
29381 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29382 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29383 if test $ac_cv_lib_ipc_shmat = yes; then
29384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29385 fi
29386
29387 fi
29388 fi
29389
29390 # Check for libraries that X11R6 Xt/Xaw programs need.
29391 ac_save_LDFLAGS=$LDFLAGS
29392 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29393 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29394 # check for ICE first), but we must link in the order -lSM -lICE or
29395 # we get undefined symbols. So assume we have SM if we have ICE.
29396 # These have to be linked with before -lX11, unlike the other
29397 # libraries we check for below, so use a different variable.
29398 # John Interrante, Karl Berry
29399 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29400 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29401 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29402 echo $ECHO_N "(cached) $ECHO_C" >&6
29403 else
29404 ac_check_lib_save_LIBS=$LIBS
29405 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29406 cat >conftest.$ac_ext <<_ACEOF
29407 /* confdefs.h. */
29408 _ACEOF
29409 cat confdefs.h >>conftest.$ac_ext
29410 cat >>conftest.$ac_ext <<_ACEOF
29411 /* end confdefs.h. */
29412
29413 /* Override any gcc2 internal prototype to avoid an error. */
29414 #ifdef __cplusplus
29415 extern "C"
29416 #endif
29417 /* We use char because int might match the return type of a gcc2
29418 builtin and then its argument prototype would still apply. */
29419 char IceConnectionNumber ();
29420 int
29421 main ()
29422 {
29423 IceConnectionNumber ();
29424 ;
29425 return 0;
29426 }
29427 _ACEOF
29428 rm -f conftest.$ac_objext conftest$ac_exeext
29429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29430 (eval $ac_link) 2>conftest.er1
29431 ac_status=$?
29432 grep -v '^ *+' conftest.er1 >conftest.err
29433 rm -f conftest.er1
29434 cat conftest.err >&5
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); } &&
29437 { ac_try='test -z "$ac_c_werror_flag"
29438 || test ! -s conftest.err'
29439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29440 (eval $ac_try) 2>&5
29441 ac_status=$?
29442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29443 (exit $ac_status); }; } &&
29444 { ac_try='test -s conftest$ac_exeext'
29445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29446 (eval $ac_try) 2>&5
29447 ac_status=$?
29448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29449 (exit $ac_status); }; }; then
29450 ac_cv_lib_ICE_IceConnectionNumber=yes
29451 else
29452 echo "$as_me: failed program was:" >&5
29453 sed 's/^/| /' conftest.$ac_ext >&5
29454
29455 ac_cv_lib_ICE_IceConnectionNumber=no
29456 fi
29457 rm -f conftest.err conftest.$ac_objext \
29458 conftest$ac_exeext conftest.$ac_ext
29459 LIBS=$ac_check_lib_save_LIBS
29460 fi
29461 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29462 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29463 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29464 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29465 fi
29466
29467 LDFLAGS=$ac_save_LDFLAGS
29468
29469 fi
29470
29471
29472 if test "$no_x" = "yes"; then
29473 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29474 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29475 { (exit 1); exit 1; }; }
29476 fi
29477
29478 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29479 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
29480 AFMINSTALL=afminstall
29481 COMPILED_X_PROGRAM=0
29482
29483 fi
29484
29485 if test "$wxUSE_X11" = 1; then
29486 if test "$wxUSE_NANOX" = "yes"; then
29487 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29488 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29489 if test "x$MICROWIN" = x ; then
29490 echo "$as_me:$LINENO: result: not found" >&5
29491 echo "${ECHO_T}not found" >&6
29492 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29493 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29494 { (exit 1); exit 1; }; }
29495 else
29496 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29497 echo "${ECHO_T}$MICROWIN" >&6
29498 cat >>confdefs.h <<\_ACEOF
29499 #define wxUSE_NANOX 1
29500 _ACEOF
29501
29502 fi
29503 fi
29504
29505 if test "$wxUSE_UNICODE" = "yes"; then
29506
29507
29508 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29509 if test -n "$ac_tool_prefix"; then
29510 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29511 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29512 echo "$as_me:$LINENO: checking for $ac_word" >&5
29513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29514 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29515 echo $ECHO_N "(cached) $ECHO_C" >&6
29516 else
29517 case $PKG_CONFIG in
29518 [\\/]* | ?:[\\/]*)
29519 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29520 ;;
29521 *)
29522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29523 for as_dir in $PATH
29524 do
29525 IFS=$as_save_IFS
29526 test -z "$as_dir" && as_dir=.
29527 for ac_exec_ext in '' $ac_executable_extensions; do
29528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29529 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29531 break 2
29532 fi
29533 done
29534 done
29535
29536 ;;
29537 esac
29538 fi
29539 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29540
29541 if test -n "$PKG_CONFIG"; then
29542 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29543 echo "${ECHO_T}$PKG_CONFIG" >&6
29544 else
29545 echo "$as_me:$LINENO: result: no" >&5
29546 echo "${ECHO_T}no" >&6
29547 fi
29548
29549 fi
29550 if test -z "$ac_cv_path_PKG_CONFIG"; then
29551 ac_pt_PKG_CONFIG=$PKG_CONFIG
29552 # Extract the first word of "pkg-config", so it can be a program name with args.
29553 set dummy pkg-config; ac_word=$2
29554 echo "$as_me:$LINENO: checking for $ac_word" >&5
29555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29556 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29557 echo $ECHO_N "(cached) $ECHO_C" >&6
29558 else
29559 case $ac_pt_PKG_CONFIG in
29560 [\\/]* | ?:[\\/]*)
29561 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29562 ;;
29563 *)
29564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29565 for as_dir in $PATH
29566 do
29567 IFS=$as_save_IFS
29568 test -z "$as_dir" && as_dir=.
29569 for ac_exec_ext in '' $ac_executable_extensions; do
29570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29571 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29573 break 2
29574 fi
29575 done
29576 done
29577
29578 ;;
29579 esac
29580 fi
29581 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29582
29583 if test -n "$ac_pt_PKG_CONFIG"; then
29584 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29585 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29586 else
29587 echo "$as_me:$LINENO: result: no" >&5
29588 echo "${ECHO_T}no" >&6
29589 fi
29590
29591 PKG_CONFIG=$ac_pt_PKG_CONFIG
29592 else
29593 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29594 fi
29595
29596 fi
29597 if test -n "$PKG_CONFIG"; then
29598 _pkg_min_version=0.9.0
29599 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29600 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29601 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29602 echo "$as_me:$LINENO: result: yes" >&5
29603 echo "${ECHO_T}yes" >&6
29604 else
29605 echo "$as_me:$LINENO: result: no" >&5
29606 echo "${ECHO_T}no" >&6
29607 PKG_CONFIG=""
29608 fi
29609
29610 fi
29611
29612
29613 pkg_failed=no
29614 echo "$as_me:$LINENO: checking for PANGOX" >&5
29615 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
29616
29617 if test -n "$PKG_CONFIG"; then
29618 if test -n "$PANGOX_CFLAGS"; then
29619 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
29620 else
29621 if test -n "$PKG_CONFIG" && \
29622 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29623 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29624 ac_status=$?
29625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29626 (exit $ac_status); }; then
29627 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
29628 else
29629 pkg_failed=yes
29630 fi
29631 fi
29632 else
29633 pkg_failed=untried
29634 fi
29635 if test -n "$PKG_CONFIG"; then
29636 if test -n "$PANGOX_LIBS"; then
29637 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
29638 else
29639 if test -n "$PKG_CONFIG" && \
29640 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29641 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29642 ac_status=$?
29643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29644 (exit $ac_status); }; then
29645 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
29646 else
29647 pkg_failed=yes
29648 fi
29649 fi
29650 else
29651 pkg_failed=untried
29652 fi
29653
29654
29655
29656 if test $pkg_failed = yes; then
29657
29658 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29659 _pkg_short_errors_supported=yes
29660 else
29661 _pkg_short_errors_supported=no
29662 fi
29663 if test $_pkg_short_errors_supported = yes; then
29664 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
29665 else
29666 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29667 fi
29668 # Put the nasty error message in config.log where it belongs
29669 echo "$PANGOX_PKG_ERRORS" >&5
29670
29671
29672 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29673 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29674 { (exit 1); exit 1; }; }
29675
29676
29677 elif test $pkg_failed = untried; then
29678
29679 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29680 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29681 { (exit 1); exit 1; }; }
29682
29683
29684 else
29685 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
29686 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
29687 echo "$as_me:$LINENO: result: yes" >&5
29688 echo "${ECHO_T}yes" >&6
29689
29690 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
29691 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
29692 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
29693
29694 fi
29695
29696 pkg_failed=no
29697 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
29698 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
29699
29700 if test -n "$PKG_CONFIG"; then
29701 if test -n "$PANGOFT2_CFLAGS"; then
29702 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
29703 else
29704 if test -n "$PKG_CONFIG" && \
29705 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29706 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29707 ac_status=$?
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; then
29710 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
29711 else
29712 pkg_failed=yes
29713 fi
29714 fi
29715 else
29716 pkg_failed=untried
29717 fi
29718 if test -n "$PKG_CONFIG"; then
29719 if test -n "$PANGOFT2_LIBS"; then
29720 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
29721 else
29722 if test -n "$PKG_CONFIG" && \
29723 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29724 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29725 ac_status=$?
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); }; then
29728 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
29729 else
29730 pkg_failed=yes
29731 fi
29732 fi
29733 else
29734 pkg_failed=untried
29735 fi
29736
29737
29738
29739 if test $pkg_failed = yes; then
29740
29741 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29742 _pkg_short_errors_supported=yes
29743 else
29744 _pkg_short_errors_supported=no
29745 fi
29746 if test $_pkg_short_errors_supported = yes; then
29747 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
29748 else
29749 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29750 fi
29751 # Put the nasty error message in config.log where it belongs
29752 echo "$PANGOFT2_PKG_ERRORS" >&5
29753
29754
29755 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29756 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29757 wxUSE_PRINTING_ARCHITECTURE="no"
29758
29759
29760 elif test $pkg_failed = untried; then
29761
29762 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29763 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29764 wxUSE_PRINTING_ARCHITECTURE="no"
29765
29766
29767 else
29768 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
29769 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
29770 echo "$as_me:$LINENO: result: yes" >&5
29771 echo "${ECHO_T}yes" >&6
29772
29773 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
29774 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
29775 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29776
29777 fi
29778
29779 pkg_failed=no
29780 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
29781 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
29782
29783 if test -n "$PKG_CONFIG"; then
29784 if test -n "$PANGOXFT_CFLAGS"; then
29785 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
29786 else
29787 if test -n "$PKG_CONFIG" && \
29788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
29789 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
29790 ac_status=$?
29791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29792 (exit $ac_status); }; then
29793 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
29794 else
29795 pkg_failed=yes
29796 fi
29797 fi
29798 else
29799 pkg_failed=untried
29800 fi
29801 if test -n "$PKG_CONFIG"; then
29802 if test -n "$PANGOXFT_LIBS"; then
29803 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
29804 else
29805 if test -n "$PKG_CONFIG" && \
29806 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
29807 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
29808 ac_status=$?
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; then
29811 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
29812 else
29813 pkg_failed=yes
29814 fi
29815 fi
29816 else
29817 pkg_failed=untried
29818 fi
29819
29820
29821
29822 if test $pkg_failed = yes; then
29823
29824 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29825 _pkg_short_errors_supported=yes
29826 else
29827 _pkg_short_errors_supported=no
29828 fi
29829 if test $_pkg_short_errors_supported = yes; then
29830 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
29831 else
29832 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29833 fi
29834 # Put the nasty error message in config.log where it belongs
29835 echo "$PANGOXFT_PKG_ERRORS" >&5
29836
29837
29838 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29839 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29840
29841
29842 elif test $pkg_failed = untried; then
29843
29844 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29845 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29846
29847
29848 else
29849 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
29850 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
29851 echo "$as_me:$LINENO: result: yes" >&5
29852 echo "${ECHO_T}yes" >&6
29853
29854 cat >>confdefs.h <<\_ACEOF
29855 #define HAVE_PANGO_XFT 1
29856 _ACEOF
29857
29858 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
29859 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
29860 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29861
29862 fi
29863 save_LIBS="$LIBS"
29864 LIBS="$LIBS $PANGOX_LIBS"
29865
29866 for ac_func in pango_font_family_is_monospace
29867 do
29868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29869 echo "$as_me:$LINENO: checking for $ac_func" >&5
29870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29871 if eval "test \"\${$as_ac_var+set}\" = set"; then
29872 echo $ECHO_N "(cached) $ECHO_C" >&6
29873 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29882 #define $ac_func innocuous_$ac_func
29883
29884 /* System header to define __stub macros and hopefully few prototypes,
29885 which can conflict with char $ac_func (); below.
29886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29887 <limits.h> exists even on freestanding compilers. */
29888
29889 #ifdef __STDC__
29890 # include <limits.h>
29891 #else
29892 # include <assert.h>
29893 #endif
29894
29895 #undef $ac_func
29896
29897 /* Override any gcc2 internal prototype to avoid an error. */
29898 #ifdef __cplusplus
29899 extern "C"
29900 {
29901 #endif
29902 /* We use char because int might match the return type of a gcc2
29903 builtin and then its argument prototype would still apply. */
29904 char $ac_func ();
29905 /* The GNU C library defines this for functions which it implements
29906 to always fail with ENOSYS. Some functions are actually named
29907 something starting with __ and the normal name is an alias. */
29908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29909 choke me
29910 #else
29911 char (*f) () = $ac_func;
29912 #endif
29913 #ifdef __cplusplus
29914 }
29915 #endif
29916
29917 int
29918 main ()
29919 {
29920 return f != $ac_func;
29921 ;
29922 return 0;
29923 }
29924 _ACEOF
29925 rm -f conftest.$ac_objext conftest$ac_exeext
29926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29927 (eval $ac_link) 2>conftest.er1
29928 ac_status=$?
29929 grep -v '^ *+' conftest.er1 >conftest.err
29930 rm -f conftest.er1
29931 cat conftest.err >&5
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); } &&
29934 { ac_try='test -z "$ac_c_werror_flag"
29935 || test ! -s conftest.err'
29936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29937 (eval $ac_try) 2>&5
29938 ac_status=$?
29939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29940 (exit $ac_status); }; } &&
29941 { ac_try='test -s conftest$ac_exeext'
29942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29943 (eval $ac_try) 2>&5
29944 ac_status=$?
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); }; }; then
29947 eval "$as_ac_var=yes"
29948 else
29949 echo "$as_me: failed program was:" >&5
29950 sed 's/^/| /' conftest.$ac_ext >&5
29951
29952 eval "$as_ac_var=no"
29953 fi
29954 rm -f conftest.err conftest.$ac_objext \
29955 conftest$ac_exeext conftest.$ac_ext
29956 fi
29957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29959 if test `eval echo '${'$as_ac_var'}'` = yes; then
29960 cat >>confdefs.h <<_ACEOF
29961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29962 _ACEOF
29963
29964 fi
29965 done
29966
29967 LIBS="$save_LIBS"
29968 fi
29969
29970 wxUSE_UNIVERSAL="yes"
29971
29972 if test "$wxUSE_NANOX" = "yes"; then
29973 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29974 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"
29975 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29976 else
29977 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
29978 fi
29979
29980 TOOLKIT=X11
29981 GUIDIST=X11_DIST
29982 fi
29983
29984 if test "$wxUSE_MOTIF" = 1; then
29985 if test "$wxUSE_UNICODE" = "yes"; then
29986 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29987 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29988 { (exit 1); exit 1; }; }
29989 fi
29990
29991 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29992 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29993
29994 ac_find_includes=
29995 for ac_dir in $SEARCH_INCLUDE /usr/include;
29996 do
29997 if test -f "$ac_dir/Xm/Xm.h"; then
29998 ac_find_includes=$ac_dir
29999 break
30000 fi
30001 done
30002
30003 if test "$ac_find_includes" != "" ; then
30004 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30005 echo "${ECHO_T}found in $ac_find_includes" >&6
30006
30007 if test "x$ac_find_includes" = "x/usr/include"; then
30008 ac_path_to_include=""
30009 else
30010 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30011 result=$?
30012 if test $result = 0; then
30013 ac_path_to_include=""
30014 else
30015 ac_path_to_include=" -I$ac_find_includes"
30016 fi
30017 fi
30018
30019 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30020 else
30021 save_CFLAGS=$CFLAGS
30022 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30023
30024 cat >conftest.$ac_ext <<_ACEOF
30025 /* confdefs.h. */
30026 _ACEOF
30027 cat confdefs.h >>conftest.$ac_ext
30028 cat >>conftest.$ac_ext <<_ACEOF
30029 /* end confdefs.h. */
30030
30031 #include <Xm/Xm.h>
30032
30033 int
30034 main ()
30035 {
30036
30037 int version;
30038 version = xmUseVersion;
30039
30040 ;
30041 return 0;
30042 }
30043 _ACEOF
30044 rm -f conftest.$ac_objext
30045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30046 (eval $ac_compile) 2>conftest.er1
30047 ac_status=$?
30048 grep -v '^ *+' conftest.er1 >conftest.err
30049 rm -f conftest.er1
30050 cat conftest.err >&5
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); } &&
30053 { ac_try='test -z "$ac_c_werror_flag"
30054 || test ! -s conftest.err'
30055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30056 (eval $ac_try) 2>&5
30057 ac_status=$?
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); }; } &&
30060 { ac_try='test -s conftest.$ac_objext'
30061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30062 (eval $ac_try) 2>&5
30063 ac_status=$?
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); }; }; then
30066
30067 echo "$as_me:$LINENO: result: found in default search path" >&5
30068 echo "${ECHO_T}found in default search path" >&6
30069 COMPILED_X_PROGRAM=1
30070
30071 else
30072 echo "$as_me: failed program was:" >&5
30073 sed 's/^/| /' conftest.$ac_ext >&5
30074
30075
30076 echo "$as_me:$LINENO: result: no" >&5
30077 echo "${ECHO_T}no" >&6
30078 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30079 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30080 { (exit 1); exit 1; }; }
30081
30082
30083 fi
30084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30085
30086 CFLAGS=$save_CFLAGS
30087 fi
30088
30089
30090 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30091 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30092
30093 ac_find_libraries=
30094 for ac_dir in $SEARCH_LIB;
30095 do
30096 for ac_extension in a so sl dylib dll.a; do
30097 if test -f "$ac_dir/libXm.$ac_extension"; then
30098 ac_find_libraries=$ac_dir
30099 break 2
30100 fi
30101 done
30102 done
30103
30104
30105 if test "x$ac_find_libraries" != "x" ; then
30106 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30107 echo "${ECHO_T}found in $ac_find_libraries" >&6
30108
30109
30110 if test "$ac_find_libraries" = "default location"; then
30111 ac_path_to_link=""
30112 else
30113 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30114 result=$?
30115 if test $result = 0; then
30116 ac_path_to_link=""
30117 else
30118 ac_path_to_link=" -L$ac_find_libraries"
30119 fi
30120 fi
30121
30122 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30123 else
30124 save_CFLAGS=$CFLAGS
30125 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30126 save_LIBS="$LIBS"
30127 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30128
30129 cat >conftest.$ac_ext <<_ACEOF
30130 /* confdefs.h. */
30131 _ACEOF
30132 cat confdefs.h >>conftest.$ac_ext
30133 cat >>conftest.$ac_ext <<_ACEOF
30134 /* end confdefs.h. */
30135
30136 #include <Xm/Xm.h>
30137
30138 int
30139 main ()
30140 {
30141
30142 int version;
30143 version = xmUseVersion;
30144
30145 ;
30146 return 0;
30147 }
30148 _ACEOF
30149 rm -f conftest.$ac_objext conftest$ac_exeext
30150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30151 (eval $ac_link) 2>conftest.er1
30152 ac_status=$?
30153 grep -v '^ *+' conftest.er1 >conftest.err
30154 rm -f conftest.er1
30155 cat conftest.err >&5
30156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30157 (exit $ac_status); } &&
30158 { ac_try='test -z "$ac_c_werror_flag"
30159 || test ! -s conftest.err'
30160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30161 (eval $ac_try) 2>&5
30162 ac_status=$?
30163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30164 (exit $ac_status); }; } &&
30165 { ac_try='test -s conftest$ac_exeext'
30166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30167 (eval $ac_try) 2>&5
30168 ac_status=$?
30169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170 (exit $ac_status); }; }; then
30171
30172 echo "$as_me:$LINENO: result: found in default search path" >&5
30173 echo "${ECHO_T}found in default search path" >&6
30174 COMPILED_X_PROGRAM=1
30175
30176 else
30177 echo "$as_me: failed program was:" >&5
30178 sed 's/^/| /' conftest.$ac_ext >&5
30179
30180
30181 echo "$as_me:$LINENO: result: no" >&5
30182 echo "${ECHO_T}no" >&6
30183 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30184 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30185 { (exit 1); exit 1; }; }
30186
30187
30188 fi
30189 rm -f conftest.err conftest.$ac_objext \
30190 conftest$ac_exeext conftest.$ac_ext
30191
30192 CFLAGS=$save_CFLAGS
30193 LIBS="$save_LIBS"
30194 fi
30195
30196 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30197 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30198 libp_link=""
30199 libsm_ice_link=""
30200 libs_found=0
30201 for libp in "" " -lXp"; do
30202 if test "$libs_found" = "0"; then
30203 for libsm_ice in "" " -lSM -lICE"; do
30204 if test "$libs_found" = "0"; then
30205 save_LIBS="$LIBS"
30206 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30207 save_CFLAGS=$CFLAGS
30208 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30209
30210 cat >conftest.$ac_ext <<_ACEOF
30211 /* confdefs.h. */
30212 _ACEOF
30213 cat confdefs.h >>conftest.$ac_ext
30214 cat >>conftest.$ac_ext <<_ACEOF
30215 /* end confdefs.h. */
30216
30217 #include <Xm/Xm.h>
30218 #include <Xm/List.h>
30219
30220 int
30221 main ()
30222 {
30223
30224 XmString string = NULL;
30225 Widget w = NULL;
30226 int position = 0;
30227 XmListAddItem(w, string, position);
30228
30229 ;
30230 return 0;
30231 }
30232 _ACEOF
30233 rm -f conftest.$ac_objext conftest$ac_exeext
30234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30235 (eval $ac_link) 2>conftest.er1
30236 ac_status=$?
30237 grep -v '^ *+' conftest.er1 >conftest.err
30238 rm -f conftest.er1
30239 cat conftest.err >&5
30240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241 (exit $ac_status); } &&
30242 { ac_try='test -z "$ac_c_werror_flag"
30243 || test ! -s conftest.err'
30244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30245 (eval $ac_try) 2>&5
30246 ac_status=$?
30247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30248 (exit $ac_status); }; } &&
30249 { ac_try='test -s conftest$ac_exeext'
30250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30251 (eval $ac_try) 2>&5
30252 ac_status=$?
30253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254 (exit $ac_status); }; }; then
30255
30256 libp_link="$libp"
30257 libsm_ice_link="$libsm_ice"
30258 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30259 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30260 libs_found=1
30261
30262 else
30263 echo "$as_me: failed program was:" >&5
30264 sed 's/^/| /' conftest.$ac_ext >&5
30265
30266
30267
30268 fi
30269 rm -f conftest.err conftest.$ac_objext \
30270 conftest$ac_exeext conftest.$ac_ext
30271
30272 LIBS="$save_LIBS"
30273 CFLAGS=$save_CFLAGS
30274 fi
30275 done
30276 fi
30277 done
30278
30279 if test "$libs_found" = "0"; then
30280 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30281 echo "${ECHO_T}can't find the right libraries" >&6
30282 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30283 echo "$as_me: error: can't link a simple motif program" >&2;}
30284 { (exit 1); exit 1; }; }
30285 fi
30286
30287 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30288 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30289 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30290 echo $ECHO_N "(cached) $ECHO_C" >&6
30291 else
30292 ac_check_lib_save_LIBS=$LIBS
30293 LIBS="-lSgm $LIBS"
30294 cat >conftest.$ac_ext <<_ACEOF
30295 /* confdefs.h. */
30296 _ACEOF
30297 cat confdefs.h >>conftest.$ac_ext
30298 cat >>conftest.$ac_ext <<_ACEOF
30299 /* end confdefs.h. */
30300
30301 /* Override any gcc2 internal prototype to avoid an error. */
30302 #ifdef __cplusplus
30303 extern "C"
30304 #endif
30305 /* We use char because int might match the return type of a gcc2
30306 builtin and then its argument prototype would still apply. */
30307 char SgCreateList ();
30308 int
30309 main ()
30310 {
30311 SgCreateList ();
30312 ;
30313 return 0;
30314 }
30315 _ACEOF
30316 rm -f conftest.$ac_objext conftest$ac_exeext
30317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30318 (eval $ac_link) 2>conftest.er1
30319 ac_status=$?
30320 grep -v '^ *+' conftest.er1 >conftest.err
30321 rm -f conftest.er1
30322 cat conftest.err >&5
30323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30324 (exit $ac_status); } &&
30325 { ac_try='test -z "$ac_c_werror_flag"
30326 || test ! -s conftest.err'
30327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30328 (eval $ac_try) 2>&5
30329 ac_status=$?
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); }; } &&
30332 { ac_try='test -s conftest$ac_exeext'
30333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30334 (eval $ac_try) 2>&5
30335 ac_status=$?
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); }; }; then
30338 ac_cv_lib_Sgm_SgCreateList=yes
30339 else
30340 echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.$ac_ext >&5
30342
30343 ac_cv_lib_Sgm_SgCreateList=no
30344 fi
30345 rm -f conftest.err conftest.$ac_objext \
30346 conftest$ac_exeext conftest.$ac_ext
30347 LIBS=$ac_check_lib_save_LIBS
30348 fi
30349 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30350 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30351 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30352 libsgm_link=" -lSgm"
30353 fi
30354
30355
30356 save_CFLAGS=$CFLAGS
30357 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30358
30359 echo "$as_me:$LINENO: checking for Motif 2" >&5
30360 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30361 if test "${wx_cv_lib_motif2+set}" = set; then
30362 echo $ECHO_N "(cached) $ECHO_C" >&6
30363 else
30364 cat >conftest.$ac_ext <<_ACEOF
30365 /* confdefs.h. */
30366 _ACEOF
30367 cat confdefs.h >>conftest.$ac_ext
30368 cat >>conftest.$ac_ext <<_ACEOF
30369 /* end confdefs.h. */
30370
30371 #include <Xm/Xm.h>
30372
30373 int
30374 main ()
30375 {
30376
30377 #if XmVersion < 2000
30378 Not Motif 2
30379 #endif
30380
30381 ;
30382 return 0;
30383 }
30384 _ACEOF
30385 rm -f conftest.$ac_objext
30386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30387 (eval $ac_compile) 2>conftest.er1
30388 ac_status=$?
30389 grep -v '^ *+' conftest.er1 >conftest.err
30390 rm -f conftest.er1
30391 cat conftest.err >&5
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); } &&
30394 { ac_try='test -z "$ac_c_werror_flag"
30395 || test ! -s conftest.err'
30396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30397 (eval $ac_try) 2>&5
30398 ac_status=$?
30399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30400 (exit $ac_status); }; } &&
30401 { ac_try='test -s conftest.$ac_objext'
30402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30403 (eval $ac_try) 2>&5
30404 ac_status=$?
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); }; }; then
30407 wx_cv_lib_motif2="yes"
30408 else
30409 echo "$as_me: failed program was:" >&5
30410 sed 's/^/| /' conftest.$ac_ext >&5
30411
30412 wx_cv_lib_motif2="no"
30413 fi
30414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30415 fi
30416 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30417 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30418 if test "$wx_cv_lib_motif2" = "yes"; then
30419 cat >>confdefs.h <<\_ACEOF
30420 #define __WXMOTIF20__ 1
30421 _ACEOF
30422
30423 else
30424 cat >>confdefs.h <<\_ACEOF
30425 #define __WXMOTIF20__ 0
30426 _ACEOF
30427
30428 fi
30429
30430 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30431 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30432 if test "${wx_cv_lib_lesstif+set}" = set; then
30433 echo $ECHO_N "(cached) $ECHO_C" >&6
30434 else
30435 cat >conftest.$ac_ext <<_ACEOF
30436 /* confdefs.h. */
30437 _ACEOF
30438 cat confdefs.h >>conftest.$ac_ext
30439 cat >>conftest.$ac_ext <<_ACEOF
30440 /* end confdefs.h. */
30441
30442 #include <Xm/Xm.h>
30443
30444 int
30445 main ()
30446 {
30447
30448 #if !defined(LesstifVersion) || LesstifVersion <= 0
30449 Not Lesstif
30450 #endif
30451
30452 ;
30453 return 0;
30454 }
30455 _ACEOF
30456 rm -f conftest.$ac_objext
30457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30458 (eval $ac_compile) 2>conftest.er1
30459 ac_status=$?
30460 grep -v '^ *+' conftest.er1 >conftest.err
30461 rm -f conftest.er1
30462 cat conftest.err >&5
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); } &&
30465 { ac_try='test -z "$ac_c_werror_flag"
30466 || test ! -s conftest.err'
30467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30468 (eval $ac_try) 2>&5
30469 ac_status=$?
30470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30471 (exit $ac_status); }; } &&
30472 { ac_try='test -s conftest.$ac_objext'
30473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30474 (eval $ac_try) 2>&5
30475 ac_status=$?
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); }; }; then
30478 wx_cv_lib_lesstif="yes"
30479 else
30480 echo "$as_me: failed program was:" >&5
30481 sed 's/^/| /' conftest.$ac_ext >&5
30482
30483 wx_cv_lib_lesstif="no"
30484 fi
30485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30486
30487 fi
30488 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30489 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30490 if test "$wx_cv_lib_lesstif" = "yes"; then
30491 cat >>confdefs.h <<\_ACEOF
30492 #define __WXLESSTIF__ 1
30493 _ACEOF
30494
30495 else
30496 cat >>confdefs.h <<\_ACEOF
30497 #define __WXLESSTIF__ 0
30498 _ACEOF
30499
30500 fi
30501
30502 CFLAGS=$save_CFLAGS
30503
30504 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30505 TOOLKIT=MOTIF
30506 GUIDIST=MOTIF_DIST
30507 fi
30508
30509 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30510 if test "$wxUSE_LIBXPM" = "sys"; then
30511 echo "$as_me:$LINENO: checking for Xpm library" >&5
30512 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30513
30514 ac_find_libraries=
30515 for ac_dir in $SEARCH_LIB;
30516 do
30517 for ac_extension in a so sl dylib dll.a; do
30518 if test -f "$ac_dir/libXpm.$ac_extension"; then
30519 ac_find_libraries=$ac_dir
30520 break 2
30521 fi
30522 done
30523 done
30524
30525 if test "$ac_find_libraries" != "" ; then
30526
30527 if test "$ac_find_libraries" = "default location"; then
30528 ac_path_to_link=""
30529 else
30530 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30531 result=$?
30532 if test $result = 0; then
30533 ac_path_to_link=""
30534 else
30535 ac_path_to_link=" -L$ac_find_libraries"
30536 fi
30537 fi
30538
30539 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30540 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30541 echo "${ECHO_T}found in $ac_find_libraries" >&6
30542
30543 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30544 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30545 if test "${wx_cv_x11_xpm_h+set}" = set; then
30546 echo $ECHO_N "(cached) $ECHO_C" >&6
30547 else
30548
30549 save_CFLAGS=$CFLAGS
30550 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30551
30552 cat >conftest.$ac_ext <<_ACEOF
30553 /* confdefs.h. */
30554 _ACEOF
30555 cat confdefs.h >>conftest.$ac_ext
30556 cat >>conftest.$ac_ext <<_ACEOF
30557 /* end confdefs.h. */
30558
30559 #include <X11/xpm.h>
30560
30561 int
30562 main ()
30563 {
30564
30565 int version;
30566 version = XpmLibraryVersion();
30567
30568 ;
30569 return 0;
30570 }
30571 _ACEOF
30572 rm -f conftest.$ac_objext
30573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30574 (eval $ac_compile) 2>conftest.er1
30575 ac_status=$?
30576 grep -v '^ *+' conftest.er1 >conftest.err
30577 rm -f conftest.er1
30578 cat conftest.err >&5
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); } &&
30581 { ac_try='test -z "$ac_c_werror_flag"
30582 || test ! -s conftest.err'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30585 ac_status=$?
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; } &&
30588 { ac_try='test -s conftest.$ac_objext'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30591 ac_status=$?
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; }; then
30594 wx_cv_x11_xpm_h=yes
30595 else
30596 echo "$as_me: failed program was:" >&5
30597 sed 's/^/| /' conftest.$ac_ext >&5
30598
30599 wx_cv_x11_xpm_h=no
30600
30601 fi
30602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30603
30604 CFLAGS=$save_CFLAGS
30605
30606
30607 fi
30608 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30609 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30610
30611 if test $wx_cv_x11_xpm_h = "yes"; then
30612 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
30613 cat >>confdefs.h <<\_ACEOF
30614 #define wxHAVE_LIB_XPM 1
30615 _ACEOF
30616
30617 else
30618 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30619 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30620 fi
30621 fi
30622
30623 fi
30624
30625 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30626 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30627 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30628 echo $ECHO_N "(cached) $ECHO_C" >&6
30629 else
30630 ac_check_lib_save_LIBS=$LIBS
30631 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30632 cat >conftest.$ac_ext <<_ACEOF
30633 /* confdefs.h. */
30634 _ACEOF
30635 cat confdefs.h >>conftest.$ac_ext
30636 cat >>conftest.$ac_ext <<_ACEOF
30637 /* end confdefs.h. */
30638
30639 /* Override any gcc2 internal prototype to avoid an error. */
30640 #ifdef __cplusplus
30641 extern "C"
30642 #endif
30643 /* We use char because int might match the return type of a gcc2
30644 builtin and then its argument prototype would still apply. */
30645 char XShapeQueryExtension ();
30646 int
30647 main ()
30648 {
30649 XShapeQueryExtension ();
30650 ;
30651 return 0;
30652 }
30653 _ACEOF
30654 rm -f conftest.$ac_objext conftest$ac_exeext
30655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30656 (eval $ac_link) 2>conftest.er1
30657 ac_status=$?
30658 grep -v '^ *+' conftest.er1 >conftest.err
30659 rm -f conftest.er1
30660 cat conftest.err >&5
30661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662 (exit $ac_status); } &&
30663 { ac_try='test -z "$ac_c_werror_flag"
30664 || test ! -s conftest.err'
30665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30666 (eval $ac_try) 2>&5
30667 ac_status=$?
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); }; } &&
30670 { ac_try='test -s conftest$ac_exeext'
30671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30672 (eval $ac_try) 2>&5
30673 ac_status=$?
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); }; }; then
30676 ac_cv_lib_Xext_XShapeQueryExtension=yes
30677 else
30678 echo "$as_me: failed program was:" >&5
30679 sed 's/^/| /' conftest.$ac_ext >&5
30680
30681 ac_cv_lib_Xext_XShapeQueryExtension=no
30682 fi
30683 rm -f conftest.err conftest.$ac_objext \
30684 conftest$ac_exeext conftest.$ac_ext
30685 LIBS=$ac_check_lib_save_LIBS
30686 fi
30687 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30688 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30689 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30690
30691 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
30692 wxHAVE_XEXT_LIB=1
30693
30694 fi
30695
30696
30697 if test "$wxHAVE_XEXT_LIB" = 1; then
30698 save_CFLAGS="$CFLAGS"
30699 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30700
30701 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30702 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30703 cat >conftest.$ac_ext <<_ACEOF
30704 /* confdefs.h. */
30705 _ACEOF
30706 cat confdefs.h >>conftest.$ac_ext
30707 cat >>conftest.$ac_ext <<_ACEOF
30708 /* end confdefs.h. */
30709
30710 #include <X11/Xlib.h>
30711 #include <X11/extensions/shape.h>
30712
30713 int
30714 main ()
30715 {
30716
30717 int dummy1, dummy2;
30718 XShapeQueryExtension((Display*)NULL,
30719 (int*)NULL, (int*)NULL);
30720
30721 ;
30722 return 0;
30723 }
30724 _ACEOF
30725 rm -f conftest.$ac_objext
30726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30727 (eval $ac_compile) 2>conftest.er1
30728 ac_status=$?
30729 grep -v '^ *+' conftest.er1 >conftest.err
30730 rm -f conftest.er1
30731 cat conftest.err >&5
30732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 (exit $ac_status); } &&
30734 { ac_try='test -z "$ac_c_werror_flag"
30735 || test ! -s conftest.err'
30736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30737 (eval $ac_try) 2>&5
30738 ac_status=$?
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); }; } &&
30741 { ac_try='test -s conftest.$ac_objext'
30742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30743 (eval $ac_try) 2>&5
30744 ac_status=$?
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); }; }; then
30747
30748 cat >>confdefs.h <<\_ACEOF
30749 #define HAVE_XSHAPE 1
30750 _ACEOF
30751
30752 echo "$as_me:$LINENO: result: found" >&5
30753 echo "${ECHO_T}found" >&6
30754
30755 else
30756 echo "$as_me: failed program was:" >&5
30757 sed 's/^/| /' conftest.$ac_ext >&5
30758
30759
30760 echo "$as_me:$LINENO: result: not found" >&5
30761 echo "${ECHO_T}not found" >&6
30762
30763 fi
30764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30765 CFLAGS="$save_CFLAGS"
30766
30767 fi
30768 fi
30769
30770 if test "$wxUSE_MAC" = 1; then
30771 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30772 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30773 if test "$GCC" = yes; then
30774 echo "$as_me:$LINENO: result: gcc" >&5
30775 echo "${ECHO_T}gcc" >&6
30776 CPPFLAGS_PASCAL="-fpascal-strings"
30777 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30778 echo "$as_me:$LINENO: result: xlc" >&5
30779 echo "${ECHO_T}xlc" >&6
30780 CPPFLAGS_PASCAL="-qmacpstr"
30781 else
30782 echo "$as_me:$LINENO: result: none" >&5
30783 echo "${ECHO_T}none" >&6
30784 fi
30785
30786 if test "x$wxUSE_UNIX" = "xyes"; then
30787 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30788 else
30789 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30790 fi
30791
30792 TOOLKIT=MAC
30793 GUIDIST=MACX_DIST
30794 WXBASEPORT="_carbon"
30795 fi
30796
30797 if test "$wxUSE_COCOA" = 1; then
30798 TOOLKIT=COCOA
30799 GUIDIST=COCOA_DIST
30800 fi
30801
30802 if test "$wxUSE_PM" = 1; then
30803 TOOLKIT=PM
30804 GUIDIST=PM_DIST
30805 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30806 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30807 if test "${wx_cv_spbcdata+set}" = set; then
30808 echo $ECHO_N "(cached) $ECHO_C" >&6
30809 else
30810
30811 cat >conftest.$ac_ext <<_ACEOF
30812 /* confdefs.h. */
30813 _ACEOF
30814 cat confdefs.h >>conftest.$ac_ext
30815 cat >>conftest.$ac_ext <<_ACEOF
30816 /* end confdefs.h. */
30817
30818 #define INCL_PM
30819 #include <os2.h>
30820
30821 int
30822 main ()
30823 {
30824
30825 SPBCDATA test;
30826
30827 ;
30828 return 0;
30829 }
30830 _ACEOF
30831 rm -f conftest.$ac_objext
30832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30833 (eval $ac_compile) 2>conftest.er1
30834 ac_status=$?
30835 grep -v '^ *+' conftest.er1 >conftest.err
30836 rm -f conftest.er1
30837 cat conftest.err >&5
30838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30839 (exit $ac_status); } &&
30840 { ac_try='test -z "$ac_c_werror_flag"
30841 || test ! -s conftest.err'
30842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30843 (eval $ac_try) 2>&5
30844 ac_status=$?
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); }; } &&
30847 { ac_try='test -s conftest.$ac_objext'
30848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30849 (eval $ac_try) 2>&5
30850 ac_status=$?
30851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852 (exit $ac_status); }; }; then
30853 wx_cv_spbcdata=yes
30854 else
30855 echo "$as_me: failed program was:" >&5
30856 sed 's/^/| /' conftest.$ac_ext >&5
30857
30858 wx_cv_spbcdata=no
30859
30860 fi
30861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30862
30863
30864 fi
30865 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30866 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30867
30868 if test $wx_cv_spbcdata = "yes"; then
30869 cat >>confdefs.h <<\_ACEOF
30870 #define HAVE_SPBCDATA 1
30871 _ACEOF
30872
30873 fi
30874 fi
30875
30876 if test "$TOOLKIT" = "PM" ; then
30877 TOOLKIT_DIR="os2"
30878 else
30879 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30880 fi
30881
30882 if test "$wxUSE_UNIVERSAL" = "yes"; then
30883 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30884 WIDGET_SET=univ
30885 fi
30886
30887 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30888 DISTDIR="wx\$(TOOLKIT)"
30889 else
30890 USE_GUI=0
30891
30892 TOOLKIT_DIR="base"
30893
30894 if test "$USE_WIN32" = 1 ; then
30895 TOOLKIT="MSW"
30896 fi
30897
30898 GUIDIST="BASE_DIST"
30899 DISTDIR="wxBase"
30900 fi
30901
30902
30903 if test "$wxUSE_GUI" = "yes"; then
30904 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30905 echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
30906 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6
30907 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
30908 echo $ECHO_N "(cached) $ECHO_C" >&6
30909 else
30910 cat >conftest.$ac_ext <<_ACEOF
30911 /* confdefs.h. */
30912 _ACEOF
30913 cat confdefs.h >>conftest.$ac_ext
30914 cat >>conftest.$ac_ext <<_ACEOF
30915 /* end confdefs.h. */
30916
30917
30918 #include <X11/Xlib.h>
30919 _ACEOF
30920 rm -f conftest.$ac_objext
30921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30922 (eval $ac_compile) 2>conftest.er1
30923 ac_status=$?
30924 grep -v '^ *+' conftest.er1 >conftest.err
30925 rm -f conftest.er1
30926 cat conftest.err >&5
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); } &&
30929 { ac_try='test -z "$ac_c_werror_flag"
30930 || test ! -s conftest.err'
30931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 (eval $ac_try) 2>&5
30933 ac_status=$?
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); }; } &&
30936 { ac_try='test -s conftest.$ac_objext'
30937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30938 (eval $ac_try) 2>&5
30939 ac_status=$?
30940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30941 (exit $ac_status); }; }; then
30942 ac_cv_header_X11_Xlib_h=yes
30943 else
30944 echo "$as_me: failed program was:" >&5
30945 sed 's/^/| /' conftest.$ac_ext >&5
30946
30947 ac_cv_header_X11_Xlib_h=no
30948 fi
30949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30950 fi
30951 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
30952 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6
30953
30954
30955 echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
30956 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6
30957 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
30958 echo $ECHO_N "(cached) $ECHO_C" >&6
30959 else
30960 cat >conftest.$ac_ext <<_ACEOF
30961 /* confdefs.h. */
30962 _ACEOF
30963 cat confdefs.h >>conftest.$ac_ext
30964 cat >>conftest.$ac_ext <<_ACEOF
30965 /* end confdefs.h. */
30966
30967 #if HAVE_X11_XLIB_H
30968 #include <X11/Xlib.h>
30969 #endif
30970
30971
30972 #include <X11/XKBlib.h>
30973 _ACEOF
30974 rm -f conftest.$ac_objext
30975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30976 (eval $ac_compile) 2>conftest.er1
30977 ac_status=$?
30978 grep -v '^ *+' conftest.er1 >conftest.err
30979 rm -f conftest.er1
30980 cat conftest.err >&5
30981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30982 (exit $ac_status); } &&
30983 { ac_try='test -z "$ac_c_werror_flag"
30984 || test ! -s conftest.err'
30985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30986 (eval $ac_try) 2>&5
30987 ac_status=$?
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); }; } &&
30990 { ac_try='test -s conftest.$ac_objext'
30991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30992 (eval $ac_try) 2>&5
30993 ac_status=$?
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); }; }; then
30996 ac_cv_header_X11_XKBlib_h=yes
30997 else
30998 echo "$as_me: failed program was:" >&5
30999 sed 's/^/| /' conftest.$ac_ext >&5
31000
31001 ac_cv_header_X11_XKBlib_h=no
31002 fi
31003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31004 fi
31005 echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31006 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6
31007
31008
31009 fi
31010 fi
31011
31012
31013
31014 IODBC_C_SRC=""
31015
31016
31017 if test "$TOOLKIT" != "MSW" ; then
31018
31019 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31020
31021 echo "$as_me:$LINENO: checking for sql.h" >&5
31022 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31023 if test "${ac_cv_header_sql_h+set}" = set; then
31024 echo $ECHO_N "(cached) $ECHO_C" >&6
31025 else
31026 cat >conftest.$ac_ext <<_ACEOF
31027 /* confdefs.h. */
31028 _ACEOF
31029 cat confdefs.h >>conftest.$ac_ext
31030 cat >>conftest.$ac_ext <<_ACEOF
31031 /* end confdefs.h. */
31032
31033
31034 #include <sql.h>
31035 _ACEOF
31036 rm -f conftest.$ac_objext
31037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31038 (eval $ac_compile) 2>conftest.er1
31039 ac_status=$?
31040 grep -v '^ *+' conftest.er1 >conftest.err
31041 rm -f conftest.er1
31042 cat conftest.err >&5
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); } &&
31045 { ac_try='test -z "$ac_c_werror_flag"
31046 || test ! -s conftest.err'
31047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31048 (eval $ac_try) 2>&5
31049 ac_status=$?
31050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31051 (exit $ac_status); }; } &&
31052 { ac_try='test -s conftest.$ac_objext'
31053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31054 (eval $ac_try) 2>&5
31055 ac_status=$?
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); }; }; then
31058 ac_cv_header_sql_h=yes
31059 else
31060 echo "$as_me: failed program was:" >&5
31061 sed 's/^/| /' conftest.$ac_ext >&5
31062
31063 ac_cv_header_sql_h=no
31064 fi
31065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31066 fi
31067 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31068 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31069 if test $ac_cv_header_sql_h = yes; then
31070 found_sql_h=1
31071 fi
31072
31073
31074 if test "x$found_sql_h" = "x1" ; then
31075 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31076 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31077 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31078 echo $ECHO_N "(cached) $ECHO_C" >&6
31079 else
31080 ac_check_lib_save_LIBS=$LIBS
31081 LIBS="-liodbc $LIBS"
31082 cat >conftest.$ac_ext <<_ACEOF
31083 /* confdefs.h. */
31084 _ACEOF
31085 cat confdefs.h >>conftest.$ac_ext
31086 cat >>conftest.$ac_ext <<_ACEOF
31087 /* end confdefs.h. */
31088
31089 /* Override any gcc2 internal prototype to avoid an error. */
31090 #ifdef __cplusplus
31091 extern "C"
31092 #endif
31093 /* We use char because int might match the return type of a gcc2
31094 builtin and then its argument prototype would still apply. */
31095 char SQLAllocEnv ();
31096 int
31097 main ()
31098 {
31099 SQLAllocEnv ();
31100 ;
31101 return 0;
31102 }
31103 _ACEOF
31104 rm -f conftest.$ac_objext conftest$ac_exeext
31105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31106 (eval $ac_link) 2>conftest.er1
31107 ac_status=$?
31108 grep -v '^ *+' conftest.er1 >conftest.err
31109 rm -f conftest.er1
31110 cat conftest.err >&5
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); } &&
31113 { ac_try='test -z "$ac_c_werror_flag"
31114 || test ! -s conftest.err'
31115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31116 (eval $ac_try) 2>&5
31117 ac_status=$?
31118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31119 (exit $ac_status); }; } &&
31120 { ac_try='test -s conftest$ac_exeext'
31121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31122 (eval $ac_try) 2>&5
31123 ac_status=$?
31124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31125 (exit $ac_status); }; }; then
31126 ac_cv_lib_iodbc_SQLAllocEnv=yes
31127 else
31128 echo "$as_me: failed program was:" >&5
31129 sed 's/^/| /' conftest.$ac_ext >&5
31130
31131 ac_cv_lib_iodbc_SQLAllocEnv=no
31132 fi
31133 rm -f conftest.err conftest.$ac_objext \
31134 conftest$ac_exeext conftest.$ac_ext
31135 LIBS=$ac_check_lib_save_LIBS
31136 fi
31137 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31138 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31139 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31140 ODBC_LINK=" -liodbc"
31141 else
31142
31143 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31144 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31145 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31146 echo $ECHO_N "(cached) $ECHO_C" >&6
31147 else
31148 ac_check_lib_save_LIBS=$LIBS
31149 LIBS="-lunixodbc $LIBS"
31150 cat >conftest.$ac_ext <<_ACEOF
31151 /* confdefs.h. */
31152 _ACEOF
31153 cat confdefs.h >>conftest.$ac_ext
31154 cat >>conftest.$ac_ext <<_ACEOF
31155 /* end confdefs.h. */
31156
31157 /* Override any gcc2 internal prototype to avoid an error. */
31158 #ifdef __cplusplus
31159 extern "C"
31160 #endif
31161 /* We use char because int might match the return type of a gcc2
31162 builtin and then its argument prototype would still apply. */
31163 char SQLAllocEnv ();
31164 int
31165 main ()
31166 {
31167 SQLAllocEnv ();
31168 ;
31169 return 0;
31170 }
31171 _ACEOF
31172 rm -f conftest.$ac_objext conftest$ac_exeext
31173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31174 (eval $ac_link) 2>conftest.er1
31175 ac_status=$?
31176 grep -v '^ *+' conftest.er1 >conftest.err
31177 rm -f conftest.er1
31178 cat conftest.err >&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); } &&
31181 { ac_try='test -z "$ac_c_werror_flag"
31182 || test ! -s conftest.err'
31183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31184 (eval $ac_try) 2>&5
31185 ac_status=$?
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; } &&
31188 { ac_try='test -s conftest$ac_exeext'
31189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31190 (eval $ac_try) 2>&5
31191 ac_status=$?
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); }; }; then
31194 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31195 else
31196 echo "$as_me: failed program was:" >&5
31197 sed 's/^/| /' conftest.$ac_ext >&5
31198
31199 ac_cv_lib_unixodbc_SQLAllocEnv=no
31200 fi
31201 rm -f conftest.err conftest.$ac_objext \
31202 conftest$ac_exeext conftest.$ac_ext
31203 LIBS=$ac_check_lib_save_LIBS
31204 fi
31205 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31206 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31207 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31208 ODBC_LINK=" -lunixodbc"
31209 else
31210
31211 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31212 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31213 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31214 echo $ECHO_N "(cached) $ECHO_C" >&6
31215 else
31216 ac_check_lib_save_LIBS=$LIBS
31217 LIBS="-lodbc $LIBS"
31218 cat >conftest.$ac_ext <<_ACEOF
31219 /* confdefs.h. */
31220 _ACEOF
31221 cat confdefs.h >>conftest.$ac_ext
31222 cat >>conftest.$ac_ext <<_ACEOF
31223 /* end confdefs.h. */
31224
31225 /* Override any gcc2 internal prototype to avoid an error. */
31226 #ifdef __cplusplus
31227 extern "C"
31228 #endif
31229 /* We use char because int might match the return type of a gcc2
31230 builtin and then its argument prototype would still apply. */
31231 char SQLAllocEnv ();
31232 int
31233 main ()
31234 {
31235 SQLAllocEnv ();
31236 ;
31237 return 0;
31238 }
31239 _ACEOF
31240 rm -f conftest.$ac_objext conftest$ac_exeext
31241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31242 (eval $ac_link) 2>conftest.er1
31243 ac_status=$?
31244 grep -v '^ *+' conftest.er1 >conftest.err
31245 rm -f conftest.er1
31246 cat conftest.err >&5
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); } &&
31249 { ac_try='test -z "$ac_c_werror_flag"
31250 || test ! -s conftest.err'
31251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31252 (eval $ac_try) 2>&5
31253 ac_status=$?
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); }; } &&
31256 { ac_try='test -s conftest$ac_exeext'
31257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31258 (eval $ac_try) 2>&5
31259 ac_status=$?
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); }; }; then
31262 ac_cv_lib_odbc_SQLAllocEnv=yes
31263 else
31264 echo "$as_me: failed program was:" >&5
31265 sed 's/^/| /' conftest.$ac_ext >&5
31266
31267 ac_cv_lib_odbc_SQLAllocEnv=no
31268 fi
31269 rm -f conftest.err conftest.$ac_objext \
31270 conftest$ac_exeext conftest.$ac_ext
31271 LIBS=$ac_check_lib_save_LIBS
31272 fi
31273 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31274 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31275 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31276 ODBC_LINK=" -lodbc"
31277 fi
31278
31279
31280 fi
31281
31282
31283 fi
31284
31285 fi
31286 if test "x$ODBC_LINK" = "x" ; then
31287 if test "$wxUSE_ODBC" = "sys" ; then
31288 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31289 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31290 { (exit 1); exit 1; }; }
31291 else
31292 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31293 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31294 wxUSE_ODBC=builtin
31295 fi
31296 else
31297 wxUSE_ODBC=sys
31298 fi
31299 fi
31300
31301 if test "$wxUSE_ODBC" = "builtin" ; then
31302 cat >>confdefs.h <<\_ACEOF
31303 #define wxUSE_BUILTIN_IODBC 1
31304 _ACEOF
31305
31306 fi
31307 fi
31308
31309 if test "$wxUSE_ODBC" != "no" ; then
31310 cat >>confdefs.h <<\_ACEOF
31311 #define wxUSE_ODBC 1
31312 _ACEOF
31313
31314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31315
31316 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31317 fi
31318
31319
31320 if test "$wxUSE_DISPLAY" = "yes"; then
31321 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31322 echo "$as_me:$LINENO: checking for Xinerama" >&5
31323 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31324
31325 ac_find_libraries=
31326 for ac_dir in $SEARCH_LIB;
31327 do
31328 for ac_extension in a so sl dylib dll.a; do
31329 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31330 ac_find_libraries=$ac_dir
31331 break 2
31332 fi
31333 done
31334 done
31335
31336 if test "$ac_find_libraries" != "" ; then
31337
31338 if test "$ac_find_libraries" = "default location"; then
31339 ac_path_to_link=""
31340 else
31341 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31342 result=$?
31343 if test $result = 0; then
31344 ac_path_to_link=""
31345 else
31346 ac_path_to_link=" -L$ac_find_libraries"
31347 fi
31348 fi
31349
31350 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31351 LDFLAGS="$LDFLAGS $ac_path_to_link"
31352 fi
31353 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31354 echo "$as_me:$LINENO: result: yes" >&5
31355 echo "${ECHO_T}yes" >&6
31356
31357 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31358 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31359
31360 ac_find_libraries=
31361 for ac_dir in $SEARCH_LIB;
31362 do
31363 for ac_extension in a so sl dylib dll.a; do
31364 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31365 ac_find_libraries=$ac_dir
31366 break 2
31367 fi
31368 done
31369 done
31370
31371 if test "$ac_find_libraries" != "" ; then
31372 echo "$as_me:$LINENO: result: yes" >&5
31373 echo "${ECHO_T}yes" >&6
31374 echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31375 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6
31376 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31377 echo $ECHO_N "(cached) $ECHO_C" >&6
31378 else
31379 cat >conftest.$ac_ext <<_ACEOF
31380 /* confdefs.h. */
31381 _ACEOF
31382 cat confdefs.h >>conftest.$ac_ext
31383 cat >>conftest.$ac_ext <<_ACEOF
31384 /* end confdefs.h. */
31385
31386 #if HAVE_X11_XLIB_H
31387 #include <X11/Xlib.h>
31388 #endif
31389
31390
31391 #include <X11/extensions/xf86vmode.h>
31392 _ACEOF
31393 rm -f conftest.$ac_objext
31394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31395 (eval $ac_compile) 2>conftest.er1
31396 ac_status=$?
31397 grep -v '^ *+' conftest.er1 >conftest.err
31398 rm -f conftest.er1
31399 cat conftest.err >&5
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); } &&
31402 { ac_try='test -z "$ac_c_werror_flag"
31403 || test ! -s conftest.err'
31404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31405 (eval $ac_try) 2>&5
31406 ac_status=$?
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); }; } &&
31409 { ac_try='test -s conftest.$ac_objext'
31410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31411 (eval $ac_try) 2>&5
31412 ac_status=$?
31413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31414 (exit $ac_status); }; }; then
31415 ac_cv_header_X11_extensions_xf86vmode_h=yes
31416 else
31417 echo "$as_me: failed program was:" >&5
31418 sed 's/^/| /' conftest.$ac_ext >&5
31419
31420 ac_cv_header_X11_extensions_xf86vmode_h=no
31421 fi
31422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31423 fi
31424 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31425 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6
31426 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31427
31428 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31429
31430 fi
31431
31432
31433 else
31434 echo "$as_me:$LINENO: result: no" >&5
31435 echo "${ECHO_T}no" >&6
31436 fi
31437
31438 else
31439 echo "$as_me:$LINENO: result: no" >&5
31440 echo "${ECHO_T}no" >&6
31441 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31442 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31443 wxUSE_DISPLAY="no"
31444 fi
31445 elif test "$wxUSE_MSW" = 1; then
31446 echo "$as_me:$LINENO: checking for ddraw.h" >&5
31447 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
31448 if test "${ac_cv_header_ddraw_h+set}" = set; then
31449 echo $ECHO_N "(cached) $ECHO_C" >&6
31450 else
31451 cat >conftest.$ac_ext <<_ACEOF
31452 /* confdefs.h. */
31453 _ACEOF
31454 cat confdefs.h >>conftest.$ac_ext
31455 cat >>conftest.$ac_ext <<_ACEOF
31456 /* end confdefs.h. */
31457 #include <windows.h>
31458
31459 #include <ddraw.h>
31460 _ACEOF
31461 rm -f conftest.$ac_objext
31462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31463 (eval $ac_compile) 2>conftest.er1
31464 ac_status=$?
31465 grep -v '^ *+' conftest.er1 >conftest.err
31466 rm -f conftest.er1
31467 cat conftest.err >&5
31468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31469 (exit $ac_status); } &&
31470 { ac_try='test -z "$ac_c_werror_flag"
31471 || test ! -s conftest.err'
31472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31473 (eval $ac_try) 2>&5
31474 ac_status=$?
31475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31476 (exit $ac_status); }; } &&
31477 { ac_try='test -s conftest.$ac_objext'
31478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31479 (eval $ac_try) 2>&5
31480 ac_status=$?
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; }; then
31483 ac_cv_header_ddraw_h=yes
31484 else
31485 echo "$as_me: failed program was:" >&5
31486 sed 's/^/| /' conftest.$ac_ext >&5
31487
31488 ac_cv_header_ddraw_h=no
31489 fi
31490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31491 fi
31492 echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31493 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
31494
31495
31496 fi
31497 fi
31498
31499 if test "$wxUSE_DETECT_SM" = "yes"; then
31500 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31501 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31502 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
31503
31504 ac_find_libraries=
31505 for ac_dir in $SEARCH_LIB;
31506 do
31507 for ac_extension in a so sl dylib dll.a; do
31508 if test -f "$ac_dir/libSM.$ac_extension"; then
31509 ac_find_libraries=$ac_dir
31510 break 2
31511 fi
31512 done
31513 done
31514
31515 if test "$ac_find_libraries" != "" ; then
31516
31517 if test "$ac_find_libraries" = "default location"; then
31518 ac_path_to_link=""
31519 else
31520 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31521 result=$?
31522 if test $result = 0; then
31523 ac_path_to_link=""
31524 else
31525 ac_path_to_link=" -L$ac_find_libraries"
31526 fi
31527 fi
31528
31529 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31530 LDFLAGS="$LDFLAGS $ac_path_to_link"
31531 fi
31532 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
31533 echo "$as_me:$LINENO: result: yes" >&5
31534 echo "${ECHO_T}yes" >&6
31535 else
31536 echo "$as_me:$LINENO: result: no" >&5
31537 echo "${ECHO_T}no" >&6
31538 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
31539 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
31540 wxUSE_DETECT_SM="no"
31541 fi
31542 else
31543 wxUSE_DETECT_SM="no"
31544 fi
31545 fi
31546
31547
31548
31549 USE_OPENGL=0
31550 if test "$wxUSE_OPENGL" = "yes"; then
31551 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
31552 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
31553 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
31554 wxUSE_OPENGL="no"
31555 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31556 OPENGL_LIBS="-framework OpenGL -framework AGL"
31557 elif test "$wxUSE_MSW" = 1; then
31558 OPENGL_LIBS="-lopengl32 -lglu32"
31559 else
31560 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
31561 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
31562
31563 ac_find_includes=
31564 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
31565 do
31566 if test -f "$ac_dir/GL/gl.h"; then
31567 ac_find_includes=$ac_dir
31568 break
31569 fi
31570 done
31571
31572 if test "$ac_find_includes" != "" ; then
31573 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31574 echo "${ECHO_T}found in $ac_find_includes" >&6
31575
31576 if test "x$ac_find_includes" = "x/usr/include"; then
31577 ac_path_to_include=""
31578 else
31579 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
31580 result=$?
31581 if test $result = 0; then
31582 ac_path_to_include=""
31583 else
31584 ac_path_to_include=" -I$ac_find_includes"
31585 fi
31586 fi
31587
31588 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
31589 else
31590 echo "$as_me:$LINENO: result: not found" >&5
31591 echo "${ECHO_T}not found" >&6
31592 fi
31593
31594 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31595 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31596 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31597 echo $ECHO_N "(cached) $ECHO_C" >&6
31598 else
31599 cat >conftest.$ac_ext <<_ACEOF
31600 /* confdefs.h. */
31601 _ACEOF
31602 cat confdefs.h >>conftest.$ac_ext
31603 cat >>conftest.$ac_ext <<_ACEOF
31604 /* end confdefs.h. */
31605
31606
31607 #include <GL/gl.h>
31608 _ACEOF
31609 rm -f conftest.$ac_objext
31610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31611 (eval $ac_compile) 2>conftest.er1
31612 ac_status=$?
31613 grep -v '^ *+' conftest.er1 >conftest.err
31614 rm -f conftest.er1
31615 cat conftest.err >&5
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); } &&
31618 { ac_try='test -z "$ac_c_werror_flag"
31619 || test ! -s conftest.err'
31620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31621 (eval $ac_try) 2>&5
31622 ac_status=$?
31623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624 (exit $ac_status); }; } &&
31625 { ac_try='test -s conftest.$ac_objext'
31626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31627 (eval $ac_try) 2>&5
31628 ac_status=$?
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; }; then
31631 ac_cv_header_GL_gl_h=yes
31632 else
31633 echo "$as_me: failed program was:" >&5
31634 sed 's/^/| /' conftest.$ac_ext >&5
31635
31636 ac_cv_header_GL_gl_h=no
31637 fi
31638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31639 fi
31640 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31641 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31642 if test $ac_cv_header_GL_gl_h = yes; then
31643
31644 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31645 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
31646 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
31647 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31648 echo $ECHO_N "(cached) $ECHO_C" >&6
31649 fi
31650 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
31651 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
31652 else
31653 # Is the header compilable?
31654 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
31655 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
31656 cat >conftest.$ac_ext <<_ACEOF
31657 /* confdefs.h. */
31658 _ACEOF
31659 cat confdefs.h >>conftest.$ac_ext
31660 cat >>conftest.$ac_ext <<_ACEOF
31661 /* end confdefs.h. */
31662 $ac_includes_default
31663 #include <GL/glu.h>
31664 _ACEOF
31665 rm -f conftest.$ac_objext
31666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31667 (eval $ac_compile) 2>conftest.er1
31668 ac_status=$?
31669 grep -v '^ *+' conftest.er1 >conftest.err
31670 rm -f conftest.er1
31671 cat conftest.err >&5
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); } &&
31674 { ac_try='test -z "$ac_c_werror_flag"
31675 || test ! -s conftest.err'
31676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31677 (eval $ac_try) 2>&5
31678 ac_status=$?
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); }; } &&
31681 { ac_try='test -s conftest.$ac_objext'
31682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31683 (eval $ac_try) 2>&5
31684 ac_status=$?
31685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686 (exit $ac_status); }; }; then
31687 ac_header_compiler=yes
31688 else
31689 echo "$as_me: failed program was:" >&5
31690 sed 's/^/| /' conftest.$ac_ext >&5
31691
31692 ac_header_compiler=no
31693 fi
31694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31696 echo "${ECHO_T}$ac_header_compiler" >&6
31697
31698 # Is the header present?
31699 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
31700 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
31701 cat >conftest.$ac_ext <<_ACEOF
31702 /* confdefs.h. */
31703 _ACEOF
31704 cat confdefs.h >>conftest.$ac_ext
31705 cat >>conftest.$ac_ext <<_ACEOF
31706 /* end confdefs.h. */
31707 #include <GL/glu.h>
31708 _ACEOF
31709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31710 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31711 ac_status=$?
31712 grep -v '^ *+' conftest.er1 >conftest.err
31713 rm -f conftest.er1
31714 cat conftest.err >&5
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); } >/dev/null; then
31717 if test -s conftest.err; then
31718 ac_cpp_err=$ac_c_preproc_warn_flag
31719 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31720 else
31721 ac_cpp_err=
31722 fi
31723 else
31724 ac_cpp_err=yes
31725 fi
31726 if test -z "$ac_cpp_err"; then
31727 ac_header_preproc=yes
31728 else
31729 echo "$as_me: failed program was:" >&5
31730 sed 's/^/| /' conftest.$ac_ext >&5
31731
31732 ac_header_preproc=no
31733 fi
31734 rm -f conftest.err conftest.$ac_ext
31735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31736 echo "${ECHO_T}$ac_header_preproc" >&6
31737
31738 # So? What about this header?
31739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31740 yes:no: )
31741 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
31742 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31743 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
31744 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
31745 ac_header_preproc=yes
31746 ;;
31747 no:yes:* )
31748 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
31749 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
31750 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
31751 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
31752 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
31753 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
31754 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
31755 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
31756 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
31757 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
31758 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
31759 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
31760 (
31761 cat <<\_ASBOX
31762 ## ----------------------------------------- ##
31763 ## Report this to wx-dev@lists.wxwidgets.org ##
31764 ## ----------------------------------------- ##
31765 _ASBOX
31766 ) |
31767 sed "s/^/$as_me: WARNING: /" >&2
31768 ;;
31769 esac
31770 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
31771 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
31772 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31773 echo $ECHO_N "(cached) $ECHO_C" >&6
31774 else
31775 ac_cv_header_GL_glu_h=$ac_header_preproc
31776 fi
31777 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
31778 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
31779
31780 fi
31781 if test $ac_cv_header_GL_glu_h = yes; then
31782
31783 found_gl=0
31784
31785 echo "$as_me:$LINENO: checking for -lGL" >&5
31786 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31787
31788 ac_find_libraries=
31789 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
31790 do
31791 for ac_extension in a so sl dylib dll.a; do
31792 if test -f "$ac_dir/libGL.$ac_extension"; then
31793 ac_find_libraries=$ac_dir
31794 break 2
31795 fi
31796 done
31797 done
31798
31799 if test "$ac_find_libraries" != "" ; then
31800 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31801 echo "${ECHO_T}found in $ac_find_libraries" >&6
31802
31803
31804 if test "$ac_find_libraries" = "default location"; then
31805 ac_path_to_link=""
31806 else
31807 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31808 result=$?
31809 if test $result = 0; then
31810 ac_path_to_link=""
31811 else
31812 ac_path_to_link=" -L$ac_find_libraries"
31813 fi
31814 fi
31815
31816 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31817 LDFLAGS_GL="$ac_path_to_link"
31818 fi
31819
31820 echo "$as_me:$LINENO: checking for -lGLU" >&5
31821 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31822
31823 ac_find_libraries=
31824 for ac_dir in $SEARCH_LIB;
31825 do
31826 for ac_extension in a so sl dylib dll.a; do
31827 if test -f "$ac_dir/libGLU.$ac_extension"; then
31828 ac_find_libraries=$ac_dir
31829 break 2
31830 fi
31831 done
31832 done
31833
31834 if test "$ac_find_libraries" != "" ; then
31835
31836 if test "$ac_find_libraries" = "default location"; then
31837 ac_path_to_link=""
31838 else
31839 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31840 result=$?
31841 if test $result = 0; then
31842 ac_path_to_link=""
31843 else
31844 ac_path_to_link=" -L$ac_find_libraries"
31845 fi
31846 fi
31847
31848 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31849 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31850 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
31851 fi
31852
31853 found_gl=1
31854 OPENGL_LIBS="-lGL -lGLU"
31855 echo "$as_me:$LINENO: result: yes" >&5
31856 echo "${ECHO_T}yes" >&6
31857 else
31858 echo "$as_me:$LINENO: result: no" >&5
31859 echo "${ECHO_T}no" >&6
31860 fi
31861 else
31862 echo "$as_me:$LINENO: result: no" >&5
31863 echo "${ECHO_T}no" >&6
31864 fi
31865
31866 if test "$found_gl" != 1; then
31867 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31868 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31869
31870 ac_find_libraries=
31871 for ac_dir in $SEARCH_LIB;
31872 do
31873 for ac_extension in a so sl dylib dll.a; do
31874 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31875 ac_find_libraries=$ac_dir
31876 break 2
31877 fi
31878 done
31879 done
31880
31881 if test "$ac_find_libraries" != "" ; then
31882
31883 if test "$ac_find_libraries" = "default location"; then
31884 ac_path_to_link=""
31885 else
31886 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31887 result=$?
31888 if test $result = 0; then
31889 ac_path_to_link=""
31890 else
31891 ac_path_to_link=" -L$ac_find_libraries"
31892 fi
31893 fi
31894
31895 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
31896 OPENGL_LIBS="-lMesaGL -lMesaGLU"
31897 echo "$as_me:$LINENO: result: yes" >&5
31898 echo "${ECHO_T}yes" >&6
31899 else
31900 echo "$as_me:$LINENO: result: no" >&5
31901 echo "${ECHO_T}no" >&6
31902 fi
31903 fi
31904
31905 fi
31906
31907
31908
31909 fi
31910
31911
31912
31913 if test "x$OPENGL_LIBS" = "x"; then
31914 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31915 echo "$as_me: error: OpenGL libraries not available" >&2;}
31916 { (exit 1); exit 1; }; }
31917 fi
31918 fi
31919
31920 if test "$wxUSE_OPENGL" = "yes"; then
31921 USE_OPENGL=1
31922 cat >>confdefs.h <<\_ACEOF
31923 #define wxUSE_OPENGL 1
31924 _ACEOF
31925
31926 cat >>confdefs.h <<\_ACEOF
31927 #define wxUSE_GLCANVAS 1
31928 _ACEOF
31929
31930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31931 fi
31932 fi
31933
31934
31935 if test -n "$TOOLKIT" ; then
31936 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31937 fi
31938
31939
31940
31941 if test "$wxUSE_SHARED" = "yes"; then
31942 case "${host}" in
31943 *-pc-msdosdjgpp )
31944 wxUSE_SHARED=no
31945 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31946 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31947 ;;
31948 esac
31949 fi
31950
31951 if test "$wxUSE_SHARED" = "yes"; then
31952
31953
31954 case "${host}" in
31955 *-*-cygwin* | *-*-mingw* )
31956 wx_cv_version_script=no
31957 ;;
31958
31959 *)
31960 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31961 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31962 if test "${wx_cv_version_script+set}" = set; then
31963 echo $ECHO_N "(cached) $ECHO_C" >&6
31964 else
31965
31966 echo "VER_1 { *; };" >conftest.sym
31967 echo "int main() { return 0; }" >conftest.cpp
31968
31969 if { ac_try='
31970 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31971 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31973 (eval $ac_try) 2>&5
31974 ac_status=$?
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); }; } ; then
31977 if test -s conftest.stderr ; then
31978 wx_cv_version_script=no
31979 else
31980 wx_cv_version_script=yes
31981 fi
31982 else
31983 wx_cv_version_script=no
31984 fi
31985
31986 if test $wx_cv_version_script = yes
31987 then
31988 echo "struct B { virtual ~B() { } }; \
31989 struct D : public B { }; \
31990 void F() { D d; }" > conftest.cpp
31991
31992 if { ac_try='
31993 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31994 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31996 (eval $ac_try) 2>&5
31997 ac_status=$?
31998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999 (exit $ac_status); }; } &&
32000 { ac_try='
32001 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32002 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32004 (eval $ac_try) 2>&5
32005 ac_status=$?
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); }; }
32008 then
32009 if { ac_try='
32010 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32011 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32013 (eval $ac_try) 2>&5
32014 ac_status=$?
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); }; }
32017 then
32018 wx_cv_version_script=yes
32019 else
32020 wx_cv_version_script=no
32021 fi
32022 fi
32023 fi
32024
32025 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32026 rm -f conftest1.output conftest2.output conftest3.output
32027
32028 fi
32029 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32030 echo "${ECHO_T}$wx_cv_version_script" >&6
32031
32032 if test $wx_cv_version_script = yes ; then
32033 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32034 fi
32035 ;;
32036 esac
32037
32038
32039 case "${host}" in
32040 *-*-linux* | *-*-gnu* )
32041 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32042 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32043 ;;
32044
32045 *-*-solaris2* )
32046 if test "$GCC" = yes ; then
32047 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32048
32049 saveLdflags="$LDFLAGS"
32050 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32051 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32052 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32053 cat >conftest.$ac_ext <<_ACEOF
32054 /* confdefs.h. */
32055 _ACEOF
32056 cat confdefs.h >>conftest.$ac_ext
32057 cat >>conftest.$ac_ext <<_ACEOF
32058 /* end confdefs.h. */
32059
32060 int
32061 main ()
32062 {
32063
32064 ;
32065 return 0;
32066 }
32067 _ACEOF
32068 rm -f conftest.$ac_objext conftest$ac_exeext
32069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32070 (eval $ac_link) 2>conftest.er1
32071 ac_status=$?
32072 grep -v '^ *+' conftest.er1 >conftest.err
32073 rm -f conftest.er1
32074 cat conftest.err >&5
32075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32076 (exit $ac_status); } &&
32077 { ac_try='test -z "$ac_c_werror_flag"
32078 || test ! -s conftest.err'
32079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32080 (eval $ac_try) 2>&5
32081 ac_status=$?
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); }; } &&
32084 { ac_try='test -s conftest$ac_exeext'
32085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32086 (eval $ac_try) 2>&5
32087 ac_status=$?
32088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089 (exit $ac_status); }; }; then
32090
32091 echo "$as_me:$LINENO: result: yes" >&5
32092 echo "${ECHO_T}yes" >&6
32093 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32094 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32095
32096 else
32097 echo "$as_me: failed program was:" >&5
32098 sed 's/^/| /' conftest.$ac_ext >&5
32099
32100
32101 echo "$as_me:$LINENO: result: no" >&5
32102 echo "${ECHO_T}no" >&6
32103 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32104 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32105 LDFLAGS="$saveLdflags -Wl,-R,/"
32106 cat >conftest.$ac_ext <<_ACEOF
32107 /* confdefs.h. */
32108 _ACEOF
32109 cat confdefs.h >>conftest.$ac_ext
32110 cat >>conftest.$ac_ext <<_ACEOF
32111 /* end confdefs.h. */
32112
32113 int
32114 main ()
32115 {
32116
32117 ;
32118 return 0;
32119 }
32120 _ACEOF
32121 rm -f conftest.$ac_objext conftest$ac_exeext
32122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32123 (eval $ac_link) 2>conftest.er1
32124 ac_status=$?
32125 grep -v '^ *+' conftest.er1 >conftest.err
32126 rm -f conftest.er1
32127 cat conftest.err >&5
32128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32129 (exit $ac_status); } &&
32130 { ac_try='test -z "$ac_c_werror_flag"
32131 || test ! -s conftest.err'
32132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32133 (eval $ac_try) 2>&5
32134 ac_status=$?
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); }; } &&
32137 { ac_try='test -s conftest$ac_exeext'
32138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32139 (eval $ac_try) 2>&5
32140 ac_status=$?
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); }; }; then
32143
32144 echo "$as_me:$LINENO: result: yes" >&5
32145 echo "${ECHO_T}yes" >&6
32146 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32147 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32148
32149 else
32150 echo "$as_me: failed program was:" >&5
32151 sed 's/^/| /' conftest.$ac_ext >&5
32152
32153
32154 echo "$as_me:$LINENO: result: no" >&5
32155 echo "${ECHO_T}no" >&6
32156
32157 fi
32158 rm -f conftest.err conftest.$ac_objext \
32159 conftest$ac_exeext conftest.$ac_ext
32160
32161 fi
32162 rm -f conftest.err conftest.$ac_objext \
32163 conftest$ac_exeext conftest.$ac_ext
32164 LDFLAGS="$saveLdflags"
32165 else
32166 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32167 WXCONFIG_RPATH="-R\$libdir"
32168 fi
32169 ;;
32170
32171 *-*-darwin* )
32172 install_name_tool=`which install_name_tool`
32173 if test "$install_name_tool" -a -x "$install_name_tool"; then
32174 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32175 cat <<EOF >change-install-names
32176 #!/bin/sh
32177 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32178 inst_cmd="install_name_tool "
32179 for i in \${libnames} ; do
32180 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32181 done
32182 \${inst_cmd} \${3}
32183 EOF
32184 chmod +x change-install-names
32185 fi
32186 ;;
32187
32188 *-*-cygwin* | *-*-mingw32* )
32189 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32190 ;;
32191
32192 *-*-hpux* )
32193 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32194 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32195 ;;
32196
32197 esac
32198
32199 if test $wxUSE_RPATH = "no"; then
32200 SAMPLES_RPATH_FLAG=''
32201 SAMPLES_RPATH_POSTLINK=''
32202 WXCONFIG_RPATH=''
32203 fi
32204
32205 SHARED=1
32206
32207 else
32208
32209 config_linkage_component="-static"
32210 SHARED=0
32211
32212 fi
32213
32214
32215 UNICODE=0
32216 lib_unicode_suffix=
32217 WX_CHARTYPE="ansi"
32218 if test "$wxUSE_UNICODE" = "yes"; then
32219 lib_unicode_suffix=u
32220 WX_CHARTYPE="unicode"
32221 UNICODE=1
32222 fi
32223
32224 lib_debug_suffix=
32225 WX_DEBUGTYPE="release"
32226 DEBUG_FLAG=0
32227 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32228 lib_debug_suffix=d
32229 WX_DEBUGTYPE="debug"
32230 DEBUG_FLAG=1
32231 fi
32232
32233 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32234 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32235
32236 DEBUG_INFO=0
32237 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32238 DEBUG_INFO=1
32239 fi
32240
32241 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32242
32243 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32244
32245 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32246
32247 if test "$cross_compiling" = "yes"; then
32248 HOST_SUFFIX="-$host_alias"
32249 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32250 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32251 fi
32252
32253 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32254 if test "${TOOLKIT_DIR}" = "os2"; then
32255 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32256 else
32257 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32258 fi
32259
32260
32261
32262 if test "$wxUSE_COCOA" = 1; then
32263
32264
32265 ac_ext=c
32266 ac_cpp='$CPP $CPPFLAGS'
32267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32270
32271 ac_ext=m
32272
32273 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32274 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32275 cat >conftest.$ac_ext <<_ACEOF
32276 /* confdefs.h. */
32277 _ACEOF
32278 cat confdefs.h >>conftest.$ac_ext
32279 cat >>conftest.$ac_ext <<_ACEOF
32280 /* end confdefs.h. */
32281 #include <AppKit/NSEvent.h>
32282 #include <CoreFoundation/CoreFoundation.h>
32283
32284 int
32285 main ()
32286 {
32287
32288 ;
32289 return 0;
32290 }
32291 _ACEOF
32292 rm -f conftest.$ac_objext
32293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32294 (eval $ac_compile) 2>conftest.er1
32295 ac_status=$?
32296 grep -v '^ *+' conftest.er1 >conftest.err
32297 rm -f conftest.er1
32298 cat conftest.err >&5
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); } &&
32301 { ac_try='test -z "$ac_c_werror_flag"
32302 || test ! -s conftest.err'
32303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32304 (eval $ac_try) 2>&5
32305 ac_status=$?
32306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32307 (exit $ac_status); }; } &&
32308 { ac_try='test -s conftest.$ac_objext'
32309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32310 (eval $ac_try) 2>&5
32311 ac_status=$?
32312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32313 (exit $ac_status); }; }; then
32314 echo "$as_me:$LINENO: result: no" >&5
32315 echo "${ECHO_T}no" >&6
32316 else
32317 echo "$as_me: failed program was:" >&5
32318 sed 's/^/| /' conftest.$ac_ext >&5
32319
32320 echo "$as_me:$LINENO: result: yes" >&5
32321 echo "${ECHO_T}yes" >&6
32322 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32323 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32324 cat >conftest.$ac_ext <<_ACEOF
32325 /* confdefs.h. */
32326 _ACEOF
32327 cat confdefs.h >>conftest.$ac_ext
32328 cat >>conftest.$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32330 #define __Point__ 1
32331 #include <AppKit/NSEvent.h>
32332 #include <CoreFoundation/CoreFoundation.h>
32333
32334 int
32335 main ()
32336 {
32337
32338 ;
32339 return 0;
32340 }
32341 _ACEOF
32342 rm -f conftest.$ac_objext
32343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32344 (eval $ac_compile) 2>conftest.er1
32345 ac_status=$?
32346 grep -v '^ *+' conftest.er1 >conftest.err
32347 rm -f conftest.er1
32348 cat conftest.err >&5
32349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350 (exit $ac_status); } &&
32351 { ac_try='test -z "$ac_c_werror_flag"
32352 || test ! -s conftest.err'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32355 ac_status=$?
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; } &&
32358 { ac_try='test -s conftest.$ac_objext'
32359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32360 (eval $ac_try) 2>&5
32361 ac_status=$?
32362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32363 (exit $ac_status); }; }; then
32364 echo "$as_me:$LINENO: result: yes" >&5
32365 echo "${ECHO_T}yes" >&6
32366 cat >>confdefs.h <<\_ACEOF
32367 #define __Point__ 1
32368 _ACEOF
32369
32370
32371 else
32372 echo "$as_me: failed program was:" >&5
32373 sed 's/^/| /' conftest.$ac_ext >&5
32374
32375 { { echo "$as_me:$LINENO: error: no
32376 See \`config.log' for more details." >&5
32377 echo "$as_me: error: no
32378 See \`config.log' for more details." >&2;}
32379 { (exit 1); exit 1; }; }
32380
32381 fi
32382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32383
32384 fi
32385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32386 ac_ext=c
32387 ac_cpp='$CPP $CPPFLAGS'
32388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32391
32392 fi
32393
32394 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32395 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32396 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32397
32398 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32399
32400 # Extract the first word of "Rez", so it can be a program name with args.
32401 set dummy Rez; ac_word=$2
32402 echo "$as_me:$LINENO: checking for $ac_word" >&5
32403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32404 if test "${ac_cv_prog_REZ+set}" = set; then
32405 echo $ECHO_N "(cached) $ECHO_C" >&6
32406 else
32407 if test -n "$REZ"; then
32408 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32409 else
32410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32411 for as_dir in $PATH
32412 do
32413 IFS=$as_save_IFS
32414 test -z "$as_dir" && as_dir=.
32415 for ac_exec_ext in '' $ac_executable_extensions; do
32416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32417 ac_cv_prog_REZ="Rez"
32418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32419 break 2
32420 fi
32421 done
32422 done
32423
32424 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32425 fi
32426 fi
32427 REZ=$ac_cv_prog_REZ
32428 if test -n "$REZ"; then
32429 echo "$as_me:$LINENO: result: $REZ" >&5
32430 echo "${ECHO_T}$REZ" >&6
32431 else
32432 echo "$as_me:$LINENO: result: no" >&5
32433 echo "${ECHO_T}no" >&6
32434 fi
32435
32436 # Extract the first word of "DeRez", so it can be a program name with args.
32437 set dummy DeRez; ac_word=$2
32438 echo "$as_me:$LINENO: checking for $ac_word" >&5
32439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32440 if test "${ac_cv_prog_DEREZ+set}" = set; then
32441 echo $ECHO_N "(cached) $ECHO_C" >&6
32442 else
32443 if test -n "$DEREZ"; then
32444 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32445 else
32446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32447 for as_dir in $PATH
32448 do
32449 IFS=$as_save_IFS
32450 test -z "$as_dir" && as_dir=.
32451 for ac_exec_ext in '' $ac_executable_extensions; do
32452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32453 ac_cv_prog_DEREZ="DeRez"
32454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32455 break 2
32456 fi
32457 done
32458 done
32459
32460 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32461 fi
32462 fi
32463 DEREZ=$ac_cv_prog_DEREZ
32464 if test -n "$DEREZ"; then
32465 echo "$as_me:$LINENO: result: $DEREZ" >&5
32466 echo "${ECHO_T}$DEREZ" >&6
32467 else
32468 echo "$as_me:$LINENO: result: no" >&5
32469 echo "${ECHO_T}no" >&6
32470 fi
32471
32472 # Extract the first word of "SetFile", so it can be a program name with args.
32473 set dummy SetFile; ac_word=$2
32474 echo "$as_me:$LINENO: checking for $ac_word" >&5
32475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32476 if test "${ac_cv_prog_SETFILE+set}" = set; then
32477 echo $ECHO_N "(cached) $ECHO_C" >&6
32478 else
32479 if test -n "$SETFILE"; then
32480 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32481 else
32482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32483 for as_dir in $PATH
32484 do
32485 IFS=$as_save_IFS
32486 test -z "$as_dir" && as_dir=.
32487 for ac_exec_ext in '' $ac_executable_extensions; do
32488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32489 ac_cv_prog_SETFILE="SetFile"
32490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32491 break 2
32492 fi
32493 done
32494 done
32495
32496 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32497 fi
32498 fi
32499 SETFILE=$ac_cv_prog_SETFILE
32500 if test -n "$SETFILE"; then
32501 echo "$as_me:$LINENO: result: $SETFILE" >&5
32502 echo "${ECHO_T}$SETFILE" >&6
32503 else
32504 echo "$as_me:$LINENO: result: no" >&5
32505 echo "${ECHO_T}no" >&6
32506 fi
32507
32508
32509 MACSETFILE="\$(SETFILE)"
32510
32511 if test "$wxUSE_MAC" = 1; then
32512 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32513 RESCOMP="$REZ"
32514 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32515 else
32516 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32517 RESCOMP="echo -n \| $REZ"
32518 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32519 fi
32520
32521 else
32522 MACSETFILE="@true"
32523
32524 if test "$wxUSE_PM" = 1; then
32525 RESCOMP="emxbind"
32526 WXCONFIG_RESFLAGS="-ep"
32527
32528 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32529 else
32530 POSTLINK_COMMAND="@true"
32531 fi
32532
32533 fi
32534
32535
32536
32537 echo "$as_me:$LINENO: checking for mode_t" >&5
32538 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32539 if test "${ac_cv_type_mode_t+set}" = set; then
32540 echo $ECHO_N "(cached) $ECHO_C" >&6
32541 else
32542 cat >conftest.$ac_ext <<_ACEOF
32543 /* confdefs.h. */
32544 _ACEOF
32545 cat confdefs.h >>conftest.$ac_ext
32546 cat >>conftest.$ac_ext <<_ACEOF
32547 /* end confdefs.h. */
32548 $ac_includes_default
32549 int
32550 main ()
32551 {
32552 if ((mode_t *) 0)
32553 return 0;
32554 if (sizeof (mode_t))
32555 return 0;
32556 ;
32557 return 0;
32558 }
32559 _ACEOF
32560 rm -f conftest.$ac_objext
32561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32562 (eval $ac_compile) 2>conftest.er1
32563 ac_status=$?
32564 grep -v '^ *+' conftest.er1 >conftest.err
32565 rm -f conftest.er1
32566 cat conftest.err >&5
32567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568 (exit $ac_status); } &&
32569 { ac_try='test -z "$ac_c_werror_flag"
32570 || test ! -s conftest.err'
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); }; } &&
32576 { ac_try='test -s conftest.$ac_objext'
32577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32578 (eval $ac_try) 2>&5
32579 ac_status=$?
32580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32581 (exit $ac_status); }; }; then
32582 ac_cv_type_mode_t=yes
32583 else
32584 echo "$as_me: failed program was:" >&5
32585 sed 's/^/| /' conftest.$ac_ext >&5
32586
32587 ac_cv_type_mode_t=no
32588 fi
32589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32590 fi
32591 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32592 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32593 if test $ac_cv_type_mode_t = yes; then
32594 :
32595 else
32596
32597 cat >>confdefs.h <<_ACEOF
32598 #define mode_t int
32599 _ACEOF
32600
32601 fi
32602
32603 echo "$as_me:$LINENO: checking for off_t" >&5
32604 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32605 if test "${ac_cv_type_off_t+set}" = set; then
32606 echo $ECHO_N "(cached) $ECHO_C" >&6
32607 else
32608 cat >conftest.$ac_ext <<_ACEOF
32609 /* confdefs.h. */
32610 _ACEOF
32611 cat confdefs.h >>conftest.$ac_ext
32612 cat >>conftest.$ac_ext <<_ACEOF
32613 /* end confdefs.h. */
32614 $ac_includes_default
32615 int
32616 main ()
32617 {
32618 if ((off_t *) 0)
32619 return 0;
32620 if (sizeof (off_t))
32621 return 0;
32622 ;
32623 return 0;
32624 }
32625 _ACEOF
32626 rm -f conftest.$ac_objext
32627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32628 (eval $ac_compile) 2>conftest.er1
32629 ac_status=$?
32630 grep -v '^ *+' conftest.er1 >conftest.err
32631 rm -f conftest.er1
32632 cat conftest.err >&5
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); } &&
32635 { ac_try='test -z "$ac_c_werror_flag"
32636 || test ! -s conftest.err'
32637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32638 (eval $ac_try) 2>&5
32639 ac_status=$?
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); }; } &&
32642 { ac_try='test -s conftest.$ac_objext'
32643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32644 (eval $ac_try) 2>&5
32645 ac_status=$?
32646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647 (exit $ac_status); }; }; then
32648 ac_cv_type_off_t=yes
32649 else
32650 echo "$as_me: failed program was:" >&5
32651 sed 's/^/| /' conftest.$ac_ext >&5
32652
32653 ac_cv_type_off_t=no
32654 fi
32655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32656 fi
32657 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32658 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32659 if test $ac_cv_type_off_t = yes; then
32660 :
32661 else
32662
32663 cat >>confdefs.h <<_ACEOF
32664 #define off_t long
32665 _ACEOF
32666
32667 fi
32668
32669 echo "$as_me:$LINENO: checking for pid_t" >&5
32670 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32671 if test "${ac_cv_type_pid_t+set}" = set; then
32672 echo $ECHO_N "(cached) $ECHO_C" >&6
32673 else
32674 cat >conftest.$ac_ext <<_ACEOF
32675 /* confdefs.h. */
32676 _ACEOF
32677 cat confdefs.h >>conftest.$ac_ext
32678 cat >>conftest.$ac_ext <<_ACEOF
32679 /* end confdefs.h. */
32680 $ac_includes_default
32681 int
32682 main ()
32683 {
32684 if ((pid_t *) 0)
32685 return 0;
32686 if (sizeof (pid_t))
32687 return 0;
32688 ;
32689 return 0;
32690 }
32691 _ACEOF
32692 rm -f conftest.$ac_objext
32693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32694 (eval $ac_compile) 2>conftest.er1
32695 ac_status=$?
32696 grep -v '^ *+' conftest.er1 >conftest.err
32697 rm -f conftest.er1
32698 cat conftest.err >&5
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); } &&
32701 { ac_try='test -z "$ac_c_werror_flag"
32702 || test ! -s conftest.err'
32703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32704 (eval $ac_try) 2>&5
32705 ac_status=$?
32706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707 (exit $ac_status); }; } &&
32708 { ac_try='test -s conftest.$ac_objext'
32709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32710 (eval $ac_try) 2>&5
32711 ac_status=$?
32712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32713 (exit $ac_status); }; }; then
32714 ac_cv_type_pid_t=yes
32715 else
32716 echo "$as_me: failed program was:" >&5
32717 sed 's/^/| /' conftest.$ac_ext >&5
32718
32719 ac_cv_type_pid_t=no
32720 fi
32721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32722 fi
32723 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32724 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32725 if test $ac_cv_type_pid_t = yes; then
32726 :
32727 else
32728
32729 cat >>confdefs.h <<_ACEOF
32730 #define pid_t int
32731 _ACEOF
32732
32733 fi
32734
32735 echo "$as_me:$LINENO: checking for size_t" >&5
32736 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32737 if test "${ac_cv_type_size_t+set}" = set; then
32738 echo $ECHO_N "(cached) $ECHO_C" >&6
32739 else
32740 cat >conftest.$ac_ext <<_ACEOF
32741 /* confdefs.h. */
32742 _ACEOF
32743 cat confdefs.h >>conftest.$ac_ext
32744 cat >>conftest.$ac_ext <<_ACEOF
32745 /* end confdefs.h. */
32746 $ac_includes_default
32747 int
32748 main ()
32749 {
32750 if ((size_t *) 0)
32751 return 0;
32752 if (sizeof (size_t))
32753 return 0;
32754 ;
32755 return 0;
32756 }
32757 _ACEOF
32758 rm -f conftest.$ac_objext
32759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32760 (eval $ac_compile) 2>conftest.er1
32761 ac_status=$?
32762 grep -v '^ *+' conftest.er1 >conftest.err
32763 rm -f conftest.er1
32764 cat conftest.err >&5
32765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32766 (exit $ac_status); } &&
32767 { ac_try='test -z "$ac_c_werror_flag"
32768 || test ! -s conftest.err'
32769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32770 (eval $ac_try) 2>&5
32771 ac_status=$?
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); }; } &&
32774 { ac_try='test -s conftest.$ac_objext'
32775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32776 (eval $ac_try) 2>&5
32777 ac_status=$?
32778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32779 (exit $ac_status); }; }; then
32780 ac_cv_type_size_t=yes
32781 else
32782 echo "$as_me: failed program was:" >&5
32783 sed 's/^/| /' conftest.$ac_ext >&5
32784
32785 ac_cv_type_size_t=no
32786 fi
32787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32788 fi
32789 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32790 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32791 if test $ac_cv_type_size_t = yes; then
32792 :
32793 else
32794
32795 cat >>confdefs.h <<_ACEOF
32796 #define size_t unsigned
32797 _ACEOF
32798
32799 fi
32800
32801 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32802 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32803 if test "${ac_cv_type_uid_t+set}" = set; then
32804 echo $ECHO_N "(cached) $ECHO_C" >&6
32805 else
32806 cat >conftest.$ac_ext <<_ACEOF
32807 /* confdefs.h. */
32808 _ACEOF
32809 cat confdefs.h >>conftest.$ac_ext
32810 cat >>conftest.$ac_ext <<_ACEOF
32811 /* end confdefs.h. */
32812 #include <sys/types.h>
32813
32814 _ACEOF
32815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32816 $EGREP "uid_t" >/dev/null 2>&1; then
32817 ac_cv_type_uid_t=yes
32818 else
32819 ac_cv_type_uid_t=no
32820 fi
32821 rm -f conftest*
32822
32823 fi
32824 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32825 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32826 if test $ac_cv_type_uid_t = no; then
32827
32828 cat >>confdefs.h <<\_ACEOF
32829 #define uid_t int
32830 _ACEOF
32831
32832
32833 cat >>confdefs.h <<\_ACEOF
32834 #define gid_t int
32835 _ACEOF
32836
32837 fi
32838
32839
32840 echo "$as_me:$LINENO: checking for ssize_t" >&5
32841 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32842 if test "${ac_cv_type_ssize_t+set}" = set; then
32843 echo $ECHO_N "(cached) $ECHO_C" >&6
32844 else
32845 cat >conftest.$ac_ext <<_ACEOF
32846 /* confdefs.h. */
32847 _ACEOF
32848 cat confdefs.h >>conftest.$ac_ext
32849 cat >>conftest.$ac_ext <<_ACEOF
32850 /* end confdefs.h. */
32851 $ac_includes_default
32852 int
32853 main ()
32854 {
32855 if ((ssize_t *) 0)
32856 return 0;
32857 if (sizeof (ssize_t))
32858 return 0;
32859 ;
32860 return 0;
32861 }
32862 _ACEOF
32863 rm -f conftest.$ac_objext
32864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32865 (eval $ac_compile) 2>conftest.er1
32866 ac_status=$?
32867 grep -v '^ *+' conftest.er1 >conftest.err
32868 rm -f conftest.er1
32869 cat conftest.err >&5
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); } &&
32872 { ac_try='test -z "$ac_c_werror_flag"
32873 || test ! -s conftest.err'
32874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32875 (eval $ac_try) 2>&5
32876 ac_status=$?
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); }; } &&
32879 { ac_try='test -s conftest.$ac_objext'
32880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32881 (eval $ac_try) 2>&5
32882 ac_status=$?
32883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32884 (exit $ac_status); }; }; then
32885 ac_cv_type_ssize_t=yes
32886 else
32887 echo "$as_me: failed program was:" >&5
32888 sed 's/^/| /' conftest.$ac_ext >&5
32889
32890 ac_cv_type_ssize_t=no
32891 fi
32892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32893 fi
32894 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32895 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32896 if test $ac_cv_type_ssize_t = yes; then
32897
32898 cat >>confdefs.h <<_ACEOF
32899 #define HAVE_SSIZE_T 1
32900 _ACEOF
32901
32902
32903 fi
32904
32905
32906 ac_ext=cc
32907 ac_cpp='$CXXCPP $CPPFLAGS'
32908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32911 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32912 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32913 if test "${wx_cv_size_t_is_uint+set}" = set; then
32914 echo $ECHO_N "(cached) $ECHO_C" >&6
32915 else
32916
32917 cat >conftest.$ac_ext <<_ACEOF
32918 /* confdefs.h. */
32919 _ACEOF
32920 cat confdefs.h >>conftest.$ac_ext
32921 cat >>conftest.$ac_ext <<_ACEOF
32922 /* end confdefs.h. */
32923 #include <stddef.h>
32924 int
32925 main ()
32926 {
32927
32928 return 0; }
32929
32930 struct Foo { void foo(size_t); void foo(unsigned int); };
32931
32932 int bar() {
32933
32934 ;
32935 return 0;
32936 }
32937 _ACEOF
32938 rm -f conftest.$ac_objext
32939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32940 (eval $ac_compile) 2>conftest.er1
32941 ac_status=$?
32942 grep -v '^ *+' conftest.er1 >conftest.err
32943 rm -f conftest.er1
32944 cat conftest.err >&5
32945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32946 (exit $ac_status); } &&
32947 { ac_try='test -z "$ac_cxx_werror_flag"
32948 || test ! -s conftest.err'
32949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32950 (eval $ac_try) 2>&5
32951 ac_status=$?
32952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32953 (exit $ac_status); }; } &&
32954 { ac_try='test -s conftest.$ac_objext'
32955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32956 (eval $ac_try) 2>&5
32957 ac_status=$?
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); }; }; then
32960 wx_cv_size_t_is_uint=no
32961 else
32962 echo "$as_me: failed program was:" >&5
32963 sed 's/^/| /' conftest.$ac_ext >&5
32964
32965 wx_cv_size_t_is_uint=yes
32966
32967 fi
32968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32969
32970
32971 fi
32972 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32973 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32974
32975 if test "$wx_cv_size_t_is_uint" = "yes"; then
32976 cat >>confdefs.h <<\_ACEOF
32977 #define wxSIZE_T_IS_UINT 1
32978 _ACEOF
32979
32980 else
32981 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32982 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32983 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32984 echo $ECHO_N "(cached) $ECHO_C" >&6
32985 else
32986 cat >conftest.$ac_ext <<_ACEOF
32987 /* confdefs.h. */
32988 _ACEOF
32989 cat confdefs.h >>conftest.$ac_ext
32990 cat >>conftest.$ac_ext <<_ACEOF
32991 /* end confdefs.h. */
32992 #include <stddef.h>
32993 int
32994 main ()
32995 {
32996
32997 return 0; }
32998
32999 struct Foo { void foo(size_t); void foo(unsigned long); };
33000
33001 int bar() {
33002
33003 ;
33004 return 0;
33005 }
33006 _ACEOF
33007 rm -f conftest.$ac_objext
33008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33009 (eval $ac_compile) 2>conftest.er1
33010 ac_status=$?
33011 grep -v '^ *+' conftest.er1 >conftest.err
33012 rm -f conftest.er1
33013 cat conftest.err >&5
33014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33015 (exit $ac_status); } &&
33016 { ac_try='test -z "$ac_cxx_werror_flag"
33017 || test ! -s conftest.err'
33018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33019 (eval $ac_try) 2>&5
33020 ac_status=$?
33021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 (exit $ac_status); }; } &&
33023 { ac_try='test -s conftest.$ac_objext'
33024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33025 (eval $ac_try) 2>&5
33026 ac_status=$?
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); }; }; then
33029 wx_cv_size_t_is_ulong=no
33030 else
33031 echo "$as_me: failed program was:" >&5
33032 sed 's/^/| /' conftest.$ac_ext >&5
33033
33034 wx_cv_size_t_is_ulong=yes
33035
33036 fi
33037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33038
33039 fi
33040 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33041 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33042
33043 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33044 cat >>confdefs.h <<\_ACEOF
33045 #define wxSIZE_T_IS_ULONG 1
33046 _ACEOF
33047
33048 fi
33049 fi
33050
33051 ac_ext=c
33052 ac_cpp='$CPP $CPPFLAGS'
33053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33056
33057
33058 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33059 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33060 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33061 echo $ECHO_N "(cached) $ECHO_C" >&6
33062 else
33063
33064 cat >conftest.$ac_ext <<_ACEOF
33065 /* confdefs.h. */
33066 _ACEOF
33067 cat confdefs.h >>conftest.$ac_ext
33068 cat >>conftest.$ac_ext <<_ACEOF
33069 /* end confdefs.h. */
33070 #include <pwd.h>
33071 int
33072 main ()
33073 {
33074
33075 char *p;
33076 struct passwd *pw;
33077 p = pw->pw_gecos;
33078
33079 ;
33080 return 0;
33081 }
33082 _ACEOF
33083 rm -f conftest.$ac_objext
33084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33085 (eval $ac_compile) 2>conftest.er1
33086 ac_status=$?
33087 grep -v '^ *+' conftest.er1 >conftest.err
33088 rm -f conftest.er1
33089 cat conftest.err >&5
33090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091 (exit $ac_status); } &&
33092 { ac_try='test -z "$ac_c_werror_flag"
33093 || test ! -s conftest.err'
33094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33095 (eval $ac_try) 2>&5
33096 ac_status=$?
33097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33098 (exit $ac_status); }; } &&
33099 { ac_try='test -s conftest.$ac_objext'
33100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33101 (eval $ac_try) 2>&5
33102 ac_status=$?
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); }; }; then
33105
33106 wx_cv_struct_pw_gecos=yes
33107
33108 else
33109 echo "$as_me: failed program was:" >&5
33110 sed 's/^/| /' conftest.$ac_ext >&5
33111
33112
33113 wx_cv_struct_pw_gecos=no
33114
33115
33116 fi
33117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33118
33119
33120 fi
33121 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33122 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33123
33124 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33125 cat >>confdefs.h <<\_ACEOF
33126 #define HAVE_PW_GECOS 1
33127 _ACEOF
33128
33129 fi
33130
33131
33132 if test "$wxUSE_WCHAR_T" = "yes"; then
33133 cat >>confdefs.h <<\_ACEOF
33134 #define wxUSE_WCHAR_T 1
33135 _ACEOF
33136
33137
33138 WCSLEN_FOUND=0
33139 WCHAR_LINK=
33140
33141 for ac_func in wcslen
33142 do
33143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33144 echo "$as_me:$LINENO: checking for $ac_func" >&5
33145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33146 if eval "test \"\${$as_ac_var+set}\" = set"; then
33147 echo $ECHO_N "(cached) $ECHO_C" >&6
33148 else
33149 cat >conftest.$ac_ext <<_ACEOF
33150 /* confdefs.h. */
33151 _ACEOF
33152 cat confdefs.h >>conftest.$ac_ext
33153 cat >>conftest.$ac_ext <<_ACEOF
33154 /* end confdefs.h. */
33155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33157 #define $ac_func innocuous_$ac_func
33158
33159 /* System header to define __stub macros and hopefully few prototypes,
33160 which can conflict with char $ac_func (); below.
33161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33162 <limits.h> exists even on freestanding compilers. */
33163
33164 #ifdef __STDC__
33165 # include <limits.h>
33166 #else
33167 # include <assert.h>
33168 #endif
33169
33170 #undef $ac_func
33171
33172 /* Override any gcc2 internal prototype to avoid an error. */
33173 #ifdef __cplusplus
33174 extern "C"
33175 {
33176 #endif
33177 /* We use char because int might match the return type of a gcc2
33178 builtin and then its argument prototype would still apply. */
33179 char $ac_func ();
33180 /* The GNU C library defines this for functions which it implements
33181 to always fail with ENOSYS. Some functions are actually named
33182 something starting with __ and the normal name is an alias. */
33183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33184 choke me
33185 #else
33186 char (*f) () = $ac_func;
33187 #endif
33188 #ifdef __cplusplus
33189 }
33190 #endif
33191
33192 int
33193 main ()
33194 {
33195 return f != $ac_func;
33196 ;
33197 return 0;
33198 }
33199 _ACEOF
33200 rm -f conftest.$ac_objext conftest$ac_exeext
33201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33202 (eval $ac_link) 2>conftest.er1
33203 ac_status=$?
33204 grep -v '^ *+' conftest.er1 >conftest.err
33205 rm -f conftest.er1
33206 cat conftest.err >&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); } &&
33209 { ac_try='test -z "$ac_c_werror_flag"
33210 || test ! -s conftest.err'
33211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33212 (eval $ac_try) 2>&5
33213 ac_status=$?
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); }; } &&
33216 { ac_try='test -s conftest$ac_exeext'
33217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33218 (eval $ac_try) 2>&5
33219 ac_status=$?
33220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33221 (exit $ac_status); }; }; then
33222 eval "$as_ac_var=yes"
33223 else
33224 echo "$as_me: failed program was:" >&5
33225 sed 's/^/| /' conftest.$ac_ext >&5
33226
33227 eval "$as_ac_var=no"
33228 fi
33229 rm -f conftest.err conftest.$ac_objext \
33230 conftest$ac_exeext conftest.$ac_ext
33231 fi
33232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33234 if test `eval echo '${'$as_ac_var'}'` = yes; then
33235 cat >>confdefs.h <<_ACEOF
33236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33237 _ACEOF
33238 WCSLEN_FOUND=1
33239 fi
33240 done
33241
33242
33243 if test "$WCSLEN_FOUND" = 0; then
33244 if test "$TOOLKIT" = "MSW"; then
33245 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33246 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33247 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33248 echo $ECHO_N "(cached) $ECHO_C" >&6
33249 else
33250 ac_check_lib_save_LIBS=$LIBS
33251 LIBS="-lmsvcrt $LIBS"
33252 cat >conftest.$ac_ext <<_ACEOF
33253 /* confdefs.h. */
33254 _ACEOF
33255 cat confdefs.h >>conftest.$ac_ext
33256 cat >>conftest.$ac_ext <<_ACEOF
33257 /* end confdefs.h. */
33258
33259 /* Override any gcc2 internal prototype to avoid an error. */
33260 #ifdef __cplusplus
33261 extern "C"
33262 #endif
33263 /* We use char because int might match the return type of a gcc2
33264 builtin and then its argument prototype would still apply. */
33265 char wcslen ();
33266 int
33267 main ()
33268 {
33269 wcslen ();
33270 ;
33271 return 0;
33272 }
33273 _ACEOF
33274 rm -f conftest.$ac_objext conftest$ac_exeext
33275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33276 (eval $ac_link) 2>conftest.er1
33277 ac_status=$?
33278 grep -v '^ *+' conftest.er1 >conftest.err
33279 rm -f conftest.er1
33280 cat conftest.err >&5
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); } &&
33283 { ac_try='test -z "$ac_c_werror_flag"
33284 || test ! -s conftest.err'
33285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33286 (eval $ac_try) 2>&5
33287 ac_status=$?
33288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289 (exit $ac_status); }; } &&
33290 { ac_try='test -s conftest$ac_exeext'
33291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33292 (eval $ac_try) 2>&5
33293 ac_status=$?
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); }; }; then
33296 ac_cv_lib_msvcrt_wcslen=yes
33297 else
33298 echo "$as_me: failed program was:" >&5
33299 sed 's/^/| /' conftest.$ac_ext >&5
33300
33301 ac_cv_lib_msvcrt_wcslen=no
33302 fi
33303 rm -f conftest.err conftest.$ac_objext \
33304 conftest$ac_exeext conftest.$ac_ext
33305 LIBS=$ac_check_lib_save_LIBS
33306 fi
33307 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33308 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33309 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33310 WCHAR_OK=1
33311 fi
33312
33313 else
33314 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33315 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33316 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33317 echo $ECHO_N "(cached) $ECHO_C" >&6
33318 else
33319 ac_check_lib_save_LIBS=$LIBS
33320 LIBS="-lw $LIBS"
33321 cat >conftest.$ac_ext <<_ACEOF
33322 /* confdefs.h. */
33323 _ACEOF
33324 cat confdefs.h >>conftest.$ac_ext
33325 cat >>conftest.$ac_ext <<_ACEOF
33326 /* end confdefs.h. */
33327
33328 /* Override any gcc2 internal prototype to avoid an error. */
33329 #ifdef __cplusplus
33330 extern "C"
33331 #endif
33332 /* We use char because int might match the return type of a gcc2
33333 builtin and then its argument prototype would still apply. */
33334 char wcslen ();
33335 int
33336 main ()
33337 {
33338 wcslen ();
33339 ;
33340 return 0;
33341 }
33342 _ACEOF
33343 rm -f conftest.$ac_objext conftest$ac_exeext
33344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33345 (eval $ac_link) 2>conftest.er1
33346 ac_status=$?
33347 grep -v '^ *+' conftest.er1 >conftest.err
33348 rm -f conftest.er1
33349 cat conftest.err >&5
33350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33351 (exit $ac_status); } &&
33352 { ac_try='test -z "$ac_c_werror_flag"
33353 || test ! -s conftest.err'
33354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33355 (eval $ac_try) 2>&5
33356 ac_status=$?
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); }; } &&
33359 { ac_try='test -s conftest$ac_exeext'
33360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33361 (eval $ac_try) 2>&5
33362 ac_status=$?
33363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33364 (exit $ac_status); }; }; then
33365 ac_cv_lib_w_wcslen=yes
33366 else
33367 echo "$as_me: failed program was:" >&5
33368 sed 's/^/| /' conftest.$ac_ext >&5
33369
33370 ac_cv_lib_w_wcslen=no
33371 fi
33372 rm -f conftest.err conftest.$ac_objext \
33373 conftest$ac_exeext conftest.$ac_ext
33374 LIBS=$ac_check_lib_save_LIBS
33375 fi
33376 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33377 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33378 if test $ac_cv_lib_w_wcslen = yes; then
33379
33380 WCHAR_LINK=" -lw"
33381 WCSLEN_FOUND=1
33382
33383 fi
33384
33385 fi
33386 fi
33387
33388 if test "$WCSLEN_FOUND" = 1; then
33389 cat >>confdefs.h <<\_ACEOF
33390 #define HAVE_WCSLEN 1
33391 _ACEOF
33392
33393 fi
33394
33395 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33396 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33397 fi
33398
33399 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33400 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33401 if test "${ac_cv_type_mbstate_t+set}" = set; then
33402 echo $ECHO_N "(cached) $ECHO_C" >&6
33403 else
33404 cat >conftest.$ac_ext <<_ACEOF
33405 /* confdefs.h. */
33406 _ACEOF
33407 cat confdefs.h >>conftest.$ac_ext
33408 cat >>conftest.$ac_ext <<_ACEOF
33409 /* end confdefs.h. */
33410 #include <wchar.h>
33411
33412 int
33413 main ()
33414 {
33415 if ((mbstate_t *) 0)
33416 return 0;
33417 if (sizeof (mbstate_t))
33418 return 0;
33419 ;
33420 return 0;
33421 }
33422 _ACEOF
33423 rm -f conftest.$ac_objext
33424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33425 (eval $ac_compile) 2>conftest.er1
33426 ac_status=$?
33427 grep -v '^ *+' conftest.er1 >conftest.err
33428 rm -f conftest.er1
33429 cat conftest.err >&5
33430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33431 (exit $ac_status); } &&
33432 { ac_try='test -z "$ac_c_werror_flag"
33433 || test ! -s conftest.err'
33434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33435 (eval $ac_try) 2>&5
33436 ac_status=$?
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); }; } &&
33439 { ac_try='test -s conftest.$ac_objext'
33440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33441 (eval $ac_try) 2>&5
33442 ac_status=$?
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); }; }; then
33445 ac_cv_type_mbstate_t=yes
33446 else
33447 echo "$as_me: failed program was:" >&5
33448 sed 's/^/| /' conftest.$ac_ext >&5
33449
33450 ac_cv_type_mbstate_t=no
33451 fi
33452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33453 fi
33454 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33455 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33456 if test $ac_cv_type_mbstate_t = yes; then
33457
33458 cat >>confdefs.h <<_ACEOF
33459 #define HAVE_MBSTATE_T 1
33460 _ACEOF
33461
33462
33463 for ac_func in wcsrtombs
33464 do
33465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33466 echo "$as_me:$LINENO: checking for $ac_func" >&5
33467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33468 if eval "test \"\${$as_ac_var+set}\" = set"; then
33469 echo $ECHO_N "(cached) $ECHO_C" >&6
33470 else
33471 cat >conftest.$ac_ext <<_ACEOF
33472 /* confdefs.h. */
33473 _ACEOF
33474 cat confdefs.h >>conftest.$ac_ext
33475 cat >>conftest.$ac_ext <<_ACEOF
33476 /* end confdefs.h. */
33477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33479 #define $ac_func innocuous_$ac_func
33480
33481 /* System header to define __stub macros and hopefully few prototypes,
33482 which can conflict with char $ac_func (); below.
33483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33484 <limits.h> exists even on freestanding compilers. */
33485
33486 #ifdef __STDC__
33487 # include <limits.h>
33488 #else
33489 # include <assert.h>
33490 #endif
33491
33492 #undef $ac_func
33493
33494 /* Override any gcc2 internal prototype to avoid an error. */
33495 #ifdef __cplusplus
33496 extern "C"
33497 {
33498 #endif
33499 /* We use char because int might match the return type of a gcc2
33500 builtin and then its argument prototype would still apply. */
33501 char $ac_func ();
33502 /* The GNU C library defines this for functions which it implements
33503 to always fail with ENOSYS. Some functions are actually named
33504 something starting with __ and the normal name is an alias. */
33505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33506 choke me
33507 #else
33508 char (*f) () = $ac_func;
33509 #endif
33510 #ifdef __cplusplus
33511 }
33512 #endif
33513
33514 int
33515 main ()
33516 {
33517 return f != $ac_func;
33518 ;
33519 return 0;
33520 }
33521 _ACEOF
33522 rm -f conftest.$ac_objext conftest$ac_exeext
33523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33524 (eval $ac_link) 2>conftest.er1
33525 ac_status=$?
33526 grep -v '^ *+' conftest.er1 >conftest.err
33527 rm -f conftest.er1
33528 cat conftest.err >&5
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); } &&
33531 { ac_try='test -z "$ac_c_werror_flag"
33532 || test ! -s conftest.err'
33533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33534 (eval $ac_try) 2>&5
33535 ac_status=$?
33536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33537 (exit $ac_status); }; } &&
33538 { ac_try='test -s conftest$ac_exeext'
33539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33540 (eval $ac_try) 2>&5
33541 ac_status=$?
33542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33543 (exit $ac_status); }; }; then
33544 eval "$as_ac_var=yes"
33545 else
33546 echo "$as_me: failed program was:" >&5
33547 sed 's/^/| /' conftest.$ac_ext >&5
33548
33549 eval "$as_ac_var=no"
33550 fi
33551 rm -f conftest.err conftest.$ac_objext \
33552 conftest$ac_exeext conftest.$ac_ext
33553 fi
33554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33556 if test `eval echo '${'$as_ac_var'}'` = yes; then
33557 cat >>confdefs.h <<_ACEOF
33558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33559 _ACEOF
33560
33561 fi
33562 done
33563
33564 fi
33565
33566 else
33567 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33568 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33569 fi
33570
33571
33572
33573 for ac_func in snprintf vsnprintf
33574 do
33575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33576 echo "$as_me:$LINENO: checking for $ac_func" >&5
33577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33578 if eval "test \"\${$as_ac_var+set}\" = set"; then
33579 echo $ECHO_N "(cached) $ECHO_C" >&6
33580 else
33581 cat >conftest.$ac_ext <<_ACEOF
33582 /* confdefs.h. */
33583 _ACEOF
33584 cat confdefs.h >>conftest.$ac_ext
33585 cat >>conftest.$ac_ext <<_ACEOF
33586 /* end confdefs.h. */
33587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33589 #define $ac_func innocuous_$ac_func
33590
33591 /* System header to define __stub macros and hopefully few prototypes,
33592 which can conflict with char $ac_func (); below.
33593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33594 <limits.h> exists even on freestanding compilers. */
33595
33596 #ifdef __STDC__
33597 # include <limits.h>
33598 #else
33599 # include <assert.h>
33600 #endif
33601
33602 #undef $ac_func
33603
33604 /* Override any gcc2 internal prototype to avoid an error. */
33605 #ifdef __cplusplus
33606 extern "C"
33607 {
33608 #endif
33609 /* We use char because int might match the return type of a gcc2
33610 builtin and then its argument prototype would still apply. */
33611 char $ac_func ();
33612 /* The GNU C library defines this for functions which it implements
33613 to always fail with ENOSYS. Some functions are actually named
33614 something starting with __ and the normal name is an alias. */
33615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33616 choke me
33617 #else
33618 char (*f) () = $ac_func;
33619 #endif
33620 #ifdef __cplusplus
33621 }
33622 #endif
33623
33624 int
33625 main ()
33626 {
33627 return f != $ac_func;
33628 ;
33629 return 0;
33630 }
33631 _ACEOF
33632 rm -f conftest.$ac_objext conftest$ac_exeext
33633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33634 (eval $ac_link) 2>conftest.er1
33635 ac_status=$?
33636 grep -v '^ *+' conftest.er1 >conftest.err
33637 rm -f conftest.er1
33638 cat conftest.err >&5
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); } &&
33641 { ac_try='test -z "$ac_c_werror_flag"
33642 || test ! -s conftest.err'
33643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33644 (eval $ac_try) 2>&5
33645 ac_status=$?
33646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647 (exit $ac_status); }; } &&
33648 { ac_try='test -s conftest$ac_exeext'
33649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33650 (eval $ac_try) 2>&5
33651 ac_status=$?
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); }; }; then
33654 eval "$as_ac_var=yes"
33655 else
33656 echo "$as_me: failed program was:" >&5
33657 sed 's/^/| /' conftest.$ac_ext >&5
33658
33659 eval "$as_ac_var=no"
33660 fi
33661 rm -f conftest.err conftest.$ac_objext \
33662 conftest$ac_exeext conftest.$ac_ext
33663 fi
33664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33666 if test `eval echo '${'$as_ac_var'}'` = yes; then
33667 cat >>confdefs.h <<_ACEOF
33668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33669 _ACEOF
33670
33671 fi
33672 done
33673
33674
33675 if test "$ac_cv_func_vsnprintf" = "yes"; then
33676 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33677 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33678 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33679 echo $ECHO_N "(cached) $ECHO_C" >&6
33680 else
33681
33682 cat >conftest.$ac_ext <<_ACEOF
33683 /* confdefs.h. */
33684 _ACEOF
33685 cat confdefs.h >>conftest.$ac_ext
33686 cat >>conftest.$ac_ext <<_ACEOF
33687 /* end confdefs.h. */
33688
33689 #include <stdio.h>
33690 #include <stdarg.h>
33691 #ifdef __MSL__
33692 #if __MSL__ >= 0x6000
33693 namespace std {}
33694 using namespace std;
33695 #endif
33696 #endif
33697
33698 int
33699 main ()
33700 {
33701
33702 char *buf;
33703 va_list ap;
33704 vsnprintf(buf, 10u, "%s", ap);
33705
33706 ;
33707 return 0;
33708 }
33709 _ACEOF
33710 rm -f conftest.$ac_objext
33711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33712 (eval $ac_compile) 2>conftest.er1
33713 ac_status=$?
33714 grep -v '^ *+' conftest.er1 >conftest.err
33715 rm -f conftest.er1
33716 cat conftest.err >&5
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); } &&
33719 { ac_try='test -z "$ac_c_werror_flag"
33720 || test ! -s conftest.err'
33721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33722 (eval $ac_try) 2>&5
33723 ac_status=$?
33724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725 (exit $ac_status); }; } &&
33726 { ac_try='test -s conftest.$ac_objext'
33727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33728 (eval $ac_try) 2>&5
33729 ac_status=$?
33730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731 (exit $ac_status); }; }; then
33732 wx_cv_func_vsnprintf_decl=yes
33733 else
33734 echo "$as_me: failed program was:" >&5
33735 sed 's/^/| /' conftest.$ac_ext >&5
33736
33737 wx_cv_func_vsnprintf_decl=no
33738
33739 fi
33740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33741
33742
33743 fi
33744 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33745 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33746
33747 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33748 cat >>confdefs.h <<\_ACEOF
33749 #define HAVE_VSNPRINTF_DECL 1
33750 _ACEOF
33751
33752
33753 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33754 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33755 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33757 else
33758
33759 cat >conftest.$ac_ext <<_ACEOF
33760 /* confdefs.h. */
33761 _ACEOF
33762 cat confdefs.h >>conftest.$ac_ext
33763 cat >>conftest.$ac_ext <<_ACEOF
33764 /* end confdefs.h. */
33765
33766 #include <stdio.h>
33767 #include <stdarg.h>
33768 #ifdef __MSL__
33769 #if __MSL__ >= 0x6000
33770 namespace std {}
33771 using namespace std;
33772 #endif
33773 #endif
33774
33775 int
33776 main ()
33777 {
33778
33779 char *buf;
33780 va_list ap;
33781 const char *fmt = "%s";
33782 vsnprintf(buf, 10u, fmt, ap);
33783
33784 ;
33785 return 0;
33786 }
33787 _ACEOF
33788 rm -f conftest.$ac_objext
33789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33790 (eval $ac_compile) 2>conftest.er1
33791 ac_status=$?
33792 grep -v '^ *+' conftest.er1 >conftest.err
33793 rm -f conftest.er1
33794 cat conftest.err >&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); } &&
33797 { ac_try='test -z "$ac_c_werror_flag"
33798 || test ! -s conftest.err'
33799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33800 (eval $ac_try) 2>&5
33801 ac_status=$?
33802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803 (exit $ac_status); }; } &&
33804 { ac_try='test -s conftest.$ac_objext'
33805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33806 (eval $ac_try) 2>&5
33807 ac_status=$?
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); }; }; then
33810 wx_cv_func_broken_vsnprintf_decl=no
33811 else
33812 echo "$as_me: failed program was:" >&5
33813 sed 's/^/| /' conftest.$ac_ext >&5
33814
33815 wx_cv_func_broken_vsnprintf_decl=yes
33816
33817 fi
33818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33819
33820
33821 fi
33822 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33823 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33824
33825 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33826 cat >>confdefs.h <<\_ACEOF
33827 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33828 _ACEOF
33829
33830 fi
33831 fi
33832 fi
33833
33834 if test "$ac_cv_func_snprintf" = "yes"; then
33835 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33836 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33837 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33838 echo $ECHO_N "(cached) $ECHO_C" >&6
33839 else
33840
33841 cat >conftest.$ac_ext <<_ACEOF
33842 /* confdefs.h. */
33843 _ACEOF
33844 cat confdefs.h >>conftest.$ac_ext
33845 cat >>conftest.$ac_ext <<_ACEOF
33846 /* end confdefs.h. */
33847
33848 #include <stdio.h>
33849 #include <stdarg.h>
33850 #ifdef __MSL__
33851 #if __MSL__ >= 0x6000
33852 namespace std {}
33853 using namespace std;
33854 #endif
33855 #endif
33856
33857 int
33858 main ()
33859 {
33860
33861 char *buf;
33862 snprintf(buf, 10u, "%s", "wx");
33863
33864 ;
33865 return 0;
33866 }
33867 _ACEOF
33868 rm -f conftest.$ac_objext
33869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33870 (eval $ac_compile) 2>conftest.er1
33871 ac_status=$?
33872 grep -v '^ *+' conftest.er1 >conftest.err
33873 rm -f conftest.er1
33874 cat conftest.err >&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } &&
33877 { ac_try='test -z "$ac_c_werror_flag"
33878 || test ! -s conftest.err'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33881 ac_status=$?
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; } &&
33884 { ac_try='test -s conftest.$ac_objext'
33885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886 (eval $ac_try) 2>&5
33887 ac_status=$?
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; }; then
33890 wx_cv_func_snprintf_decl=yes
33891 else
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.$ac_ext >&5
33894
33895 wx_cv_func_snprintf_decl=no
33896
33897 fi
33898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33899
33900
33901 fi
33902 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33903 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33904
33905 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33906 cat >>confdefs.h <<\_ACEOF
33907 #define HAVE_SNPRINTF_DECL 1
33908 _ACEOF
33909
33910
33911 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33912 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33913 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33914 echo $ECHO_N "(cached) $ECHO_C" >&6
33915 else
33916
33917 cat >conftest.$ac_ext <<_ACEOF
33918 /* confdefs.h. */
33919 _ACEOF
33920 cat confdefs.h >>conftest.$ac_ext
33921 cat >>conftest.$ac_ext <<_ACEOF
33922 /* end confdefs.h. */
33923
33924 #include <stdio.h>
33925 #include <stdarg.h>
33926 #ifdef __MSL__
33927 #if __MSL__ >= 0x6000
33928 namespace std {}
33929 using namespace std;
33930 #endif
33931 #endif
33932
33933 int
33934 main ()
33935 {
33936
33937 char *buf;
33938 const char *fmt = "%s";
33939 snprintf(buf, 10u, fmt, "wx");
33940
33941 ;
33942 return 0;
33943 }
33944 _ACEOF
33945 rm -f conftest.$ac_objext
33946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33947 (eval $ac_compile) 2>conftest.er1
33948 ac_status=$?
33949 grep -v '^ *+' conftest.er1 >conftest.err
33950 rm -f conftest.er1
33951 cat conftest.err >&5
33952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33953 (exit $ac_status); } &&
33954 { ac_try='test -z "$ac_c_werror_flag"
33955 || test ! -s conftest.err'
33956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33957 (eval $ac_try) 2>&5
33958 ac_status=$?
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); }; } &&
33961 { ac_try='test -s conftest.$ac_objext'
33962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33963 (eval $ac_try) 2>&5
33964 ac_status=$?
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); }; }; then
33967 wx_cv_func_broken_snprintf_decl=no
33968 else
33969 echo "$as_me: failed program was:" >&5
33970 sed 's/^/| /' conftest.$ac_ext >&5
33971
33972 wx_cv_func_broken_snprintf_decl=yes
33973
33974 fi
33975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33976
33977
33978 fi
33979 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33980 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33981
33982 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33983 cat >>confdefs.h <<\_ACEOF
33984 #define HAVE_BROKEN_SNPRINTF_DECL 1
33985 _ACEOF
33986
33987 fi
33988 fi
33989
33990 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
33991
33992 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
33993 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
33994 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33996 else
33997
33998 if test "$cross_compiling" = yes; then
33999
34000 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34001 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34002 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34003 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34004 wx_cv_func_snprintf_pos_params=no
34005
34006
34007 else
34008 cat >conftest.$ac_ext <<_ACEOF
34009 /* confdefs.h. */
34010 _ACEOF
34011 cat confdefs.h >>conftest.$ac_ext
34012 cat >>conftest.$ac_ext <<_ACEOF
34013 /* end confdefs.h. */
34014
34015 #include <stdio.h>
34016
34017 int main (void)
34018 {
34019 char buffer[128];
34020 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34021 if (strcmp ("2 3 1", buffer) == 0)
34022 exit (0);
34023 exit (1);
34024 }
34025
34026 _ACEOF
34027 rm -f conftest$ac_exeext
34028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34029 (eval $ac_link) 2>&5
34030 ac_status=$?
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34034 (eval $ac_try) 2>&5
34035 ac_status=$?
34036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34037 (exit $ac_status); }; }; then
34038 wx_cv_func_snprintf_pos_params=no
34039 else
34040 echo "$as_me: program exited with status $ac_status" >&5
34041 echo "$as_me: failed program was:" >&5
34042 sed 's/^/| /' conftest.$ac_ext >&5
34043
34044 ( exit $ac_status )
34045 wx_cv_func_snprintf_pos_params=yes
34046 fi
34047 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34048 fi
34049
34050
34051 fi
34052 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34053 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34054
34055 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34056 cat >>confdefs.h <<\_ACEOF
34057 #define HAVE_UNIX98_PRINTF 1
34058 _ACEOF
34059
34060 fi
34061 fi
34062 fi
34063
34064 if test "$wxUSE_UNICODE" = yes; then
34065
34066
34067 for ac_func in swprintf
34068 do
34069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34070 echo "$as_me:$LINENO: checking for $ac_func" >&5
34071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34072 if eval "test \"\${$as_ac_var+set}\" = set"; then
34073 echo $ECHO_N "(cached) $ECHO_C" >&6
34074 else
34075 cat >conftest.$ac_ext <<_ACEOF
34076 /* confdefs.h. */
34077 _ACEOF
34078 cat confdefs.h >>conftest.$ac_ext
34079 cat >>conftest.$ac_ext <<_ACEOF
34080 /* end confdefs.h. */
34081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34083 #define $ac_func innocuous_$ac_func
34084
34085 /* System header to define __stub macros and hopefully few prototypes,
34086 which can conflict with char $ac_func (); below.
34087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34088 <limits.h> exists even on freestanding compilers. */
34089
34090 #ifdef __STDC__
34091 # include <limits.h>
34092 #else
34093 # include <assert.h>
34094 #endif
34095
34096 #undef $ac_func
34097
34098 /* Override any gcc2 internal prototype to avoid an error. */
34099 #ifdef __cplusplus
34100 extern "C"
34101 {
34102 #endif
34103 /* We use char because int might match the return type of a gcc2
34104 builtin and then its argument prototype would still apply. */
34105 char $ac_func ();
34106 /* The GNU C library defines this for functions which it implements
34107 to always fail with ENOSYS. Some functions are actually named
34108 something starting with __ and the normal name is an alias. */
34109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34110 choke me
34111 #else
34112 char (*f) () = $ac_func;
34113 #endif
34114 #ifdef __cplusplus
34115 }
34116 #endif
34117
34118 int
34119 main ()
34120 {
34121 return f != $ac_func;
34122 ;
34123 return 0;
34124 }
34125 _ACEOF
34126 rm -f conftest.$ac_objext conftest$ac_exeext
34127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34128 (eval $ac_link) 2>conftest.er1
34129 ac_status=$?
34130 grep -v '^ *+' conftest.er1 >conftest.err
34131 rm -f conftest.er1
34132 cat conftest.err >&5
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); } &&
34135 { ac_try='test -z "$ac_c_werror_flag"
34136 || test ! -s conftest.err'
34137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34138 (eval $ac_try) 2>&5
34139 ac_status=$?
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); }; } &&
34142 { ac_try='test -s conftest$ac_exeext'
34143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34144 (eval $ac_try) 2>&5
34145 ac_status=$?
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); }; }; then
34148 eval "$as_ac_var=yes"
34149 else
34150 echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.$ac_ext >&5
34152
34153 eval "$as_ac_var=no"
34154 fi
34155 rm -f conftest.err conftest.$ac_objext \
34156 conftest$ac_exeext conftest.$ac_ext
34157 fi
34158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34160 if test `eval echo '${'$as_ac_var'}'` = yes; then
34161 cat >>confdefs.h <<_ACEOF
34162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34163 _ACEOF
34164
34165 fi
34166 done
34167
34168
34169 if test "$ac_cv_func_swprintf" = "yes"; then
34170 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34171 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
34172 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34173 echo $ECHO_N "(cached) $ECHO_C" >&6
34174 else
34175
34176 cat >conftest.$ac_ext <<_ACEOF
34177 /* confdefs.h. */
34178 _ACEOF
34179 cat confdefs.h >>conftest.$ac_ext
34180 cat >>conftest.$ac_ext <<_ACEOF
34181 /* end confdefs.h. */
34182
34183 #include <stdio.h>
34184 #include <stdarg.h>
34185 #include <wchar.h>
34186
34187 int
34188 main ()
34189 {
34190
34191 wchar_t *buf;
34192 const wchar_t *fmt = L"test";
34193 swprintf(buf, 10u, fmt);
34194
34195 ;
34196 return 0;
34197 }
34198 _ACEOF
34199 rm -f conftest.$ac_objext
34200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34201 (eval $ac_compile) 2>conftest.er1
34202 ac_status=$?
34203 grep -v '^ *+' conftest.er1 >conftest.err
34204 rm -f conftest.er1
34205 cat conftest.err >&5
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); } &&
34208 { ac_try='test -z "$ac_c_werror_flag"
34209 || test ! -s conftest.err'
34210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34211 (eval $ac_try) 2>&5
34212 ac_status=$?
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); }; } &&
34215 { ac_try='test -s conftest.$ac_objext'
34216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34217 (eval $ac_try) 2>&5
34218 ac_status=$?
34219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34220 (exit $ac_status); }; }; then
34221 wx_cv_func_broken_swprintf_decl=no
34222 else
34223 echo "$as_me: failed program was:" >&5
34224 sed 's/^/| /' conftest.$ac_ext >&5
34225
34226 wx_cv_func_broken_swprintf_decl=yes
34227
34228 fi
34229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34230
34231
34232 fi
34233 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34234 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
34235
34236 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34237 cat >>confdefs.h <<\_ACEOF
34238 #define HAVE_BROKEN_SWPRINTF_DECL 1
34239 _ACEOF
34240
34241 fi
34242 fi
34243
34244 wchar_headers="#include <stdio.h>
34245 #include <wchar.h>"
34246 case "${host}" in
34247 *-*-solaris2* )
34248 echo "$as_me:$LINENO: checking for widec.h" >&5
34249 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6
34250 if test "${ac_cv_header_widec_h+set}" = set; then
34251 echo $ECHO_N "(cached) $ECHO_C" >&6
34252 else
34253 cat >conftest.$ac_ext <<_ACEOF
34254 /* confdefs.h. */
34255 _ACEOF
34256 cat confdefs.h >>conftest.$ac_ext
34257 cat >>conftest.$ac_ext <<_ACEOF
34258 /* end confdefs.h. */
34259 $ac_includes_default
34260
34261 #include <widec.h>
34262 _ACEOF
34263 rm -f conftest.$ac_objext
34264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34265 (eval $ac_compile) 2>conftest.er1
34266 ac_status=$?
34267 grep -v '^ *+' conftest.er1 >conftest.err
34268 rm -f conftest.er1
34269 cat conftest.err >&5
34270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34271 (exit $ac_status); } &&
34272 { ac_try='test -z "$ac_c_werror_flag"
34273 || test ! -s conftest.err'
34274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34275 (eval $ac_try) 2>&5
34276 ac_status=$?
34277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34278 (exit $ac_status); }; } &&
34279 { ac_try='test -s conftest.$ac_objext'
34280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34281 (eval $ac_try) 2>&5
34282 ac_status=$?
34283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284 (exit $ac_status); }; }; then
34285 ac_cv_header_widec_h=yes
34286 else
34287 echo "$as_me: failed program was:" >&5
34288 sed 's/^/| /' conftest.$ac_ext >&5
34289
34290 ac_cv_header_widec_h=no
34291 fi
34292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34293 fi
34294 echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34295 echo "${ECHO_T}$ac_cv_header_widec_h" >&6
34296
34297
34298 if test "$ac_cv_header_widec_h" = "yes"; then
34299 wchar_headers="$wchar_headers
34300 #include <widec.h>"
34301 fi
34302 esac
34303
34304
34305 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34306 do
34307 echo "$as_me:$LINENO: checking for $wx_func" >&5
34308 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34309 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34310 echo $ECHO_N "(cached) $ECHO_C" >&6
34311 else
34312
34313 cat >conftest.$ac_ext <<_ACEOF
34314
34315 /* confdefs.h. */
34316 _ACEOF
34317 cat confdefs.h >>conftest.$ac_ext
34318 cat >>conftest.$ac_ext <<_ACEOF
34319 /* end confdefs.h. */
34320
34321 $wchar_headers
34322 $ac_includes_default
34323
34324 int
34325 main ()
34326 {
34327
34328 #ifndef $wx_func
34329 &$wx_func;
34330 #endif
34331
34332
34333 ;
34334 return 0;
34335 }
34336
34337 _ACEOF
34338 rm -f conftest.$ac_objext conftest$ac_exeext
34339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34340 (eval $ac_link) 2>conftest.er1
34341 ac_status=$?
34342 grep -v '^ *+' conftest.er1 >conftest.err
34343 rm -f conftest.er1
34344 cat conftest.err >&5
34345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34346 (exit $ac_status); } &&
34347 { ac_try='test -z "$ac_c_werror_flag"
34348 || test ! -s conftest.err'
34349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34350 (eval $ac_try) 2>&5
34351 ac_status=$?
34352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34353 (exit $ac_status); }; } &&
34354 { ac_try='test -s conftest$ac_exeext'
34355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34356 (eval $ac_try) 2>&5
34357 ac_status=$?
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); }; }; then
34360 eval wx_cv_func_$wx_func=yes
34361 else
34362 echo "$as_me: failed program was:" >&5
34363 sed 's/^/| /' conftest.$ac_ext >&5
34364
34365 eval wx_cv_func_$wx_func=no
34366 fi
34367 rm -f conftest.err conftest.$ac_objext \
34368 conftest$ac_exeext conftest.$ac_ext
34369
34370 fi
34371 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34372 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34373
34374 if eval test \$wx_cv_func_$wx_func = yes
34375 then
34376 cat >>confdefs.h <<_ACEOF
34377 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34378 _ACEOF
34379
34380
34381 else
34382 :
34383
34384 fi
34385 done
34386
34387
34388 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34389 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34390 cat >conftest.$ac_ext <<_ACEOF
34391 /* confdefs.h. */
34392 _ACEOF
34393 cat confdefs.h >>conftest.$ac_ext
34394 cat >>conftest.$ac_ext <<_ACEOF
34395 /* end confdefs.h. */
34396 #include <wchar.h>
34397 int
34398 main ()
34399 {
34400 &_vsnwprintf;
34401 ;
34402 return 0;
34403 }
34404 _ACEOF
34405 rm -f conftest.$ac_objext
34406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34407 (eval $ac_compile) 2>conftest.er1
34408 ac_status=$?
34409 grep -v '^ *+' conftest.er1 >conftest.err
34410 rm -f conftest.er1
34411 cat conftest.err >&5
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); } &&
34414 { ac_try='test -z "$ac_c_werror_flag"
34415 || test ! -s conftest.err'
34416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34417 (eval $ac_try) 2>&5
34418 ac_status=$?
34419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34420 (exit $ac_status); }; } &&
34421 { ac_try='test -s conftest.$ac_objext'
34422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34423 (eval $ac_try) 2>&5
34424 ac_status=$?
34425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426 (exit $ac_status); }; }; then
34427 echo "$as_me:$LINENO: result: yes" >&5
34428 echo "${ECHO_T}yes" >&6
34429 cat >>confdefs.h <<\_ACEOF
34430 #define HAVE__VSNWPRINTF 1
34431 _ACEOF
34432
34433 else
34434 echo "$as_me: failed program was:" >&5
34435 sed 's/^/| /' conftest.$ac_ext >&5
34436
34437 echo "$as_me:$LINENO: result: no" >&5
34438 echo "${ECHO_T}no" >&6
34439 fi
34440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
34441 fi
34442
34443 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34444
34445 for wx_func in fnmatch
34446 do
34447 echo "$as_me:$LINENO: checking for $wx_func" >&5
34448 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34449 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34450 echo $ECHO_N "(cached) $ECHO_C" >&6
34451 else
34452
34453 cat >conftest.$ac_ext <<_ACEOF
34454
34455 /* confdefs.h. */
34456 _ACEOF
34457 cat confdefs.h >>conftest.$ac_ext
34458 cat >>conftest.$ac_ext <<_ACEOF
34459 /* end confdefs.h. */
34460
34461 #include <fnmatch.h>
34462 $ac_includes_default
34463
34464 int
34465 main ()
34466 {
34467
34468 #ifndef $wx_func
34469 &$wx_func;
34470 #endif
34471
34472
34473 ;
34474 return 0;
34475 }
34476
34477 _ACEOF
34478 rm -f conftest.$ac_objext conftest$ac_exeext
34479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34480 (eval $ac_link) 2>conftest.er1
34481 ac_status=$?
34482 grep -v '^ *+' conftest.er1 >conftest.err
34483 rm -f conftest.er1
34484 cat conftest.err >&5
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); } &&
34487 { ac_try='test -z "$ac_c_werror_flag"
34488 || test ! -s conftest.err'
34489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34490 (eval $ac_try) 2>&5
34491 ac_status=$?
34492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34493 (exit $ac_status); }; } &&
34494 { ac_try='test -s conftest$ac_exeext'
34495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34496 (eval $ac_try) 2>&5
34497 ac_status=$?
34498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34499 (exit $ac_status); }; }; then
34500 eval wx_cv_func_$wx_func=yes
34501 else
34502 echo "$as_me: failed program was:" >&5
34503 sed 's/^/| /' conftest.$ac_ext >&5
34504
34505 eval wx_cv_func_$wx_func=no
34506 fi
34507 rm -f conftest.err conftest.$ac_objext \
34508 conftest$ac_exeext conftest.$ac_ext
34509
34510 fi
34511 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34512 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34513
34514 if eval test \$wx_cv_func_$wx_func = yes
34515 then
34516 cat >>confdefs.h <<_ACEOF
34517 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34518 _ACEOF
34519
34520
34521 else
34522 :
34523
34524 fi
34525 done
34526
34527 fi
34528
34529 if test "$wxUSE_FILE" = "yes"; then
34530
34531 for wx_func in fsync
34532 do
34533 echo "$as_me:$LINENO: checking for $wx_func" >&5
34534 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34535 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34536 echo $ECHO_N "(cached) $ECHO_C" >&6
34537 else
34538
34539 cat >conftest.$ac_ext <<_ACEOF
34540
34541 /* confdefs.h. */
34542 _ACEOF
34543 cat confdefs.h >>conftest.$ac_ext
34544 cat >>conftest.$ac_ext <<_ACEOF
34545 /* end confdefs.h. */
34546
34547
34548 $ac_includes_default
34549
34550 int
34551 main ()
34552 {
34553
34554 #ifndef $wx_func
34555 &$wx_func;
34556 #endif
34557
34558
34559 ;
34560 return 0;
34561 }
34562
34563 _ACEOF
34564 rm -f conftest.$ac_objext conftest$ac_exeext
34565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34566 (eval $ac_link) 2>conftest.er1
34567 ac_status=$?
34568 grep -v '^ *+' conftest.er1 >conftest.err
34569 rm -f conftest.er1
34570 cat conftest.err >&5
34571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34572 (exit $ac_status); } &&
34573 { ac_try='test -z "$ac_c_werror_flag"
34574 || test ! -s conftest.err'
34575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34576 (eval $ac_try) 2>&5
34577 ac_status=$?
34578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34579 (exit $ac_status); }; } &&
34580 { ac_try='test -s conftest$ac_exeext'
34581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34582 (eval $ac_try) 2>&5
34583 ac_status=$?
34584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34585 (exit $ac_status); }; }; then
34586 eval wx_cv_func_$wx_func=yes
34587 else
34588 echo "$as_me: failed program was:" >&5
34589 sed 's/^/| /' conftest.$ac_ext >&5
34590
34591 eval wx_cv_func_$wx_func=no
34592 fi
34593 rm -f conftest.err conftest.$ac_objext \
34594 conftest$ac_exeext conftest.$ac_ext
34595
34596 fi
34597 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34598 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34599
34600 if eval test \$wx_cv_func_$wx_func = yes
34601 then
34602 cat >>confdefs.h <<_ACEOF
34603 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34604 _ACEOF
34605
34606
34607 else
34608 :
34609
34610 fi
34611 done
34612
34613 fi
34614
34615
34616 for wx_func in round
34617 do
34618 echo "$as_me:$LINENO: checking for $wx_func" >&5
34619 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34620 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34621 echo $ECHO_N "(cached) $ECHO_C" >&6
34622 else
34623
34624 cat >conftest.$ac_ext <<_ACEOF
34625
34626 /* confdefs.h. */
34627 _ACEOF
34628 cat confdefs.h >>conftest.$ac_ext
34629 cat >>conftest.$ac_ext <<_ACEOF
34630 /* end confdefs.h. */
34631
34632 #include <math.h>
34633 $ac_includes_default
34634
34635 int
34636 main ()
34637 {
34638
34639 #ifndef $wx_func
34640 &$wx_func;
34641 #endif
34642
34643
34644 ;
34645 return 0;
34646 }
34647
34648 _ACEOF
34649 rm -f conftest.$ac_objext conftest$ac_exeext
34650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34651 (eval $ac_link) 2>conftest.er1
34652 ac_status=$?
34653 grep -v '^ *+' conftest.er1 >conftest.err
34654 rm -f conftest.er1
34655 cat conftest.err >&5
34656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34657 (exit $ac_status); } &&
34658 { ac_try='test -z "$ac_c_werror_flag"
34659 || test ! -s conftest.err'
34660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34661 (eval $ac_try) 2>&5
34662 ac_status=$?
34663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34664 (exit $ac_status); }; } &&
34665 { ac_try='test -s conftest$ac_exeext'
34666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34667 (eval $ac_try) 2>&5
34668 ac_status=$?
34669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34670 (exit $ac_status); }; }; then
34671 eval wx_cv_func_$wx_func=yes
34672 else
34673 echo "$as_me: failed program was:" >&5
34674 sed 's/^/| /' conftest.$ac_ext >&5
34675
34676 eval wx_cv_func_$wx_func=no
34677 fi
34678 rm -f conftest.err conftest.$ac_objext \
34679 conftest$ac_exeext conftest.$ac_ext
34680
34681 fi
34682 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34683 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34684
34685 if eval test \$wx_cv_func_$wx_func = yes
34686 then
34687 cat >>confdefs.h <<_ACEOF
34688 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34689 _ACEOF
34690
34691
34692 else
34693 :
34694
34695 fi
34696 done
34697
34698
34699 if test "$TOOLKIT" != "MSW"; then
34700
34701
34702
34703
34704
34705 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34706 if test "${with_libiconv_prefix+set}" = set; then
34707 withval="$with_libiconv_prefix"
34708
34709 for dir in `echo "$withval" | tr : ' '`; do
34710 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
34711 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
34712 done
34713
34714 fi;
34715
34716 echo "$as_me:$LINENO: checking for iconv" >&5
34717 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34718 if test "${am_cv_func_iconv+set}" = set; then
34719 echo $ECHO_N "(cached) $ECHO_C" >&6
34720 else
34721
34722 am_cv_func_iconv="no, consider installing GNU libiconv"
34723 am_cv_lib_iconv=no
34724 cat >conftest.$ac_ext <<_ACEOF
34725 /* confdefs.h. */
34726 _ACEOF
34727 cat confdefs.h >>conftest.$ac_ext
34728 cat >>conftest.$ac_ext <<_ACEOF
34729 /* end confdefs.h. */
34730 #include <stdlib.h>
34731 #include <iconv.h>
34732 int
34733 main ()
34734 {
34735 iconv_t cd = iconv_open("","");
34736 iconv(cd,NULL,NULL,NULL,NULL);
34737 iconv_close(cd);
34738 ;
34739 return 0;
34740 }
34741 _ACEOF
34742 rm -f conftest.$ac_objext conftest$ac_exeext
34743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34744 (eval $ac_link) 2>conftest.er1
34745 ac_status=$?
34746 grep -v '^ *+' conftest.er1 >conftest.err
34747 rm -f conftest.er1
34748 cat conftest.err >&5
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); } &&
34751 { ac_try='test -z "$ac_c_werror_flag"
34752 || test ! -s conftest.err'
34753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34754 (eval $ac_try) 2>&5
34755 ac_status=$?
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); }; } &&
34758 { ac_try='test -s conftest$ac_exeext'
34759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34760 (eval $ac_try) 2>&5
34761 ac_status=$?
34762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34763 (exit $ac_status); }; }; then
34764 am_cv_func_iconv=yes
34765 else
34766 echo "$as_me: failed program was:" >&5
34767 sed 's/^/| /' conftest.$ac_ext >&5
34768
34769 fi
34770 rm -f conftest.err conftest.$ac_objext \
34771 conftest$ac_exeext conftest.$ac_ext
34772 if test "$am_cv_func_iconv" != yes; then
34773 am_save_LIBS="$LIBS"
34774 LIBS="$LIBS -liconv"
34775 cat >conftest.$ac_ext <<_ACEOF
34776 /* confdefs.h. */
34777 _ACEOF
34778 cat confdefs.h >>conftest.$ac_ext
34779 cat >>conftest.$ac_ext <<_ACEOF
34780 /* end confdefs.h. */
34781 #include <stdlib.h>
34782 #include <iconv.h>
34783 int
34784 main ()
34785 {
34786 iconv_t cd = iconv_open("","");
34787 iconv(cd,NULL,NULL,NULL,NULL);
34788 iconv_close(cd);
34789 ;
34790 return 0;
34791 }
34792 _ACEOF
34793 rm -f conftest.$ac_objext conftest$ac_exeext
34794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34795 (eval $ac_link) 2>conftest.er1
34796 ac_status=$?
34797 grep -v '^ *+' conftest.er1 >conftest.err
34798 rm -f conftest.er1
34799 cat conftest.err >&5
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); } &&
34802 { ac_try='test -z "$ac_c_werror_flag"
34803 || test ! -s conftest.err'
34804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34805 (eval $ac_try) 2>&5
34806 ac_status=$?
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); }; } &&
34809 { ac_try='test -s conftest$ac_exeext'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34812 ac_status=$?
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; }; then
34815 am_cv_lib_iconv=yes
34816 am_cv_func_iconv=yes
34817 else
34818 echo "$as_me: failed program was:" >&5
34819 sed 's/^/| /' conftest.$ac_ext >&5
34820
34821 fi
34822 rm -f conftest.err conftest.$ac_objext \
34823 conftest$ac_exeext conftest.$ac_ext
34824 LIBS="$am_save_LIBS"
34825 fi
34826
34827 fi
34828 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34829 echo "${ECHO_T}$am_cv_func_iconv" >&6
34830 if test "$am_cv_func_iconv" = yes; then
34831
34832 cat >>confdefs.h <<\_ACEOF
34833 #define HAVE_ICONV 1
34834 _ACEOF
34835
34836 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34837 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34838 if test "${wx_cv_func_iconv_const+set}" = set; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34840 else
34841 cat >conftest.$ac_ext <<_ACEOF
34842 /* confdefs.h. */
34843 _ACEOF
34844 cat confdefs.h >>conftest.$ac_ext
34845 cat >>conftest.$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34847
34848 #include <stdlib.h>
34849 #include <iconv.h>
34850 extern
34851 #ifdef __cplusplus
34852 "C"
34853 #endif
34854 #if defined(__STDC__) || defined(__cplusplus)
34855 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34856 #else
34857 size_t iconv();
34858 #endif
34859
34860 int
34861 main ()
34862 {
34863
34864 ;
34865 return 0;
34866 }
34867 _ACEOF
34868 rm -f conftest.$ac_objext
34869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34870 (eval $ac_compile) 2>conftest.er1
34871 ac_status=$?
34872 grep -v '^ *+' conftest.er1 >conftest.err
34873 rm -f conftest.er1
34874 cat conftest.err >&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); } &&
34877 { ac_try='test -z "$ac_c_werror_flag"
34878 || test ! -s conftest.err'
34879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34880 (eval $ac_try) 2>&5
34881 ac_status=$?
34882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34883 (exit $ac_status); }; } &&
34884 { ac_try='test -s conftest.$ac_objext'
34885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34886 (eval $ac_try) 2>&5
34887 ac_status=$?
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); }; }; then
34890 wx_cv_func_iconv_const="no"
34891 else
34892 echo "$as_me: failed program was:" >&5
34893 sed 's/^/| /' conftest.$ac_ext >&5
34894
34895 wx_cv_func_iconv_const="yes"
34896
34897 fi
34898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34899
34900 fi
34901 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34902 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34903
34904 iconv_const=
34905 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34906 iconv_const="const"
34907 fi
34908
34909
34910 cat >>confdefs.h <<_ACEOF
34911 #define ICONV_CONST $iconv_const
34912 _ACEOF
34913
34914 fi
34915 LIBICONV=
34916 if test "$am_cv_lib_iconv" = yes; then
34917 LIBICONV="-liconv"
34918 fi
34919
34920
34921 LIBS="$LIBICONV $LIBS"
34922
34923 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34924
34925 for ac_func in sigaction
34926 do
34927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34928 echo "$as_me:$LINENO: checking for $ac_func" >&5
34929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34930 if eval "test \"\${$as_ac_var+set}\" = set"; then
34931 echo $ECHO_N "(cached) $ECHO_C" >&6
34932 else
34933 cat >conftest.$ac_ext <<_ACEOF
34934 /* confdefs.h. */
34935 _ACEOF
34936 cat confdefs.h >>conftest.$ac_ext
34937 cat >>conftest.$ac_ext <<_ACEOF
34938 /* end confdefs.h. */
34939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34941 #define $ac_func innocuous_$ac_func
34942
34943 /* System header to define __stub macros and hopefully few prototypes,
34944 which can conflict with char $ac_func (); below.
34945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34946 <limits.h> exists even on freestanding compilers. */
34947
34948 #ifdef __STDC__
34949 # include <limits.h>
34950 #else
34951 # include <assert.h>
34952 #endif
34953
34954 #undef $ac_func
34955
34956 /* Override any gcc2 internal prototype to avoid an error. */
34957 #ifdef __cplusplus
34958 extern "C"
34959 {
34960 #endif
34961 /* We use char because int might match the return type of a gcc2
34962 builtin and then its argument prototype would still apply. */
34963 char $ac_func ();
34964 /* The GNU C library defines this for functions which it implements
34965 to always fail with ENOSYS. Some functions are actually named
34966 something starting with __ and the normal name is an alias. */
34967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34968 choke me
34969 #else
34970 char (*f) () = $ac_func;
34971 #endif
34972 #ifdef __cplusplus
34973 }
34974 #endif
34975
34976 int
34977 main ()
34978 {
34979 return f != $ac_func;
34980 ;
34981 return 0;
34982 }
34983 _ACEOF
34984 rm -f conftest.$ac_objext conftest$ac_exeext
34985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34986 (eval $ac_link) 2>conftest.er1
34987 ac_status=$?
34988 grep -v '^ *+' conftest.er1 >conftest.err
34989 rm -f conftest.er1
34990 cat conftest.err >&5
34991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34992 (exit $ac_status); } &&
34993 { ac_try='test -z "$ac_c_werror_flag"
34994 || test ! -s conftest.err'
34995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34996 (eval $ac_try) 2>&5
34997 ac_status=$?
34998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34999 (exit $ac_status); }; } &&
35000 { ac_try='test -s conftest$ac_exeext'
35001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35002 (eval $ac_try) 2>&5
35003 ac_status=$?
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); }; }; then
35006 eval "$as_ac_var=yes"
35007 else
35008 echo "$as_me: failed program was:" >&5
35009 sed 's/^/| /' conftest.$ac_ext >&5
35010
35011 eval "$as_ac_var=no"
35012 fi
35013 rm -f conftest.err conftest.$ac_objext \
35014 conftest$ac_exeext conftest.$ac_ext
35015 fi
35016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35018 if test `eval echo '${'$as_ac_var'}'` = yes; then
35019 cat >>confdefs.h <<_ACEOF
35020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35021 _ACEOF
35022
35023 fi
35024 done
35025
35026
35027 if test "$ac_cv_func_sigaction" = "no"; then
35028 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35029 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35030 wxUSE_ON_FATAL_EXCEPTION=no
35031 fi
35032
35033 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35034 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35035 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35036 if test "${wx_cv_type_sa_handler+set}" = set; then
35037 echo $ECHO_N "(cached) $ECHO_C" >&6
35038 else
35039
35040 ac_ext=cc
35041 ac_cpp='$CXXCPP $CPPFLAGS'
35042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35045
35046 cat >conftest.$ac_ext <<_ACEOF
35047 /* confdefs.h. */
35048 _ACEOF
35049 cat confdefs.h >>conftest.$ac_ext
35050 cat >>conftest.$ac_ext <<_ACEOF
35051 /* end confdefs.h. */
35052 #include <signal.h>
35053 int
35054 main ()
35055 {
35056
35057 extern void testSigHandler(int);
35058
35059 struct sigaction sa;
35060 sa.sa_handler = testSigHandler;
35061
35062 ;
35063 return 0;
35064 }
35065 _ACEOF
35066 rm -f conftest.$ac_objext
35067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35068 (eval $ac_compile) 2>conftest.er1
35069 ac_status=$?
35070 grep -v '^ *+' conftest.er1 >conftest.err
35071 rm -f conftest.er1
35072 cat conftest.err >&5
35073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35074 (exit $ac_status); } &&
35075 { ac_try='test -z "$ac_cxx_werror_flag"
35076 || test ! -s conftest.err'
35077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35078 (eval $ac_try) 2>&5
35079 ac_status=$?
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); }; } &&
35082 { ac_try='test -s conftest.$ac_objext'
35083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35084 (eval $ac_try) 2>&5
35085 ac_status=$?
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); }; }; then
35088
35089 wx_cv_type_sa_handler=int
35090
35091 else
35092 echo "$as_me: failed program was:" >&5
35093 sed 's/^/| /' conftest.$ac_ext >&5
35094
35095
35096 wx_cv_type_sa_handler=void
35097
35098 fi
35099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35100 ac_ext=c
35101 ac_cpp='$CPP $CPPFLAGS'
35102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35105
35106
35107 fi
35108 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35109 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35110
35111 cat >>confdefs.h <<_ACEOF
35112 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35113 _ACEOF
35114
35115 fi
35116 fi
35117
35118 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35119 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35120 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35121 if test "${wx_cv_func_backtrace+set}" = set; then
35122 echo $ECHO_N "(cached) $ECHO_C" >&6
35123 else
35124
35125 ac_ext=cc
35126 ac_cpp='$CXXCPP $CPPFLAGS'
35127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35130
35131 cat >conftest.$ac_ext <<_ACEOF
35132 /* confdefs.h. */
35133 _ACEOF
35134 cat confdefs.h >>conftest.$ac_ext
35135 cat >>conftest.$ac_ext <<_ACEOF
35136 /* end confdefs.h. */
35137 #include <execinfo.h>
35138 int
35139 main ()
35140 {
35141
35142 void *trace[1];
35143 char **messages;
35144
35145 backtrace(trace, 1);
35146 messages = backtrace_symbols(trace, 1);
35147
35148 ;
35149 return 0;
35150 }
35151 _ACEOF
35152 rm -f conftest.$ac_objext
35153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35154 (eval $ac_compile) 2>conftest.er1
35155 ac_status=$?
35156 grep -v '^ *+' conftest.er1 >conftest.err
35157 rm -f conftest.er1
35158 cat conftest.err >&5
35159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35160 (exit $ac_status); } &&
35161 { ac_try='test -z "$ac_cxx_werror_flag"
35162 || test ! -s conftest.err'
35163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35164 (eval $ac_try) 2>&5
35165 ac_status=$?
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); }; } &&
35168 { ac_try='test -s conftest.$ac_objext'
35169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35170 (eval $ac_try) 2>&5
35171 ac_status=$?
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); }; }; then
35174 wx_cv_func_backtrace=yes
35175 else
35176 echo "$as_me: failed program was:" >&5
35177 sed 's/^/| /' conftest.$ac_ext >&5
35178
35179 wx_cv_func_backtrace=no
35180
35181 fi
35182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35183 ac_ext=c
35184 ac_cpp='$CPP $CPPFLAGS'
35185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35188
35189
35190
35191 fi
35192 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35193 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35194
35195
35196 if test "$wx_cv_func_backtrace" = "no"; then
35197 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35198 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35199 wxUSE_STACKWALKER=no
35200 else
35201 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35202 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35203 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35204 echo $ECHO_N "(cached) $ECHO_C" >&6
35205 else
35206
35207 ac_ext=cc
35208 ac_cpp='$CXXCPP $CPPFLAGS'
35209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35212
35213 cat >conftest.$ac_ext <<_ACEOF
35214 /* confdefs.h. */
35215 _ACEOF
35216 cat confdefs.h >>conftest.$ac_ext
35217 cat >>conftest.$ac_ext <<_ACEOF
35218 /* end confdefs.h. */
35219 #include <cxxabi.h>
35220 int
35221 main ()
35222 {
35223
35224 int rc;
35225 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35226
35227 ;
35228 return 0;
35229 }
35230 _ACEOF
35231 rm -f conftest.$ac_objext conftest$ac_exeext
35232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35233 (eval $ac_link) 2>conftest.er1
35234 ac_status=$?
35235 grep -v '^ *+' conftest.er1 >conftest.err
35236 rm -f conftest.er1
35237 cat conftest.err >&5
35238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35239 (exit $ac_status); } &&
35240 { ac_try='test -z "$ac_cxx_werror_flag"
35241 || test ! -s conftest.err'
35242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35243 (eval $ac_try) 2>&5
35244 ac_status=$?
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); }; } &&
35247 { ac_try='test -s conftest$ac_exeext'
35248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249 (eval $ac_try) 2>&5
35250 ac_status=$?
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); }; }; then
35253 wx_cv_func_cxa_demangle=yes
35254 else
35255 echo "$as_me: failed program was:" >&5
35256 sed 's/^/| /' conftest.$ac_ext >&5
35257
35258 wx_cv_func_cxa_demangle=no
35259
35260 fi
35261 rm -f conftest.err conftest.$ac_objext \
35262 conftest$ac_exeext conftest.$ac_ext
35263 ac_ext=c
35264 ac_cpp='$CPP $CPPFLAGS'
35265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35268
35269
35270
35271 fi
35272 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35273 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35274
35275 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35276 cat >>confdefs.h <<\_ACEOF
35277 #define HAVE_CXA_DEMANGLE 1
35278 _ACEOF
35279
35280 fi
35281 fi
35282 fi
35283
35284 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35285 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35286 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35287 wxUSE_STACKWALKER=no
35288 fi
35289
35290
35291
35292
35293 for ac_func in mkstemp mktemp
35294 do
35295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35296 echo "$as_me:$LINENO: checking for $ac_func" >&5
35297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35298 if eval "test \"\${$as_ac_var+set}\" = set"; then
35299 echo $ECHO_N "(cached) $ECHO_C" >&6
35300 else
35301 cat >conftest.$ac_ext <<_ACEOF
35302 /* confdefs.h. */
35303 _ACEOF
35304 cat confdefs.h >>conftest.$ac_ext
35305 cat >>conftest.$ac_ext <<_ACEOF
35306 /* end confdefs.h. */
35307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35309 #define $ac_func innocuous_$ac_func
35310
35311 /* System header to define __stub macros and hopefully few prototypes,
35312 which can conflict with char $ac_func (); below.
35313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35314 <limits.h> exists even on freestanding compilers. */
35315
35316 #ifdef __STDC__
35317 # include <limits.h>
35318 #else
35319 # include <assert.h>
35320 #endif
35321
35322 #undef $ac_func
35323
35324 /* Override any gcc2 internal prototype to avoid an error. */
35325 #ifdef __cplusplus
35326 extern "C"
35327 {
35328 #endif
35329 /* We use char because int might match the return type of a gcc2
35330 builtin and then its argument prototype would still apply. */
35331 char $ac_func ();
35332 /* The GNU C library defines this for functions which it implements
35333 to always fail with ENOSYS. Some functions are actually named
35334 something starting with __ and the normal name is an alias. */
35335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35336 choke me
35337 #else
35338 char (*f) () = $ac_func;
35339 #endif
35340 #ifdef __cplusplus
35341 }
35342 #endif
35343
35344 int
35345 main ()
35346 {
35347 return f != $ac_func;
35348 ;
35349 return 0;
35350 }
35351 _ACEOF
35352 rm -f conftest.$ac_objext conftest$ac_exeext
35353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35354 (eval $ac_link) 2>conftest.er1
35355 ac_status=$?
35356 grep -v '^ *+' conftest.er1 >conftest.err
35357 rm -f conftest.er1
35358 cat conftest.err >&5
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); } &&
35361 { ac_try='test -z "$ac_c_werror_flag"
35362 || test ! -s conftest.err'
35363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35364 (eval $ac_try) 2>&5
35365 ac_status=$?
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); }; } &&
35368 { ac_try='test -s conftest$ac_exeext'
35369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35370 (eval $ac_try) 2>&5
35371 ac_status=$?
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); }; }; then
35374 eval "$as_ac_var=yes"
35375 else
35376 echo "$as_me: failed program was:" >&5
35377 sed 's/^/| /' conftest.$ac_ext >&5
35378
35379 eval "$as_ac_var=no"
35380 fi
35381 rm -f conftest.err conftest.$ac_objext \
35382 conftest$ac_exeext conftest.$ac_ext
35383 fi
35384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35386 if test `eval echo '${'$as_ac_var'}'` = yes; then
35387 cat >>confdefs.h <<_ACEOF
35388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35389 _ACEOF
35390 break
35391 fi
35392 done
35393
35394
35395 echo "$as_me:$LINENO: checking for statfs" >&5
35396 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35397 if test "${wx_cv_func_statfs+set}" = set; then
35398 echo $ECHO_N "(cached) $ECHO_C" >&6
35399 else
35400 cat >conftest.$ac_ext <<_ACEOF
35401 /* confdefs.h. */
35402 _ACEOF
35403 cat confdefs.h >>conftest.$ac_ext
35404 cat >>conftest.$ac_ext <<_ACEOF
35405 /* end confdefs.h. */
35406
35407 #if defined(__BSD__)
35408 #include <sys/param.h>
35409 #include <sys/mount.h>
35410 #else
35411 #include <sys/vfs.h>
35412 #endif
35413
35414 int
35415 main ()
35416 {
35417
35418 long l;
35419 struct statfs fs;
35420 statfs("/", &fs);
35421 l = fs.f_bsize;
35422 l += fs.f_blocks;
35423 l += fs.f_bavail;
35424
35425 ;
35426 return 0;
35427 }
35428 _ACEOF
35429 rm -f conftest.$ac_objext
35430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35431 (eval $ac_compile) 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_objext'
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 wx_cv_func_statfs=yes
35452 else
35453 echo "$as_me: failed program was:" >&5
35454 sed 's/^/| /' conftest.$ac_ext >&5
35455
35456 wx_cv_func_statfs=no
35457
35458 fi
35459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35460
35461 fi
35462 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35463 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35464
35465 if test "$wx_cv_func_statfs" = "yes"; then
35466 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35467 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35468 if test "${wx_cv_func_statfs_decl+set}" = set; then
35469 echo $ECHO_N "(cached) $ECHO_C" >&6
35470 else
35471 ac_ext=cc
35472 ac_cpp='$CXXCPP $CPPFLAGS'
35473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35476
35477 cat >conftest.$ac_ext <<_ACEOF
35478 /* confdefs.h. */
35479 _ACEOF
35480 cat confdefs.h >>conftest.$ac_ext
35481 cat >>conftest.$ac_ext <<_ACEOF
35482 /* end confdefs.h. */
35483
35484 #if defined(__BSD__)
35485 #include <sys/param.h>
35486 #include <sys/mount.h>
35487 #else
35488 #include <sys/vfs.h>
35489 #endif
35490
35491 int
35492 main ()
35493 {
35494
35495 struct statfs fs;
35496 statfs("", &fs);
35497
35498 ;
35499 return 0;
35500 }
35501 _ACEOF
35502 rm -f conftest.$ac_objext
35503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35504 (eval $ac_compile) 2>conftest.er1
35505 ac_status=$?
35506 grep -v '^ *+' conftest.er1 >conftest.err
35507 rm -f conftest.er1
35508 cat conftest.err >&5
35509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35510 (exit $ac_status); } &&
35511 { ac_try='test -z "$ac_cxx_werror_flag"
35512 || test ! -s conftest.err'
35513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35514 (eval $ac_try) 2>&5
35515 ac_status=$?
35516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35517 (exit $ac_status); }; } &&
35518 { ac_try='test -s conftest.$ac_objext'
35519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35520 (eval $ac_try) 2>&5
35521 ac_status=$?
35522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35523 (exit $ac_status); }; }; then
35524 wx_cv_func_statfs_decl=yes
35525 else
35526 echo "$as_me: failed program was:" >&5
35527 sed 's/^/| /' conftest.$ac_ext >&5
35528
35529 wx_cv_func_statfs_decl=no
35530
35531 fi
35532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35533 ac_ext=c
35534 ac_cpp='$CPP $CPPFLAGS'
35535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35538
35539
35540 fi
35541 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35542 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35543
35544 if test "$wx_cv_func_statfs_decl" = "yes"; then
35545 cat >>confdefs.h <<\_ACEOF
35546 #define HAVE_STATFS_DECL 1
35547 _ACEOF
35548
35549 fi
35550
35551 wx_cv_type_statvfs_t="struct statfs"
35552 cat >>confdefs.h <<\_ACEOF
35553 #define HAVE_STATFS 1
35554 _ACEOF
35555
35556 else
35557 echo "$as_me:$LINENO: checking for statvfs" >&5
35558 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35559 if test "${wx_cv_func_statvfs+set}" = set; then
35560 echo $ECHO_N "(cached) $ECHO_C" >&6
35561 else
35562 cat >conftest.$ac_ext <<_ACEOF
35563 /* confdefs.h. */
35564 _ACEOF
35565 cat confdefs.h >>conftest.$ac_ext
35566 cat >>conftest.$ac_ext <<_ACEOF
35567 /* end confdefs.h. */
35568
35569 #include <stddef.h>
35570 #include <sys/statvfs.h>
35571
35572 int
35573 main ()
35574 {
35575
35576 statvfs("/", NULL);
35577
35578 ;
35579 return 0;
35580 }
35581 _ACEOF
35582 rm -f conftest.$ac_objext
35583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35584 (eval $ac_compile) 2>conftest.er1
35585 ac_status=$?
35586 grep -v '^ *+' conftest.er1 >conftest.err
35587 rm -f conftest.er1
35588 cat conftest.err >&5
35589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35590 (exit $ac_status); } &&
35591 { ac_try='test -z "$ac_c_werror_flag"
35592 || test ! -s conftest.err'
35593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35594 (eval $ac_try) 2>&5
35595 ac_status=$?
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); }; } &&
35598 { ac_try='test -s conftest.$ac_objext'
35599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35600 (eval $ac_try) 2>&5
35601 ac_status=$?
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); }; }; then
35604 wx_cv_func_statvfs=yes
35605 else
35606 echo "$as_me: failed program was:" >&5
35607 sed 's/^/| /' conftest.$ac_ext >&5
35608
35609 wx_cv_func_statvfs=no
35610
35611 fi
35612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35613
35614 fi
35615 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35616 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35617
35618 if test "$wx_cv_func_statvfs" = "yes"; then
35619 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35620 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35621 if test "${wx_cv_type_statvfs_t+set}" = set; then
35622 echo $ECHO_N "(cached) $ECHO_C" >&6
35623 else
35624 ac_ext=cc
35625 ac_cpp='$CXXCPP $CPPFLAGS'
35626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35629
35630 cat >conftest.$ac_ext <<_ACEOF
35631 /* confdefs.h. */
35632 _ACEOF
35633 cat confdefs.h >>conftest.$ac_ext
35634 cat >>conftest.$ac_ext <<_ACEOF
35635 /* end confdefs.h. */
35636
35637 #include <sys/statvfs.h>
35638
35639 int
35640 main ()
35641 {
35642
35643 long l;
35644 statvfs_t fs;
35645 statvfs("/", &fs);
35646 l = fs.f_bsize;
35647 l += fs.f_blocks;
35648 l += fs.f_bavail;
35649
35650 ;
35651 return 0;
35652 }
35653 _ACEOF
35654 rm -f conftest.$ac_objext
35655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35656 (eval $ac_compile) 2>conftest.er1
35657 ac_status=$?
35658 grep -v '^ *+' conftest.er1 >conftest.err
35659 rm -f conftest.er1
35660 cat conftest.err >&5
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); } &&
35663 { ac_try='test -z "$ac_cxx_werror_flag"
35664 || test ! -s conftest.err'
35665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35666 (eval $ac_try) 2>&5
35667 ac_status=$?
35668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35669 (exit $ac_status); }; } &&
35670 { ac_try='test -s conftest.$ac_objext'
35671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35672 (eval $ac_try) 2>&5
35673 ac_status=$?
35674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35675 (exit $ac_status); }; }; then
35676 wx_cv_type_statvfs_t=statvfs_t
35677 else
35678 echo "$as_me: failed program was:" >&5
35679 sed 's/^/| /' conftest.$ac_ext >&5
35680
35681
35682 cat >conftest.$ac_ext <<_ACEOF
35683 /* confdefs.h. */
35684 _ACEOF
35685 cat confdefs.h >>conftest.$ac_ext
35686 cat >>conftest.$ac_ext <<_ACEOF
35687 /* end confdefs.h. */
35688
35689 #include <sys/statvfs.h>
35690
35691 int
35692 main ()
35693 {
35694
35695 long l;
35696 struct statvfs fs;
35697 statvfs("/", &fs);
35698 l = fs.f_bsize;
35699 l += fs.f_blocks;
35700 l += fs.f_bavail;
35701
35702 ;
35703 return 0;
35704 }
35705 _ACEOF
35706 rm -f conftest.$ac_objext
35707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35708 (eval $ac_compile) 2>conftest.er1
35709 ac_status=$?
35710 grep -v '^ *+' conftest.er1 >conftest.err
35711 rm -f conftest.er1
35712 cat conftest.err >&5
35713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35714 (exit $ac_status); } &&
35715 { ac_try='test -z "$ac_cxx_werror_flag"
35716 || test ! -s conftest.err'
35717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35718 (eval $ac_try) 2>&5
35719 ac_status=$?
35720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35721 (exit $ac_status); }; } &&
35722 { ac_try='test -s conftest.$ac_objext'
35723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35724 (eval $ac_try) 2>&5
35725 ac_status=$?
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); }; }; then
35728 wx_cv_type_statvfs_t="struct statvfs"
35729 else
35730 echo "$as_me: failed program was:" >&5
35731 sed 's/^/| /' conftest.$ac_ext >&5
35732
35733 wx_cv_type_statvfs_t="unknown"
35734
35735 fi
35736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35737
35738
35739 fi
35740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35741 ac_ext=c
35742 ac_cpp='$CPP $CPPFLAGS'
35743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35746
35747
35748 fi
35749 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35750 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35751
35752 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35753 cat >>confdefs.h <<\_ACEOF
35754 #define HAVE_STATVFS 1
35755 _ACEOF
35756
35757 fi
35758 else
35759 wx_cv_type_statvfs_t="unknown"
35760 fi
35761 fi
35762
35763 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35764 cat >>confdefs.h <<_ACEOF
35765 #define WX_STATFS_T $wx_cv_type_statvfs_t
35766 _ACEOF
35767
35768 else
35769 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35770 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35771 fi
35772
35773 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35774
35775
35776 for ac_func in fcntl flock
35777 do
35778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35779 echo "$as_me:$LINENO: checking for $ac_func" >&5
35780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35781 if eval "test \"\${$as_ac_var+set}\" = set"; then
35782 echo $ECHO_N "(cached) $ECHO_C" >&6
35783 else
35784 cat >conftest.$ac_ext <<_ACEOF
35785 /* confdefs.h. */
35786 _ACEOF
35787 cat confdefs.h >>conftest.$ac_ext
35788 cat >>conftest.$ac_ext <<_ACEOF
35789 /* end confdefs.h. */
35790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35792 #define $ac_func innocuous_$ac_func
35793
35794 /* System header to define __stub macros and hopefully few prototypes,
35795 which can conflict with char $ac_func (); below.
35796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35797 <limits.h> exists even on freestanding compilers. */
35798
35799 #ifdef __STDC__
35800 # include <limits.h>
35801 #else
35802 # include <assert.h>
35803 #endif
35804
35805 #undef $ac_func
35806
35807 /* Override any gcc2 internal prototype to avoid an error. */
35808 #ifdef __cplusplus
35809 extern "C"
35810 {
35811 #endif
35812 /* We use char because int might match the return type of a gcc2
35813 builtin and then its argument prototype would still apply. */
35814 char $ac_func ();
35815 /* The GNU C library defines this for functions which it implements
35816 to always fail with ENOSYS. Some functions are actually named
35817 something starting with __ and the normal name is an alias. */
35818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35819 choke me
35820 #else
35821 char (*f) () = $ac_func;
35822 #endif
35823 #ifdef __cplusplus
35824 }
35825 #endif
35826
35827 int
35828 main ()
35829 {
35830 return f != $ac_func;
35831 ;
35832 return 0;
35833 }
35834 _ACEOF
35835 rm -f conftest.$ac_objext conftest$ac_exeext
35836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35837 (eval $ac_link) 2>conftest.er1
35838 ac_status=$?
35839 grep -v '^ *+' conftest.er1 >conftest.err
35840 rm -f conftest.er1
35841 cat conftest.err >&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); } &&
35844 { ac_try='test -z "$ac_c_werror_flag"
35845 || test ! -s conftest.err'
35846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35847 (eval $ac_try) 2>&5
35848 ac_status=$?
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); }; } &&
35851 { ac_try='test -s conftest$ac_exeext'
35852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35853 (eval $ac_try) 2>&5
35854 ac_status=$?
35855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35856 (exit $ac_status); }; }; then
35857 eval "$as_ac_var=yes"
35858 else
35859 echo "$as_me: failed program was:" >&5
35860 sed 's/^/| /' conftest.$ac_ext >&5
35861
35862 eval "$as_ac_var=no"
35863 fi
35864 rm -f conftest.err conftest.$ac_objext \
35865 conftest$ac_exeext conftest.$ac_ext
35866 fi
35867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35869 if test `eval echo '${'$as_ac_var'}'` = yes; then
35870 cat >>confdefs.h <<_ACEOF
35871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35872 _ACEOF
35873 break
35874 fi
35875 done
35876
35877
35878 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35879 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35880 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35881 wxUSE_SNGLINST_CHECKER=no
35882 fi
35883 fi
35884
35885
35886 for ac_func in timegm
35887 do
35888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35889 echo "$as_me:$LINENO: checking for $ac_func" >&5
35890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35891 if eval "test \"\${$as_ac_var+set}\" = set"; then
35892 echo $ECHO_N "(cached) $ECHO_C" >&6
35893 else
35894 cat >conftest.$ac_ext <<_ACEOF
35895 /* confdefs.h. */
35896 _ACEOF
35897 cat confdefs.h >>conftest.$ac_ext
35898 cat >>conftest.$ac_ext <<_ACEOF
35899 /* end confdefs.h. */
35900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35902 #define $ac_func innocuous_$ac_func
35903
35904 /* System header to define __stub macros and hopefully few prototypes,
35905 which can conflict with char $ac_func (); below.
35906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35907 <limits.h> exists even on freestanding compilers. */
35908
35909 #ifdef __STDC__
35910 # include <limits.h>
35911 #else
35912 # include <assert.h>
35913 #endif
35914
35915 #undef $ac_func
35916
35917 /* Override any gcc2 internal prototype to avoid an error. */
35918 #ifdef __cplusplus
35919 extern "C"
35920 {
35921 #endif
35922 /* We use char because int might match the return type of a gcc2
35923 builtin and then its argument prototype would still apply. */
35924 char $ac_func ();
35925 /* The GNU C library defines this for functions which it implements
35926 to always fail with ENOSYS. Some functions are actually named
35927 something starting with __ and the normal name is an alias. */
35928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35929 choke me
35930 #else
35931 char (*f) () = $ac_func;
35932 #endif
35933 #ifdef __cplusplus
35934 }
35935 #endif
35936
35937 int
35938 main ()
35939 {
35940 return f != $ac_func;
35941 ;
35942 return 0;
35943 }
35944 _ACEOF
35945 rm -f conftest.$ac_objext conftest$ac_exeext
35946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35947 (eval $ac_link) 2>conftest.er1
35948 ac_status=$?
35949 grep -v '^ *+' conftest.er1 >conftest.err
35950 rm -f conftest.er1
35951 cat conftest.err >&5
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); } &&
35954 { ac_try='test -z "$ac_c_werror_flag"
35955 || test ! -s conftest.err'
35956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35957 (eval $ac_try) 2>&5
35958 ac_status=$?
35959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35960 (exit $ac_status); }; } &&
35961 { ac_try='test -s conftest$ac_exeext'
35962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35963 (eval $ac_try) 2>&5
35964 ac_status=$?
35965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35966 (exit $ac_status); }; }; then
35967 eval "$as_ac_var=yes"
35968 else
35969 echo "$as_me: failed program was:" >&5
35970 sed 's/^/| /' conftest.$ac_ext >&5
35971
35972 eval "$as_ac_var=no"
35973 fi
35974 rm -f conftest.err conftest.$ac_objext \
35975 conftest$ac_exeext conftest.$ac_ext
35976 fi
35977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35979 if test `eval echo '${'$as_ac_var'}'` = yes; then
35980 cat >>confdefs.h <<_ACEOF
35981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35982 _ACEOF
35983
35984 fi
35985 done
35986
35987
35988
35989
35990 for ac_func in putenv setenv
35991 do
35992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35993 echo "$as_me:$LINENO: checking for $ac_func" >&5
35994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35995 if eval "test \"\${$as_ac_var+set}\" = set"; then
35996 echo $ECHO_N "(cached) $ECHO_C" >&6
35997 else
35998 cat >conftest.$ac_ext <<_ACEOF
35999 /* confdefs.h. */
36000 _ACEOF
36001 cat confdefs.h >>conftest.$ac_ext
36002 cat >>conftest.$ac_ext <<_ACEOF
36003 /* end confdefs.h. */
36004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36006 #define $ac_func innocuous_$ac_func
36007
36008 /* System header to define __stub macros and hopefully few prototypes,
36009 which can conflict with char $ac_func (); below.
36010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36011 <limits.h> exists even on freestanding compilers. */
36012
36013 #ifdef __STDC__
36014 # include <limits.h>
36015 #else
36016 # include <assert.h>
36017 #endif
36018
36019 #undef $ac_func
36020
36021 /* Override any gcc2 internal prototype to avoid an error. */
36022 #ifdef __cplusplus
36023 extern "C"
36024 {
36025 #endif
36026 /* We use char because int might match the return type of a gcc2
36027 builtin and then its argument prototype would still apply. */
36028 char $ac_func ();
36029 /* The GNU C library defines this for functions which it implements
36030 to always fail with ENOSYS. Some functions are actually named
36031 something starting with __ and the normal name is an alias. */
36032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36033 choke me
36034 #else
36035 char (*f) () = $ac_func;
36036 #endif
36037 #ifdef __cplusplus
36038 }
36039 #endif
36040
36041 int
36042 main ()
36043 {
36044 return f != $ac_func;
36045 ;
36046 return 0;
36047 }
36048 _ACEOF
36049 rm -f conftest.$ac_objext conftest$ac_exeext
36050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36051 (eval $ac_link) 2>conftest.er1
36052 ac_status=$?
36053 grep -v '^ *+' conftest.er1 >conftest.err
36054 rm -f conftest.er1
36055 cat conftest.err >&5
36056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36057 (exit $ac_status); } &&
36058 { ac_try='test -z "$ac_c_werror_flag"
36059 || test ! -s conftest.err'
36060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36061 (eval $ac_try) 2>&5
36062 ac_status=$?
36063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36064 (exit $ac_status); }; } &&
36065 { ac_try='test -s conftest$ac_exeext'
36066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36067 (eval $ac_try) 2>&5
36068 ac_status=$?
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); }; }; then
36071 eval "$as_ac_var=yes"
36072 else
36073 echo "$as_me: failed program was:" >&5
36074 sed 's/^/| /' conftest.$ac_ext >&5
36075
36076 eval "$as_ac_var=no"
36077 fi
36078 rm -f conftest.err conftest.$ac_objext \
36079 conftest$ac_exeext conftest.$ac_ext
36080 fi
36081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36083 if test `eval echo '${'$as_ac_var'}'` = yes; then
36084 cat >>confdefs.h <<_ACEOF
36085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36086 _ACEOF
36087 break
36088 fi
36089 done
36090
36091
36092 HAVE_SOME_SLEEP_FUNC=0
36093 if test "$USE_BEOS" = 1; then
36094 cat >>confdefs.h <<\_ACEOF
36095 #define HAVE_SLEEP 1
36096 _ACEOF
36097
36098 HAVE_SOME_SLEEP_FUNC=1
36099 fi
36100
36101 if test "$USE_DARWIN" = 1; then
36102 cat >>confdefs.h <<\_ACEOF
36103 #define HAVE_USLEEP 1
36104 _ACEOF
36105
36106 HAVE_SOME_SLEEP_FUNC=1
36107 fi
36108
36109 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36110 POSIX4_LINK=
36111
36112 for ac_func in nanosleep
36113 do
36114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36115 echo "$as_me:$LINENO: checking for $ac_func" >&5
36116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36117 if eval "test \"\${$as_ac_var+set}\" = set"; then
36118 echo $ECHO_N "(cached) $ECHO_C" >&6
36119 else
36120 cat >conftest.$ac_ext <<_ACEOF
36121 /* confdefs.h. */
36122 _ACEOF
36123 cat confdefs.h >>conftest.$ac_ext
36124 cat >>conftest.$ac_ext <<_ACEOF
36125 /* end confdefs.h. */
36126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36128 #define $ac_func innocuous_$ac_func
36129
36130 /* System header to define __stub macros and hopefully few prototypes,
36131 which can conflict with char $ac_func (); below.
36132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36133 <limits.h> exists even on freestanding compilers. */
36134
36135 #ifdef __STDC__
36136 # include <limits.h>
36137 #else
36138 # include <assert.h>
36139 #endif
36140
36141 #undef $ac_func
36142
36143 /* Override any gcc2 internal prototype to avoid an error. */
36144 #ifdef __cplusplus
36145 extern "C"
36146 {
36147 #endif
36148 /* We use char because int might match the return type of a gcc2
36149 builtin and then its argument prototype would still apply. */
36150 char $ac_func ();
36151 /* The GNU C library defines this for functions which it implements
36152 to always fail with ENOSYS. Some functions are actually named
36153 something starting with __ and the normal name is an alias. */
36154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36155 choke me
36156 #else
36157 char (*f) () = $ac_func;
36158 #endif
36159 #ifdef __cplusplus
36160 }
36161 #endif
36162
36163 int
36164 main ()
36165 {
36166 return f != $ac_func;
36167 ;
36168 return 0;
36169 }
36170 _ACEOF
36171 rm -f conftest.$ac_objext conftest$ac_exeext
36172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36173 (eval $ac_link) 2>conftest.er1
36174 ac_status=$?
36175 grep -v '^ *+' conftest.er1 >conftest.err
36176 rm -f conftest.er1
36177 cat conftest.err >&5
36178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179 (exit $ac_status); } &&
36180 { ac_try='test -z "$ac_c_werror_flag"
36181 || test ! -s conftest.err'
36182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36183 (eval $ac_try) 2>&5
36184 ac_status=$?
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); }; } &&
36187 { ac_try='test -s conftest$ac_exeext'
36188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36189 (eval $ac_try) 2>&5
36190 ac_status=$?
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); }; }; then
36193 eval "$as_ac_var=yes"
36194 else
36195 echo "$as_me: failed program was:" >&5
36196 sed 's/^/| /' conftest.$ac_ext >&5
36197
36198 eval "$as_ac_var=no"
36199 fi
36200 rm -f conftest.err conftest.$ac_objext \
36201 conftest$ac_exeext conftest.$ac_ext
36202 fi
36203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36205 if test `eval echo '${'$as_ac_var'}'` = yes; then
36206 cat >>confdefs.h <<_ACEOF
36207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36208 _ACEOF
36209 cat >>confdefs.h <<\_ACEOF
36210 #define HAVE_NANOSLEEP 1
36211 _ACEOF
36212
36213 else
36214
36215 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36216 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36217 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36218 echo $ECHO_N "(cached) $ECHO_C" >&6
36219 else
36220 ac_check_lib_save_LIBS=$LIBS
36221 LIBS="-lposix4 $LIBS"
36222 cat >conftest.$ac_ext <<_ACEOF
36223 /* confdefs.h. */
36224 _ACEOF
36225 cat confdefs.h >>conftest.$ac_ext
36226 cat >>conftest.$ac_ext <<_ACEOF
36227 /* end confdefs.h. */
36228
36229 /* Override any gcc2 internal prototype to avoid an error. */
36230 #ifdef __cplusplus
36231 extern "C"
36232 #endif
36233 /* We use char because int might match the return type of a gcc2
36234 builtin and then its argument prototype would still apply. */
36235 char nanosleep ();
36236 int
36237 main ()
36238 {
36239 nanosleep ();
36240 ;
36241 return 0;
36242 }
36243 _ACEOF
36244 rm -f conftest.$ac_objext conftest$ac_exeext
36245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36246 (eval $ac_link) 2>conftest.er1
36247 ac_status=$?
36248 grep -v '^ *+' conftest.er1 >conftest.err
36249 rm -f conftest.er1
36250 cat conftest.err >&5
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); } &&
36253 { ac_try='test -z "$ac_c_werror_flag"
36254 || test ! -s conftest.err'
36255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36256 (eval $ac_try) 2>&5
36257 ac_status=$?
36258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36259 (exit $ac_status); }; } &&
36260 { ac_try='test -s conftest$ac_exeext'
36261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36262 (eval $ac_try) 2>&5
36263 ac_status=$?
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); }; }; then
36266 ac_cv_lib_posix4_nanosleep=yes
36267 else
36268 echo "$as_me: failed program was:" >&5
36269 sed 's/^/| /' conftest.$ac_ext >&5
36270
36271 ac_cv_lib_posix4_nanosleep=no
36272 fi
36273 rm -f conftest.err conftest.$ac_objext \
36274 conftest$ac_exeext conftest.$ac_ext
36275 LIBS=$ac_check_lib_save_LIBS
36276 fi
36277 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36278 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36279 if test $ac_cv_lib_posix4_nanosleep = yes; then
36280
36281 cat >>confdefs.h <<\_ACEOF
36282 #define HAVE_NANOSLEEP 1
36283 _ACEOF
36284
36285 POSIX4_LINK=" -lposix4"
36286
36287 else
36288
36289
36290 for wx_func in usleep
36291 do
36292 echo "$as_me:$LINENO: checking for $wx_func" >&5
36293 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36294 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36295 echo $ECHO_N "(cached) $ECHO_C" >&6
36296 else
36297
36298 cat >conftest.$ac_ext <<_ACEOF
36299
36300 /* confdefs.h. */
36301 _ACEOF
36302 cat confdefs.h >>conftest.$ac_ext
36303 cat >>conftest.$ac_ext <<_ACEOF
36304 /* end confdefs.h. */
36305
36306
36307 $ac_includes_default
36308
36309 int
36310 main ()
36311 {
36312
36313 #ifndef $wx_func
36314 &$wx_func;
36315 #endif
36316
36317
36318 ;
36319 return 0;
36320 }
36321
36322 _ACEOF
36323 rm -f conftest.$ac_objext conftest$ac_exeext
36324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36325 (eval $ac_link) 2>conftest.er1
36326 ac_status=$?
36327 grep -v '^ *+' conftest.er1 >conftest.err
36328 rm -f conftest.er1
36329 cat conftest.err >&5
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); } &&
36332 { ac_try='test -z "$ac_c_werror_flag"
36333 || test ! -s conftest.err'
36334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36335 (eval $ac_try) 2>&5
36336 ac_status=$?
36337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36338 (exit $ac_status); }; } &&
36339 { ac_try='test -s conftest$ac_exeext'
36340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36341 (eval $ac_try) 2>&5
36342 ac_status=$?
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); }; }; then
36345 eval wx_cv_func_$wx_func=yes
36346 else
36347 echo "$as_me: failed program was:" >&5
36348 sed 's/^/| /' conftest.$ac_ext >&5
36349
36350 eval wx_cv_func_$wx_func=no
36351 fi
36352 rm -f conftest.err conftest.$ac_objext \
36353 conftest$ac_exeext conftest.$ac_ext
36354
36355 fi
36356 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36357 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36358
36359 if eval test \$wx_cv_func_$wx_func = yes
36360 then
36361 cat >>confdefs.h <<_ACEOF
36362 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36363 _ACEOF
36364
36365
36366 else
36367 :
36368 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36369 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36370
36371 fi
36372 done
36373
36374
36375
36376 fi
36377
36378
36379
36380 fi
36381 done
36382
36383 fi
36384
36385
36386 for wx_func in uname
36387 do
36388 echo "$as_me:$LINENO: checking for $wx_func" >&5
36389 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36390 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36391 echo $ECHO_N "(cached) $ECHO_C" >&6
36392 else
36393
36394 cat >conftest.$ac_ext <<_ACEOF
36395
36396 /* confdefs.h. */
36397 _ACEOF
36398 cat confdefs.h >>conftest.$ac_ext
36399 cat >>conftest.$ac_ext <<_ACEOF
36400 /* end confdefs.h. */
36401
36402 #include <sys/utsname.h>
36403 $ac_includes_default
36404
36405 int
36406 main ()
36407 {
36408
36409 #ifndef $wx_func
36410 &$wx_func;
36411 #endif
36412
36413
36414 ;
36415 return 0;
36416 }
36417
36418 _ACEOF
36419 rm -f conftest.$ac_objext conftest$ac_exeext
36420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36421 (eval $ac_link) 2>conftest.er1
36422 ac_status=$?
36423 grep -v '^ *+' conftest.er1 >conftest.err
36424 rm -f conftest.er1
36425 cat conftest.err >&5
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); } &&
36428 { ac_try='test -z "$ac_c_werror_flag"
36429 || test ! -s conftest.err'
36430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36431 (eval $ac_try) 2>&5
36432 ac_status=$?
36433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434 (exit $ac_status); }; } &&
36435 { ac_try='test -s conftest$ac_exeext'
36436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36437 (eval $ac_try) 2>&5
36438 ac_status=$?
36439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36440 (exit $ac_status); }; }; then
36441 eval wx_cv_func_$wx_func=yes
36442 else
36443 echo "$as_me: failed program was:" >&5
36444 sed 's/^/| /' conftest.$ac_ext >&5
36445
36446 eval wx_cv_func_$wx_func=no
36447 fi
36448 rm -f conftest.err conftest.$ac_objext \
36449 conftest$ac_exeext conftest.$ac_ext
36450
36451 fi
36452 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36453 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36454
36455 if eval test \$wx_cv_func_$wx_func = yes
36456 then
36457 cat >>confdefs.h <<_ACEOF
36458 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36459 _ACEOF
36460
36461
36462 else
36463 :
36464
36465 fi
36466 done
36467
36468 if test "$wx_cv_func_uname" != yes; then
36469
36470 for wx_func in gethostname
36471 do
36472 echo "$as_me:$LINENO: checking for $wx_func" >&5
36473 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36474 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36475 echo $ECHO_N "(cached) $ECHO_C" >&6
36476 else
36477
36478 cat >conftest.$ac_ext <<_ACEOF
36479
36480 /* confdefs.h. */
36481 _ACEOF
36482 cat confdefs.h >>conftest.$ac_ext
36483 cat >>conftest.$ac_ext <<_ACEOF
36484 /* end confdefs.h. */
36485
36486
36487 $ac_includes_default
36488
36489 int
36490 main ()
36491 {
36492
36493 #ifndef $wx_func
36494 &$wx_func;
36495 #endif
36496
36497
36498 ;
36499 return 0;
36500 }
36501
36502 _ACEOF
36503 rm -f conftest.$ac_objext conftest$ac_exeext
36504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36505 (eval $ac_link) 2>conftest.er1
36506 ac_status=$?
36507 grep -v '^ *+' conftest.er1 >conftest.err
36508 rm -f conftest.er1
36509 cat conftest.err >&5
36510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36511 (exit $ac_status); } &&
36512 { ac_try='test -z "$ac_c_werror_flag"
36513 || test ! -s conftest.err'
36514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36515 (eval $ac_try) 2>&5
36516 ac_status=$?
36517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36518 (exit $ac_status); }; } &&
36519 { ac_try='test -s conftest$ac_exeext'
36520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36521 (eval $ac_try) 2>&5
36522 ac_status=$?
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); }; }; then
36525 eval wx_cv_func_$wx_func=yes
36526 else
36527 echo "$as_me: failed program was:" >&5
36528 sed 's/^/| /' conftest.$ac_ext >&5
36529
36530 eval wx_cv_func_$wx_func=no
36531 fi
36532 rm -f conftest.err conftest.$ac_objext \
36533 conftest$ac_exeext conftest.$ac_ext
36534
36535 fi
36536 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36537 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36538
36539 if eval test \$wx_cv_func_$wx_func = yes
36540 then
36541 cat >>confdefs.h <<_ACEOF
36542 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36543 _ACEOF
36544
36545
36546 else
36547 :
36548
36549 fi
36550 done
36551
36552 fi
36553
36554
36555 for wx_func in strtok_r
36556 do
36557 echo "$as_me:$LINENO: checking for $wx_func" >&5
36558 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36559 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36560 echo $ECHO_N "(cached) $ECHO_C" >&6
36561 else
36562
36563 cat >conftest.$ac_ext <<_ACEOF
36564
36565 /* confdefs.h. */
36566 _ACEOF
36567 cat confdefs.h >>conftest.$ac_ext
36568 cat >>conftest.$ac_ext <<_ACEOF
36569 /* end confdefs.h. */
36570
36571 #define _REENTRANT
36572 $ac_includes_default
36573
36574 int
36575 main ()
36576 {
36577
36578 #ifndef $wx_func
36579 &$wx_func;
36580 #endif
36581
36582
36583 ;
36584 return 0;
36585 }
36586
36587 _ACEOF
36588 rm -f conftest.$ac_objext conftest$ac_exeext
36589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36590 (eval $ac_link) 2>conftest.er1
36591 ac_status=$?
36592 grep -v '^ *+' conftest.er1 >conftest.err
36593 rm -f conftest.er1
36594 cat conftest.err >&5
36595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36596 (exit $ac_status); } &&
36597 { ac_try='test -z "$ac_c_werror_flag"
36598 || test ! -s conftest.err'
36599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36600 (eval $ac_try) 2>&5
36601 ac_status=$?
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); }; } &&
36604 { ac_try='test -s conftest$ac_exeext'
36605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36606 (eval $ac_try) 2>&5
36607 ac_status=$?
36608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36609 (exit $ac_status); }; }; then
36610 eval wx_cv_func_$wx_func=yes
36611 else
36612 echo "$as_me: failed program was:" >&5
36613 sed 's/^/| /' conftest.$ac_ext >&5
36614
36615 eval wx_cv_func_$wx_func=no
36616 fi
36617 rm -f conftest.err conftest.$ac_objext \
36618 conftest$ac_exeext conftest.$ac_ext
36619
36620 fi
36621 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36622 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36623
36624 if eval test \$wx_cv_func_$wx_func = yes
36625 then
36626 cat >>confdefs.h <<_ACEOF
36627 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36628 _ACEOF
36629
36630
36631 else
36632 :
36633
36634 fi
36635 done
36636
36637
36638 INET_LINK=
36639
36640 for ac_func in inet_addr
36641 do
36642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36643 echo "$as_me:$LINENO: checking for $ac_func" >&5
36644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36645 if eval "test \"\${$as_ac_var+set}\" = set"; then
36646 echo $ECHO_N "(cached) $ECHO_C" >&6
36647 else
36648 cat >conftest.$ac_ext <<_ACEOF
36649 /* confdefs.h. */
36650 _ACEOF
36651 cat confdefs.h >>conftest.$ac_ext
36652 cat >>conftest.$ac_ext <<_ACEOF
36653 /* end confdefs.h. */
36654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36656 #define $ac_func innocuous_$ac_func
36657
36658 /* System header to define __stub macros and hopefully few prototypes,
36659 which can conflict with char $ac_func (); below.
36660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36661 <limits.h> exists even on freestanding compilers. */
36662
36663 #ifdef __STDC__
36664 # include <limits.h>
36665 #else
36666 # include <assert.h>
36667 #endif
36668
36669 #undef $ac_func
36670
36671 /* Override any gcc2 internal prototype to avoid an error. */
36672 #ifdef __cplusplus
36673 extern "C"
36674 {
36675 #endif
36676 /* We use char because int might match the return type of a gcc2
36677 builtin and then its argument prototype would still apply. */
36678 char $ac_func ();
36679 /* The GNU C library defines this for functions which it implements
36680 to always fail with ENOSYS. Some functions are actually named
36681 something starting with __ and the normal name is an alias. */
36682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36683 choke me
36684 #else
36685 char (*f) () = $ac_func;
36686 #endif
36687 #ifdef __cplusplus
36688 }
36689 #endif
36690
36691 int
36692 main ()
36693 {
36694 return f != $ac_func;
36695 ;
36696 return 0;
36697 }
36698 _ACEOF
36699 rm -f conftest.$ac_objext conftest$ac_exeext
36700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36701 (eval $ac_link) 2>conftest.er1
36702 ac_status=$?
36703 grep -v '^ *+' conftest.er1 >conftest.err
36704 rm -f conftest.er1
36705 cat conftest.err >&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); } &&
36708 { ac_try='test -z "$ac_c_werror_flag"
36709 || test ! -s conftest.err'
36710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36711 (eval $ac_try) 2>&5
36712 ac_status=$?
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); }; } &&
36715 { ac_try='test -s conftest$ac_exeext'
36716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36717 (eval $ac_try) 2>&5
36718 ac_status=$?
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); }; }; then
36721 eval "$as_ac_var=yes"
36722 else
36723 echo "$as_me: failed program was:" >&5
36724 sed 's/^/| /' conftest.$ac_ext >&5
36725
36726 eval "$as_ac_var=no"
36727 fi
36728 rm -f conftest.err conftest.$ac_objext \
36729 conftest$ac_exeext conftest.$ac_ext
36730 fi
36731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36733 if test `eval echo '${'$as_ac_var'}'` = yes; then
36734 cat >>confdefs.h <<_ACEOF
36735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36736 _ACEOF
36737 cat >>confdefs.h <<\_ACEOF
36738 #define HAVE_INET_ADDR 1
36739 _ACEOF
36740
36741 else
36742
36743 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36744 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36745 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36746 echo $ECHO_N "(cached) $ECHO_C" >&6
36747 else
36748 ac_check_lib_save_LIBS=$LIBS
36749 LIBS="-lnsl $LIBS"
36750 cat >conftest.$ac_ext <<_ACEOF
36751 /* confdefs.h. */
36752 _ACEOF
36753 cat confdefs.h >>conftest.$ac_ext
36754 cat >>conftest.$ac_ext <<_ACEOF
36755 /* end confdefs.h. */
36756
36757 /* Override any gcc2 internal prototype to avoid an error. */
36758 #ifdef __cplusplus
36759 extern "C"
36760 #endif
36761 /* We use char because int might match the return type of a gcc2
36762 builtin and then its argument prototype would still apply. */
36763 char inet_addr ();
36764 int
36765 main ()
36766 {
36767 inet_addr ();
36768 ;
36769 return 0;
36770 }
36771 _ACEOF
36772 rm -f conftest.$ac_objext conftest$ac_exeext
36773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36774 (eval $ac_link) 2>conftest.er1
36775 ac_status=$?
36776 grep -v '^ *+' conftest.er1 >conftest.err
36777 rm -f conftest.er1
36778 cat conftest.err >&5
36779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36780 (exit $ac_status); } &&
36781 { ac_try='test -z "$ac_c_werror_flag"
36782 || test ! -s conftest.err'
36783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36784 (eval $ac_try) 2>&5
36785 ac_status=$?
36786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36787 (exit $ac_status); }; } &&
36788 { ac_try='test -s conftest$ac_exeext'
36789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36790 (eval $ac_try) 2>&5
36791 ac_status=$?
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); }; }; then
36794 ac_cv_lib_nsl_inet_addr=yes
36795 else
36796 echo "$as_me: failed program was:" >&5
36797 sed 's/^/| /' conftest.$ac_ext >&5
36798
36799 ac_cv_lib_nsl_inet_addr=no
36800 fi
36801 rm -f conftest.err conftest.$ac_objext \
36802 conftest$ac_exeext conftest.$ac_ext
36803 LIBS=$ac_check_lib_save_LIBS
36804 fi
36805 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36806 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36807 if test $ac_cv_lib_nsl_inet_addr = yes; then
36808 INET_LINK="nsl"
36809 else
36810
36811 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36812 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36813 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36814 echo $ECHO_N "(cached) $ECHO_C" >&6
36815 else
36816 ac_check_lib_save_LIBS=$LIBS
36817 LIBS="-lresolv $LIBS"
36818 cat >conftest.$ac_ext <<_ACEOF
36819 /* confdefs.h. */
36820 _ACEOF
36821 cat confdefs.h >>conftest.$ac_ext
36822 cat >>conftest.$ac_ext <<_ACEOF
36823 /* end confdefs.h. */
36824
36825 /* Override any gcc2 internal prototype to avoid an error. */
36826 #ifdef __cplusplus
36827 extern "C"
36828 #endif
36829 /* We use char because int might match the return type of a gcc2
36830 builtin and then its argument prototype would still apply. */
36831 char inet_addr ();
36832 int
36833 main ()
36834 {
36835 inet_addr ();
36836 ;
36837 return 0;
36838 }
36839 _ACEOF
36840 rm -f conftest.$ac_objext conftest$ac_exeext
36841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36842 (eval $ac_link) 2>conftest.er1
36843 ac_status=$?
36844 grep -v '^ *+' conftest.er1 >conftest.err
36845 rm -f conftest.er1
36846 cat conftest.err >&5
36847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848 (exit $ac_status); } &&
36849 { ac_try='test -z "$ac_c_werror_flag"
36850 || test ! -s conftest.err'
36851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36852 (eval $ac_try) 2>&5
36853 ac_status=$?
36854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855 (exit $ac_status); }; } &&
36856 { ac_try='test -s conftest$ac_exeext'
36857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36858 (eval $ac_try) 2>&5
36859 ac_status=$?
36860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36861 (exit $ac_status); }; }; then
36862 ac_cv_lib_resolv_inet_addr=yes
36863 else
36864 echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.$ac_ext >&5
36866
36867 ac_cv_lib_resolv_inet_addr=no
36868 fi
36869 rm -f conftest.err conftest.$ac_objext \
36870 conftest$ac_exeext conftest.$ac_ext
36871 LIBS=$ac_check_lib_save_LIBS
36872 fi
36873 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36874 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36875 if test $ac_cv_lib_resolv_inet_addr = yes; then
36876 INET_LINK="resolv"
36877 else
36878
36879 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36880 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36881 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36882 echo $ECHO_N "(cached) $ECHO_C" >&6
36883 else
36884 ac_check_lib_save_LIBS=$LIBS
36885 LIBS="-lsocket $LIBS"
36886 cat >conftest.$ac_ext <<_ACEOF
36887 /* confdefs.h. */
36888 _ACEOF
36889 cat confdefs.h >>conftest.$ac_ext
36890 cat >>conftest.$ac_ext <<_ACEOF
36891 /* end confdefs.h. */
36892
36893 /* Override any gcc2 internal prototype to avoid an error. */
36894 #ifdef __cplusplus
36895 extern "C"
36896 #endif
36897 /* We use char because int might match the return type of a gcc2
36898 builtin and then its argument prototype would still apply. */
36899 char inet_addr ();
36900 int
36901 main ()
36902 {
36903 inet_addr ();
36904 ;
36905 return 0;
36906 }
36907 _ACEOF
36908 rm -f conftest.$ac_objext conftest$ac_exeext
36909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36910 (eval $ac_link) 2>conftest.er1
36911 ac_status=$?
36912 grep -v '^ *+' conftest.er1 >conftest.err
36913 rm -f conftest.er1
36914 cat conftest.err >&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } &&
36917 { ac_try='test -z "$ac_c_werror_flag"
36918 || test ! -s conftest.err'
36919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36920 (eval $ac_try) 2>&5
36921 ac_status=$?
36922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36923 (exit $ac_status); }; } &&
36924 { ac_try='test -s conftest$ac_exeext'
36925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36926 (eval $ac_try) 2>&5
36927 ac_status=$?
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); }; }; then
36930 ac_cv_lib_socket_inet_addr=yes
36931 else
36932 echo "$as_me: failed program was:" >&5
36933 sed 's/^/| /' conftest.$ac_ext >&5
36934
36935 ac_cv_lib_socket_inet_addr=no
36936 fi
36937 rm -f conftest.err conftest.$ac_objext \
36938 conftest$ac_exeext conftest.$ac_ext
36939 LIBS=$ac_check_lib_save_LIBS
36940 fi
36941 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36942 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36943 if test $ac_cv_lib_socket_inet_addr = yes; then
36944 INET_LINK="socket"
36945
36946 fi
36947
36948
36949
36950 fi
36951
36952
36953
36954 fi
36955
36956
36957
36958 fi
36959 done
36960
36961
36962
36963 for ac_func in inet_aton
36964 do
36965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36966 echo "$as_me:$LINENO: checking for $ac_func" >&5
36967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36968 if eval "test \"\${$as_ac_var+set}\" = set"; then
36969 echo $ECHO_N "(cached) $ECHO_C" >&6
36970 else
36971 cat >conftest.$ac_ext <<_ACEOF
36972 /* confdefs.h. */
36973 _ACEOF
36974 cat confdefs.h >>conftest.$ac_ext
36975 cat >>conftest.$ac_ext <<_ACEOF
36976 /* end confdefs.h. */
36977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36979 #define $ac_func innocuous_$ac_func
36980
36981 /* System header to define __stub macros and hopefully few prototypes,
36982 which can conflict with char $ac_func (); below.
36983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36984 <limits.h> exists even on freestanding compilers. */
36985
36986 #ifdef __STDC__
36987 # include <limits.h>
36988 #else
36989 # include <assert.h>
36990 #endif
36991
36992 #undef $ac_func
36993
36994 /* Override any gcc2 internal prototype to avoid an error. */
36995 #ifdef __cplusplus
36996 extern "C"
36997 {
36998 #endif
36999 /* We use char because int might match the return type of a gcc2
37000 builtin and then its argument prototype would still apply. */
37001 char $ac_func ();
37002 /* The GNU C library defines this for functions which it implements
37003 to always fail with ENOSYS. Some functions are actually named
37004 something starting with __ and the normal name is an alias. */
37005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37006 choke me
37007 #else
37008 char (*f) () = $ac_func;
37009 #endif
37010 #ifdef __cplusplus
37011 }
37012 #endif
37013
37014 int
37015 main ()
37016 {
37017 return f != $ac_func;
37018 ;
37019 return 0;
37020 }
37021 _ACEOF
37022 rm -f conftest.$ac_objext conftest$ac_exeext
37023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37024 (eval $ac_link) 2>conftest.er1
37025 ac_status=$?
37026 grep -v '^ *+' conftest.er1 >conftest.err
37027 rm -f conftest.er1
37028 cat conftest.err >&5
37029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37030 (exit $ac_status); } &&
37031 { ac_try='test -z "$ac_c_werror_flag"
37032 || test ! -s conftest.err'
37033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37034 (eval $ac_try) 2>&5
37035 ac_status=$?
37036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037 (exit $ac_status); }; } &&
37038 { ac_try='test -s conftest$ac_exeext'
37039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37040 (eval $ac_try) 2>&5
37041 ac_status=$?
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); }; }; then
37044 eval "$as_ac_var=yes"
37045 else
37046 echo "$as_me: failed program was:" >&5
37047 sed 's/^/| /' conftest.$ac_ext >&5
37048
37049 eval "$as_ac_var=no"
37050 fi
37051 rm -f conftest.err conftest.$ac_objext \
37052 conftest$ac_exeext conftest.$ac_ext
37053 fi
37054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37056 if test `eval echo '${'$as_ac_var'}'` = yes; then
37057 cat >>confdefs.h <<_ACEOF
37058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37059 _ACEOF
37060 cat >>confdefs.h <<\_ACEOF
37061 #define HAVE_INET_ATON 1
37062 _ACEOF
37063
37064 else
37065
37066 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37067 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37068 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37069 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37070 echo $ECHO_N "(cached) $ECHO_C" >&6
37071 else
37072 ac_check_lib_save_LIBS=$LIBS
37073 LIBS="-l$INET_LINK $LIBS"
37074 cat >conftest.$ac_ext <<_ACEOF
37075 /* confdefs.h. */
37076 _ACEOF
37077 cat confdefs.h >>conftest.$ac_ext
37078 cat >>conftest.$ac_ext <<_ACEOF
37079 /* end confdefs.h. */
37080
37081 /* Override any gcc2 internal prototype to avoid an error. */
37082 #ifdef __cplusplus
37083 extern "C"
37084 #endif
37085 /* We use char because int might match the return type of a gcc2
37086 builtin and then its argument prototype would still apply. */
37087 char inet_aton ();
37088 int
37089 main ()
37090 {
37091 inet_aton ();
37092 ;
37093 return 0;
37094 }
37095 _ACEOF
37096 rm -f conftest.$ac_objext conftest$ac_exeext
37097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37098 (eval $ac_link) 2>conftest.er1
37099 ac_status=$?
37100 grep -v '^ *+' conftest.er1 >conftest.err
37101 rm -f conftest.er1
37102 cat conftest.err >&5
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); } &&
37105 { ac_try='test -z "$ac_c_werror_flag"
37106 || test ! -s conftest.err'
37107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37108 (eval $ac_try) 2>&5
37109 ac_status=$?
37110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37111 (exit $ac_status); }; } &&
37112 { ac_try='test -s conftest$ac_exeext'
37113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37114 (eval $ac_try) 2>&5
37115 ac_status=$?
37116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37117 (exit $ac_status); }; }; then
37118 eval "$as_ac_Lib=yes"
37119 else
37120 echo "$as_me: failed program was:" >&5
37121 sed 's/^/| /' conftest.$ac_ext >&5
37122
37123 eval "$as_ac_Lib=no"
37124 fi
37125 rm -f conftest.err conftest.$ac_objext \
37126 conftest$ac_exeext conftest.$ac_ext
37127 LIBS=$ac_check_lib_save_LIBS
37128 fi
37129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37130 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37131 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37132 cat >>confdefs.h <<\_ACEOF
37133 #define HAVE_INET_ATON 1
37134 _ACEOF
37135
37136 fi
37137
37138
37139 fi
37140 done
37141
37142
37143 if test "x$INET_LINK" != "x"; then
37144 cat >>confdefs.h <<\_ACEOF
37145 #define HAVE_INET_ADDR 1
37146 _ACEOF
37147
37148 INET_LINK=" -l$INET_LINK"
37149 fi
37150
37151
37152 for wx_func in fdopen
37153 do
37154 echo "$as_me:$LINENO: checking for $wx_func" >&5
37155 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37156 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37157 echo $ECHO_N "(cached) $ECHO_C" >&6
37158 else
37159
37160 cat >conftest.$ac_ext <<_ACEOF
37161
37162 /* confdefs.h. */
37163 _ACEOF
37164 cat confdefs.h >>conftest.$ac_ext
37165 cat >>conftest.$ac_ext <<_ACEOF
37166 /* end confdefs.h. */
37167
37168
37169 $ac_includes_default
37170
37171 int
37172 main ()
37173 {
37174
37175 #ifndef $wx_func
37176 &$wx_func;
37177 #endif
37178
37179
37180 ;
37181 return 0;
37182 }
37183
37184 _ACEOF
37185 rm -f conftest.$ac_objext conftest$ac_exeext
37186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37187 (eval $ac_link) 2>conftest.er1
37188 ac_status=$?
37189 grep -v '^ *+' conftest.er1 >conftest.err
37190 rm -f conftest.er1
37191 cat conftest.err >&5
37192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37193 (exit $ac_status); } &&
37194 { ac_try='test -z "$ac_c_werror_flag"
37195 || test ! -s conftest.err'
37196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37197 (eval $ac_try) 2>&5
37198 ac_status=$?
37199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200 (exit $ac_status); }; } &&
37201 { ac_try='test -s conftest$ac_exeext'
37202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37203 (eval $ac_try) 2>&5
37204 ac_status=$?
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); }; }; then
37207 eval wx_cv_func_$wx_func=yes
37208 else
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.$ac_ext >&5
37211
37212 eval wx_cv_func_$wx_func=no
37213 fi
37214 rm -f conftest.err conftest.$ac_objext \
37215 conftest$ac_exeext conftest.$ac_ext
37216
37217 fi
37218 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37219 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37220
37221 if eval test \$wx_cv_func_$wx_func = yes
37222 then
37223 cat >>confdefs.h <<_ACEOF
37224 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37225 _ACEOF
37226
37227
37228 else
37229 :
37230
37231 fi
37232 done
37233
37234
37235 fi
37236
37237
37238
37239 cat >confcache <<\_ACEOF
37240 # This file is a shell script that caches the results of configure
37241 # tests run on this system so they can be shared between configure
37242 # scripts and configure runs, see configure's option --config-cache.
37243 # It is not useful on other systems. If it contains results you don't
37244 # want to keep, you may remove or edit it.
37245 #
37246 # config.status only pays attention to the cache file if you give it
37247 # the --recheck option to rerun configure.
37248 #
37249 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37250 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37251 # following values.
37252
37253 _ACEOF
37254
37255 # The following way of writing the cache mishandles newlines in values,
37256 # but we know of no workaround that is simple, portable, and efficient.
37257 # So, don't put newlines in cache variables' values.
37258 # Ultrix sh set writes to stderr and can't be redirected directly,
37259 # and sets the high bit in the cache file unless we assign to the vars.
37260 {
37261 (set) 2>&1 |
37262 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37263 *ac_space=\ *)
37264 # `set' does not quote correctly, so add quotes (double-quote
37265 # substitution turns \\\\ into \\, and sed turns \\ into \).
37266 sed -n \
37267 "s/'/'\\\\''/g;
37268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37269 ;;
37270 *)
37271 # `set' quotes correctly as required by POSIX, so do not add quotes.
37272 sed -n \
37273 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37274 ;;
37275 esac;
37276 } |
37277 sed '
37278 t clear
37279 : clear
37280 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37281 t end
37282 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37283 : end' >>confcache
37284 if diff $cache_file confcache >/dev/null 2>&1; then :; else
37285 if test -w $cache_file; then
37286 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37287 cat confcache >$cache_file
37288 else
37289 echo "not updating unwritable cache $cache_file"
37290 fi
37291 fi
37292 rm -f confcache
37293
37294
37295 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37296
37297
37298 THREADS_LINK=
37299 THREADS_CFLAGS=
37300
37301 if test "$wxUSE_THREADS" = "yes" ; then
37302 if test "$USE_BEOS" = 1; then
37303 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37304 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37305 wxUSE_THREADS="no"
37306 fi
37307 fi
37308
37309 if test "$wxUSE_THREADS" = "yes" ; then
37310
37311
37312 THREAD_OPTS="-pthread"
37313 case "${host}" in
37314 *-*-solaris2* | *-*-sunos4* )
37315 if test "x$GCC" = "xyes"; then
37316 THREAD_OPTS="-pthreads $THREAD_OPTS"
37317 else
37318 THREAD_OPTS="-mt $THREAD_OPTS"
37319 fi
37320 ;;
37321 *-*-freebsd*)
37322 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37323 ;;
37324 *-*-darwin* | *-*-cygwin* )
37325 THREAD_OPTS=""
37326 ;;
37327 *-*-aix*)
37328 THREAD_OPTS="pthreads"
37329 ;;
37330 *-hp-hpux* )
37331 if test "x$GCC" = "xyes"; then
37332 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37333 THREAD_OPTS=""
37334 else
37335 THREAD_OPTS="-mt"
37336 fi
37337 ;;
37338
37339 *-*-irix* )
37340 if test "x$GCC" = "xyes"; then
37341 THREAD_OPTS=""
37342 fi
37343 ;;
37344
37345 *-*-*UnixWare*)
37346 if test "x$GCC" != "xyes"; then
37347 THREAD_OPTS="-Ethread"
37348 fi
37349 ;;
37350 esac
37351
37352 THREAD_OPTS="$THREAD_OPTS pthread none"
37353
37354 THREADS_OK=no
37355 for flag in $THREAD_OPTS; do
37356 case $flag in
37357 none)
37358 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37359 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37360 ;;
37361
37362 -*)
37363 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37364 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37365 THREADS_CFLAGS="$flag"
37366 ;;
37367
37368 *)
37369 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37370 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37371 THREADS_LINK="-l$flag"
37372 ;;
37373 esac
37374
37375 save_LIBS="$LIBS"
37376 save_CFLAGS="$CFLAGS"
37377 LIBS="$THREADS_LINK $LIBS"
37378 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37379
37380 cat >conftest.$ac_ext <<_ACEOF
37381 /* confdefs.h. */
37382 _ACEOF
37383 cat confdefs.h >>conftest.$ac_ext
37384 cat >>conftest.$ac_ext <<_ACEOF
37385 /* end confdefs.h. */
37386 #include <pthread.h>
37387 int
37388 main ()
37389 {
37390 pthread_create(0,0,0,0);
37391 ;
37392 return 0;
37393 }
37394 _ACEOF
37395 rm -f conftest.$ac_objext conftest$ac_exeext
37396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37397 (eval $ac_link) 2>conftest.er1
37398 ac_status=$?
37399 grep -v '^ *+' conftest.er1 >conftest.err
37400 rm -f conftest.er1
37401 cat conftest.err >&5
37402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37403 (exit $ac_status); } &&
37404 { ac_try='test -z "$ac_c_werror_flag"
37405 || test ! -s conftest.err'
37406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37407 (eval $ac_try) 2>&5
37408 ac_status=$?
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); }; } &&
37411 { ac_try='test -s conftest$ac_exeext'
37412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37413 (eval $ac_try) 2>&5
37414 ac_status=$?
37415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37416 (exit $ac_status); }; }; then
37417 THREADS_OK=yes
37418 else
37419 echo "$as_me: failed program was:" >&5
37420 sed 's/^/| /' conftest.$ac_ext >&5
37421
37422 fi
37423 rm -f conftest.err conftest.$ac_objext \
37424 conftest$ac_exeext conftest.$ac_ext
37425
37426 LIBS="$save_LIBS"
37427 CFLAGS="$save_CFLAGS"
37428
37429 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37430 echo "${ECHO_T}$THREADS_OK" >&6
37431 if test "x$THREADS_OK" = "xyes"; then
37432 break;
37433 fi
37434
37435 THREADS_LINK=""
37436 THREADS_CFLAGS=""
37437 done
37438
37439 if test "x$THREADS_OK" != "xyes"; then
37440 wxUSE_THREADS=no
37441 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37442 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37443 else
37444 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37445 LIBS="$THREADS_LINK $LIBS"
37446
37447 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37448 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37449 flag=no
37450 case "${host}" in
37451 *-aix*)
37452 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37453 flag="-D_THREAD_SAFE"
37454 ;;
37455 *-freebsd*)
37456 flag="-D_THREAD_SAFE"
37457 ;;
37458 *-hp-hpux* )
37459 flag="-D_REENTRANT"
37460 if test "x$GCC" != "xyes"; then
37461 flag="$flag -D_RWSTD_MULTI_THREAD"
37462 fi
37463 ;;
37464 *solaris* | alpha*-osf*)
37465 flag="-D_REENTRANT"
37466 ;;
37467 esac
37468 echo "$as_me:$LINENO: result: ${flag}" >&5
37469 echo "${ECHO_T}${flag}" >&6
37470 if test "x$flag" != xno; then
37471 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37472 fi
37473
37474 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37475 fi
37476 fi
37477
37478 if test "$wxUSE_THREADS" = "yes" ; then
37479
37480 for ac_func in thr_setconcurrency
37481 do
37482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37483 echo "$as_me:$LINENO: checking for $ac_func" >&5
37484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37485 if eval "test \"\${$as_ac_var+set}\" = set"; then
37486 echo $ECHO_N "(cached) $ECHO_C" >&6
37487 else
37488 cat >conftest.$ac_ext <<_ACEOF
37489 /* confdefs.h. */
37490 _ACEOF
37491 cat confdefs.h >>conftest.$ac_ext
37492 cat >>conftest.$ac_ext <<_ACEOF
37493 /* end confdefs.h. */
37494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37496 #define $ac_func innocuous_$ac_func
37497
37498 /* System header to define __stub macros and hopefully few prototypes,
37499 which can conflict with char $ac_func (); below.
37500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37501 <limits.h> exists even on freestanding compilers. */
37502
37503 #ifdef __STDC__
37504 # include <limits.h>
37505 #else
37506 # include <assert.h>
37507 #endif
37508
37509 #undef $ac_func
37510
37511 /* Override any gcc2 internal prototype to avoid an error. */
37512 #ifdef __cplusplus
37513 extern "C"
37514 {
37515 #endif
37516 /* We use char because int might match the return type of a gcc2
37517 builtin and then its argument prototype would still apply. */
37518 char $ac_func ();
37519 /* The GNU C library defines this for functions which it implements
37520 to always fail with ENOSYS. Some functions are actually named
37521 something starting with __ and the normal name is an alias. */
37522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37523 choke me
37524 #else
37525 char (*f) () = $ac_func;
37526 #endif
37527 #ifdef __cplusplus
37528 }
37529 #endif
37530
37531 int
37532 main ()
37533 {
37534 return f != $ac_func;
37535 ;
37536 return 0;
37537 }
37538 _ACEOF
37539 rm -f conftest.$ac_objext conftest$ac_exeext
37540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37541 (eval $ac_link) 2>conftest.er1
37542 ac_status=$?
37543 grep -v '^ *+' conftest.er1 >conftest.err
37544 rm -f conftest.er1
37545 cat conftest.err >&5
37546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37547 (exit $ac_status); } &&
37548 { ac_try='test -z "$ac_c_werror_flag"
37549 || test ! -s conftest.err'
37550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37551 (eval $ac_try) 2>&5
37552 ac_status=$?
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); }; } &&
37555 { ac_try='test -s conftest$ac_exeext'
37556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37557 (eval $ac_try) 2>&5
37558 ac_status=$?
37559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37560 (exit $ac_status); }; }; then
37561 eval "$as_ac_var=yes"
37562 else
37563 echo "$as_me: failed program was:" >&5
37564 sed 's/^/| /' conftest.$ac_ext >&5
37565
37566 eval "$as_ac_var=no"
37567 fi
37568 rm -f conftest.err conftest.$ac_objext \
37569 conftest$ac_exeext conftest.$ac_ext
37570 fi
37571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37573 if test `eval echo '${'$as_ac_var'}'` = yes; then
37574 cat >>confdefs.h <<_ACEOF
37575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37576 _ACEOF
37577
37578 fi
37579 done
37580
37581
37582 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37583 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37584 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37586 else
37587
37588 cat >conftest.$ac_ext <<_ACEOF
37589 /* confdefs.h. */
37590 _ACEOF
37591 cat confdefs.h >>conftest.$ac_ext
37592 cat >>conftest.$ac_ext <<_ACEOF
37593 /* end confdefs.h. */
37594 #include <pthread.h>
37595 void ThreadCleanupFunc(void *p);
37596
37597 int
37598 main ()
37599 {
37600
37601 void *p;
37602 pthread_cleanup_push(ThreadCleanupFunc, p);
37603 pthread_cleanup_pop(0);
37604
37605 ;
37606 return 0;
37607 }
37608 _ACEOF
37609 rm -f conftest.$ac_objext
37610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37611 (eval $ac_compile) 2>conftest.er1
37612 ac_status=$?
37613 grep -v '^ *+' conftest.er1 >conftest.err
37614 rm -f conftest.er1
37615 cat conftest.err >&5
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); } &&
37618 { ac_try='test -z "$ac_c_werror_flag"
37619 || test ! -s conftest.err'
37620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37621 (eval $ac_try) 2>&5
37622 ac_status=$?
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); }; } &&
37625 { ac_try='test -s conftest.$ac_objext'
37626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37627 (eval $ac_try) 2>&5
37628 ac_status=$?
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); }; }; then
37631
37632 wx_cv_func_pthread_cleanup=yes
37633
37634 else
37635 echo "$as_me: failed program was:" >&5
37636 sed 's/^/| /' conftest.$ac_ext >&5
37637
37638
37639 wx_cv_func_pthread_cleanup=no
37640
37641
37642 fi
37643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37644
37645 fi
37646 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37647 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37648 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37649 cat >>confdefs.h <<\_ACEOF
37650 #define wxHAVE_PTHREAD_CLEANUP 1
37651 _ACEOF
37652
37653 fi
37654
37655 echo "$as_me:$LINENO: checking for sched.h" >&5
37656 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6
37657 if test "${ac_cv_header_sched_h+set}" = set; then
37658 echo $ECHO_N "(cached) $ECHO_C" >&6
37659 else
37660 cat >conftest.$ac_ext <<_ACEOF
37661 /* confdefs.h. */
37662 _ACEOF
37663 cat confdefs.h >>conftest.$ac_ext
37664 cat >>conftest.$ac_ext <<_ACEOF
37665 /* end confdefs.h. */
37666 $ac_includes_default
37667
37668 #include <sched.h>
37669 _ACEOF
37670 rm -f conftest.$ac_objext
37671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37672 (eval $ac_compile) 2>conftest.er1
37673 ac_status=$?
37674 grep -v '^ *+' conftest.er1 >conftest.err
37675 rm -f conftest.er1
37676 cat conftest.err >&5
37677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37678 (exit $ac_status); } &&
37679 { ac_try='test -z "$ac_c_werror_flag"
37680 || test ! -s conftest.err'
37681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37682 (eval $ac_try) 2>&5
37683 ac_status=$?
37684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37685 (exit $ac_status); }; } &&
37686 { ac_try='test -s conftest.$ac_objext'
37687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37688 (eval $ac_try) 2>&5
37689 ac_status=$?
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); }; }; then
37692 ac_cv_header_sched_h=yes
37693 else
37694 echo "$as_me: failed program was:" >&5
37695 sed 's/^/| /' conftest.$ac_ext >&5
37696
37697 ac_cv_header_sched_h=no
37698 fi
37699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37700 fi
37701 echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37702 echo "${ECHO_T}$ac_cv_header_sched_h" >&6
37703
37704
37705 if test "$ac_cv_header_sched_h" = "yes"; then
37706 echo "$as_me:$LINENO: checking for sched_yield" >&5
37707 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37708 if test "${ac_cv_func_sched_yield+set}" = set; then
37709 echo $ECHO_N "(cached) $ECHO_C" >&6
37710 else
37711 cat >conftest.$ac_ext <<_ACEOF
37712 /* confdefs.h. */
37713 _ACEOF
37714 cat confdefs.h >>conftest.$ac_ext
37715 cat >>conftest.$ac_ext <<_ACEOF
37716 /* end confdefs.h. */
37717 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37719 #define sched_yield innocuous_sched_yield
37720
37721 /* System header to define __stub macros and hopefully few prototypes,
37722 which can conflict with char sched_yield (); below.
37723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37724 <limits.h> exists even on freestanding compilers. */
37725
37726 #ifdef __STDC__
37727 # include <limits.h>
37728 #else
37729 # include <assert.h>
37730 #endif
37731
37732 #undef sched_yield
37733
37734 /* Override any gcc2 internal prototype to avoid an error. */
37735 #ifdef __cplusplus
37736 extern "C"
37737 {
37738 #endif
37739 /* We use char because int might match the return type of a gcc2
37740 builtin and then its argument prototype would still apply. */
37741 char sched_yield ();
37742 /* The GNU C library defines this for functions which it implements
37743 to always fail with ENOSYS. Some functions are actually named
37744 something starting with __ and the normal name is an alias. */
37745 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37746 choke me
37747 #else
37748 char (*f) () = sched_yield;
37749 #endif
37750 #ifdef __cplusplus
37751 }
37752 #endif
37753
37754 int
37755 main ()
37756 {
37757 return f != sched_yield;
37758 ;
37759 return 0;
37760 }
37761 _ACEOF
37762 rm -f conftest.$ac_objext conftest$ac_exeext
37763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37764 (eval $ac_link) 2>conftest.er1
37765 ac_status=$?
37766 grep -v '^ *+' conftest.er1 >conftest.err
37767 rm -f conftest.er1
37768 cat conftest.err >&5
37769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37770 (exit $ac_status); } &&
37771 { ac_try='test -z "$ac_c_werror_flag"
37772 || test ! -s conftest.err'
37773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37774 (eval $ac_try) 2>&5
37775 ac_status=$?
37776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37777 (exit $ac_status); }; } &&
37778 { ac_try='test -s conftest$ac_exeext'
37779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37780 (eval $ac_try) 2>&5
37781 ac_status=$?
37782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37783 (exit $ac_status); }; }; then
37784 ac_cv_func_sched_yield=yes
37785 else
37786 echo "$as_me: failed program was:" >&5
37787 sed 's/^/| /' conftest.$ac_ext >&5
37788
37789 ac_cv_func_sched_yield=no
37790 fi
37791 rm -f conftest.err conftest.$ac_objext \
37792 conftest$ac_exeext conftest.$ac_ext
37793 fi
37794 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37795 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37796 if test $ac_cv_func_sched_yield = yes; then
37797 cat >>confdefs.h <<\_ACEOF
37798 #define HAVE_SCHED_YIELD 1
37799 _ACEOF
37800
37801 else
37802
37803 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37804 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37805 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37806 echo $ECHO_N "(cached) $ECHO_C" >&6
37807 else
37808 ac_check_lib_save_LIBS=$LIBS
37809 LIBS="-lposix4 $LIBS"
37810 cat >conftest.$ac_ext <<_ACEOF
37811 /* confdefs.h. */
37812 _ACEOF
37813 cat confdefs.h >>conftest.$ac_ext
37814 cat >>conftest.$ac_ext <<_ACEOF
37815 /* end confdefs.h. */
37816
37817 /* Override any gcc2 internal prototype to avoid an error. */
37818 #ifdef __cplusplus
37819 extern "C"
37820 #endif
37821 /* We use char because int might match the return type of a gcc2
37822 builtin and then its argument prototype would still apply. */
37823 char sched_yield ();
37824 int
37825 main ()
37826 {
37827 sched_yield ();
37828 ;
37829 return 0;
37830 }
37831 _ACEOF
37832 rm -f conftest.$ac_objext conftest$ac_exeext
37833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37834 (eval $ac_link) 2>conftest.er1
37835 ac_status=$?
37836 grep -v '^ *+' conftest.er1 >conftest.err
37837 rm -f conftest.er1
37838 cat conftest.err >&5
37839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37840 (exit $ac_status); } &&
37841 { ac_try='test -z "$ac_c_werror_flag"
37842 || test ! -s conftest.err'
37843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37844 (eval $ac_try) 2>&5
37845 ac_status=$?
37846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37847 (exit $ac_status); }; } &&
37848 { ac_try='test -s conftest$ac_exeext'
37849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37850 (eval $ac_try) 2>&5
37851 ac_status=$?
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); }; }; then
37854 ac_cv_lib_posix4_sched_yield=yes
37855 else
37856 echo "$as_me: failed program was:" >&5
37857 sed 's/^/| /' conftest.$ac_ext >&5
37858
37859 ac_cv_lib_posix4_sched_yield=no
37860 fi
37861 rm -f conftest.err conftest.$ac_objext \
37862 conftest$ac_exeext conftest.$ac_ext
37863 LIBS=$ac_check_lib_save_LIBS
37864 fi
37865 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37866 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37867 if test $ac_cv_lib_posix4_sched_yield = yes; then
37868 cat >>confdefs.h <<\_ACEOF
37869 #define HAVE_SCHED_YIELD 1
37870 _ACEOF
37871 POSIX4_LINK=" -lposix4"
37872 else
37873 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37874 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37875
37876 fi
37877
37878
37879
37880 fi
37881
37882 fi
37883
37884 HAVE_PRIOR_FUNCS=0
37885 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37886 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37887 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37888 echo $ECHO_N "(cached) $ECHO_C" >&6
37889 else
37890 cat >conftest.$ac_ext <<_ACEOF
37891 /* confdefs.h. */
37892 _ACEOF
37893 cat confdefs.h >>conftest.$ac_ext
37894 cat >>conftest.$ac_ext <<_ACEOF
37895 /* end confdefs.h. */
37896 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37898 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37899
37900 /* System header to define __stub macros and hopefully few prototypes,
37901 which can conflict with char pthread_attr_getschedpolicy (); below.
37902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37903 <limits.h> exists even on freestanding compilers. */
37904
37905 #ifdef __STDC__
37906 # include <limits.h>
37907 #else
37908 # include <assert.h>
37909 #endif
37910
37911 #undef pthread_attr_getschedpolicy
37912
37913 /* Override any gcc2 internal prototype to avoid an error. */
37914 #ifdef __cplusplus
37915 extern "C"
37916 {
37917 #endif
37918 /* We use char because int might match the return type of a gcc2
37919 builtin and then its argument prototype would still apply. */
37920 char pthread_attr_getschedpolicy ();
37921 /* The GNU C library defines this for functions which it implements
37922 to always fail with ENOSYS. Some functions are actually named
37923 something starting with __ and the normal name is an alias. */
37924 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37925 choke me
37926 #else
37927 char (*f) () = pthread_attr_getschedpolicy;
37928 #endif
37929 #ifdef __cplusplus
37930 }
37931 #endif
37932
37933 int
37934 main ()
37935 {
37936 return f != pthread_attr_getschedpolicy;
37937 ;
37938 return 0;
37939 }
37940 _ACEOF
37941 rm -f conftest.$ac_objext conftest$ac_exeext
37942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37943 (eval $ac_link) 2>conftest.er1
37944 ac_status=$?
37945 grep -v '^ *+' conftest.er1 >conftest.err
37946 rm -f conftest.er1
37947 cat conftest.err >&5
37948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37949 (exit $ac_status); } &&
37950 { ac_try='test -z "$ac_c_werror_flag"
37951 || test ! -s conftest.err'
37952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37953 (eval $ac_try) 2>&5
37954 ac_status=$?
37955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37956 (exit $ac_status); }; } &&
37957 { ac_try='test -s conftest$ac_exeext'
37958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37959 (eval $ac_try) 2>&5
37960 ac_status=$?
37961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37962 (exit $ac_status); }; }; then
37963 ac_cv_func_pthread_attr_getschedpolicy=yes
37964 else
37965 echo "$as_me: failed program was:" >&5
37966 sed 's/^/| /' conftest.$ac_ext >&5
37967
37968 ac_cv_func_pthread_attr_getschedpolicy=no
37969 fi
37970 rm -f conftest.err conftest.$ac_objext \
37971 conftest$ac_exeext conftest.$ac_ext
37972 fi
37973 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37974 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37975 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37976 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37977 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37978 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37979 echo $ECHO_N "(cached) $ECHO_C" >&6
37980 else
37981 cat >conftest.$ac_ext <<_ACEOF
37982 /* confdefs.h. */
37983 _ACEOF
37984 cat confdefs.h >>conftest.$ac_ext
37985 cat >>conftest.$ac_ext <<_ACEOF
37986 /* end confdefs.h. */
37987 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37989 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37990
37991 /* System header to define __stub macros and hopefully few prototypes,
37992 which can conflict with char pthread_attr_setschedparam (); below.
37993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37994 <limits.h> exists even on freestanding compilers. */
37995
37996 #ifdef __STDC__
37997 # include <limits.h>
37998 #else
37999 # include <assert.h>
38000 #endif
38001
38002 #undef pthread_attr_setschedparam
38003
38004 /* Override any gcc2 internal prototype to avoid an error. */
38005 #ifdef __cplusplus
38006 extern "C"
38007 {
38008 #endif
38009 /* We use char because int might match the return type of a gcc2
38010 builtin and then its argument prototype would still apply. */
38011 char pthread_attr_setschedparam ();
38012 /* The GNU C library defines this for functions which it implements
38013 to always fail with ENOSYS. Some functions are actually named
38014 something starting with __ and the normal name is an alias. */
38015 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38016 choke me
38017 #else
38018 char (*f) () = pthread_attr_setschedparam;
38019 #endif
38020 #ifdef __cplusplus
38021 }
38022 #endif
38023
38024 int
38025 main ()
38026 {
38027 return f != pthread_attr_setschedparam;
38028 ;
38029 return 0;
38030 }
38031 _ACEOF
38032 rm -f conftest.$ac_objext conftest$ac_exeext
38033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38034 (eval $ac_link) 2>conftest.er1
38035 ac_status=$?
38036 grep -v '^ *+' conftest.er1 >conftest.err
38037 rm -f conftest.er1
38038 cat conftest.err >&5
38039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38040 (exit $ac_status); } &&
38041 { ac_try='test -z "$ac_c_werror_flag"
38042 || test ! -s conftest.err'
38043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38044 (eval $ac_try) 2>&5
38045 ac_status=$?
38046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38047 (exit $ac_status); }; } &&
38048 { ac_try='test -s conftest$ac_exeext'
38049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38050 (eval $ac_try) 2>&5
38051 ac_status=$?
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); }; }; then
38054 ac_cv_func_pthread_attr_setschedparam=yes
38055 else
38056 echo "$as_me: failed program was:" >&5
38057 sed 's/^/| /' conftest.$ac_ext >&5
38058
38059 ac_cv_func_pthread_attr_setschedparam=no
38060 fi
38061 rm -f conftest.err conftest.$ac_objext \
38062 conftest$ac_exeext conftest.$ac_ext
38063 fi
38064 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38065 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38066 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38067 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38068 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38069 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38070 echo $ECHO_N "(cached) $ECHO_C" >&6
38071 else
38072 cat >conftest.$ac_ext <<_ACEOF
38073 /* confdefs.h. */
38074 _ACEOF
38075 cat confdefs.h >>conftest.$ac_ext
38076 cat >>conftest.$ac_ext <<_ACEOF
38077 /* end confdefs.h. */
38078 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38080 #define sched_get_priority_max innocuous_sched_get_priority_max
38081
38082 /* System header to define __stub macros and hopefully few prototypes,
38083 which can conflict with char sched_get_priority_max (); below.
38084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38085 <limits.h> exists even on freestanding compilers. */
38086
38087 #ifdef __STDC__
38088 # include <limits.h>
38089 #else
38090 # include <assert.h>
38091 #endif
38092
38093 #undef sched_get_priority_max
38094
38095 /* Override any gcc2 internal prototype to avoid an error. */
38096 #ifdef __cplusplus
38097 extern "C"
38098 {
38099 #endif
38100 /* We use char because int might match the return type of a gcc2
38101 builtin and then its argument prototype would still apply. */
38102 char sched_get_priority_max ();
38103 /* The GNU C library defines this for functions which it implements
38104 to always fail with ENOSYS. Some functions are actually named
38105 something starting with __ and the normal name is an alias. */
38106 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38107 choke me
38108 #else
38109 char (*f) () = sched_get_priority_max;
38110 #endif
38111 #ifdef __cplusplus
38112 }
38113 #endif
38114
38115 int
38116 main ()
38117 {
38118 return f != sched_get_priority_max;
38119 ;
38120 return 0;
38121 }
38122 _ACEOF
38123 rm -f conftest.$ac_objext conftest$ac_exeext
38124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38125 (eval $ac_link) 2>conftest.er1
38126 ac_status=$?
38127 grep -v '^ *+' conftest.er1 >conftest.err
38128 rm -f conftest.er1
38129 cat conftest.err >&5
38130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38131 (exit $ac_status); } &&
38132 { ac_try='test -z "$ac_c_werror_flag"
38133 || test ! -s conftest.err'
38134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38135 (eval $ac_try) 2>&5
38136 ac_status=$?
38137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38138 (exit $ac_status); }; } &&
38139 { ac_try='test -s conftest$ac_exeext'
38140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38141 (eval $ac_try) 2>&5
38142 ac_status=$?
38143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38144 (exit $ac_status); }; }; then
38145 ac_cv_func_sched_get_priority_max=yes
38146 else
38147 echo "$as_me: failed program was:" >&5
38148 sed 's/^/| /' conftest.$ac_ext >&5
38149
38150 ac_cv_func_sched_get_priority_max=no
38151 fi
38152 rm -f conftest.err conftest.$ac_objext \
38153 conftest$ac_exeext conftest.$ac_ext
38154 fi
38155 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38156 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38157 if test $ac_cv_func_sched_get_priority_max = yes; then
38158 HAVE_PRIOR_FUNCS=1
38159 else
38160 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38161 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38162 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38163 echo $ECHO_N "(cached) $ECHO_C" >&6
38164 else
38165 ac_check_lib_save_LIBS=$LIBS
38166 LIBS="-lposix4 $LIBS"
38167 cat >conftest.$ac_ext <<_ACEOF
38168 /* confdefs.h. */
38169 _ACEOF
38170 cat confdefs.h >>conftest.$ac_ext
38171 cat >>conftest.$ac_ext <<_ACEOF
38172 /* end confdefs.h. */
38173
38174 /* Override any gcc2 internal prototype to avoid an error. */
38175 #ifdef __cplusplus
38176 extern "C"
38177 #endif
38178 /* We use char because int might match the return type of a gcc2
38179 builtin and then its argument prototype would still apply. */
38180 char sched_get_priority_max ();
38181 int
38182 main ()
38183 {
38184 sched_get_priority_max ();
38185 ;
38186 return 0;
38187 }
38188 _ACEOF
38189 rm -f conftest.$ac_objext conftest$ac_exeext
38190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38191 (eval $ac_link) 2>conftest.er1
38192 ac_status=$?
38193 grep -v '^ *+' conftest.er1 >conftest.err
38194 rm -f conftest.er1
38195 cat conftest.err >&5
38196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38197 (exit $ac_status); } &&
38198 { ac_try='test -z "$ac_c_werror_flag"
38199 || test ! -s conftest.err'
38200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38201 (eval $ac_try) 2>&5
38202 ac_status=$?
38203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38204 (exit $ac_status); }; } &&
38205 { ac_try='test -s conftest$ac_exeext'
38206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38207 (eval $ac_try) 2>&5
38208 ac_status=$?
38209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38210 (exit $ac_status); }; }; then
38211 ac_cv_lib_posix4_sched_get_priority_max=yes
38212 else
38213 echo "$as_me: failed program was:" >&5
38214 sed 's/^/| /' conftest.$ac_ext >&5
38215
38216 ac_cv_lib_posix4_sched_get_priority_max=no
38217 fi
38218 rm -f conftest.err conftest.$ac_objext \
38219 conftest$ac_exeext conftest.$ac_ext
38220 LIBS=$ac_check_lib_save_LIBS
38221 fi
38222 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38223 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38224 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38225
38226 HAVE_PRIOR_FUNCS=1
38227 POSIX4_LINK=" -lposix4"
38228
38229 fi
38230
38231
38232 fi
38233
38234
38235 fi
38236
38237
38238 fi
38239
38240
38241 if test "$HAVE_PRIOR_FUNCS" = 1; then
38242 cat >>confdefs.h <<\_ACEOF
38243 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38244 _ACEOF
38245
38246 else
38247 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38248 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38249 fi
38250
38251 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38252 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38253 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38254 echo $ECHO_N "(cached) $ECHO_C" >&6
38255 else
38256 cat >conftest.$ac_ext <<_ACEOF
38257 /* confdefs.h. */
38258 _ACEOF
38259 cat confdefs.h >>conftest.$ac_ext
38260 cat >>conftest.$ac_ext <<_ACEOF
38261 /* end confdefs.h. */
38262 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38264 #define pthread_cancel innocuous_pthread_cancel
38265
38266 /* System header to define __stub macros and hopefully few prototypes,
38267 which can conflict with char pthread_cancel (); below.
38268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38269 <limits.h> exists even on freestanding compilers. */
38270
38271 #ifdef __STDC__
38272 # include <limits.h>
38273 #else
38274 # include <assert.h>
38275 #endif
38276
38277 #undef pthread_cancel
38278
38279 /* Override any gcc2 internal prototype to avoid an error. */
38280 #ifdef __cplusplus
38281 extern "C"
38282 {
38283 #endif
38284 /* We use char because int might match the return type of a gcc2
38285 builtin and then its argument prototype would still apply. */
38286 char pthread_cancel ();
38287 /* The GNU C library defines this for functions which it implements
38288 to always fail with ENOSYS. Some functions are actually named
38289 something starting with __ and the normal name is an alias. */
38290 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38291 choke me
38292 #else
38293 char (*f) () = pthread_cancel;
38294 #endif
38295 #ifdef __cplusplus
38296 }
38297 #endif
38298
38299 int
38300 main ()
38301 {
38302 return f != pthread_cancel;
38303 ;
38304 return 0;
38305 }
38306 _ACEOF
38307 rm -f conftest.$ac_objext conftest$ac_exeext
38308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38309 (eval $ac_link) 2>conftest.er1
38310 ac_status=$?
38311 grep -v '^ *+' conftest.er1 >conftest.err
38312 rm -f conftest.er1
38313 cat conftest.err >&5
38314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38315 (exit $ac_status); } &&
38316 { ac_try='test -z "$ac_c_werror_flag"
38317 || test ! -s conftest.err'
38318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38319 (eval $ac_try) 2>&5
38320 ac_status=$?
38321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38322 (exit $ac_status); }; } &&
38323 { ac_try='test -s conftest$ac_exeext'
38324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38325 (eval $ac_try) 2>&5
38326 ac_status=$?
38327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38328 (exit $ac_status); }; }; then
38329 ac_cv_func_pthread_cancel=yes
38330 else
38331 echo "$as_me: failed program was:" >&5
38332 sed 's/^/| /' conftest.$ac_ext >&5
38333
38334 ac_cv_func_pthread_cancel=no
38335 fi
38336 rm -f conftest.err conftest.$ac_objext \
38337 conftest$ac_exeext conftest.$ac_ext
38338 fi
38339 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38340 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38341 if test $ac_cv_func_pthread_cancel = yes; then
38342 cat >>confdefs.h <<\_ACEOF
38343 #define HAVE_PTHREAD_CANCEL 1
38344 _ACEOF
38345
38346 else
38347 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38348 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38349 fi
38350
38351
38352 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38353 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6
38354 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38355 echo $ECHO_N "(cached) $ECHO_C" >&6
38356 else
38357 cat >conftest.$ac_ext <<_ACEOF
38358 /* confdefs.h. */
38359 _ACEOF
38360 cat confdefs.h >>conftest.$ac_ext
38361 cat >>conftest.$ac_ext <<_ACEOF
38362 /* end confdefs.h. */
38363 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38365 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38366
38367 /* System header to define __stub macros and hopefully few prototypes,
38368 which can conflict with char pthread_mutex_timedlock (); below.
38369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38370 <limits.h> exists even on freestanding compilers. */
38371
38372 #ifdef __STDC__
38373 # include <limits.h>
38374 #else
38375 # include <assert.h>
38376 #endif
38377
38378 #undef pthread_mutex_timedlock
38379
38380 /* Override any gcc2 internal prototype to avoid an error. */
38381 #ifdef __cplusplus
38382 extern "C"
38383 {
38384 #endif
38385 /* We use char because int might match the return type of a gcc2
38386 builtin and then its argument prototype would still apply. */
38387 char pthread_mutex_timedlock ();
38388 /* The GNU C library defines this for functions which it implements
38389 to always fail with ENOSYS. Some functions are actually named
38390 something starting with __ and the normal name is an alias. */
38391 #if defined (__stub_pthread_mutex_timedlock) || defined (__stub___pthread_mutex_timedlock)
38392 choke me
38393 #else
38394 char (*f) () = pthread_mutex_timedlock;
38395 #endif
38396 #ifdef __cplusplus
38397 }
38398 #endif
38399
38400 int
38401 main ()
38402 {
38403 return f != pthread_mutex_timedlock;
38404 ;
38405 return 0;
38406 }
38407 _ACEOF
38408 rm -f conftest.$ac_objext conftest$ac_exeext
38409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38410 (eval $ac_link) 2>conftest.er1
38411 ac_status=$?
38412 grep -v '^ *+' conftest.er1 >conftest.err
38413 rm -f conftest.er1
38414 cat conftest.err >&5
38415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38416 (exit $ac_status); } &&
38417 { ac_try='test -z "$ac_c_werror_flag"
38418 || test ! -s conftest.err'
38419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38420 (eval $ac_try) 2>&5
38421 ac_status=$?
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); }; } &&
38424 { ac_try='test -s conftest$ac_exeext'
38425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38426 (eval $ac_try) 2>&5
38427 ac_status=$?
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); }; }; then
38430 ac_cv_func_pthread_mutex_timedlock=yes
38431 else
38432 echo "$as_me: failed program was:" >&5
38433 sed 's/^/| /' conftest.$ac_ext >&5
38434
38435 ac_cv_func_pthread_mutex_timedlock=no
38436 fi
38437 rm -f conftest.err conftest.$ac_objext \
38438 conftest$ac_exeext conftest.$ac_ext
38439 fi
38440 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38441 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6
38442 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38443 cat >>confdefs.h <<\_ACEOF
38444 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38445 _ACEOF
38446
38447 else
38448 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38449 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38450 fi
38451
38452
38453 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38454 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38455 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38456 echo $ECHO_N "(cached) $ECHO_C" >&6
38457 else
38458 cat >conftest.$ac_ext <<_ACEOF
38459 /* confdefs.h. */
38460 _ACEOF
38461 cat confdefs.h >>conftest.$ac_ext
38462 cat >>conftest.$ac_ext <<_ACEOF
38463 /* end confdefs.h. */
38464 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38466 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38467
38468 /* System header to define __stub macros and hopefully few prototypes,
38469 which can conflict with char pthread_attr_setstacksize (); below.
38470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38471 <limits.h> exists even on freestanding compilers. */
38472
38473 #ifdef __STDC__
38474 # include <limits.h>
38475 #else
38476 # include <assert.h>
38477 #endif
38478
38479 #undef pthread_attr_setstacksize
38480
38481 /* Override any gcc2 internal prototype to avoid an error. */
38482 #ifdef __cplusplus
38483 extern "C"
38484 {
38485 #endif
38486 /* We use char because int might match the return type of a gcc2
38487 builtin and then its argument prototype would still apply. */
38488 char pthread_attr_setstacksize ();
38489 /* The GNU C library defines this for functions which it implements
38490 to always fail with ENOSYS. Some functions are actually named
38491 something starting with __ and the normal name is an alias. */
38492 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38493 choke me
38494 #else
38495 char (*f) () = pthread_attr_setstacksize;
38496 #endif
38497 #ifdef __cplusplus
38498 }
38499 #endif
38500
38501 int
38502 main ()
38503 {
38504 return f != pthread_attr_setstacksize;
38505 ;
38506 return 0;
38507 }
38508 _ACEOF
38509 rm -f conftest.$ac_objext conftest$ac_exeext
38510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38511 (eval $ac_link) 2>conftest.er1
38512 ac_status=$?
38513 grep -v '^ *+' conftest.er1 >conftest.err
38514 rm -f conftest.er1
38515 cat conftest.err >&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); } &&
38518 { ac_try='test -z "$ac_c_werror_flag"
38519 || test ! -s conftest.err'
38520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38521 (eval $ac_try) 2>&5
38522 ac_status=$?
38523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38524 (exit $ac_status); }; } &&
38525 { ac_try='test -s conftest$ac_exeext'
38526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38527 (eval $ac_try) 2>&5
38528 ac_status=$?
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); }; }; then
38531 ac_cv_func_pthread_attr_setstacksize=yes
38532 else
38533 echo "$as_me: failed program was:" >&5
38534 sed 's/^/| /' conftest.$ac_ext >&5
38535
38536 ac_cv_func_pthread_attr_setstacksize=no
38537 fi
38538 rm -f conftest.err conftest.$ac_objext \
38539 conftest$ac_exeext conftest.$ac_ext
38540 fi
38541 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38542 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38543 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38544 cat >>confdefs.h <<\_ACEOF
38545 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38546 _ACEOF
38547
38548 fi
38549
38550
38551
38552 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38553 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38554 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38555 echo $ECHO_N "(cached) $ECHO_C" >&6
38556 else
38557
38558 cat >conftest.$ac_ext <<_ACEOF
38559 /* confdefs.h. */
38560 _ACEOF
38561 cat confdefs.h >>conftest.$ac_ext
38562 cat >>conftest.$ac_ext <<_ACEOF
38563 /* end confdefs.h. */
38564 #include <pthread.h>
38565 int
38566 main ()
38567 {
38568
38569 pthread_mutexattr_t attr;
38570 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38571
38572 ;
38573 return 0;
38574 }
38575 _ACEOF
38576 rm -f conftest.$ac_objext
38577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38578 (eval $ac_compile) 2>conftest.er1
38579 ac_status=$?
38580 grep -v '^ *+' conftest.er1 >conftest.err
38581 rm -f conftest.er1
38582 cat conftest.err >&5
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); } &&
38585 { ac_try='test -z "$ac_c_werror_flag"
38586 || test ! -s conftest.err'
38587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38588 (eval $ac_try) 2>&5
38589 ac_status=$?
38590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38591 (exit $ac_status); }; } &&
38592 { ac_try='test -s conftest.$ac_objext'
38593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38594 (eval $ac_try) 2>&5
38595 ac_status=$?
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); }; }; then
38598 wx_cv_type_pthread_mutexattr_t=yes
38599 else
38600 echo "$as_me: failed program was:" >&5
38601 sed 's/^/| /' conftest.$ac_ext >&5
38602
38603 wx_cv_type_pthread_mutexattr_t=no
38604
38605 fi
38606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38607
38608 fi
38609 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38610 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38611
38612 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38613 cat >>confdefs.h <<\_ACEOF
38614 #define HAVE_PTHREAD_MUTEXATTR_T 1
38615 _ACEOF
38616
38617
38618 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38619 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38620 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38621 echo $ECHO_N "(cached) $ECHO_C" >&6
38622 else
38623
38624 cat >conftest.$ac_ext <<_ACEOF
38625 /* confdefs.h. */
38626 _ACEOF
38627 cat confdefs.h >>conftest.$ac_ext
38628 cat >>conftest.$ac_ext <<_ACEOF
38629 /* end confdefs.h. */
38630 #include <pthread.h>
38631 int
38632 main ()
38633 {
38634
38635 pthread_mutexattr_t attr;
38636 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38637
38638 ;
38639 return 0;
38640 }
38641 _ACEOF
38642 rm -f conftest.$ac_objext
38643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38644 (eval $ac_compile) 2>conftest.er1
38645 ac_status=$?
38646 grep -v '^ *+' conftest.er1 >conftest.err
38647 rm -f conftest.er1
38648 cat conftest.err >&5
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); } &&
38651 { ac_try='test -z "$ac_c_werror_flag"
38652 || test ! -s conftest.err'
38653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38654 (eval $ac_try) 2>&5
38655 ac_status=$?
38656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38657 (exit $ac_status); }; } &&
38658 { ac_try='test -s conftest.$ac_objext'
38659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38660 (eval $ac_try) 2>&5
38661 ac_status=$?
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); }; }; then
38664 wx_cv_func_pthread_mutexattr_settype_decl=yes
38665 else
38666 echo "$as_me: failed program was:" >&5
38667 sed 's/^/| /' conftest.$ac_ext >&5
38668
38669 wx_cv_func_pthread_mutexattr_settype_decl=no
38670
38671 fi
38672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38673
38674 fi
38675 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38676 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38677 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38678 cat >>confdefs.h <<\_ACEOF
38679 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38680 _ACEOF
38681
38682 fi
38683 else
38684 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38685 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38686 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38687 echo $ECHO_N "(cached) $ECHO_C" >&6
38688 else
38689
38690 cat >conftest.$ac_ext <<_ACEOF
38691 /* confdefs.h. */
38692 _ACEOF
38693 cat confdefs.h >>conftest.$ac_ext
38694 cat >>conftest.$ac_ext <<_ACEOF
38695 /* end confdefs.h. */
38696 #include <pthread.h>
38697 int
38698 main ()
38699 {
38700
38701 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38702
38703 ;
38704 return 0;
38705 }
38706 _ACEOF
38707 rm -f conftest.$ac_objext
38708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38709 (eval $ac_compile) 2>conftest.er1
38710 ac_status=$?
38711 grep -v '^ *+' conftest.er1 >conftest.err
38712 rm -f conftest.er1
38713 cat conftest.err >&5
38714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38715 (exit $ac_status); } &&
38716 { ac_try='test -z "$ac_c_werror_flag"
38717 || test ! -s conftest.err'
38718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38719 (eval $ac_try) 2>&5
38720 ac_status=$?
38721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38722 (exit $ac_status); }; } &&
38723 { ac_try='test -s conftest.$ac_objext'
38724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38725 (eval $ac_try) 2>&5
38726 ac_status=$?
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); }; }; then
38729
38730 wx_cv_type_pthread_rec_mutex_init=yes
38731
38732 else
38733 echo "$as_me: failed program was:" >&5
38734 sed 's/^/| /' conftest.$ac_ext >&5
38735
38736
38737 wx_cv_type_pthread_rec_mutex_init=no
38738
38739
38740 fi
38741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38742
38743 fi
38744 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38745 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38746 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38747 cat >>confdefs.h <<\_ACEOF
38748 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38749 _ACEOF
38750
38751 else
38752 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38753 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38754 fi
38755 fi
38756 fi
38757
38758 else
38759 if test "$wxUSE_THREADS" = "yes" ; then
38760 case "${host}" in
38761 *-*-mingw32* )
38762 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38763 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38764 if test "${wx_cv_cflags_mthread+set}" = set; then
38765 echo $ECHO_N "(cached) $ECHO_C" >&6
38766 else
38767
38768 CFLAGS_OLD="$CFLAGS"
38769 CFLAGS="-mthreads $CFLAGS"
38770 cat >conftest.$ac_ext <<_ACEOF
38771 /* confdefs.h. */
38772 _ACEOF
38773 cat confdefs.h >>conftest.$ac_ext
38774 cat >>conftest.$ac_ext <<_ACEOF
38775 /* end confdefs.h. */
38776
38777 int
38778 main ()
38779 {
38780
38781 ;
38782 return 0;
38783 }
38784 _ACEOF
38785 rm -f conftest.$ac_objext
38786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38787 (eval $ac_compile) 2>conftest.er1
38788 ac_status=$?
38789 grep -v '^ *+' conftest.er1 >conftest.err
38790 rm -f conftest.er1
38791 cat conftest.err >&5
38792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38793 (exit $ac_status); } &&
38794 { ac_try='test -z "$ac_c_werror_flag"
38795 || test ! -s conftest.err'
38796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38797 (eval $ac_try) 2>&5
38798 ac_status=$?
38799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38800 (exit $ac_status); }; } &&
38801 { ac_try='test -s conftest.$ac_objext'
38802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38803 (eval $ac_try) 2>&5
38804 ac_status=$?
38805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38806 (exit $ac_status); }; }; then
38807 wx_cv_cflags_mthread=yes
38808 else
38809 echo "$as_me: failed program was:" >&5
38810 sed 's/^/| /' conftest.$ac_ext >&5
38811
38812 wx_cv_cflags_mthread=no
38813
38814 fi
38815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38816
38817
38818 fi
38819 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38820 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38821
38822 if test "$wx_cv_cflags_mthread" = "yes"; then
38823 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38824 LDFLAGS="$LDFLAGS -mthreads"
38825 else
38826 CFLAGS="$CFLAGS_OLD"
38827 fi
38828 ;;
38829 *-pc-os2*emx )
38830 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38831 LDFLAGS="$LDFLAGS -Zmt"
38832 ;;
38833 esac
38834 fi
38835 fi
38836
38837 echo "$as_me:$LINENO: checking for localtime_r" >&5
38838 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38839 if test "${ac_cv_func_localtime_r+set}" = set; then
38840 echo $ECHO_N "(cached) $ECHO_C" >&6
38841 else
38842 cat >conftest.$ac_ext <<_ACEOF
38843 /* confdefs.h. */
38844 _ACEOF
38845 cat confdefs.h >>conftest.$ac_ext
38846 cat >>conftest.$ac_ext <<_ACEOF
38847 /* end confdefs.h. */
38848 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38850 #define localtime_r innocuous_localtime_r
38851
38852 /* System header to define __stub macros and hopefully few prototypes,
38853 which can conflict with char localtime_r (); below.
38854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38855 <limits.h> exists even on freestanding compilers. */
38856
38857 #ifdef __STDC__
38858 # include <limits.h>
38859 #else
38860 # include <assert.h>
38861 #endif
38862
38863 #undef localtime_r
38864
38865 /* Override any gcc2 internal prototype to avoid an error. */
38866 #ifdef __cplusplus
38867 extern "C"
38868 {
38869 #endif
38870 /* We use char because int might match the return type of a gcc2
38871 builtin and then its argument prototype would still apply. */
38872 char localtime_r ();
38873 /* The GNU C library defines this for functions which it implements
38874 to always fail with ENOSYS. Some functions are actually named
38875 something starting with __ and the normal name is an alias. */
38876 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38877 choke me
38878 #else
38879 char (*f) () = localtime_r;
38880 #endif
38881 #ifdef __cplusplus
38882 }
38883 #endif
38884
38885 int
38886 main ()
38887 {
38888 return f != localtime_r;
38889 ;
38890 return 0;
38891 }
38892 _ACEOF
38893 rm -f conftest.$ac_objext conftest$ac_exeext
38894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38895 (eval $ac_link) 2>conftest.er1
38896 ac_status=$?
38897 grep -v '^ *+' conftest.er1 >conftest.err
38898 rm -f conftest.er1
38899 cat conftest.err >&5
38900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901 (exit $ac_status); } &&
38902 { ac_try='test -z "$ac_c_werror_flag"
38903 || test ! -s conftest.err'
38904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38905 (eval $ac_try) 2>&5
38906 ac_status=$?
38907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38908 (exit $ac_status); }; } &&
38909 { ac_try='test -s conftest$ac_exeext'
38910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38911 (eval $ac_try) 2>&5
38912 ac_status=$?
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); }; }; then
38915 ac_cv_func_localtime_r=yes
38916 else
38917 echo "$as_me: failed program was:" >&5
38918 sed 's/^/| /' conftest.$ac_ext >&5
38919
38920 ac_cv_func_localtime_r=no
38921 fi
38922 rm -f conftest.err conftest.$ac_objext \
38923 conftest$ac_exeext conftest.$ac_ext
38924 fi
38925 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38926 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38927 if test $ac_cv_func_localtime_r = yes; then
38928 cat >>confdefs.h <<\_ACEOF
38929 #define HAVE_LOCALTIME_R 1
38930 _ACEOF
38931
38932 fi
38933
38934 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38935 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38936 if test "${ac_cv_func_gmtime_r+set}" = set; then
38937 echo $ECHO_N "(cached) $ECHO_C" >&6
38938 else
38939 cat >conftest.$ac_ext <<_ACEOF
38940 /* confdefs.h. */
38941 _ACEOF
38942 cat confdefs.h >>conftest.$ac_ext
38943 cat >>conftest.$ac_ext <<_ACEOF
38944 /* end confdefs.h. */
38945 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38947 #define gmtime_r innocuous_gmtime_r
38948
38949 /* System header to define __stub macros and hopefully few prototypes,
38950 which can conflict with char gmtime_r (); below.
38951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38952 <limits.h> exists even on freestanding compilers. */
38953
38954 #ifdef __STDC__
38955 # include <limits.h>
38956 #else
38957 # include <assert.h>
38958 #endif
38959
38960 #undef gmtime_r
38961
38962 /* Override any gcc2 internal prototype to avoid an error. */
38963 #ifdef __cplusplus
38964 extern "C"
38965 {
38966 #endif
38967 /* We use char because int might match the return type of a gcc2
38968 builtin and then its argument prototype would still apply. */
38969 char gmtime_r ();
38970 /* The GNU C library defines this for functions which it implements
38971 to always fail with ENOSYS. Some functions are actually named
38972 something starting with __ and the normal name is an alias. */
38973 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38974 choke me
38975 #else
38976 char (*f) () = gmtime_r;
38977 #endif
38978 #ifdef __cplusplus
38979 }
38980 #endif
38981
38982 int
38983 main ()
38984 {
38985 return f != gmtime_r;
38986 ;
38987 return 0;
38988 }
38989 _ACEOF
38990 rm -f conftest.$ac_objext conftest$ac_exeext
38991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38992 (eval $ac_link) 2>conftest.er1
38993 ac_status=$?
38994 grep -v '^ *+' conftest.er1 >conftest.err
38995 rm -f conftest.er1
38996 cat conftest.err >&5
38997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38998 (exit $ac_status); } &&
38999 { ac_try='test -z "$ac_c_werror_flag"
39000 || test ! -s conftest.err'
39001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39002 (eval $ac_try) 2>&5
39003 ac_status=$?
39004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39005 (exit $ac_status); }; } &&
39006 { ac_try='test -s conftest$ac_exeext'
39007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39008 (eval $ac_try) 2>&5
39009 ac_status=$?
39010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39011 (exit $ac_status); }; }; then
39012 ac_cv_func_gmtime_r=yes
39013 else
39014 echo "$as_me: failed program was:" >&5
39015 sed 's/^/| /' conftest.$ac_ext >&5
39016
39017 ac_cv_func_gmtime_r=no
39018 fi
39019 rm -f conftest.err conftest.$ac_objext \
39020 conftest$ac_exeext conftest.$ac_ext
39021 fi
39022 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39023 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39024 if test $ac_cv_func_gmtime_r = yes; then
39025 cat >>confdefs.h <<\_ACEOF
39026 #define HAVE_GMTIME_R 1
39027 _ACEOF
39028
39029 fi
39030
39031 echo "$as_me:$LINENO: checking for readdir_r" >&5
39032 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39033 if test "${ac_cv_func_readdir_r+set}" = set; then
39034 echo $ECHO_N "(cached) $ECHO_C" >&6
39035 else
39036 cat >conftest.$ac_ext <<_ACEOF
39037 /* confdefs.h. */
39038 _ACEOF
39039 cat confdefs.h >>conftest.$ac_ext
39040 cat >>conftest.$ac_ext <<_ACEOF
39041 /* end confdefs.h. */
39042 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39044 #define readdir_r innocuous_readdir_r
39045
39046 /* System header to define __stub macros and hopefully few prototypes,
39047 which can conflict with char readdir_r (); below.
39048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39049 <limits.h> exists even on freestanding compilers. */
39050
39051 #ifdef __STDC__
39052 # include <limits.h>
39053 #else
39054 # include <assert.h>
39055 #endif
39056
39057 #undef readdir_r
39058
39059 /* Override any gcc2 internal prototype to avoid an error. */
39060 #ifdef __cplusplus
39061 extern "C"
39062 {
39063 #endif
39064 /* We use char because int might match the return type of a gcc2
39065 builtin and then its argument prototype would still apply. */
39066 char readdir_r ();
39067 /* The GNU C library defines this for functions which it implements
39068 to always fail with ENOSYS. Some functions are actually named
39069 something starting with __ and the normal name is an alias. */
39070 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39071 choke me
39072 #else
39073 char (*f) () = readdir_r;
39074 #endif
39075 #ifdef __cplusplus
39076 }
39077 #endif
39078
39079 int
39080 main ()
39081 {
39082 return f != readdir_r;
39083 ;
39084 return 0;
39085 }
39086 _ACEOF
39087 rm -f conftest.$ac_objext conftest$ac_exeext
39088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39089 (eval $ac_link) 2>conftest.er1
39090 ac_status=$?
39091 grep -v '^ *+' conftest.er1 >conftest.err
39092 rm -f conftest.er1
39093 cat conftest.err >&5
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); } &&
39096 { ac_try='test -z "$ac_c_werror_flag"
39097 || test ! -s conftest.err'
39098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39099 (eval $ac_try) 2>&5
39100 ac_status=$?
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); }; } &&
39103 { ac_try='test -s conftest$ac_exeext'
39104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39105 (eval $ac_try) 2>&5
39106 ac_status=$?
39107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39108 (exit $ac_status); }; }; then
39109 ac_cv_func_readdir_r=yes
39110 else
39111 echo "$as_me: failed program was:" >&5
39112 sed 's/^/| /' conftest.$ac_ext >&5
39113
39114 ac_cv_func_readdir_r=no
39115 fi
39116 rm -f conftest.err conftest.$ac_objext \
39117 conftest$ac_exeext conftest.$ac_ext
39118 fi
39119 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39120 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39121 if test $ac_cv_func_readdir_r = yes; then
39122 cat >>confdefs.h <<\_ACEOF
39123 #define HAVE_READDIR_R 1
39124 _ACEOF
39125
39126 fi
39127
39128
39129
39130
39131 ac_ext=c
39132 ac_cpp='$CPP $CPPFLAGS'
39133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39136
39137 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39138 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39139
39140 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39141 echo $ECHO_N "(cached) $ECHO_C" >&6
39142 else
39143
39144
39145
39146 ac_cv_func_which_gethostbyname_r=unknown
39147
39148 #
39149 # ONE ARGUMENT (sanity check)
39150 #
39151
39152 # This should fail, as there is no variant of gethostbyname_r() that takes
39153 # a single argument. If it actually compiles, then we can assume that
39154 # netdb.h is not declaring the function, and the compiler is thereby
39155 # assuming an implicit prototype. In which case, we're out of luck.
39156 #
39157 cat >conftest.$ac_ext <<_ACEOF
39158 /* confdefs.h. */
39159 _ACEOF
39160 cat confdefs.h >>conftest.$ac_ext
39161 cat >>conftest.$ac_ext <<_ACEOF
39162 /* end confdefs.h. */
39163 #include <netdb.h>
39164 int
39165 main ()
39166 {
39167
39168 char *name = "www.gnu.org";
39169 (void)gethostbyname_r(name) /* ; */
39170
39171 ;
39172 return 0;
39173 }
39174 _ACEOF
39175 rm -f conftest.$ac_objext
39176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39177 (eval $ac_compile) 2>conftest.er1
39178 ac_status=$?
39179 grep -v '^ *+' conftest.er1 >conftest.err
39180 rm -f conftest.er1
39181 cat conftest.err >&5
39182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39183 (exit $ac_status); } &&
39184 { ac_try='test -z "$ac_c_werror_flag"
39185 || test ! -s conftest.err'
39186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39187 (eval $ac_try) 2>&5
39188 ac_status=$?
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); }; } &&
39191 { ac_try='test -s conftest.$ac_objext'
39192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39193 (eval $ac_try) 2>&5
39194 ac_status=$?
39195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39196 (exit $ac_status); }; }; then
39197 ac_cv_func_which_gethostbyname_r=no
39198 else
39199 echo "$as_me: failed program was:" >&5
39200 sed 's/^/| /' conftest.$ac_ext >&5
39201
39202 fi
39203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39204
39205 #
39206 # SIX ARGUMENTS
39207 # (e.g. Linux)
39208 #
39209
39210 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39211
39212 cat >conftest.$ac_ext <<_ACEOF
39213 /* confdefs.h. */
39214 _ACEOF
39215 cat confdefs.h >>conftest.$ac_ext
39216 cat >>conftest.$ac_ext <<_ACEOF
39217 /* end confdefs.h. */
39218 #include <netdb.h>
39219 int
39220 main ()
39221 {
39222
39223 char *name = "www.gnu.org";
39224 struct hostent ret, *retp;
39225 char buf[1024];
39226 int buflen = 1024;
39227 int my_h_errno;
39228 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39229
39230 ;
39231 return 0;
39232 }
39233 _ACEOF
39234 rm -f conftest.$ac_objext
39235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39236 (eval $ac_compile) 2>conftest.er1
39237 ac_status=$?
39238 grep -v '^ *+' conftest.er1 >conftest.err
39239 rm -f conftest.er1
39240 cat conftest.err >&5
39241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39242 (exit $ac_status); } &&
39243 { ac_try='test -z "$ac_c_werror_flag"
39244 || test ! -s conftest.err'
39245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39246 (eval $ac_try) 2>&5
39247 ac_status=$?
39248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249 (exit $ac_status); }; } &&
39250 { ac_try='test -s conftest.$ac_objext'
39251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39252 (eval $ac_try) 2>&5
39253 ac_status=$?
39254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39255 (exit $ac_status); }; }; then
39256 ac_cv_func_which_gethostbyname_r=six
39257 else
39258 echo "$as_me: failed program was:" >&5
39259 sed 's/^/| /' conftest.$ac_ext >&5
39260
39261 fi
39262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39263
39264 fi
39265
39266 #
39267 # FIVE ARGUMENTS
39268 # (e.g. Solaris)
39269 #
39270
39271 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39272
39273 cat >conftest.$ac_ext <<_ACEOF
39274 /* confdefs.h. */
39275 _ACEOF
39276 cat confdefs.h >>conftest.$ac_ext
39277 cat >>conftest.$ac_ext <<_ACEOF
39278 /* end confdefs.h. */
39279 #include <netdb.h>
39280 int
39281 main ()
39282 {
39283
39284 char *name = "www.gnu.org";
39285 struct hostent ret;
39286 char buf[1024];
39287 int buflen = 1024;
39288 int my_h_errno;
39289 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39290
39291 ;
39292 return 0;
39293 }
39294 _ACEOF
39295 rm -f conftest.$ac_objext
39296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39297 (eval $ac_compile) 2>conftest.er1
39298 ac_status=$?
39299 grep -v '^ *+' conftest.er1 >conftest.err
39300 rm -f conftest.er1
39301 cat conftest.err >&5
39302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39303 (exit $ac_status); } &&
39304 { ac_try='test -z "$ac_c_werror_flag"
39305 || test ! -s conftest.err'
39306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39307 (eval $ac_try) 2>&5
39308 ac_status=$?
39309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39310 (exit $ac_status); }; } &&
39311 { ac_try='test -s conftest.$ac_objext'
39312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39313 (eval $ac_try) 2>&5
39314 ac_status=$?
39315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39316 (exit $ac_status); }; }; then
39317 ac_cv_func_which_gethostbyname_r=five
39318 else
39319 echo "$as_me: failed program was:" >&5
39320 sed 's/^/| /' conftest.$ac_ext >&5
39321
39322 fi
39323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39324
39325 fi
39326
39327 #
39328 # THREE ARGUMENTS
39329 # (e.g. AIX, HP-UX, Tru64)
39330 #
39331
39332 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39333
39334 cat >conftest.$ac_ext <<_ACEOF
39335 /* confdefs.h. */
39336 _ACEOF
39337 cat confdefs.h >>conftest.$ac_ext
39338 cat >>conftest.$ac_ext <<_ACEOF
39339 /* end confdefs.h. */
39340 #include <netdb.h>
39341 int
39342 main ()
39343 {
39344
39345 char *name = "www.gnu.org";
39346 struct hostent ret;
39347 struct hostent_data data;
39348 (void)gethostbyname_r(name, &ret, &data) /* ; */
39349
39350 ;
39351 return 0;
39352 }
39353 _ACEOF
39354 rm -f conftest.$ac_objext
39355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39356 (eval $ac_compile) 2>conftest.er1
39357 ac_status=$?
39358 grep -v '^ *+' conftest.er1 >conftest.err
39359 rm -f conftest.er1
39360 cat conftest.err >&5
39361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362 (exit $ac_status); } &&
39363 { ac_try='test -z "$ac_c_werror_flag"
39364 || test ! -s conftest.err'
39365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39366 (eval $ac_try) 2>&5
39367 ac_status=$?
39368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39369 (exit $ac_status); }; } &&
39370 { ac_try='test -s conftest.$ac_objext'
39371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39372 (eval $ac_try) 2>&5
39373 ac_status=$?
39374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39375 (exit $ac_status); }; }; then
39376 ac_cv_func_which_gethostbyname_r=three
39377 else
39378 echo "$as_me: failed program was:" >&5
39379 sed 's/^/| /' conftest.$ac_ext >&5
39380
39381 fi
39382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39383
39384 fi
39385
39386
39387
39388 fi
39389
39390 case "$ac_cv_func_which_gethostbyname_r" in
39391 three)
39392 echo "$as_me:$LINENO: result: three" >&5
39393 echo "${ECHO_T}three" >&6
39394 cat >>confdefs.h <<\_ACEOF
39395 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39396 _ACEOF
39397
39398 ;;
39399
39400 five)
39401 echo "$as_me:$LINENO: result: five" >&5
39402 echo "${ECHO_T}five" >&6
39403 cat >>confdefs.h <<\_ACEOF
39404 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39405 _ACEOF
39406
39407 ;;
39408
39409 six)
39410 echo "$as_me:$LINENO: result: six" >&5
39411 echo "${ECHO_T}six" >&6
39412 cat >>confdefs.h <<\_ACEOF
39413 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39414 _ACEOF
39415
39416 ;;
39417
39418 no)
39419 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39420 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39421 ;;
39422
39423 unknown)
39424 echo "$as_me:$LINENO: result: can't tell" >&5
39425 echo "${ECHO_T}can't tell" >&6
39426 ;;
39427
39428 *)
39429 { { echo "$as_me:$LINENO: error: internal error" >&5
39430 echo "$as_me: error: internal error" >&2;}
39431 { (exit 1); exit 1; }; }
39432 ;;
39433 esac
39434
39435 ac_ext=c
39436 ac_cpp='$CPP $CPPFLAGS'
39437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39440
39441
39442
39443 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39444 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39445 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39446 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39447 if test "${ac_cv_func_gethostbyname+set}" = set; then
39448 echo $ECHO_N "(cached) $ECHO_C" >&6
39449 else
39450 cat >conftest.$ac_ext <<_ACEOF
39451 /* confdefs.h. */
39452 _ACEOF
39453 cat confdefs.h >>conftest.$ac_ext
39454 cat >>conftest.$ac_ext <<_ACEOF
39455 /* end confdefs.h. */
39456 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39458 #define gethostbyname innocuous_gethostbyname
39459
39460 /* System header to define __stub macros and hopefully few prototypes,
39461 which can conflict with char gethostbyname (); below.
39462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39463 <limits.h> exists even on freestanding compilers. */
39464
39465 #ifdef __STDC__
39466 # include <limits.h>
39467 #else
39468 # include <assert.h>
39469 #endif
39470
39471 #undef gethostbyname
39472
39473 /* Override any gcc2 internal prototype to avoid an error. */
39474 #ifdef __cplusplus
39475 extern "C"
39476 {
39477 #endif
39478 /* We use char because int might match the return type of a gcc2
39479 builtin and then its argument prototype would still apply. */
39480 char gethostbyname ();
39481 /* The GNU C library defines this for functions which it implements
39482 to always fail with ENOSYS. Some functions are actually named
39483 something starting with __ and the normal name is an alias. */
39484 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39485 choke me
39486 #else
39487 char (*f) () = gethostbyname;
39488 #endif
39489 #ifdef __cplusplus
39490 }
39491 #endif
39492
39493 int
39494 main ()
39495 {
39496 return f != gethostbyname;
39497 ;
39498 return 0;
39499 }
39500 _ACEOF
39501 rm -f conftest.$ac_objext conftest$ac_exeext
39502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39503 (eval $ac_link) 2>conftest.er1
39504 ac_status=$?
39505 grep -v '^ *+' conftest.er1 >conftest.err
39506 rm -f conftest.er1
39507 cat conftest.err >&5
39508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39509 (exit $ac_status); } &&
39510 { ac_try='test -z "$ac_c_werror_flag"
39511 || test ! -s conftest.err'
39512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39513 (eval $ac_try) 2>&5
39514 ac_status=$?
39515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39516 (exit $ac_status); }; } &&
39517 { ac_try='test -s conftest$ac_exeext'
39518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39519 (eval $ac_try) 2>&5
39520 ac_status=$?
39521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39522 (exit $ac_status); }; }; then
39523 ac_cv_func_gethostbyname=yes
39524 else
39525 echo "$as_me: failed program was:" >&5
39526 sed 's/^/| /' conftest.$ac_ext >&5
39527
39528 ac_cv_func_gethostbyname=no
39529 fi
39530 rm -f conftest.err conftest.$ac_objext \
39531 conftest$ac_exeext conftest.$ac_ext
39532 fi
39533 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39534 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39535 if test $ac_cv_func_gethostbyname = yes; then
39536 cat >>confdefs.h <<\_ACEOF
39537 #define HAVE_GETHOSTBYNAME 1
39538 _ACEOF
39539
39540 fi
39541
39542 fi
39543 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39544 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39545 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39546 echo $ECHO_N "(cached) $ECHO_C" >&6
39547 else
39548
39549 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39550 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39551 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39552 echo $ECHO_N "(cached) $ECHO_C" >&6
39553 else
39554 cat >conftest.$ac_ext <<_ACEOF
39555 /* confdefs.h. */
39556 _ACEOF
39557 cat confdefs.h >>conftest.$ac_ext
39558 cat >>conftest.$ac_ext <<_ACEOF
39559 /* end confdefs.h. */
39560 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39562 #define getservbyname_r innocuous_getservbyname_r
39563
39564 /* System header to define __stub macros and hopefully few prototypes,
39565 which can conflict with char getservbyname_r (); below.
39566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39567 <limits.h> exists even on freestanding compilers. */
39568
39569 #ifdef __STDC__
39570 # include <limits.h>
39571 #else
39572 # include <assert.h>
39573 #endif
39574
39575 #undef getservbyname_r
39576
39577 /* Override any gcc2 internal prototype to avoid an error. */
39578 #ifdef __cplusplus
39579 extern "C"
39580 {
39581 #endif
39582 /* We use char because int might match the return type of a gcc2
39583 builtin and then its argument prototype would still apply. */
39584 char getservbyname_r ();
39585 /* The GNU C library defines this for functions which it implements
39586 to always fail with ENOSYS. Some functions are actually named
39587 something starting with __ and the normal name is an alias. */
39588 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39589 choke me
39590 #else
39591 char (*f) () = getservbyname_r;
39592 #endif
39593 #ifdef __cplusplus
39594 }
39595 #endif
39596
39597 int
39598 main ()
39599 {
39600 return f != getservbyname_r;
39601 ;
39602 return 0;
39603 }
39604 _ACEOF
39605 rm -f conftest.$ac_objext conftest$ac_exeext
39606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39607 (eval $ac_link) 2>conftest.er1
39608 ac_status=$?
39609 grep -v '^ *+' conftest.er1 >conftest.err
39610 rm -f conftest.er1
39611 cat conftest.err >&5
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); } &&
39614 { ac_try='test -z "$ac_c_werror_flag"
39615 || test ! -s conftest.err'
39616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39617 (eval $ac_try) 2>&5
39618 ac_status=$?
39619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39620 (exit $ac_status); }; } &&
39621 { ac_try='test -s conftest$ac_exeext'
39622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39623 (eval $ac_try) 2>&5
39624 ac_status=$?
39625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39626 (exit $ac_status); }; }; then
39627 ac_cv_func_getservbyname_r=yes
39628 else
39629 echo "$as_me: failed program was:" >&5
39630 sed 's/^/| /' conftest.$ac_ext >&5
39631
39632 ac_cv_func_getservbyname_r=no
39633 fi
39634 rm -f conftest.err conftest.$ac_objext \
39635 conftest$ac_exeext conftest.$ac_ext
39636 fi
39637 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39638 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39639 if test $ac_cv_func_getservbyname_r = yes; then
39640
39641 cat >conftest.$ac_ext <<_ACEOF
39642 /* confdefs.h. */
39643 _ACEOF
39644 cat confdefs.h >>conftest.$ac_ext
39645 cat >>conftest.$ac_ext <<_ACEOF
39646 /* end confdefs.h. */
39647
39648 # include <netdb.h>
39649
39650 int
39651 main ()
39652 {
39653
39654
39655 char *name;
39656 char *proto;
39657 struct servent *se;
39658 struct servent_data data;
39659 (void) getservbyname_r(name, proto, se, &data);
39660
39661
39662 ;
39663 return 0;
39664 }
39665 _ACEOF
39666 rm -f conftest.$ac_objext
39667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39668 (eval $ac_compile) 2>conftest.er1
39669 ac_status=$?
39670 grep -v '^ *+' conftest.er1 >conftest.err
39671 rm -f conftest.er1
39672 cat conftest.err >&5
39673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39674 (exit $ac_status); } &&
39675 { ac_try='test -z "$ac_c_werror_flag"
39676 || test ! -s conftest.err'
39677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39678 (eval $ac_try) 2>&5
39679 ac_status=$?
39680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39681 (exit $ac_status); }; } &&
39682 { ac_try='test -s conftest.$ac_objext'
39683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39684 (eval $ac_try) 2>&5
39685 ac_status=$?
39686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39687 (exit $ac_status); }; }; then
39688 ac_cv_func_which_getservbyname_r=four
39689 else
39690 echo "$as_me: failed program was:" >&5
39691 sed 's/^/| /' conftest.$ac_ext >&5
39692
39693
39694 cat >conftest.$ac_ext <<_ACEOF
39695 /* confdefs.h. */
39696 _ACEOF
39697 cat confdefs.h >>conftest.$ac_ext
39698 cat >>conftest.$ac_ext <<_ACEOF
39699 /* end confdefs.h. */
39700
39701 # include <netdb.h>
39702
39703 int
39704 main ()
39705 {
39706
39707 char *name;
39708 char *proto;
39709 struct servent *se, *res;
39710 char buffer[2048];
39711 int buflen = 2048;
39712 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39713
39714 ;
39715 return 0;
39716 }
39717 _ACEOF
39718 rm -f conftest.$ac_objext
39719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39720 (eval $ac_compile) 2>conftest.er1
39721 ac_status=$?
39722 grep -v '^ *+' conftest.er1 >conftest.err
39723 rm -f conftest.er1
39724 cat conftest.err >&5
39725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39726 (exit $ac_status); } &&
39727 { ac_try='test -z "$ac_c_werror_flag"
39728 || test ! -s conftest.err'
39729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39730 (eval $ac_try) 2>&5
39731 ac_status=$?
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); }; } &&
39734 { ac_try='test -s conftest.$ac_objext'
39735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39736 (eval $ac_try) 2>&5
39737 ac_status=$?
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); }; }; then
39740 ac_cv_func_which_getservbyname_r=six
39741 else
39742 echo "$as_me: failed program was:" >&5
39743 sed 's/^/| /' conftest.$ac_ext >&5
39744
39745
39746 cat >conftest.$ac_ext <<_ACEOF
39747 /* confdefs.h. */
39748 _ACEOF
39749 cat confdefs.h >>conftest.$ac_ext
39750 cat >>conftest.$ac_ext <<_ACEOF
39751 /* end confdefs.h. */
39752
39753 # include <netdb.h>
39754
39755 int
39756 main ()
39757 {
39758
39759 char *name;
39760 char *proto;
39761 struct servent *se;
39762 char buffer[2048];
39763 int buflen = 2048;
39764 (void) getservbyname_r(name, proto, se, buffer, buflen)
39765
39766 ;
39767 return 0;
39768 }
39769 _ACEOF
39770 rm -f conftest.$ac_objext
39771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39772 (eval $ac_compile) 2>conftest.er1
39773 ac_status=$?
39774 grep -v '^ *+' conftest.er1 >conftest.err
39775 rm -f conftest.er1
39776 cat conftest.err >&5
39777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39778 (exit $ac_status); } &&
39779 { ac_try='test -z "$ac_c_werror_flag"
39780 || test ! -s conftest.err'
39781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39782 (eval $ac_try) 2>&5
39783 ac_status=$?
39784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39785 (exit $ac_status); }; } &&
39786 { ac_try='test -s conftest.$ac_objext'
39787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39788 (eval $ac_try) 2>&5
39789 ac_status=$?
39790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39791 (exit $ac_status); }; }; then
39792 ac_cv_func_which_getservbyname_r=five
39793 else
39794 echo "$as_me: failed program was:" >&5
39795 sed 's/^/| /' conftest.$ac_ext >&5
39796
39797 ac_cv_func_which_getservbyname_r=no
39798 fi
39799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39800
39801
39802
39803
39804 fi
39805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39806
39807
39808 fi
39809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39810
39811 else
39812 ac_cv_func_which_getservbyname_r=no
39813 fi
39814
39815 fi
39816 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39817 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
39818
39819 if test $ac_cv_func_which_getservbyname_r = six; then
39820 cat >>confdefs.h <<\_ACEOF
39821 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39822 _ACEOF
39823
39824 elif test $ac_cv_func_which_getservbyname_r = five; then
39825 cat >>confdefs.h <<\_ACEOF
39826 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39827 _ACEOF
39828
39829 elif test $ac_cv_func_which_getservbyname_r = four; then
39830 cat >>confdefs.h <<\_ACEOF
39831 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39832 _ACEOF
39833
39834
39835 fi
39836
39837
39838 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39839 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39840
39841 for ac_func in getservbyname
39842 do
39843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39844 echo "$as_me:$LINENO: checking for $ac_func" >&5
39845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39846 if eval "test \"\${$as_ac_var+set}\" = set"; then
39847 echo $ECHO_N "(cached) $ECHO_C" >&6
39848 else
39849 cat >conftest.$ac_ext <<_ACEOF
39850 /* confdefs.h. */
39851 _ACEOF
39852 cat confdefs.h >>conftest.$ac_ext
39853 cat >>conftest.$ac_ext <<_ACEOF
39854 /* end confdefs.h. */
39855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39857 #define $ac_func innocuous_$ac_func
39858
39859 /* System header to define __stub macros and hopefully few prototypes,
39860 which can conflict with char $ac_func (); below.
39861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39862 <limits.h> exists even on freestanding compilers. */
39863
39864 #ifdef __STDC__
39865 # include <limits.h>
39866 #else
39867 # include <assert.h>
39868 #endif
39869
39870 #undef $ac_func
39871
39872 /* Override any gcc2 internal prototype to avoid an error. */
39873 #ifdef __cplusplus
39874 extern "C"
39875 {
39876 #endif
39877 /* We use char because int might match the return type of a gcc2
39878 builtin and then its argument prototype would still apply. */
39879 char $ac_func ();
39880 /* The GNU C library defines this for functions which it implements
39881 to always fail with ENOSYS. Some functions are actually named
39882 something starting with __ and the normal name is an alias. */
39883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39884 choke me
39885 #else
39886 char (*f) () = $ac_func;
39887 #endif
39888 #ifdef __cplusplus
39889 }
39890 #endif
39891
39892 int
39893 main ()
39894 {
39895 return f != $ac_func;
39896 ;
39897 return 0;
39898 }
39899 _ACEOF
39900 rm -f conftest.$ac_objext conftest$ac_exeext
39901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39902 (eval $ac_link) 2>conftest.er1
39903 ac_status=$?
39904 grep -v '^ *+' conftest.er1 >conftest.err
39905 rm -f conftest.er1
39906 cat conftest.err >&5
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); } &&
39909 { ac_try='test -z "$ac_c_werror_flag"
39910 || test ! -s conftest.err'
39911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39912 (eval $ac_try) 2>&5
39913 ac_status=$?
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); }; } &&
39916 { ac_try='test -s conftest$ac_exeext'
39917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39918 (eval $ac_try) 2>&5
39919 ac_status=$?
39920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39921 (exit $ac_status); }; }; then
39922 eval "$as_ac_var=yes"
39923 else
39924 echo "$as_me: failed program was:" >&5
39925 sed 's/^/| /' conftest.$ac_ext >&5
39926
39927 eval "$as_ac_var=no"
39928 fi
39929 rm -f conftest.err conftest.$ac_objext \
39930 conftest$ac_exeext conftest.$ac_ext
39931 fi
39932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39934 if test `eval echo '${'$as_ac_var'}'` = yes; then
39935 cat >>confdefs.h <<_ACEOF
39936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39937 _ACEOF
39938 cat >>confdefs.h <<\_ACEOF
39939 #define HAVE_GETSERVBYNAME 1
39940 _ACEOF
39941
39942 fi
39943 done
39944
39945 fi
39946
39947 if test "$wxUSE_THREADS" = "yes"; then
39948 cat >>confdefs.h <<\_ACEOF
39949 #define wxUSE_THREADS 1
39950 _ACEOF
39951
39952
39953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
39954 else
39955 if test "$wx_cv_func_strtok_r" = "yes"; then
39956 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39957 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39958 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39959 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39960 echo "$as_me:$LINENO: result: yes" >&5
39961 echo "${ECHO_T}yes" >&6
39962 else
39963 echo "$as_me:$LINENO: result: no" >&5
39964 echo "${ECHO_T}no" >&6
39965 fi
39966 fi
39967 fi
39968
39969 if test "$WXGTK20" = 1 ; then
39970 cat >>confdefs.h <<_ACEOF
39971 #define __WXGTK20__ $WXGTK20
39972 _ACEOF
39973
39974 WXGTK12=1
39975 fi
39976
39977 if test "$WXGTK12" = 1 ; then
39978 cat >>confdefs.h <<_ACEOF
39979 #define __WXGTK12__ $WXGTK12
39980 _ACEOF
39981
39982 fi
39983
39984 if test "$WXGTK127" = 1 ; then
39985 cat >>confdefs.h <<_ACEOF
39986 #define __WXGTK127__ $WXGTK127
39987 _ACEOF
39988
39989 fi
39990
39991 if test "$WXGPE" = 1 ; then
39992 cat >>confdefs.h <<_ACEOF
39993 #define __WXGPE__ $WXGPE
39994 _ACEOF
39995
39996 fi
39997
39998 DEBUG_CFLAGS=
39999 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40000 DEBUG_CFLAGS="-g"
40001 wxUSE_OPTIMISE=no
40002 fi
40003
40004 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40005 wxUSE_DEBUG_INFO=yes
40006 if test "$GCC" = yes; then
40007 DEBUG_CFLAGS="-ggdb"
40008 fi
40009 fi
40010
40011 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40012 cat >>confdefs.h <<\_ACEOF
40013 #define WXDEBUG 1
40014 _ACEOF
40015
40016 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40017 else
40018 if test "$wxUSE_GTK" = 1 ; then
40019 if test "x$wxGTK_VERSION" = "x1" ; then
40020 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40021 fi
40022 fi
40023 fi
40024
40025 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40026 cat >>confdefs.h <<\_ACEOF
40027 #define wxUSE_MEMORY_TRACING 1
40028 _ACEOF
40029
40030 cat >>confdefs.h <<\_ACEOF
40031 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40032 _ACEOF
40033
40034 cat >>confdefs.h <<\_ACEOF
40035 #define wxUSE_DEBUG_NEW_ALWAYS 1
40036 _ACEOF
40037
40038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40039 fi
40040
40041 if test "$wxUSE_DMALLOC" = "yes" ; then
40042 DMALLOC_LIBS="-ldmallocthcxx"
40043 fi
40044
40045 PROFILE_FLAGS=
40046 if test "$wxUSE_PROFILE" = "yes" ; then
40047 PROFILE_FLAGS=" -pg"
40048 fi
40049
40050 if test "$GCC" = "yes" ; then
40051 if test "$wxUSE_NO_RTTI" = "yes" ; then
40052 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40053 fi
40054 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40055 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40056 fi
40057 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40058 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40059 fi
40060
40061 case "${host}" in
40062 powerpc*-*-aix* )
40063 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40064 ;;
40065 *-hppa* )
40066 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40067 ;;
40068 esac
40069 fi
40070
40071 OPTIMISE_CFLAGS=
40072 if test "$wxUSE_OPTIMISE" = "no" ; then
40073 if test "$GCC" = yes ; then
40074 OPTIMISE_CFLAGS="-O0"
40075 fi
40076 else
40077 if test "$GCC" = yes ; then
40078 case "${host}" in
40079 *-pc-os2_emx | *-pc-os2-emx )
40080 OPTIMISE_CFLAGS="-O2"
40081 ;;
40082 *)
40083 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40084 ;;
40085 esac
40086 else
40087 OPTIMISE_CFLAGS="-O"
40088 fi
40089 fi
40090
40091
40092 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40093 cat >>confdefs.h <<\_ACEOF
40094 #define WXWIN_COMPATIBILITY_2_6 1
40095 _ACEOF
40096
40097
40098 WXWIN_COMPATIBILITY_2_8="yes"
40099 fi
40100
40101 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40102 cat >>confdefs.h <<\_ACEOF
40103 #define WXWIN_COMPATIBILITY_2_8 1
40104 _ACEOF
40105
40106 fi
40107
40108
40109 if test "$wxUSE_GUI" = "yes"; then
40110 cat >>confdefs.h <<\_ACEOF
40111 #define wxUSE_GUI 1
40112 _ACEOF
40113
40114
40115 fi
40116
40117
40118 if test "$wxUSE_UNIX" = "yes"; then
40119 cat >>confdefs.h <<\_ACEOF
40120 #define wxUSE_UNIX 1
40121 _ACEOF
40122
40123 fi
40124
40125
40126 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40127
40128 HAVE_DL_FUNCS=0
40129 HAVE_SHL_FUNCS=0
40130 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40131 if test "$USE_DARWIN" = 1; then
40132 HAVE_DL_FUNCS=1
40133 elif test "$USE_DOS" = 1; then
40134 HAVE_DL_FUNCS=0
40135 else
40136
40137 for ac_func in dlopen
40138 do
40139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40140 echo "$as_me:$LINENO: checking for $ac_func" >&5
40141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40142 if eval "test \"\${$as_ac_var+set}\" = set"; then
40143 echo $ECHO_N "(cached) $ECHO_C" >&6
40144 else
40145 cat >conftest.$ac_ext <<_ACEOF
40146 /* confdefs.h. */
40147 _ACEOF
40148 cat confdefs.h >>conftest.$ac_ext
40149 cat >>conftest.$ac_ext <<_ACEOF
40150 /* end confdefs.h. */
40151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40153 #define $ac_func innocuous_$ac_func
40154
40155 /* System header to define __stub macros and hopefully few prototypes,
40156 which can conflict with char $ac_func (); below.
40157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40158 <limits.h> exists even on freestanding compilers. */
40159
40160 #ifdef __STDC__
40161 # include <limits.h>
40162 #else
40163 # include <assert.h>
40164 #endif
40165
40166 #undef $ac_func
40167
40168 /* Override any gcc2 internal prototype to avoid an error. */
40169 #ifdef __cplusplus
40170 extern "C"
40171 {
40172 #endif
40173 /* We use char because int might match the return type of a gcc2
40174 builtin and then its argument prototype would still apply. */
40175 char $ac_func ();
40176 /* The GNU C library defines this for functions which it implements
40177 to always fail with ENOSYS. Some functions are actually named
40178 something starting with __ and the normal name is an alias. */
40179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40180 choke me
40181 #else
40182 char (*f) () = $ac_func;
40183 #endif
40184 #ifdef __cplusplus
40185 }
40186 #endif
40187
40188 int
40189 main ()
40190 {
40191 return f != $ac_func;
40192 ;
40193 return 0;
40194 }
40195 _ACEOF
40196 rm -f conftest.$ac_objext conftest$ac_exeext
40197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40198 (eval $ac_link) 2>conftest.er1
40199 ac_status=$?
40200 grep -v '^ *+' conftest.er1 >conftest.err
40201 rm -f conftest.er1
40202 cat conftest.err >&5
40203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40204 (exit $ac_status); } &&
40205 { ac_try='test -z "$ac_c_werror_flag"
40206 || test ! -s conftest.err'
40207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40208 (eval $ac_try) 2>&5
40209 ac_status=$?
40210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40211 (exit $ac_status); }; } &&
40212 { ac_try='test -s conftest$ac_exeext'
40213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40214 (eval $ac_try) 2>&5
40215 ac_status=$?
40216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40217 (exit $ac_status); }; }; then
40218 eval "$as_ac_var=yes"
40219 else
40220 echo "$as_me: failed program was:" >&5
40221 sed 's/^/| /' conftest.$ac_ext >&5
40222
40223 eval "$as_ac_var=no"
40224 fi
40225 rm -f conftest.err conftest.$ac_objext \
40226 conftest$ac_exeext conftest.$ac_ext
40227 fi
40228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40230 if test `eval echo '${'$as_ac_var'}'` = yes; then
40231 cat >>confdefs.h <<_ACEOF
40232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40233 _ACEOF
40234
40235 cat >>confdefs.h <<\_ACEOF
40236 #define HAVE_DLOPEN 1
40237 _ACEOF
40238
40239 HAVE_DL_FUNCS=1
40240
40241 else
40242
40243 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40244 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40245 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40246 echo $ECHO_N "(cached) $ECHO_C" >&6
40247 else
40248 ac_check_lib_save_LIBS=$LIBS
40249 LIBS="-ldl $LIBS"
40250 cat >conftest.$ac_ext <<_ACEOF
40251 /* confdefs.h. */
40252 _ACEOF
40253 cat confdefs.h >>conftest.$ac_ext
40254 cat >>conftest.$ac_ext <<_ACEOF
40255 /* end confdefs.h. */
40256
40257 /* Override any gcc2 internal prototype to avoid an error. */
40258 #ifdef __cplusplus
40259 extern "C"
40260 #endif
40261 /* We use char because int might match the return type of a gcc2
40262 builtin and then its argument prototype would still apply. */
40263 char dlopen ();
40264 int
40265 main ()
40266 {
40267 dlopen ();
40268 ;
40269 return 0;
40270 }
40271 _ACEOF
40272 rm -f conftest.$ac_objext conftest$ac_exeext
40273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40274 (eval $ac_link) 2>conftest.er1
40275 ac_status=$?
40276 grep -v '^ *+' conftest.er1 >conftest.err
40277 rm -f conftest.er1
40278 cat conftest.err >&5
40279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); } &&
40281 { ac_try='test -z "$ac_c_werror_flag"
40282 || test ! -s conftest.err'
40283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40284 (eval $ac_try) 2>&5
40285 ac_status=$?
40286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287 (exit $ac_status); }; } &&
40288 { ac_try='test -s conftest$ac_exeext'
40289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40290 (eval $ac_try) 2>&5
40291 ac_status=$?
40292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293 (exit $ac_status); }; }; then
40294 ac_cv_lib_dl_dlopen=yes
40295 else
40296 echo "$as_me: failed program was:" >&5
40297 sed 's/^/| /' conftest.$ac_ext >&5
40298
40299 ac_cv_lib_dl_dlopen=no
40300 fi
40301 rm -f conftest.err conftest.$ac_objext \
40302 conftest$ac_exeext conftest.$ac_ext
40303 LIBS=$ac_check_lib_save_LIBS
40304 fi
40305 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40306 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40307 if test $ac_cv_lib_dl_dlopen = yes; then
40308
40309 cat >>confdefs.h <<\_ACEOF
40310 #define HAVE_DLOPEN 1
40311 _ACEOF
40312
40313 HAVE_DL_FUNCS=1
40314 DL_LINK=" -ldl$DL_LINK"
40315
40316 else
40317
40318
40319 for ac_func in shl_load
40320 do
40321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40322 echo "$as_me:$LINENO: checking for $ac_func" >&5
40323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40324 if eval "test \"\${$as_ac_var+set}\" = set"; then
40325 echo $ECHO_N "(cached) $ECHO_C" >&6
40326 else
40327 cat >conftest.$ac_ext <<_ACEOF
40328 /* confdefs.h. */
40329 _ACEOF
40330 cat confdefs.h >>conftest.$ac_ext
40331 cat >>conftest.$ac_ext <<_ACEOF
40332 /* end confdefs.h. */
40333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40335 #define $ac_func innocuous_$ac_func
40336
40337 /* System header to define __stub macros and hopefully few prototypes,
40338 which can conflict with char $ac_func (); below.
40339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40340 <limits.h> exists even on freestanding compilers. */
40341
40342 #ifdef __STDC__
40343 # include <limits.h>
40344 #else
40345 # include <assert.h>
40346 #endif
40347
40348 #undef $ac_func
40349
40350 /* Override any gcc2 internal prototype to avoid an error. */
40351 #ifdef __cplusplus
40352 extern "C"
40353 {
40354 #endif
40355 /* We use char because int might match the return type of a gcc2
40356 builtin and then its argument prototype would still apply. */
40357 char $ac_func ();
40358 /* The GNU C library defines this for functions which it implements
40359 to always fail with ENOSYS. Some functions are actually named
40360 something starting with __ and the normal name is an alias. */
40361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40362 choke me
40363 #else
40364 char (*f) () = $ac_func;
40365 #endif
40366 #ifdef __cplusplus
40367 }
40368 #endif
40369
40370 int
40371 main ()
40372 {
40373 return f != $ac_func;
40374 ;
40375 return 0;
40376 }
40377 _ACEOF
40378 rm -f conftest.$ac_objext conftest$ac_exeext
40379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40380 (eval $ac_link) 2>conftest.er1
40381 ac_status=$?
40382 grep -v '^ *+' conftest.er1 >conftest.err
40383 rm -f conftest.er1
40384 cat conftest.err >&5
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); } &&
40387 { ac_try='test -z "$ac_c_werror_flag"
40388 || test ! -s conftest.err'
40389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40390 (eval $ac_try) 2>&5
40391 ac_status=$?
40392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40393 (exit $ac_status); }; } &&
40394 { ac_try='test -s conftest$ac_exeext'
40395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40396 (eval $ac_try) 2>&5
40397 ac_status=$?
40398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40399 (exit $ac_status); }; }; then
40400 eval "$as_ac_var=yes"
40401 else
40402 echo "$as_me: failed program was:" >&5
40403 sed 's/^/| /' conftest.$ac_ext >&5
40404
40405 eval "$as_ac_var=no"
40406 fi
40407 rm -f conftest.err conftest.$ac_objext \
40408 conftest$ac_exeext conftest.$ac_ext
40409 fi
40410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40412 if test `eval echo '${'$as_ac_var'}'` = yes; then
40413 cat >>confdefs.h <<_ACEOF
40414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40415 _ACEOF
40416
40417 cat >>confdefs.h <<\_ACEOF
40418 #define HAVE_SHL_LOAD 1
40419 _ACEOF
40420
40421 HAVE_SHL_FUNCS=1
40422
40423 else
40424
40425 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40426 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40427 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40428 echo $ECHO_N "(cached) $ECHO_C" >&6
40429 else
40430 ac_check_lib_save_LIBS=$LIBS
40431 LIBS="-lshl_load $LIBS"
40432 cat >conftest.$ac_ext <<_ACEOF
40433 /* confdefs.h. */
40434 _ACEOF
40435 cat confdefs.h >>conftest.$ac_ext
40436 cat >>conftest.$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40438
40439 /* Override any gcc2 internal prototype to avoid an error. */
40440 #ifdef __cplusplus
40441 extern "C"
40442 #endif
40443 /* We use char because int might match the return type of a gcc2
40444 builtin and then its argument prototype would still apply. */
40445 char dld ();
40446 int
40447 main ()
40448 {
40449 dld ();
40450 ;
40451 return 0;
40452 }
40453 _ACEOF
40454 rm -f conftest.$ac_objext conftest$ac_exeext
40455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40456 (eval $ac_link) 2>conftest.er1
40457 ac_status=$?
40458 grep -v '^ *+' conftest.er1 >conftest.err
40459 rm -f conftest.er1
40460 cat conftest.err >&5
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); } &&
40463 { ac_try='test -z "$ac_c_werror_flag"
40464 || test ! -s conftest.err'
40465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40466 (eval $ac_try) 2>&5
40467 ac_status=$?
40468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40469 (exit $ac_status); }; } &&
40470 { ac_try='test -s conftest$ac_exeext'
40471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40472 (eval $ac_try) 2>&5
40473 ac_status=$?
40474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40475 (exit $ac_status); }; }; then
40476 ac_cv_lib_shl_load_dld=yes
40477 else
40478 echo "$as_me: failed program was:" >&5
40479 sed 's/^/| /' conftest.$ac_ext >&5
40480
40481 ac_cv_lib_shl_load_dld=no
40482 fi
40483 rm -f conftest.err conftest.$ac_objext \
40484 conftest$ac_exeext conftest.$ac_ext
40485 LIBS=$ac_check_lib_save_LIBS
40486 fi
40487 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40488 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40489 if test $ac_cv_lib_shl_load_dld = yes; then
40490
40491 HAVE_SHL_FUNCS=1
40492 DL_LINK=" -ldld$DL_LINK"
40493
40494 fi
40495
40496
40497 fi
40498 done
40499
40500
40501 fi
40502
40503
40504 fi
40505 done
40506
40507
40508 if test "$HAVE_DL_FUNCS" = 1; then
40509
40510 for ac_func in dlerror
40511 do
40512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40513 echo "$as_me:$LINENO: checking for $ac_func" >&5
40514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40515 if eval "test \"\${$as_ac_var+set}\" = set"; then
40516 echo $ECHO_N "(cached) $ECHO_C" >&6
40517 else
40518 cat >conftest.$ac_ext <<_ACEOF
40519 /* confdefs.h. */
40520 _ACEOF
40521 cat confdefs.h >>conftest.$ac_ext
40522 cat >>conftest.$ac_ext <<_ACEOF
40523 /* end confdefs.h. */
40524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40526 #define $ac_func innocuous_$ac_func
40527
40528 /* System header to define __stub macros and hopefully few prototypes,
40529 which can conflict with char $ac_func (); below.
40530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40531 <limits.h> exists even on freestanding compilers. */
40532
40533 #ifdef __STDC__
40534 # include <limits.h>
40535 #else
40536 # include <assert.h>
40537 #endif
40538
40539 #undef $ac_func
40540
40541 /* Override any gcc2 internal prototype to avoid an error. */
40542 #ifdef __cplusplus
40543 extern "C"
40544 {
40545 #endif
40546 /* We use char because int might match the return type of a gcc2
40547 builtin and then its argument prototype would still apply. */
40548 char $ac_func ();
40549 /* The GNU C library defines this for functions which it implements
40550 to always fail with ENOSYS. Some functions are actually named
40551 something starting with __ and the normal name is an alias. */
40552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40553 choke me
40554 #else
40555 char (*f) () = $ac_func;
40556 #endif
40557 #ifdef __cplusplus
40558 }
40559 #endif
40560
40561 int
40562 main ()
40563 {
40564 return f != $ac_func;
40565 ;
40566 return 0;
40567 }
40568 _ACEOF
40569 rm -f conftest.$ac_objext conftest$ac_exeext
40570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40571 (eval $ac_link) 2>conftest.er1
40572 ac_status=$?
40573 grep -v '^ *+' conftest.er1 >conftest.err
40574 rm -f conftest.er1
40575 cat conftest.err >&5
40576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40577 (exit $ac_status); } &&
40578 { ac_try='test -z "$ac_c_werror_flag"
40579 || test ! -s conftest.err'
40580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40581 (eval $ac_try) 2>&5
40582 ac_status=$?
40583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40584 (exit $ac_status); }; } &&
40585 { ac_try='test -s conftest$ac_exeext'
40586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40587 (eval $ac_try) 2>&5
40588 ac_status=$?
40589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40590 (exit $ac_status); }; }; then
40591 eval "$as_ac_var=yes"
40592 else
40593 echo "$as_me: failed program was:" >&5
40594 sed 's/^/| /' conftest.$ac_ext >&5
40595
40596 eval "$as_ac_var=no"
40597 fi
40598 rm -f conftest.err conftest.$ac_objext \
40599 conftest$ac_exeext conftest.$ac_ext
40600 fi
40601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40603 if test `eval echo '${'$as_ac_var'}'` = yes; then
40604 cat >>confdefs.h <<_ACEOF
40605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40606 _ACEOF
40607 cat >>confdefs.h <<\_ACEOF
40608 #define HAVE_DLERROR 1
40609 _ACEOF
40610
40611 else
40612
40613 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40614 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40615 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40616 echo $ECHO_N "(cached) $ECHO_C" >&6
40617 else
40618 ac_check_lib_save_LIBS=$LIBS
40619 LIBS="-ldl $LIBS"
40620 cat >conftest.$ac_ext <<_ACEOF
40621 /* confdefs.h. */
40622 _ACEOF
40623 cat confdefs.h >>conftest.$ac_ext
40624 cat >>conftest.$ac_ext <<_ACEOF
40625 /* end confdefs.h. */
40626
40627 /* Override any gcc2 internal prototype to avoid an error. */
40628 #ifdef __cplusplus
40629 extern "C"
40630 #endif
40631 /* We use char because int might match the return type of a gcc2
40632 builtin and then its argument prototype would still apply. */
40633 char dlerror ();
40634 int
40635 main ()
40636 {
40637 dlerror ();
40638 ;
40639 return 0;
40640 }
40641 _ACEOF
40642 rm -f conftest.$ac_objext conftest$ac_exeext
40643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40644 (eval $ac_link) 2>conftest.er1
40645 ac_status=$?
40646 grep -v '^ *+' conftest.er1 >conftest.err
40647 rm -f conftest.er1
40648 cat conftest.err >&5
40649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40650 (exit $ac_status); } &&
40651 { ac_try='test -z "$ac_c_werror_flag"
40652 || test ! -s conftest.err'
40653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40654 (eval $ac_try) 2>&5
40655 ac_status=$?
40656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40657 (exit $ac_status); }; } &&
40658 { ac_try='test -s conftest$ac_exeext'
40659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40660 (eval $ac_try) 2>&5
40661 ac_status=$?
40662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40663 (exit $ac_status); }; }; then
40664 ac_cv_lib_dl_dlerror=yes
40665 else
40666 echo "$as_me: failed program was:" >&5
40667 sed 's/^/| /' conftest.$ac_ext >&5
40668
40669 ac_cv_lib_dl_dlerror=no
40670 fi
40671 rm -f conftest.err conftest.$ac_objext \
40672 conftest$ac_exeext conftest.$ac_ext
40673 LIBS=$ac_check_lib_save_LIBS
40674 fi
40675 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40676 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40677 if test $ac_cv_lib_dl_dlerror = yes; then
40678 cat >>confdefs.h <<\_ACEOF
40679 #define HAVE_DLERROR 1
40680 _ACEOF
40681
40682 fi
40683
40684
40685
40686 fi
40687 done
40688
40689 fi
40690 fi
40691
40692 if test "$HAVE_DL_FUNCS" = 0; then
40693 if test "$HAVE_SHL_FUNCS" = 0; then
40694 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40695 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40696 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40697 wxUSE_DYNAMIC_LOADER=no
40698 wxUSE_DYNLIB_CLASS=no
40699 else
40700 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40701 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40702 fi
40703 fi
40704 fi
40705 fi
40706 fi
40707
40708 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40709 cat >>confdefs.h <<\_ACEOF
40710 #define wxUSE_DYNAMIC_LOADER 1
40711 _ACEOF
40712
40713 fi
40714 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40715 cat >>confdefs.h <<\_ACEOF
40716 #define wxUSE_DYNLIB_CLASS 1
40717 _ACEOF
40718
40719 fi
40720
40721
40722
40723 if test "$wxUSE_PLUGINS" = "yes" ; then
40724 if test "$wxUSE_SHARED" = "no" ; then
40725 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40726 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40727 wxUSE_PLUGINS=no
40728 fi
40729 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40730 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40731 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40732 wxUSE_PLUGINS=no
40733 fi
40734 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40735 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40736 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40737 wxUSE_PLUGINS=no
40738 fi
40739 if test "$wxUSE_PLUGINS" = "yes" ; then
40740 cat >>confdefs.h <<\_ACEOF
40741 #define wxUSE_PLUGINS 1
40742 _ACEOF
40743
40744 fi
40745 fi
40746
40747
40748 if test "$wxUSE_STL" = "yes"; then
40749 cat >>confdefs.h <<\_ACEOF
40750 #define wxUSE_STL 1
40751 _ACEOF
40752
40753 fi
40754
40755 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40756 cat >>confdefs.h <<\_ACEOF
40757 #define wxUSE_EXTENDED_RTTI 1
40758 _ACEOF
40759
40760 fi
40761
40762 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40763 cat >>confdefs.h <<\_ACEOF
40764 #define wxUSE_APPLE_IEEE 1
40765 _ACEOF
40766
40767 fi
40768
40769 if test "$wxUSE_TIMER" = "yes"; then
40770 cat >>confdefs.h <<\_ACEOF
40771 #define wxUSE_TIMER 1
40772 _ACEOF
40773
40774 fi
40775
40776 if test "$USE_UNIX" = "1" ; then
40777 if test "$wxUSE_MGL" != 1; then
40778 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40779 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
40780 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40781 echo $ECHO_N "(cached) $ECHO_C" >&6
40782 else
40783
40784 cat >conftest.$ac_ext <<_ACEOF
40785 /* confdefs.h. */
40786 _ACEOF
40787 cat confdefs.h >>conftest.$ac_ext
40788 cat >>conftest.$ac_ext <<_ACEOF
40789 /* end confdefs.h. */
40790
40791 #include <sys/ioctl.h>
40792 #include <sys/soundcard.h>
40793
40794 int
40795 main ()
40796 {
40797
40798 ioctl(0, SNDCTL_DSP_SPEED, 0);
40799
40800 ;
40801 return 0;
40802 }
40803 _ACEOF
40804 rm -f conftest.$ac_objext conftest$ac_exeext
40805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40806 (eval $ac_link) 2>conftest.er1
40807 ac_status=$?
40808 grep -v '^ *+' conftest.er1 >conftest.err
40809 rm -f conftest.er1
40810 cat conftest.err >&5
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); } &&
40813 { ac_try='test -z "$ac_c_werror_flag"
40814 || test ! -s conftest.err'
40815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40816 (eval $ac_try) 2>&5
40817 ac_status=$?
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); }; } &&
40820 { ac_try='test -s conftest$ac_exeext'
40821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40822 (eval $ac_try) 2>&5
40823 ac_status=$?
40824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40825 (exit $ac_status); }; }; then
40826 ac_cv_header_sys_soundcard=yes
40827 else
40828 echo "$as_me: failed program was:" >&5
40829 sed 's/^/| /' conftest.$ac_ext >&5
40830
40831
40832 saveLibs="$LIBS"
40833 LIBS="$saveLibs -lossaudio"
40834 cat >conftest.$ac_ext <<_ACEOF
40835 /* confdefs.h. */
40836 _ACEOF
40837 cat confdefs.h >>conftest.$ac_ext
40838 cat >>conftest.$ac_ext <<_ACEOF
40839 /* end confdefs.h. */
40840
40841 #include <sys/ioctl.h>
40842 #include <sys/soundcard.h>
40843
40844 int
40845 main ()
40846 {
40847
40848 ioctl(0, SNDCTL_DSP_SPEED, 0);
40849
40850 ;
40851 return 0;
40852 }
40853 _ACEOF
40854 rm -f conftest.$ac_objext conftest$ac_exeext
40855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40856 (eval $ac_link) 2>conftest.er1
40857 ac_status=$?
40858 grep -v '^ *+' conftest.er1 >conftest.err
40859 rm -f conftest.er1
40860 cat conftest.err >&5
40861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40862 (exit $ac_status); } &&
40863 { ac_try='test -z "$ac_c_werror_flag"
40864 || test ! -s conftest.err'
40865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40866 (eval $ac_try) 2>&5
40867 ac_status=$?
40868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40869 (exit $ac_status); }; } &&
40870 { ac_try='test -s conftest$ac_exeext'
40871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40872 (eval $ac_try) 2>&5
40873 ac_status=$?
40874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875 (exit $ac_status); }; }; then
40876 ac_cv_header_sys_soundcard=yes
40877 else
40878 echo "$as_me: failed program was:" >&5
40879 sed 's/^/| /' conftest.$ac_ext >&5
40880
40881
40882 LIBS="$saveLibs"
40883 ac_cv_header_sys_soundcard=no
40884
40885
40886 fi
40887 rm -f conftest.err conftest.$ac_objext \
40888 conftest$ac_exeext conftest.$ac_ext
40889
40890
40891 fi
40892 rm -f conftest.err conftest.$ac_objext \
40893 conftest$ac_exeext conftest.$ac_ext
40894
40895 fi
40896 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40897 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40898 fi
40899
40900 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40901 cat >>confdefs.h <<\_ACEOF
40902 #define HAVE_SYS_SOUNDCARD_H 1
40903 _ACEOF
40904
40905 fi
40906 fi
40907
40908 WITH_PLUGIN_SDL=0
40909 if test "$wxUSE_SOUND" = "yes"; then
40910 if test "$USE_UNIX" = "1" ; then
40911 if test "$wxUSE_LIBSDL" != "no"; then
40912
40913 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40914 if test "${with_sdl_prefix+set}" = set; then
40915 withval="$with_sdl_prefix"
40916 sdl_prefix="$withval"
40917 else
40918 sdl_prefix=""
40919 fi;
40920
40921 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40922 if test "${with_sdl_exec_prefix+set}" = set; then
40923 withval="$with_sdl_exec_prefix"
40924 sdl_exec_prefix="$withval"
40925 else
40926 sdl_exec_prefix=""
40927 fi;
40928 # Check whether --enable-sdltest or --disable-sdltest was given.
40929 if test "${enable_sdltest+set}" = set; then
40930 enableval="$enable_sdltest"
40931
40932 else
40933 enable_sdltest=yes
40934 fi;
40935
40936 if test x$sdl_exec_prefix != x ; then
40937 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40938 if test x${SDL_CONFIG+set} != xset ; then
40939 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40940 fi
40941 fi
40942 if test x$sdl_prefix != x ; then
40943 sdl_args="$sdl_args --prefix=$sdl_prefix"
40944 if test x${SDL_CONFIG+set} != xset ; then
40945 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40946 fi
40947 fi
40948
40949 if test "x$prefix" != xNONE; then
40950 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
40951 fi
40952 # Extract the first word of "sdl-config", so it can be a program name with args.
40953 set dummy sdl-config; ac_word=$2
40954 echo "$as_me:$LINENO: checking for $ac_word" >&5
40955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40956 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40957 echo $ECHO_N "(cached) $ECHO_C" >&6
40958 else
40959 case $SDL_CONFIG in
40960 [\\/]* | ?:[\\/]*)
40961 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40962 ;;
40963 *)
40964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40965 for as_dir in $PATH
40966 do
40967 IFS=$as_save_IFS
40968 test -z "$as_dir" && as_dir=.
40969 for ac_exec_ext in '' $ac_executable_extensions; do
40970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40971 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40973 break 2
40974 fi
40975 done
40976 done
40977
40978 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
40979 ;;
40980 esac
40981 fi
40982 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
40983
40984 if test -n "$SDL_CONFIG"; then
40985 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40986 echo "${ECHO_T}$SDL_CONFIG" >&6
40987 else
40988 echo "$as_me:$LINENO: result: no" >&5
40989 echo "${ECHO_T}no" >&6
40990 fi
40991
40992 min_sdl_version=1.2.0
40993 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40994 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40995 no_sdl=""
40996 if test "$SDL_CONFIG" = "no" ; then
40997 no_sdl=yes
40998 else
40999 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41000 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41001
41002 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41003 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41004 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41005 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41006 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41007 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41008 if test "x$enable_sdltest" = "xyes" ; then
41009 ac_save_CFLAGS="$CFLAGS"
41010 ac_save_CXXFLAGS="$CXXFLAGS"
41011 ac_save_LIBS="$LIBS"
41012 CFLAGS="$CFLAGS $SDL_CFLAGS"
41013 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41014 LIBS="$LIBS $SDL_LIBS"
41015 rm -f conf.sdltest
41016 if test "$cross_compiling" = yes; then
41017 echo $ac_n "cross compiling; assumed OK... $ac_c"
41018 else
41019 cat >conftest.$ac_ext <<_ACEOF
41020 /* confdefs.h. */
41021 _ACEOF
41022 cat confdefs.h >>conftest.$ac_ext
41023 cat >>conftest.$ac_ext <<_ACEOF
41024 /* end confdefs.h. */
41025
41026 #include <stdio.h>
41027 #include <stdlib.h>
41028 #include <string.h>
41029 #include "SDL.h"
41030
41031 char*
41032 my_strdup (char *str)
41033 {
41034 char *new_str;
41035
41036 if (str)
41037 {
41038 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41039 strcpy (new_str, str);
41040 }
41041 else
41042 new_str = NULL;
41043
41044 return new_str;
41045 }
41046
41047 int main (int argc, char *argv[])
41048 {
41049 int major, minor, micro;
41050 char *tmp_version;
41051
41052 /* This hangs on some systems (?)
41053 system ("touch conf.sdltest");
41054 */
41055 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41056
41057 /* HP/UX 9 (%@#!) writes to sscanf strings */
41058 tmp_version = my_strdup("$min_sdl_version");
41059 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41060 printf("%s, bad version string\n", "$min_sdl_version");
41061 exit(1);
41062 }
41063
41064 if (($sdl_major_version > major) ||
41065 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41066 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41067 {
41068 return 0;
41069 }
41070 else
41071 {
41072 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41073 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41074 printf("*** best to upgrade to the required version.\n");
41075 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41076 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41077 printf("*** config.cache before re-running configure\n");
41078 return 1;
41079 }
41080 }
41081
41082
41083 _ACEOF
41084 rm -f conftest$ac_exeext
41085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41086 (eval $ac_link) 2>&5
41087 ac_status=$?
41088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41089 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41091 (eval $ac_try) 2>&5
41092 ac_status=$?
41093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41094 (exit $ac_status); }; }; then
41095 :
41096 else
41097 echo "$as_me: program exited with status $ac_status" >&5
41098 echo "$as_me: failed program was:" >&5
41099 sed 's/^/| /' conftest.$ac_ext >&5
41100
41101 ( exit $ac_status )
41102 no_sdl=yes
41103 fi
41104 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41105 fi
41106 CFLAGS="$ac_save_CFLAGS"
41107 CXXFLAGS="$ac_save_CXXFLAGS"
41108 LIBS="$ac_save_LIBS"
41109 fi
41110 fi
41111 if test "x$no_sdl" = x ; then
41112 echo "$as_me:$LINENO: result: yes" >&5
41113 echo "${ECHO_T}yes" >&6
41114
41115 EXTRALIBS_SDL="$SDL_LIBS"
41116 CFLAGS="$SDL_CFLAGS $CFLAGS"
41117 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41118 cat >>confdefs.h <<\_ACEOF
41119 #define wxUSE_LIBSDL 1
41120 _ACEOF
41121
41122
41123 else
41124 echo "$as_me:$LINENO: result: no" >&5
41125 echo "${ECHO_T}no" >&6
41126 if test "$SDL_CONFIG" = "no" ; then
41127 echo "*** The sdl-config script installed by SDL could not be found"
41128 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41129 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41130 echo "*** full path to sdl-config."
41131 else
41132 if test -f conf.sdltest ; then
41133 :
41134 else
41135 echo "*** Could not run SDL test program, checking why..."
41136 CFLAGS="$CFLAGS $SDL_CFLAGS"
41137 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41138 LIBS="$LIBS $SDL_LIBS"
41139 cat >conftest.$ac_ext <<_ACEOF
41140 /* confdefs.h. */
41141 _ACEOF
41142 cat confdefs.h >>conftest.$ac_ext
41143 cat >>conftest.$ac_ext <<_ACEOF
41144 /* end confdefs.h. */
41145
41146 #include <stdio.h>
41147 #include "SDL.h"
41148
41149 int main(int argc, char *argv[])
41150 { return 0; }
41151 #undef main
41152 #define main K_and_R_C_main
41153
41154 int
41155 main ()
41156 {
41157 return 0;
41158 ;
41159 return 0;
41160 }
41161 _ACEOF
41162 rm -f conftest.$ac_objext conftest$ac_exeext
41163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41164 (eval $ac_link) 2>conftest.er1
41165 ac_status=$?
41166 grep -v '^ *+' conftest.er1 >conftest.err
41167 rm -f conftest.er1
41168 cat conftest.err >&5
41169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41170 (exit $ac_status); } &&
41171 { ac_try='test -z "$ac_c_werror_flag"
41172 || test ! -s conftest.err'
41173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41174 (eval $ac_try) 2>&5
41175 ac_status=$?
41176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41177 (exit $ac_status); }; } &&
41178 { ac_try='test -s conftest$ac_exeext'
41179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41180 (eval $ac_try) 2>&5
41181 ac_status=$?
41182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41183 (exit $ac_status); }; }; then
41184 echo "*** The test program compiled, but did not run. This usually means"
41185 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41186 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41187 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41188 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41189 echo "*** is required on your system"
41190 echo "***"
41191 echo "*** If you have an old version installed, it is best to remove it, although"
41192 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41193 else
41194 echo "$as_me: failed program was:" >&5
41195 sed 's/^/| /' conftest.$ac_ext >&5
41196
41197 echo "*** The test program failed to compile or link. See the file config.log for the"
41198 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41199 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41200 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41201 fi
41202 rm -f conftest.err conftest.$ac_objext \
41203 conftest$ac_exeext conftest.$ac_ext
41204 CFLAGS="$ac_save_CFLAGS"
41205 CXXFLAGS="$ac_save_CXXFLAGS"
41206 LIBS="$ac_save_LIBS"
41207 fi
41208 fi
41209 SDL_CFLAGS=""
41210 SDL_LIBS=""
41211 wxUSE_LIBSDL="no"
41212 fi
41213
41214
41215 rm -f conf.sdltest
41216
41217 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41218 WITH_PLUGIN_SDL=1
41219 fi
41220 fi
41221 else
41222 if test "$wxUSE_MGL" = 1; then
41223 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41224 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41225 wxUSE_SOUND="no"
41226 fi
41227 fi
41228 fi
41229
41230 if test "$wxUSE_SOUND" = "yes"; then
41231 cat >>confdefs.h <<\_ACEOF
41232 #define wxUSE_SOUND 1
41233 _ACEOF
41234
41235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41236 fi
41237
41238 if test "$WXGTK20" = 1; then
41239
41240
41241 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41242 if test -n "$ac_tool_prefix"; then
41243 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41244 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41245 echo "$as_me:$LINENO: checking for $ac_word" >&5
41246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41247 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41248 echo $ECHO_N "(cached) $ECHO_C" >&6
41249 else
41250 case $PKG_CONFIG in
41251 [\\/]* | ?:[\\/]*)
41252 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41253 ;;
41254 *)
41255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41256 for as_dir in $PATH
41257 do
41258 IFS=$as_save_IFS
41259 test -z "$as_dir" && as_dir=.
41260 for ac_exec_ext in '' $ac_executable_extensions; do
41261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41262 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41264 break 2
41265 fi
41266 done
41267 done
41268
41269 ;;
41270 esac
41271 fi
41272 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41273
41274 if test -n "$PKG_CONFIG"; then
41275 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41276 echo "${ECHO_T}$PKG_CONFIG" >&6
41277 else
41278 echo "$as_me:$LINENO: result: no" >&5
41279 echo "${ECHO_T}no" >&6
41280 fi
41281
41282 fi
41283 if test -z "$ac_cv_path_PKG_CONFIG"; then
41284 ac_pt_PKG_CONFIG=$PKG_CONFIG
41285 # Extract the first word of "pkg-config", so it can be a program name with args.
41286 set dummy pkg-config; ac_word=$2
41287 echo "$as_me:$LINENO: checking for $ac_word" >&5
41288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41289 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41290 echo $ECHO_N "(cached) $ECHO_C" >&6
41291 else
41292 case $ac_pt_PKG_CONFIG in
41293 [\\/]* | ?:[\\/]*)
41294 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41295 ;;
41296 *)
41297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41298 for as_dir in $PATH
41299 do
41300 IFS=$as_save_IFS
41301 test -z "$as_dir" && as_dir=.
41302 for ac_exec_ext in '' $ac_executable_extensions; do
41303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41304 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41306 break 2
41307 fi
41308 done
41309 done
41310
41311 ;;
41312 esac
41313 fi
41314 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41315
41316 if test -n "$ac_pt_PKG_CONFIG"; then
41317 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41318 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
41319 else
41320 echo "$as_me:$LINENO: result: no" >&5
41321 echo "${ECHO_T}no" >&6
41322 fi
41323
41324 PKG_CONFIG=$ac_pt_PKG_CONFIG
41325 else
41326 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41327 fi
41328
41329 fi
41330 if test -n "$PKG_CONFIG"; then
41331 _pkg_min_version=0.9.0
41332 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41333 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
41334 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41335 echo "$as_me:$LINENO: result: yes" >&5
41336 echo "${ECHO_T}yes" >&6
41337 else
41338 echo "$as_me:$LINENO: result: no" >&5
41339 echo "${ECHO_T}no" >&6
41340 PKG_CONFIG=""
41341 fi
41342
41343 fi
41344
41345 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41346 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41347
41348
41349 pkg_failed=no
41350 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41351 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
41352
41353 if test -n "$PKG_CONFIG"; then
41354 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41355 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41356 else
41357 if test -n "$PKG_CONFIG" && \
41358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41359 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41360 ac_status=$?
41361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41362 (exit $ac_status); }; then
41363 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41364 else
41365 pkg_failed=yes
41366 fi
41367 fi
41368 else
41369 pkg_failed=untried
41370 fi
41371 if test -n "$PKG_CONFIG"; then
41372 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41373 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41374 else
41375 if test -n "$PKG_CONFIG" && \
41376 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41377 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41378 ac_status=$?
41379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41380 (exit $ac_status); }; then
41381 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41382 else
41383 pkg_failed=yes
41384 fi
41385 fi
41386 else
41387 pkg_failed=untried
41388 fi
41389
41390
41391
41392 if test $pkg_failed = yes; then
41393
41394 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41395 _pkg_short_errors_supported=yes
41396 else
41397 _pkg_short_errors_supported=no
41398 fi
41399 if test $_pkg_short_errors_supported = yes; then
41400 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41401 else
41402 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41403 fi
41404 # Put the nasty error message in config.log where it belongs
41405 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41406
41407
41408 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41409 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41410 wxUSE_LIBGNOMEPRINT="no"
41411
41412
41413 elif test $pkg_failed = untried; then
41414
41415 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41416 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41417 wxUSE_LIBGNOMEPRINT="no"
41418
41419
41420 else
41421 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41422 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41423 echo "$as_me:$LINENO: result: yes" >&5
41424 echo "${ECHO_T}yes" >&6
41425
41426 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41427 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41428 cat >>confdefs.h <<\_ACEOF
41429 #define wxUSE_LIBGNOMEPRINT 1
41430 _ACEOF
41431
41432
41433 fi
41434 fi
41435 fi
41436
41437 if test "$wxUSE_MIMETYPE" = "yes" ; then
41438 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41439
41440
41441 pkg_failed=no
41442 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41443 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
41444
41445 if test -n "$PKG_CONFIG"; then
41446 if test -n "$GNOMEVFS_CFLAGS"; then
41447 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41448 else
41449 if test -n "$PKG_CONFIG" && \
41450 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41451 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41452 ac_status=$?
41453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41454 (exit $ac_status); }; then
41455 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41456 else
41457 pkg_failed=yes
41458 fi
41459 fi
41460 else
41461 pkg_failed=untried
41462 fi
41463 if test -n "$PKG_CONFIG"; then
41464 if test -n "$GNOMEVFS_LIBS"; then
41465 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41466 else
41467 if test -n "$PKG_CONFIG" && \
41468 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41469 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41470 ac_status=$?
41471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41472 (exit $ac_status); }; then
41473 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41474 else
41475 pkg_failed=yes
41476 fi
41477 fi
41478 else
41479 pkg_failed=untried
41480 fi
41481
41482
41483
41484 if test $pkg_failed = yes; then
41485
41486 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41487 _pkg_short_errors_supported=yes
41488 else
41489 _pkg_short_errors_supported=no
41490 fi
41491 if test $_pkg_short_errors_supported = yes; then
41492 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41493 else
41494 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41495 fi
41496 # Put the nasty error message in config.log where it belongs
41497 echo "$GNOMEVFS_PKG_ERRORS" >&5
41498
41499
41500 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41501 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41502 wxUSE_LIBGNOMEVFS="no"
41503
41504
41505 elif test $pkg_failed = untried; then
41506
41507 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41508 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41509 wxUSE_LIBGNOMEVFS="no"
41510
41511
41512 else
41513 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41514 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41515 echo "$as_me:$LINENO: result: yes" >&5
41516 echo "${ECHO_T}yes" >&6
41517
41518 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41519 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41520 cat >>confdefs.h <<\_ACEOF
41521 #define wxUSE_LIBGNOMEVFS 1
41522 _ACEOF
41523
41524
41525 fi
41526 fi
41527 fi
41528
41529 if test "$wxUSE_LIBHILDON" = "yes" ; then
41530
41531 pkg_failed=no
41532 echo "$as_me:$LINENO: checking for HILDON" >&5
41533 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
41534
41535 if test -n "$PKG_CONFIG"; then
41536 if test -n "$HILDON_CFLAGS"; then
41537 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41538 else
41539 if test -n "$PKG_CONFIG" && \
41540 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41541 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41542 ac_status=$?
41543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41544 (exit $ac_status); }; then
41545 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41546 else
41547 pkg_failed=yes
41548 fi
41549 fi
41550 else
41551 pkg_failed=untried
41552 fi
41553 if test -n "$PKG_CONFIG"; then
41554 if test -n "$HILDON_LIBS"; then
41555 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41556 else
41557 if test -n "$PKG_CONFIG" && \
41558 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41559 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41560 ac_status=$?
41561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41562 (exit $ac_status); }; then
41563 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41564 else
41565 pkg_failed=yes
41566 fi
41567 fi
41568 else
41569 pkg_failed=untried
41570 fi
41571
41572
41573
41574 if test $pkg_failed = yes; then
41575
41576 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41577 _pkg_short_errors_supported=yes
41578 else
41579 _pkg_short_errors_supported=no
41580 fi
41581 if test $_pkg_short_errors_supported = yes; then
41582 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41583 else
41584 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41585 fi
41586 # Put the nasty error message in config.log where it belongs
41587 echo "$HILDON_PKG_ERRORS" >&5
41588
41589
41590 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41591 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41592 wxUSE_LIBHILDON="no"
41593
41594
41595 elif test $pkg_failed = untried; then
41596
41597 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41598 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41599 wxUSE_LIBHILDON="no"
41600
41601
41602 else
41603 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41604 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41605 echo "$as_me:$LINENO: result: yes" >&5
41606 echo "${ECHO_T}yes" >&6
41607
41608 EXTRALIBS_HILDON="$HILDON_LIBS"
41609 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41610 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41611 cat >>confdefs.h <<\_ACEOF
41612 #define wxUSE_LIBHILDON 1
41613 _ACEOF
41614
41615
41616 fi
41617 fi
41618 fi
41619
41620 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41621 cat >>confdefs.h <<\_ACEOF
41622 #define wxUSE_CMDLINE_PARSER 1
41623 _ACEOF
41624
41625 fi
41626
41627 if test "$wxUSE_STOPWATCH" = "yes"; then
41628 cat >>confdefs.h <<\_ACEOF
41629 #define wxUSE_STOPWATCH 1
41630 _ACEOF
41631
41632 fi
41633
41634 if test "$wxUSE_DATETIME" = "yes"; then
41635 cat >>confdefs.h <<\_ACEOF
41636 #define wxUSE_DATETIME 1
41637 _ACEOF
41638
41639 fi
41640
41641 if test "$wxUSE_FILE" = "yes"; then
41642 cat >>confdefs.h <<\_ACEOF
41643 #define wxUSE_FILE 1
41644 _ACEOF
41645
41646 fi
41647
41648 if test "$wxUSE_FFILE" = "yes"; then
41649 cat >>confdefs.h <<\_ACEOF
41650 #define wxUSE_FFILE 1
41651 _ACEOF
41652
41653 fi
41654
41655 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41656 if test "$wxUSE_STREAMS" != yes; then
41657 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41658 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41659 wxUSE_ARCHIVE_STREAMS=no
41660 else
41661 cat >>confdefs.h <<\_ACEOF
41662 #define wxUSE_ARCHIVE_STREAMS 1
41663 _ACEOF
41664
41665 fi
41666 fi
41667
41668 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41669 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41670 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41671 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41672 elif test "$wxUSE_ZLIB" = "no"; then
41673 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41674 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41675 else
41676 cat >>confdefs.h <<\_ACEOF
41677 #define wxUSE_ZIPSTREAM 1
41678 _ACEOF
41679
41680 fi
41681 fi
41682
41683 if test "$wxUSE_TARSTREAM" = "yes"; then
41684 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41685 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41686 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41687 else
41688 cat >>confdefs.h <<\_ACEOF
41689 #define wxUSE_TARSTREAM 1
41690 _ACEOF
41691
41692 fi
41693 fi
41694
41695 if test "$wxUSE_FILESYSTEM" = "yes"; then
41696 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41697 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41698 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41699 wxUSE_FILESYSTEM=no
41700 else
41701 cat >>confdefs.h <<\_ACEOF
41702 #define wxUSE_FILESYSTEM 1
41703 _ACEOF
41704
41705 fi
41706 fi
41707
41708 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41709 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41710 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41711 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41712 else
41713 cat >>confdefs.h <<\_ACEOF
41714 #define wxUSE_FS_ARCHIVE 1
41715 _ACEOF
41716
41717 fi
41718 fi
41719
41720 if test "$wxUSE_FS_ZIP" = "yes"; then
41721 if test "$wxUSE_FS_ARCHIVE" != yes; then
41722 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41723 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41724 else
41725 cat >>confdefs.h <<\_ACEOF
41726 #define wxUSE_FS_ZIP 1
41727 _ACEOF
41728
41729 fi
41730 fi
41731
41732 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41733 if test "$USE_UNIX" != 1; then
41734 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41735 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41736 wxUSE_ON_FATAL_EXCEPTION=no
41737 else
41738 cat >>confdefs.h <<\_ACEOF
41739 #define wxUSE_ON_FATAL_EXCEPTION 1
41740 _ACEOF
41741
41742 fi
41743 fi
41744
41745 if test "$wxUSE_STACKWALKER" = "yes"; then
41746 cat >>confdefs.h <<\_ACEOF
41747 #define wxUSE_STACKWALKER 1
41748 _ACEOF
41749
41750 fi
41751
41752 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41753 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41754 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41755 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41756 wxUSE_DEBUGREPORT=no
41757 else
41758 cat >>confdefs.h <<\_ACEOF
41759 #define wxUSE_DEBUGREPORT 1
41760 _ACEOF
41761
41762 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41764 fi
41765 fi
41766 fi
41767
41768 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41769 cat >>confdefs.h <<\_ACEOF
41770 #define wxUSE_SNGLINST_CHECKER 1
41771 _ACEOF
41772
41773 fi
41774
41775 if test "$wxUSE_BUSYINFO" = "yes"; then
41776 cat >>confdefs.h <<\_ACEOF
41777 #define wxUSE_BUSYINFO 1
41778 _ACEOF
41779
41780 fi
41781
41782 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41783 cat >>confdefs.h <<\_ACEOF
41784 #define wxUSE_STD_IOSTREAM 1
41785 _ACEOF
41786
41787 fi
41788
41789 if test "$wxUSE_STD_STRING" = "yes"; then
41790 cat >>confdefs.h <<\_ACEOF
41791 #define wxUSE_STD_STRING 1
41792 _ACEOF
41793
41794 fi
41795
41796 if test "$wxUSE_STDPATHS" = "yes"; then
41797 cat >>confdefs.h <<\_ACEOF
41798 #define wxUSE_STDPATHS 1
41799 _ACEOF
41800
41801 fi
41802
41803 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41804 cat >>confdefs.h <<\_ACEOF
41805 #define wxUSE_TEXTBUFFER 1
41806 _ACEOF
41807
41808 fi
41809
41810 if test "$wxUSE_TEXTFILE" = "yes"; then
41811 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41812 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41813 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41814 else
41815 cat >>confdefs.h <<\_ACEOF
41816 #define wxUSE_TEXTFILE 1
41817 _ACEOF
41818
41819 fi
41820 fi
41821
41822 if test "$wxUSE_CONFIG" = "yes" ; then
41823 if test "$wxUSE_TEXTFILE" != "yes"; then
41824 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41825 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41826 else
41827 cat >>confdefs.h <<\_ACEOF
41828 #define wxUSE_CONFIG 1
41829 _ACEOF
41830
41831 cat >>confdefs.h <<\_ACEOF
41832 #define wxUSE_CONFIG_NATIVE 1
41833 _ACEOF
41834
41835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41836 fi
41837 fi
41838
41839 if test "$wxUSE_INTL" = "yes" ; then
41840 if test "$wxUSE_FILE" != "yes"; then
41841 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41842 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41843 else
41844 cat >>confdefs.h <<\_ACEOF
41845 #define wxUSE_INTL 1
41846 _ACEOF
41847
41848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41849 GUIDIST="$GUIDIST INTL_DIST"
41850 fi
41851 fi
41852
41853 if test "$wxUSE_LOG" = "yes"; then
41854 cat >>confdefs.h <<\_ACEOF
41855 #define wxUSE_LOG 1
41856 _ACEOF
41857
41858
41859 if test "$wxUSE_LOGGUI" = "yes"; then
41860 cat >>confdefs.h <<\_ACEOF
41861 #define wxUSE_LOGGUI 1
41862 _ACEOF
41863
41864 fi
41865
41866 if test "$wxUSE_LOGWINDOW" = "yes"; then
41867 cat >>confdefs.h <<\_ACEOF
41868 #define wxUSE_LOGWINDOW 1
41869 _ACEOF
41870
41871 fi
41872
41873 if test "$wxUSE_LOGDIALOG" = "yes"; then
41874 cat >>confdefs.h <<\_ACEOF
41875 #define wxUSE_LOG_DIALOG 1
41876 _ACEOF
41877
41878 fi
41879
41880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41881 fi
41882
41883 if test "$wxUSE_LONGLONG" = "yes"; then
41884 cat >>confdefs.h <<\_ACEOF
41885 #define wxUSE_LONGLONG 1
41886 _ACEOF
41887
41888 fi
41889
41890 if test "$wxUSE_GEOMETRY" = "yes"; then
41891 cat >>confdefs.h <<\_ACEOF
41892 #define wxUSE_GEOMETRY 1
41893 _ACEOF
41894
41895 fi
41896
41897 if test "$wxUSE_STREAMS" = "yes" ; then
41898 cat >>confdefs.h <<\_ACEOF
41899 #define wxUSE_STREAMS 1
41900 _ACEOF
41901
41902 fi
41903
41904 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41905 cat >>confdefs.h <<\_ACEOF
41906 #define wxUSE_PRINTF_POS_PARAMS 1
41907 _ACEOF
41908
41909 fi
41910
41911
41912
41913 if test "$wxUSE_DATETIME" = "yes"; then
41914
41915 for ac_func in strptime
41916 do
41917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41918 echo "$as_me:$LINENO: checking for $ac_func" >&5
41919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41920 if eval "test \"\${$as_ac_var+set}\" = set"; then
41921 echo $ECHO_N "(cached) $ECHO_C" >&6
41922 else
41923 cat >conftest.$ac_ext <<_ACEOF
41924 /* confdefs.h. */
41925 _ACEOF
41926 cat confdefs.h >>conftest.$ac_ext
41927 cat >>conftest.$ac_ext <<_ACEOF
41928 /* end confdefs.h. */
41929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41931 #define $ac_func innocuous_$ac_func
41932
41933 /* System header to define __stub macros and hopefully few prototypes,
41934 which can conflict with char $ac_func (); below.
41935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41936 <limits.h> exists even on freestanding compilers. */
41937
41938 #ifdef __STDC__
41939 # include <limits.h>
41940 #else
41941 # include <assert.h>
41942 #endif
41943
41944 #undef $ac_func
41945
41946 /* Override any gcc2 internal prototype to avoid an error. */
41947 #ifdef __cplusplus
41948 extern "C"
41949 {
41950 #endif
41951 /* We use char because int might match the return type of a gcc2
41952 builtin and then its argument prototype would still apply. */
41953 char $ac_func ();
41954 /* The GNU C library defines this for functions which it implements
41955 to always fail with ENOSYS. Some functions are actually named
41956 something starting with __ and the normal name is an alias. */
41957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41958 choke me
41959 #else
41960 char (*f) () = $ac_func;
41961 #endif
41962 #ifdef __cplusplus
41963 }
41964 #endif
41965
41966 int
41967 main ()
41968 {
41969 return f != $ac_func;
41970 ;
41971 return 0;
41972 }
41973 _ACEOF
41974 rm -f conftest.$ac_objext conftest$ac_exeext
41975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41976 (eval $ac_link) 2>conftest.er1
41977 ac_status=$?
41978 grep -v '^ *+' conftest.er1 >conftest.err
41979 rm -f conftest.er1
41980 cat conftest.err >&5
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); } &&
41983 { ac_try='test -z "$ac_c_werror_flag"
41984 || test ! -s conftest.err'
41985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41986 (eval $ac_try) 2>&5
41987 ac_status=$?
41988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41989 (exit $ac_status); }; } &&
41990 { ac_try='test -s conftest$ac_exeext'
41991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41992 (eval $ac_try) 2>&5
41993 ac_status=$?
41994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41995 (exit $ac_status); }; }; then
41996 eval "$as_ac_var=yes"
41997 else
41998 echo "$as_me: failed program was:" >&5
41999 sed 's/^/| /' conftest.$ac_ext >&5
42000
42001 eval "$as_ac_var=no"
42002 fi
42003 rm -f conftest.err conftest.$ac_objext \
42004 conftest$ac_exeext conftest.$ac_ext
42005 fi
42006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42008 if test `eval echo '${'$as_ac_var'}'` = yes; then
42009 cat >>confdefs.h <<_ACEOF
42010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42011 _ACEOF
42012
42013 fi
42014 done
42015
42016 if test "$ac_cv_func_strptime" = "yes"; then
42017 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42018 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42019 if test "${wx_cv_func_strptime_decl+set}" = set; then
42020 echo $ECHO_N "(cached) $ECHO_C" >&6
42021 else
42022
42023 ac_ext=cc
42024 ac_cpp='$CXXCPP $CPPFLAGS'
42025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42028
42029 cat >conftest.$ac_ext <<_ACEOF
42030 /* confdefs.h. */
42031 _ACEOF
42032 cat confdefs.h >>conftest.$ac_ext
42033 cat >>conftest.$ac_ext <<_ACEOF
42034 /* end confdefs.h. */
42035
42036 #include <time.h>
42037
42038 int
42039 main ()
42040 {
42041
42042 struct tm t;
42043 strptime("foo", "bar", &t);
42044
42045 ;
42046 return 0;
42047 }
42048 _ACEOF
42049 rm -f conftest.$ac_objext
42050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42051 (eval $ac_compile) 2>conftest.er1
42052 ac_status=$?
42053 grep -v '^ *+' conftest.er1 >conftest.err
42054 rm -f conftest.er1
42055 cat conftest.err >&5
42056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42057 (exit $ac_status); } &&
42058 { ac_try='test -z "$ac_cxx_werror_flag"
42059 || test ! -s conftest.err'
42060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42061 (eval $ac_try) 2>&5
42062 ac_status=$?
42063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42064 (exit $ac_status); }; } &&
42065 { ac_try='test -s conftest.$ac_objext'
42066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42067 (eval $ac_try) 2>&5
42068 ac_status=$?
42069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42070 (exit $ac_status); }; }; then
42071 wx_cv_func_strptime_decl=yes
42072 else
42073 echo "$as_me: failed program was:" >&5
42074 sed 's/^/| /' conftest.$ac_ext >&5
42075
42076 wx_cv_func_strptime_decl=no
42077
42078 fi
42079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42080 ac_ext=c
42081 ac_cpp='$CPP $CPPFLAGS'
42082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42085
42086
42087
42088 fi
42089 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42090 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42091 fi
42092 if test "$wx_cv_func_strptime_decl" = "yes"; then
42093 cat >>confdefs.h <<\_ACEOF
42094 #define HAVE_STRPTIME_DECL 1
42095 _ACEOF
42096
42097 fi
42098
42099 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42100 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42101 if test "${wx_cv_var_timezone+set}" = set; then
42102 echo $ECHO_N "(cached) $ECHO_C" >&6
42103 else
42104
42105 ac_ext=cc
42106 ac_cpp='$CXXCPP $CPPFLAGS'
42107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42110
42111 cat >conftest.$ac_ext <<_ACEOF
42112 /* confdefs.h. */
42113 _ACEOF
42114 cat confdefs.h >>conftest.$ac_ext
42115 cat >>conftest.$ac_ext <<_ACEOF
42116 /* end confdefs.h. */
42117
42118 #include <time.h>
42119
42120 int
42121 main ()
42122 {
42123
42124 int tz;
42125 tz = timezone;
42126
42127 ;
42128 return 0;
42129 }
42130 _ACEOF
42131 rm -f conftest.$ac_objext
42132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42133 (eval $ac_compile) 2>conftest.er1
42134 ac_status=$?
42135 grep -v '^ *+' conftest.er1 >conftest.err
42136 rm -f conftest.er1
42137 cat conftest.err >&5
42138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42139 (exit $ac_status); } &&
42140 { ac_try='test -z "$ac_cxx_werror_flag"
42141 || test ! -s conftest.err'
42142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42143 (eval $ac_try) 2>&5
42144 ac_status=$?
42145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42146 (exit $ac_status); }; } &&
42147 { ac_try='test -s conftest.$ac_objext'
42148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42149 (eval $ac_try) 2>&5
42150 ac_status=$?
42151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42152 (exit $ac_status); }; }; then
42153
42154 wx_cv_var_timezone=timezone
42155
42156 else
42157 echo "$as_me: failed program was:" >&5
42158 sed 's/^/| /' conftest.$ac_ext >&5
42159
42160
42161 cat >conftest.$ac_ext <<_ACEOF
42162 /* confdefs.h. */
42163 _ACEOF
42164 cat confdefs.h >>conftest.$ac_ext
42165 cat >>conftest.$ac_ext <<_ACEOF
42166 /* end confdefs.h. */
42167
42168 #include <time.h>
42169
42170 int
42171 main ()
42172 {
42173
42174 int tz;
42175 tz = _timezone;
42176
42177 ;
42178 return 0;
42179 }
42180 _ACEOF
42181 rm -f conftest.$ac_objext
42182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42183 (eval $ac_compile) 2>conftest.er1
42184 ac_status=$?
42185 grep -v '^ *+' conftest.er1 >conftest.err
42186 rm -f conftest.er1
42187 cat conftest.err >&5
42188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42189 (exit $ac_status); } &&
42190 { ac_try='test -z "$ac_cxx_werror_flag"
42191 || test ! -s conftest.err'
42192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42193 (eval $ac_try) 2>&5
42194 ac_status=$?
42195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42196 (exit $ac_status); }; } &&
42197 { ac_try='test -s conftest.$ac_objext'
42198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42199 (eval $ac_try) 2>&5
42200 ac_status=$?
42201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42202 (exit $ac_status); }; }; then
42203
42204 wx_cv_var_timezone=_timezone
42205
42206 else
42207 echo "$as_me: failed program was:" >&5
42208 sed 's/^/| /' conftest.$ac_ext >&5
42209
42210
42211 cat >conftest.$ac_ext <<_ACEOF
42212 /* confdefs.h. */
42213 _ACEOF
42214 cat confdefs.h >>conftest.$ac_ext
42215 cat >>conftest.$ac_ext <<_ACEOF
42216 /* end confdefs.h. */
42217
42218 #include <time.h>
42219
42220 int
42221 main ()
42222 {
42223
42224 int tz;
42225 tz = __timezone;
42226
42227 ;
42228 return 0;
42229 }
42230 _ACEOF
42231 rm -f conftest.$ac_objext
42232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42233 (eval $ac_compile) 2>conftest.er1
42234 ac_status=$?
42235 grep -v '^ *+' conftest.er1 >conftest.err
42236 rm -f conftest.er1
42237 cat conftest.err >&5
42238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42239 (exit $ac_status); } &&
42240 { ac_try='test -z "$ac_cxx_werror_flag"
42241 || test ! -s conftest.err'
42242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42243 (eval $ac_try) 2>&5
42244 ac_status=$?
42245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42246 (exit $ac_status); }; } &&
42247 { ac_try='test -s conftest.$ac_objext'
42248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42249 (eval $ac_try) 2>&5
42250 ac_status=$?
42251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42252 (exit $ac_status); }; }; then
42253
42254 wx_cv_var_timezone=__timezone
42255
42256 else
42257 echo "$as_me: failed program was:" >&5
42258 sed 's/^/| /' conftest.$ac_ext >&5
42259
42260
42261 if test "$USE_DOS" = 0 ; then
42262 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42263 echo "$as_me: WARNING: no timezone variable" >&2;}
42264 fi
42265
42266
42267 fi
42268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42269
42270
42271 fi
42272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42273
42274
42275 fi
42276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42277 ac_ext=c
42278 ac_cpp='$CPP $CPPFLAGS'
42279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42282
42283
42284
42285 fi
42286 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42287 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42288
42289 if test "x$wx_cv_var_timezone" != x ; then
42290 cat >>confdefs.h <<_ACEOF
42291 #define WX_TIMEZONE $wx_cv_var_timezone
42292 _ACEOF
42293
42294 fi
42295
42296
42297 for ac_func in localtime
42298 do
42299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42300 echo "$as_me:$LINENO: checking for $ac_func" >&5
42301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42302 if eval "test \"\${$as_ac_var+set}\" = set"; then
42303 echo $ECHO_N "(cached) $ECHO_C" >&6
42304 else
42305 cat >conftest.$ac_ext <<_ACEOF
42306 /* confdefs.h. */
42307 _ACEOF
42308 cat confdefs.h >>conftest.$ac_ext
42309 cat >>conftest.$ac_ext <<_ACEOF
42310 /* end confdefs.h. */
42311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42313 #define $ac_func innocuous_$ac_func
42314
42315 /* System header to define __stub macros and hopefully few prototypes,
42316 which can conflict with char $ac_func (); below.
42317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42318 <limits.h> exists even on freestanding compilers. */
42319
42320 #ifdef __STDC__
42321 # include <limits.h>
42322 #else
42323 # include <assert.h>
42324 #endif
42325
42326 #undef $ac_func
42327
42328 /* Override any gcc2 internal prototype to avoid an error. */
42329 #ifdef __cplusplus
42330 extern "C"
42331 {
42332 #endif
42333 /* We use char because int might match the return type of a gcc2
42334 builtin and then its argument prototype would still apply. */
42335 char $ac_func ();
42336 /* The GNU C library defines this for functions which it implements
42337 to always fail with ENOSYS. Some functions are actually named
42338 something starting with __ and the normal name is an alias. */
42339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42340 choke me
42341 #else
42342 char (*f) () = $ac_func;
42343 #endif
42344 #ifdef __cplusplus
42345 }
42346 #endif
42347
42348 int
42349 main ()
42350 {
42351 return f != $ac_func;
42352 ;
42353 return 0;
42354 }
42355 _ACEOF
42356 rm -f conftest.$ac_objext conftest$ac_exeext
42357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42358 (eval $ac_link) 2>conftest.er1
42359 ac_status=$?
42360 grep -v '^ *+' conftest.er1 >conftest.err
42361 rm -f conftest.er1
42362 cat conftest.err >&5
42363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42364 (exit $ac_status); } &&
42365 { ac_try='test -z "$ac_c_werror_flag"
42366 || test ! -s conftest.err'
42367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42368 (eval $ac_try) 2>&5
42369 ac_status=$?
42370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42371 (exit $ac_status); }; } &&
42372 { ac_try='test -s conftest$ac_exeext'
42373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42374 (eval $ac_try) 2>&5
42375 ac_status=$?
42376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42377 (exit $ac_status); }; }; then
42378 eval "$as_ac_var=yes"
42379 else
42380 echo "$as_me: failed program was:" >&5
42381 sed 's/^/| /' conftest.$ac_ext >&5
42382
42383 eval "$as_ac_var=no"
42384 fi
42385 rm -f conftest.err conftest.$ac_objext \
42386 conftest$ac_exeext conftest.$ac_ext
42387 fi
42388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42390 if test `eval echo '${'$as_ac_var'}'` = yes; then
42391 cat >>confdefs.h <<_ACEOF
42392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42393 _ACEOF
42394
42395 fi
42396 done
42397
42398
42399 if test "$ac_cv_func_localtime" = "yes"; then
42400 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42401 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42402 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42403 echo $ECHO_N "(cached) $ECHO_C" >&6
42404 else
42405
42406 cat >conftest.$ac_ext <<_ACEOF
42407 /* confdefs.h. */
42408 _ACEOF
42409 cat confdefs.h >>conftest.$ac_ext
42410 cat >>conftest.$ac_ext <<_ACEOF
42411 /* end confdefs.h. */
42412
42413 #include <time.h>
42414
42415 int
42416 main ()
42417 {
42418
42419 struct tm tm;
42420 tm.tm_gmtoff++;
42421
42422 ;
42423 return 0;
42424 }
42425 _ACEOF
42426 rm -f conftest.$ac_objext
42427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42428 (eval $ac_compile) 2>conftest.er1
42429 ac_status=$?
42430 grep -v '^ *+' conftest.er1 >conftest.err
42431 rm -f conftest.er1
42432 cat conftest.err >&5
42433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42434 (exit $ac_status); } &&
42435 { ac_try='test -z "$ac_c_werror_flag"
42436 || test ! -s conftest.err'
42437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42438 (eval $ac_try) 2>&5
42439 ac_status=$?
42440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42441 (exit $ac_status); }; } &&
42442 { ac_try='test -s conftest.$ac_objext'
42443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42444 (eval $ac_try) 2>&5
42445 ac_status=$?
42446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42447 (exit $ac_status); }; }; then
42448
42449 wx_cv_struct_tm_has_gmtoff=yes
42450
42451 else
42452 echo "$as_me: failed program was:" >&5
42453 sed 's/^/| /' conftest.$ac_ext >&5
42454
42455 wx_cv_struct_tm_has_gmtoff=no
42456
42457 fi
42458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42459
42460 fi
42461 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42462 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42463 fi
42464
42465 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42466 cat >>confdefs.h <<\_ACEOF
42467 #define WX_GMTOFF_IN_TM 1
42468 _ACEOF
42469
42470 fi
42471
42472
42473
42474 for ac_func in gettimeofday ftime
42475 do
42476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42477 echo "$as_me:$LINENO: checking for $ac_func" >&5
42478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42479 if eval "test \"\${$as_ac_var+set}\" = set"; then
42480 echo $ECHO_N "(cached) $ECHO_C" >&6
42481 else
42482 cat >conftest.$ac_ext <<_ACEOF
42483 /* confdefs.h. */
42484 _ACEOF
42485 cat confdefs.h >>conftest.$ac_ext
42486 cat >>conftest.$ac_ext <<_ACEOF
42487 /* end confdefs.h. */
42488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42490 #define $ac_func innocuous_$ac_func
42491
42492 /* System header to define __stub macros and hopefully few prototypes,
42493 which can conflict with char $ac_func (); below.
42494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42495 <limits.h> exists even on freestanding compilers. */
42496
42497 #ifdef __STDC__
42498 # include <limits.h>
42499 #else
42500 # include <assert.h>
42501 #endif
42502
42503 #undef $ac_func
42504
42505 /* Override any gcc2 internal prototype to avoid an error. */
42506 #ifdef __cplusplus
42507 extern "C"
42508 {
42509 #endif
42510 /* We use char because int might match the return type of a gcc2
42511 builtin and then its argument prototype would still apply. */
42512 char $ac_func ();
42513 /* The GNU C library defines this for functions which it implements
42514 to always fail with ENOSYS. Some functions are actually named
42515 something starting with __ and the normal name is an alias. */
42516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42517 choke me
42518 #else
42519 char (*f) () = $ac_func;
42520 #endif
42521 #ifdef __cplusplus
42522 }
42523 #endif
42524
42525 int
42526 main ()
42527 {
42528 return f != $ac_func;
42529 ;
42530 return 0;
42531 }
42532 _ACEOF
42533 rm -f conftest.$ac_objext conftest$ac_exeext
42534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42535 (eval $ac_link) 2>conftest.er1
42536 ac_status=$?
42537 grep -v '^ *+' conftest.er1 >conftest.err
42538 rm -f conftest.er1
42539 cat conftest.err >&5
42540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541 (exit $ac_status); } &&
42542 { ac_try='test -z "$ac_c_werror_flag"
42543 || test ! -s conftest.err'
42544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42545 (eval $ac_try) 2>&5
42546 ac_status=$?
42547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42548 (exit $ac_status); }; } &&
42549 { ac_try='test -s conftest$ac_exeext'
42550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42551 (eval $ac_try) 2>&5
42552 ac_status=$?
42553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42554 (exit $ac_status); }; }; then
42555 eval "$as_ac_var=yes"
42556 else
42557 echo "$as_me: failed program was:" >&5
42558 sed 's/^/| /' conftest.$ac_ext >&5
42559
42560 eval "$as_ac_var=no"
42561 fi
42562 rm -f conftest.err conftest.$ac_objext \
42563 conftest$ac_exeext conftest.$ac_ext
42564 fi
42565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42567 if test `eval echo '${'$as_ac_var'}'` = yes; then
42568 cat >>confdefs.h <<_ACEOF
42569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42570 _ACEOF
42571 break
42572 fi
42573 done
42574
42575
42576 if test "$ac_cv_func_gettimeofday" = "yes"; then
42577 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42578 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42579 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42580 echo $ECHO_N "(cached) $ECHO_C" >&6
42581 else
42582
42583 cat >conftest.$ac_ext <<_ACEOF
42584 /* confdefs.h. */
42585 _ACEOF
42586 cat confdefs.h >>conftest.$ac_ext
42587 cat >>conftest.$ac_ext <<_ACEOF
42588 /* end confdefs.h. */
42589
42590 #include <sys/time.h>
42591 #include <unistd.h>
42592
42593 int
42594 main ()
42595 {
42596
42597 struct timeval tv;
42598 gettimeofday(&tv, NULL);
42599
42600 ;
42601 return 0;
42602 }
42603 _ACEOF
42604 rm -f conftest.$ac_objext
42605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42606 (eval $ac_compile) 2>conftest.er1
42607 ac_status=$?
42608 grep -v '^ *+' conftest.er1 >conftest.err
42609 rm -f conftest.er1
42610 cat conftest.err >&5
42611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42612 (exit $ac_status); } &&
42613 { ac_try='test -z "$ac_c_werror_flag"
42614 || test ! -s conftest.err'
42615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42616 (eval $ac_try) 2>&5
42617 ac_status=$?
42618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42619 (exit $ac_status); }; } &&
42620 { ac_try='test -s conftest.$ac_objext'
42621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42622 (eval $ac_try) 2>&5
42623 ac_status=$?
42624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42625 (exit $ac_status); }; }; then
42626 wx_cv_func_gettimeofday_has_2_args=yes
42627 else
42628 echo "$as_me: failed program was:" >&5
42629 sed 's/^/| /' conftest.$ac_ext >&5
42630
42631 cat >conftest.$ac_ext <<_ACEOF
42632 /* confdefs.h. */
42633 _ACEOF
42634 cat confdefs.h >>conftest.$ac_ext
42635 cat >>conftest.$ac_ext <<_ACEOF
42636 /* end confdefs.h. */
42637
42638 #include <sys/time.h>
42639 #include <unistd.h>
42640
42641 int
42642 main ()
42643 {
42644
42645 struct timeval tv;
42646 gettimeofday(&tv);
42647
42648 ;
42649 return 0;
42650 }
42651 _ACEOF
42652 rm -f conftest.$ac_objext
42653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42654 (eval $ac_compile) 2>conftest.er1
42655 ac_status=$?
42656 grep -v '^ *+' conftest.er1 >conftest.err
42657 rm -f conftest.er1
42658 cat conftest.err >&5
42659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42660 (exit $ac_status); } &&
42661 { ac_try='test -z "$ac_c_werror_flag"
42662 || test ! -s conftest.err'
42663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42664 (eval $ac_try) 2>&5
42665 ac_status=$?
42666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42667 (exit $ac_status); }; } &&
42668 { ac_try='test -s conftest.$ac_objext'
42669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42670 (eval $ac_try) 2>&5
42671 ac_status=$?
42672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42673 (exit $ac_status); }; }; then
42674 wx_cv_func_gettimeofday_has_2_args=no
42675 else
42676 echo "$as_me: failed program was:" >&5
42677 sed 's/^/| /' conftest.$ac_ext >&5
42678
42679
42680 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42681 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42682 wx_cv_func_gettimeofday_has_2_args=unknown
42683
42684
42685 fi
42686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42687
42688 fi
42689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42690
42691 fi
42692 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42693 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42694
42695 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42696 cat >>confdefs.h <<\_ACEOF
42697 #define WX_GETTIMEOFDAY_NO_TZ 1
42698 _ACEOF
42699
42700 fi
42701 fi
42702
42703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42704 fi
42705
42706
42707 if test "$wxUSE_SOCKETS" = "yes"; then
42708 if test "$wxUSE_MGL" = "1"; then
42709 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42710 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42711 wxUSE_SOCKETS="no"
42712 fi
42713 fi
42714
42715 if test "$wxUSE_SOCKETS" = "yes"; then
42716 if test "$TOOLKIT" != "MSW"; then
42717 echo "$as_me:$LINENO: checking for socket" >&5
42718 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42719 if test "${ac_cv_func_socket+set}" = set; then
42720 echo $ECHO_N "(cached) $ECHO_C" >&6
42721 else
42722 cat >conftest.$ac_ext <<_ACEOF
42723 /* confdefs.h. */
42724 _ACEOF
42725 cat confdefs.h >>conftest.$ac_ext
42726 cat >>conftest.$ac_ext <<_ACEOF
42727 /* end confdefs.h. */
42728 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42730 #define socket innocuous_socket
42731
42732 /* System header to define __stub macros and hopefully few prototypes,
42733 which can conflict with char socket (); below.
42734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42735 <limits.h> exists even on freestanding compilers. */
42736
42737 #ifdef __STDC__
42738 # include <limits.h>
42739 #else
42740 # include <assert.h>
42741 #endif
42742
42743 #undef socket
42744
42745 /* Override any gcc2 internal prototype to avoid an error. */
42746 #ifdef __cplusplus
42747 extern "C"
42748 {
42749 #endif
42750 /* We use char because int might match the return type of a gcc2
42751 builtin and then its argument prototype would still apply. */
42752 char socket ();
42753 /* The GNU C library defines this for functions which it implements
42754 to always fail with ENOSYS. Some functions are actually named
42755 something starting with __ and the normal name is an alias. */
42756 #if defined (__stub_socket) || defined (__stub___socket)
42757 choke me
42758 #else
42759 char (*f) () = socket;
42760 #endif
42761 #ifdef __cplusplus
42762 }
42763 #endif
42764
42765 int
42766 main ()
42767 {
42768 return f != socket;
42769 ;
42770 return 0;
42771 }
42772 _ACEOF
42773 rm -f conftest.$ac_objext conftest$ac_exeext
42774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42775 (eval $ac_link) 2>conftest.er1
42776 ac_status=$?
42777 grep -v '^ *+' conftest.er1 >conftest.err
42778 rm -f conftest.er1
42779 cat conftest.err >&5
42780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42781 (exit $ac_status); } &&
42782 { ac_try='test -z "$ac_c_werror_flag"
42783 || test ! -s conftest.err'
42784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42785 (eval $ac_try) 2>&5
42786 ac_status=$?
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); }; } &&
42789 { ac_try='test -s conftest$ac_exeext'
42790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42791 (eval $ac_try) 2>&5
42792 ac_status=$?
42793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42794 (exit $ac_status); }; }; then
42795 ac_cv_func_socket=yes
42796 else
42797 echo "$as_me: failed program was:" >&5
42798 sed 's/^/| /' conftest.$ac_ext >&5
42799
42800 ac_cv_func_socket=no
42801 fi
42802 rm -f conftest.err conftest.$ac_objext \
42803 conftest$ac_exeext conftest.$ac_ext
42804 fi
42805 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42806 echo "${ECHO_T}$ac_cv_func_socket" >&6
42807 if test $ac_cv_func_socket = yes; then
42808 :
42809 else
42810
42811 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42812 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42813 if test "${ac_cv_lib_socket_socket+set}" = set; then
42814 echo $ECHO_N "(cached) $ECHO_C" >&6
42815 else
42816 ac_check_lib_save_LIBS=$LIBS
42817 LIBS="-lsocket $LIBS"
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
42825 /* Override any gcc2 internal prototype to avoid an error. */
42826 #ifdef __cplusplus
42827 extern "C"
42828 #endif
42829 /* We use char because int might match the return type of a gcc2
42830 builtin and then its argument prototype would still apply. */
42831 char socket ();
42832 int
42833 main ()
42834 {
42835 socket ();
42836 ;
42837 return 0;
42838 }
42839 _ACEOF
42840 rm -f conftest.$ac_objext conftest$ac_exeext
42841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42842 (eval $ac_link) 2>conftest.er1
42843 ac_status=$?
42844 grep -v '^ *+' conftest.er1 >conftest.err
42845 rm -f conftest.er1
42846 cat conftest.err >&5
42847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42848 (exit $ac_status); } &&
42849 { ac_try='test -z "$ac_c_werror_flag"
42850 || test ! -s conftest.err'
42851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42852 (eval $ac_try) 2>&5
42853 ac_status=$?
42854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42855 (exit $ac_status); }; } &&
42856 { ac_try='test -s conftest$ac_exeext'
42857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42858 (eval $ac_try) 2>&5
42859 ac_status=$?
42860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42861 (exit $ac_status); }; }; then
42862 ac_cv_lib_socket_socket=yes
42863 else
42864 echo "$as_me: failed program was:" >&5
42865 sed 's/^/| /' conftest.$ac_ext >&5
42866
42867 ac_cv_lib_socket_socket=no
42868 fi
42869 rm -f conftest.err conftest.$ac_objext \
42870 conftest$ac_exeext conftest.$ac_ext
42871 LIBS=$ac_check_lib_save_LIBS
42872 fi
42873 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42874 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42875 if test $ac_cv_lib_socket_socket = yes; then
42876 if test "$INET_LINK" != " -lsocket"; then
42877 INET_LINK="$INET_LINK -lsocket"
42878 fi
42879 else
42880
42881 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42882 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42883 wxUSE_SOCKETS=no
42884
42885
42886 fi
42887
42888
42889
42890 fi
42891
42892 fi
42893 fi
42894
42895 if test "$wxUSE_SOCKETS" = "yes" ; then
42896 if test "$TOOLKIT" != "MSW"; then
42897 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42898 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42899 if test "${wx_cv_type_getsockname3+set}" = set; then
42900 echo $ECHO_N "(cached) $ECHO_C" >&6
42901 else
42902
42903 ac_ext=cc
42904 ac_cpp='$CXXCPP $CPPFLAGS'
42905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42908
42909 cat >conftest.$ac_ext <<_ACEOF
42910 /* confdefs.h. */
42911 _ACEOF
42912 cat confdefs.h >>conftest.$ac_ext
42913 cat >>conftest.$ac_ext <<_ACEOF
42914 /* end confdefs.h. */
42915
42916 #include <sys/types.h>
42917 #include <sys/socket.h>
42918
42919 int
42920 main ()
42921 {
42922
42923 socklen_t len;
42924 getsockname(0, 0, &len);
42925
42926 ;
42927 return 0;
42928 }
42929 _ACEOF
42930 rm -f conftest.$ac_objext
42931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42932 (eval $ac_compile) 2>conftest.er1
42933 ac_status=$?
42934 grep -v '^ *+' conftest.er1 >conftest.err
42935 rm -f conftest.er1
42936 cat conftest.err >&5
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); } &&
42939 { ac_try='test -z "$ac_cxx_werror_flag"
42940 || test ! -s conftest.err'
42941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42942 (eval $ac_try) 2>&5
42943 ac_status=$?
42944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42945 (exit $ac_status); }; } &&
42946 { ac_try='test -s conftest.$ac_objext'
42947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42948 (eval $ac_try) 2>&5
42949 ac_status=$?
42950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42951 (exit $ac_status); }; }; then
42952 wx_cv_type_getsockname3=socklen_t
42953 else
42954 echo "$as_me: failed program was:" >&5
42955 sed 's/^/| /' conftest.$ac_ext >&5
42956
42957
42958 CFLAGS_OLD="$CFLAGS"
42959 if test "$GCC" = yes ; then
42960 CFLAGS="-Werror $CFLAGS"
42961 fi
42962
42963 cat >conftest.$ac_ext <<_ACEOF
42964 /* confdefs.h. */
42965 _ACEOF
42966 cat confdefs.h >>conftest.$ac_ext
42967 cat >>conftest.$ac_ext <<_ACEOF
42968 /* end confdefs.h. */
42969
42970 #include <sys/types.h>
42971 #include <sys/socket.h>
42972
42973 int
42974 main ()
42975 {
42976
42977 size_t len;
42978 getsockname(0, 0, &len);
42979
42980 ;
42981 return 0;
42982 }
42983 _ACEOF
42984 rm -f conftest.$ac_objext
42985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42986 (eval $ac_compile) 2>conftest.er1
42987 ac_status=$?
42988 grep -v '^ *+' conftest.er1 >conftest.err
42989 rm -f conftest.er1
42990 cat conftest.err >&5
42991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42992 (exit $ac_status); } &&
42993 { ac_try='test -z "$ac_cxx_werror_flag"
42994 || test ! -s conftest.err'
42995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42996 (eval $ac_try) 2>&5
42997 ac_status=$?
42998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42999 (exit $ac_status); }; } &&
43000 { ac_try='test -s conftest.$ac_objext'
43001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43002 (eval $ac_try) 2>&5
43003 ac_status=$?
43004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43005 (exit $ac_status); }; }; then
43006 wx_cv_type_getsockname3=size_t
43007 else
43008 echo "$as_me: failed program was:" >&5
43009 sed 's/^/| /' conftest.$ac_ext >&5
43010
43011 cat >conftest.$ac_ext <<_ACEOF
43012 /* confdefs.h. */
43013 _ACEOF
43014 cat confdefs.h >>conftest.$ac_ext
43015 cat >>conftest.$ac_ext <<_ACEOF
43016 /* end confdefs.h. */
43017
43018 #include <sys/types.h>
43019 #include <sys/socket.h>
43020
43021 int
43022 main ()
43023 {
43024
43025 int len;
43026 getsockname(0, 0, &len);
43027
43028 ;
43029 return 0;
43030 }
43031 _ACEOF
43032 rm -f conftest.$ac_objext
43033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43034 (eval $ac_compile) 2>conftest.er1
43035 ac_status=$?
43036 grep -v '^ *+' conftest.er1 >conftest.err
43037 rm -f conftest.er1
43038 cat conftest.err >&5
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); } &&
43041 { ac_try='test -z "$ac_cxx_werror_flag"
43042 || test ! -s conftest.err'
43043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43044 (eval $ac_try) 2>&5
43045 ac_status=$?
43046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43047 (exit $ac_status); }; } &&
43048 { ac_try='test -s conftest.$ac_objext'
43049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43050 (eval $ac_try) 2>&5
43051 ac_status=$?
43052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43053 (exit $ac_status); }; }; then
43054 wx_cv_type_getsockname3=int
43055 else
43056 echo "$as_me: failed program was:" >&5
43057 sed 's/^/| /' conftest.$ac_ext >&5
43058
43059 wx_cv_type_getsockname3=unknown
43060
43061 fi
43062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43063
43064 fi
43065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43066
43067 CFLAGS="$CFLAGS_OLD"
43068
43069
43070 fi
43071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43072 ac_ext=c
43073 ac_cpp='$CPP $CPPFLAGS'
43074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43077
43078
43079 fi
43080 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43081 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43082
43083 if test "$wx_cv_type_getsockname3" = "unknown"; then
43084 wxUSE_SOCKETS=no
43085 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43086 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43087 else
43088 cat >>confdefs.h <<_ACEOF
43089 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43090 _ACEOF
43091
43092 fi
43093 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43094 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43095 if test "${wx_cv_type_getsockopt5+set}" = set; then
43096 echo $ECHO_N "(cached) $ECHO_C" >&6
43097 else
43098
43099 ac_ext=cc
43100 ac_cpp='$CXXCPP $CPPFLAGS'
43101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43104
43105 cat >conftest.$ac_ext <<_ACEOF
43106 /* confdefs.h. */
43107 _ACEOF
43108 cat confdefs.h >>conftest.$ac_ext
43109 cat >>conftest.$ac_ext <<_ACEOF
43110 /* end confdefs.h. */
43111
43112 #include <sys/types.h>
43113 #include <sys/socket.h>
43114
43115 int
43116 main ()
43117 {
43118
43119 socklen_t len;
43120 getsockopt(0, 0, 0, 0, &len);
43121
43122 ;
43123 return 0;
43124 }
43125 _ACEOF
43126 rm -f conftest.$ac_objext
43127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43128 (eval $ac_compile) 2>conftest.er1
43129 ac_status=$?
43130 grep -v '^ *+' conftest.er1 >conftest.err
43131 rm -f conftest.er1
43132 cat conftest.err >&5
43133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43134 (exit $ac_status); } &&
43135 { ac_try='test -z "$ac_cxx_werror_flag"
43136 || test ! -s conftest.err'
43137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43138 (eval $ac_try) 2>&5
43139 ac_status=$?
43140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43141 (exit $ac_status); }; } &&
43142 { ac_try='test -s conftest.$ac_objext'
43143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43144 (eval $ac_try) 2>&5
43145 ac_status=$?
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); }; }; then
43148 wx_cv_type_getsockopt5=socklen_t
43149 else
43150 echo "$as_me: failed program was:" >&5
43151 sed 's/^/| /' conftest.$ac_ext >&5
43152
43153
43154 cat >conftest.$ac_ext <<_ACEOF
43155 /* confdefs.h. */
43156 _ACEOF
43157 cat confdefs.h >>conftest.$ac_ext
43158 cat >>conftest.$ac_ext <<_ACEOF
43159 /* end confdefs.h. */
43160
43161 #include <sys/types.h>
43162 #include <sys/socket.h>
43163
43164 int
43165 main ()
43166 {
43167
43168 size_t len;
43169 getsockopt(0, 0, 0, 0, &len);
43170
43171 ;
43172 return 0;
43173 }
43174 _ACEOF
43175 rm -f conftest.$ac_objext
43176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43177 (eval $ac_compile) 2>conftest.er1
43178 ac_status=$?
43179 grep -v '^ *+' conftest.er1 >conftest.err
43180 rm -f conftest.er1
43181 cat conftest.err >&5
43182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43183 (exit $ac_status); } &&
43184 { ac_try='test -z "$ac_cxx_werror_flag"
43185 || test ! -s conftest.err'
43186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43187 (eval $ac_try) 2>&5
43188 ac_status=$?
43189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43190 (exit $ac_status); }; } &&
43191 { ac_try='test -s conftest.$ac_objext'
43192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43193 (eval $ac_try) 2>&5
43194 ac_status=$?
43195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43196 (exit $ac_status); }; }; then
43197 wx_cv_type_getsockopt5=size_t
43198 else
43199 echo "$as_me: failed program was:" >&5
43200 sed 's/^/| /' conftest.$ac_ext >&5
43201
43202 cat >conftest.$ac_ext <<_ACEOF
43203 /* confdefs.h. */
43204 _ACEOF
43205 cat confdefs.h >>conftest.$ac_ext
43206 cat >>conftest.$ac_ext <<_ACEOF
43207 /* end confdefs.h. */
43208
43209 #include <sys/types.h>
43210 #include <sys/socket.h>
43211
43212 int
43213 main ()
43214 {
43215
43216 int len;
43217 getsockopt(0, 0, 0, 0, &len);
43218
43219 ;
43220 return 0;
43221 }
43222 _ACEOF
43223 rm -f conftest.$ac_objext
43224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43225 (eval $ac_compile) 2>conftest.er1
43226 ac_status=$?
43227 grep -v '^ *+' conftest.er1 >conftest.err
43228 rm -f conftest.er1
43229 cat conftest.err >&5
43230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43231 (exit $ac_status); } &&
43232 { ac_try='test -z "$ac_cxx_werror_flag"
43233 || test ! -s conftest.err'
43234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43235 (eval $ac_try) 2>&5
43236 ac_status=$?
43237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43238 (exit $ac_status); }; } &&
43239 { ac_try='test -s conftest.$ac_objext'
43240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43241 (eval $ac_try) 2>&5
43242 ac_status=$?
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); }; }; then
43245 wx_cv_type_getsockopt5=int
43246 else
43247 echo "$as_me: failed program was:" >&5
43248 sed 's/^/| /' conftest.$ac_ext >&5
43249
43250 wx_cv_type_getsockopt5=unknown
43251
43252 fi
43253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43254
43255 fi
43256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43257
43258
43259 fi
43260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43261 ac_ext=c
43262 ac_cpp='$CPP $CPPFLAGS'
43263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43266
43267
43268 fi
43269 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43270 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43271
43272 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43273 wxUSE_SOCKETS=no
43274 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43275 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43276 else
43277 cat >>confdefs.h <<_ACEOF
43278 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43279 _ACEOF
43280
43281 fi
43282 fi
43283 fi
43284
43285 if test "$wxUSE_SOCKETS" = "yes" ; then
43286 cat >>confdefs.h <<\_ACEOF
43287 #define wxUSE_SOCKETS 1
43288 _ACEOF
43289
43290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43291 fi
43292
43293 if test "$wxUSE_PROTOCOL" = "yes"; then
43294 if test "$wxUSE_SOCKETS" != "yes"; then
43295 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43296 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43297 wxUSE_PROTOCOL=no
43298 fi
43299 fi
43300
43301 if test "$wxUSE_PROTOCOL" = "yes"; then
43302 cat >>confdefs.h <<\_ACEOF
43303 #define wxUSE_PROTOCOL 1
43304 _ACEOF
43305
43306
43307 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43308 cat >>confdefs.h <<\_ACEOF
43309 #define wxUSE_PROTOCOL_HTTP 1
43310 _ACEOF
43311
43312 fi
43313 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43314 cat >>confdefs.h <<\_ACEOF
43315 #define wxUSE_PROTOCOL_FTP 1
43316 _ACEOF
43317
43318 fi
43319 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43320 cat >>confdefs.h <<\_ACEOF
43321 #define wxUSE_PROTOCOL_FILE 1
43322 _ACEOF
43323
43324 fi
43325 else
43326 if test "$wxUSE_FS_INET" = "yes"; then
43327 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43328 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43329 wxUSE_FS_INET="no"
43330 fi
43331 fi
43332
43333 if test "$wxUSE_URL" = "yes"; then
43334 if test "$wxUSE_PROTOCOL" != "yes"; then
43335 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43336 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43337 wxUSE_URL=no
43338 fi
43339 if test "$wxUSE_URL" = "yes"; then
43340 cat >>confdefs.h <<\_ACEOF
43341 #define wxUSE_URL 1
43342 _ACEOF
43343
43344 fi
43345 fi
43346
43347 if test "$wxUSE_VARIANT" = "yes"; then
43348 cat >>confdefs.h <<\_ACEOF
43349 #define wxUSE_VARIANT 1
43350 _ACEOF
43351
43352 fi
43353
43354 if test "$wxUSE_FS_INET" = "yes"; then
43355 cat >>confdefs.h <<\_ACEOF
43356 #define wxUSE_FS_INET 1
43357 _ACEOF
43358
43359 fi
43360
43361
43362 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43363 wxUSE_JOYSTICK=no
43364
43365 if test "$TOOLKIT" = "MSW"; then
43366 wxUSE_JOYSTICK=yes
43367
43368 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43369 if test "$USE_DARWIN" = 1; then
43370 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43371 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43372 ac_ext=cc
43373 ac_cpp='$CXXCPP $CPPFLAGS'
43374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43377
43378 cat >conftest.$ac_ext <<_ACEOF
43379 /* confdefs.h. */
43380 _ACEOF
43381 cat confdefs.h >>conftest.$ac_ext
43382 cat >>conftest.$ac_ext <<_ACEOF
43383 /* end confdefs.h. */
43384 #include <IOKit/hid/IOHIDLib.h>
43385 int
43386 main ()
43387 {
43388 IOHIDQueueInterface *qi = NULL;
43389 IOHIDCallbackFunction cb = NULL;
43390 qi->setEventCallout(NULL, cb, NULL, NULL);
43391 ;
43392 return 0;
43393 }
43394 _ACEOF
43395 rm -f conftest.$ac_objext
43396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43397 (eval $ac_compile) 2>conftest.er1
43398 ac_status=$?
43399 grep -v '^ *+' conftest.er1 >conftest.err
43400 rm -f conftest.er1
43401 cat conftest.err >&5
43402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43403 (exit $ac_status); } &&
43404 { ac_try='test -z "$ac_cxx_werror_flag"
43405 || test ! -s conftest.err'
43406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43407 (eval $ac_try) 2>&5
43408 ac_status=$?
43409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43410 (exit $ac_status); }; } &&
43411 { ac_try='test -s conftest.$ac_objext'
43412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43413 (eval $ac_try) 2>&5
43414 ac_status=$?
43415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43416 (exit $ac_status); }; }; then
43417 wxUSE_JOYSTICK=yes
43418
43419 else
43420 echo "$as_me: failed program was:" >&5
43421 sed 's/^/| /' conftest.$ac_ext >&5
43422
43423 fi
43424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43425 ac_ext=c
43426 ac_cpp='$CPP $CPPFLAGS'
43427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43430
43431 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43432 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43433 fi
43434
43435 else
43436 if test "$wxUSE_MGL" != "1"; then
43437 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43438 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
43439 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43440 echo $ECHO_N "(cached) $ECHO_C" >&6
43441 else
43442 cat >conftest.$ac_ext <<_ACEOF
43443 /* confdefs.h. */
43444 _ACEOF
43445 cat confdefs.h >>conftest.$ac_ext
43446 cat >>conftest.$ac_ext <<_ACEOF
43447 /* end confdefs.h. */
43448 $ac_includes_default
43449
43450 #include <linux/joystick.h>
43451 _ACEOF
43452 rm -f conftest.$ac_objext
43453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43454 (eval $ac_compile) 2>conftest.er1
43455 ac_status=$?
43456 grep -v '^ *+' conftest.er1 >conftest.err
43457 rm -f conftest.er1
43458 cat conftest.err >&5
43459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43460 (exit $ac_status); } &&
43461 { ac_try='test -z "$ac_c_werror_flag"
43462 || test ! -s conftest.err'
43463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43464 (eval $ac_try) 2>&5
43465 ac_status=$?
43466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43467 (exit $ac_status); }; } &&
43468 { ac_try='test -s conftest.$ac_objext'
43469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43470 (eval $ac_try) 2>&5
43471 ac_status=$?
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); }; }; then
43474 ac_cv_header_linux_joystick_h=yes
43475 else
43476 echo "$as_me: failed program was:" >&5
43477 sed 's/^/| /' conftest.$ac_ext >&5
43478
43479 ac_cv_header_linux_joystick_h=no
43480 fi
43481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43482 fi
43483 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43484 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
43485 if test $ac_cv_header_linux_joystick_h = yes; then
43486 wxUSE_JOYSTICK=yes
43487 fi
43488
43489
43490 fi
43491 fi
43492
43493 if test "$wxUSE_JOYSTICK" = "yes"; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_JOYSTICK 1
43496 _ACEOF
43497
43498 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43499 else
43500 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43501 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43502 fi
43503 fi
43504
43505
43506
43507 if test "$wxUSE_FONTMAP" = "yes" ; then
43508 cat >>confdefs.h <<\_ACEOF
43509 #define wxUSE_FONTMAP 1
43510 _ACEOF
43511
43512 fi
43513
43514 if test "$wxUSE_UNICODE" = "yes" ; then
43515 cat >>confdefs.h <<\_ACEOF
43516 #define wxUSE_UNICODE 1
43517 _ACEOF
43518
43519
43520 if test "$USE_WIN32" != 1; then
43521 wxUSE_UNICODE_MSLU=no
43522 fi
43523
43524 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43525 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43526 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43527 if test "${ac_cv_lib_unicows_main+set}" = set; then
43528 echo $ECHO_N "(cached) $ECHO_C" >&6
43529 else
43530 ac_check_lib_save_LIBS=$LIBS
43531 LIBS="-lunicows $LIBS"
43532 cat >conftest.$ac_ext <<_ACEOF
43533 /* confdefs.h. */
43534 _ACEOF
43535 cat confdefs.h >>conftest.$ac_ext
43536 cat >>conftest.$ac_ext <<_ACEOF
43537 /* end confdefs.h. */
43538
43539
43540 int
43541 main ()
43542 {
43543 main ();
43544 ;
43545 return 0;
43546 }
43547 _ACEOF
43548 rm -f conftest.$ac_objext conftest$ac_exeext
43549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43550 (eval $ac_link) 2>conftest.er1
43551 ac_status=$?
43552 grep -v '^ *+' conftest.er1 >conftest.err
43553 rm -f conftest.er1
43554 cat conftest.err >&5
43555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43556 (exit $ac_status); } &&
43557 { ac_try='test -z "$ac_c_werror_flag"
43558 || test ! -s conftest.err'
43559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43560 (eval $ac_try) 2>&5
43561 ac_status=$?
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); }; } &&
43564 { ac_try='test -s conftest$ac_exeext'
43565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43566 (eval $ac_try) 2>&5
43567 ac_status=$?
43568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43569 (exit $ac_status); }; }; then
43570 ac_cv_lib_unicows_main=yes
43571 else
43572 echo "$as_me: failed program was:" >&5
43573 sed 's/^/| /' conftest.$ac_ext >&5
43574
43575 ac_cv_lib_unicows_main=no
43576 fi
43577 rm -f conftest.err conftest.$ac_objext \
43578 conftest$ac_exeext conftest.$ac_ext
43579 LIBS=$ac_check_lib_save_LIBS
43580 fi
43581 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43582 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43583 if test $ac_cv_lib_unicows_main = yes; then
43584
43585 cat >>confdefs.h <<\_ACEOF
43586 #define wxUSE_UNICODE_MSLU 1
43587 _ACEOF
43588
43589
43590 else
43591
43592 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43593 Applications will only run on Windows NT/2000/XP!" >&5
43594 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43595 Applications will only run on Windows NT/2000/XP!" >&2;}
43596 wxUSE_UNICODE_MSLU=no
43597
43598 fi
43599
43600 fi
43601 fi
43602
43603 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43604 cat >>confdefs.h <<\_ACEOF
43605 #define wxUSE_UNICODE_UTF8 1
43606 _ACEOF
43607
43608
43609 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43610 cat >>confdefs.h <<\_ACEOF
43611 #define wxUSE_UTF8_LOCALE_ONLY 1
43612 _ACEOF
43613
43614 fi
43615 fi
43616
43617 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43618 cat >>confdefs.h <<\_ACEOF
43619 #define wxUSE_EXPERIMENTAL_PRINTF 1
43620 _ACEOF
43621
43622 fi
43623
43624
43625 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43626 cat >>confdefs.h <<\_ACEOF
43627 #define wxUSE_POSTSCRIPT 1
43628 _ACEOF
43629
43630 fi
43631
43632 cat >>confdefs.h <<\_ACEOF
43633 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43634 _ACEOF
43635
43636
43637 cat >>confdefs.h <<\_ACEOF
43638 #define wxUSE_NORMALIZED_PS_FONTS 1
43639 _ACEOF
43640
43641
43642
43643 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43644 cat >>confdefs.h <<\_ACEOF
43645 #define wxUSE_CONSTRAINTS 1
43646 _ACEOF
43647
43648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43649 fi
43650
43651 if test "$wxUSE_MDI" = "yes"; then
43652 cat >>confdefs.h <<\_ACEOF
43653 #define wxUSE_MDI 1
43654 _ACEOF
43655
43656
43657 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43658 cat >>confdefs.h <<\_ACEOF
43659 #define wxUSE_MDI_ARCHITECTURE 1
43660 _ACEOF
43661
43662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43663 fi
43664 fi
43665
43666 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43667 cat >>confdefs.h <<\_ACEOF
43668 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43669 _ACEOF
43670
43671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43672 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43674 fi
43675 fi
43676
43677 if test "$wxUSE_HELP" = "yes"; then
43678 cat >>confdefs.h <<\_ACEOF
43679 #define wxUSE_HELP 1
43680 _ACEOF
43681
43682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43683
43684 if test "$wxUSE_MSW" = 1; then
43685 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43686 cat >>confdefs.h <<\_ACEOF
43687 #define wxUSE_MS_HTML_HELP 1
43688 _ACEOF
43689
43690 fi
43691 fi
43692
43693 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43694 if test "$wxUSE_HTML" = "yes"; then
43695 cat >>confdefs.h <<\_ACEOF
43696 #define wxUSE_WXHTML_HELP 1
43697 _ACEOF
43698
43699 else
43700 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43701 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43702 wxUSE_WXHTML_HELP=no
43703 fi
43704 fi
43705 fi
43706
43707 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43708 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43709 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43710 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43711 else
43712 cat >>confdefs.h <<\_ACEOF
43713 #define wxUSE_PRINTING_ARCHITECTURE 1
43714 _ACEOF
43715
43716 fi
43717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43718 fi
43719
43720
43721
43722 if test "$wxUSE_METAFILE" = "yes"; then
43723 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43724 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43725 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43726 wxUSE_METAFILE=no
43727 fi
43728 fi
43729
43730
43731 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43732 -o "$wxUSE_CLIPBOARD" = "yes" \
43733 -o "$wxUSE_OLE" = "yes" \
43734 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43735 echo "$as_me:$LINENO: checking for ole2.h" >&5
43736 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6
43737 if test "${ac_cv_header_ole2_h+set}" = set; then
43738 echo $ECHO_N "(cached) $ECHO_C" >&6
43739 else
43740 cat >conftest.$ac_ext <<_ACEOF
43741 /* confdefs.h. */
43742 _ACEOF
43743 cat confdefs.h >>conftest.$ac_ext
43744 cat >>conftest.$ac_ext <<_ACEOF
43745 /* end confdefs.h. */
43746
43747
43748 #include <ole2.h>
43749 _ACEOF
43750 rm -f conftest.$ac_objext
43751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43752 (eval $ac_compile) 2>conftest.er1
43753 ac_status=$?
43754 grep -v '^ *+' conftest.er1 >conftest.err
43755 rm -f conftest.er1
43756 cat conftest.err >&5
43757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43758 (exit $ac_status); } &&
43759 { ac_try='test -z "$ac_c_werror_flag"
43760 || test ! -s conftest.err'
43761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43762 (eval $ac_try) 2>&5
43763 ac_status=$?
43764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43765 (exit $ac_status); }; } &&
43766 { ac_try='test -s conftest.$ac_objext'
43767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43768 (eval $ac_try) 2>&5
43769 ac_status=$?
43770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43771 (exit $ac_status); }; }; then
43772 ac_cv_header_ole2_h=yes
43773 else
43774 echo "$as_me: failed program was:" >&5
43775 sed 's/^/| /' conftest.$ac_ext >&5
43776
43777 ac_cv_header_ole2_h=no
43778 fi
43779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43780 fi
43781 echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43782 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6
43783
43784
43785
43786 if test "$ac_cv_header_ole2_h" = "yes" ; then
43787 if test "$GCC" = yes ; then
43788 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43789 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43790 cat >conftest.$ac_ext <<_ACEOF
43791 /* confdefs.h. */
43792 _ACEOF
43793 cat confdefs.h >>conftest.$ac_ext
43794 cat >>conftest.$ac_ext <<_ACEOF
43795 /* end confdefs.h. */
43796 #include <windows.h>
43797 #include <ole2.h>
43798 int
43799 main ()
43800 {
43801
43802 ;
43803 return 0;
43804 }
43805 _ACEOF
43806 rm -f conftest.$ac_objext
43807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43808 (eval $ac_compile) 2>conftest.er1
43809 ac_status=$?
43810 grep -v '^ *+' conftest.er1 >conftest.err
43811 rm -f conftest.er1
43812 cat conftest.err >&5
43813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43814 (exit $ac_status); } &&
43815 { ac_try='test -z "$ac_c_werror_flag"
43816 || test ! -s conftest.err'
43817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43818 (eval $ac_try) 2>&5
43819 ac_status=$?
43820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43821 (exit $ac_status); }; } &&
43822 { ac_try='test -s conftest.$ac_objext'
43823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43824 (eval $ac_try) 2>&5
43825 ac_status=$?
43826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43827 (exit $ac_status); }; }; then
43828 echo "$as_me:$LINENO: result: no" >&5
43829 echo "${ECHO_T}no" >&6
43830 else
43831 echo "$as_me: failed program was:" >&5
43832 sed 's/^/| /' conftest.$ac_ext >&5
43833
43834 echo "$as_me:$LINENO: result: yes" >&5
43835 echo "${ECHO_T}yes" >&6
43836 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43837 fi
43838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43839 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43840 if test "$wxUSE_OLE" = "yes" ; then
43841 cat >>confdefs.h <<\_ACEOF
43842 #define wxUSE_OLE 1
43843 _ACEOF
43844
43845 cat >>confdefs.h <<\_ACEOF
43846 #define wxUSE_OLE_AUTOMATION 1
43847 _ACEOF
43848
43849 cat >>confdefs.h <<\_ACEOF
43850 #define wxUSE_ACTIVEX 1
43851 _ACEOF
43852
43853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43854 fi
43855 fi
43856
43857 if test "$wxUSE_DATAOBJ" = "yes" ; then
43858 cat >>confdefs.h <<\_ACEOF
43859 #define wxUSE_DATAOBJ 1
43860 _ACEOF
43861
43862 fi
43863 else
43864 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43865 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43866
43867 wxUSE_CLIPBOARD=no
43868 wxUSE_DRAG_AND_DROP=no
43869 wxUSE_DATAOBJ=no
43870 wxUSE_OLE=no
43871 fi
43872
43873 if test "$wxUSE_METAFILE" = "yes"; then
43874 cat >>confdefs.h <<\_ACEOF
43875 #define wxUSE_METAFILE 1
43876 _ACEOF
43877
43878
43879 cat >>confdefs.h <<\_ACEOF
43880 #define wxUSE_ENH_METAFILE 1
43881 _ACEOF
43882
43883 fi
43884 fi
43885
43886 if test "$wxUSE_IPC" = "yes"; then
43887 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43888 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43889 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43890 wxUSE_IPC=no
43891 fi
43892
43893 if test "$wxUSE_IPC" = "yes"; then
43894 cat >>confdefs.h <<\_ACEOF
43895 #define wxUSE_IPC 1
43896 _ACEOF
43897
43898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43899 fi
43900 fi
43901
43902 if test "$wxUSE_DATAOBJ" = "yes"; then
43903 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43904 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43905 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43906 wxUSE_DATAOBJ=no
43907 else
43908 cat >>confdefs.h <<\_ACEOF
43909 #define wxUSE_DATAOBJ 1
43910 _ACEOF
43911
43912 fi
43913 else
43914 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43915 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43916 wxUSE_CLIPBOARD=no
43917 wxUSE_DRAG_AND_DROP=no
43918 fi
43919
43920 if test "$wxUSE_CLIPBOARD" = "yes"; then
43921 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43922 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43923 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43924 wxUSE_CLIPBOARD=no
43925 fi
43926
43927 if test "$wxUSE_CLIPBOARD" = "yes"; then
43928 cat >>confdefs.h <<\_ACEOF
43929 #define wxUSE_CLIPBOARD 1
43930 _ACEOF
43931
43932 fi
43933 fi
43934
43935 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43936 if test "$wxUSE_GTK" = 1; then
43937 if test "$WXGTK12" != 1; then
43938 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43939 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43940 wxUSE_DRAG_AND_DROP=no
43941 fi
43942 fi
43943
43944 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43945 "$wxUSE_DFB" = 1; then
43946 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43947 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43948 wxUSE_DRAG_AND_DROP=no
43949 fi
43950
43951 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43952 cat >>confdefs.h <<\_ACEOF
43953 #define wxUSE_DRAG_AND_DROP 1
43954 _ACEOF
43955
43956 fi
43957
43958 fi
43959
43960 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43962 fi
43963
43964 if test "$wxUSE_SPLINES" = "yes" ; then
43965 cat >>confdefs.h <<\_ACEOF
43966 #define wxUSE_SPLINES 1
43967 _ACEOF
43968
43969 fi
43970
43971 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43972 cat >>confdefs.h <<\_ACEOF
43973 #define wxUSE_MOUSEWHEEL 1
43974 _ACEOF
43975
43976 fi
43977
43978
43979 USES_CONTROLS=0
43980 if test "$wxUSE_CONTROLS" = "yes"; then
43981 USES_CONTROLS=1
43982 fi
43983
43984 if test "$wxUSE_ACCEL" = "yes"; then
43985 cat >>confdefs.h <<\_ACEOF
43986 #define wxUSE_ACCEL 1
43987 _ACEOF
43988
43989 USES_CONTROLS=1
43990 fi
43991
43992 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43993 cat >>confdefs.h <<\_ACEOF
43994 #define wxUSE_ANIMATIONCTRL 1
43995 _ACEOF
43996
43997 USES_CONTROLS=1
43998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
43999 fi
44000
44001 if test "$wxUSE_BUTTON" = "yes"; then
44002 cat >>confdefs.h <<\_ACEOF
44003 #define wxUSE_BUTTON 1
44004 _ACEOF
44005
44006 USES_CONTROLS=1
44007 fi
44008
44009 if test "$wxUSE_BMPBUTTON" = "yes"; then
44010 cat >>confdefs.h <<\_ACEOF
44011 #define wxUSE_BMPBUTTON 1
44012 _ACEOF
44013
44014 USES_CONTROLS=1
44015 fi
44016
44017 if test "$wxUSE_CALCTRL" = "yes"; then
44018 cat >>confdefs.h <<\_ACEOF
44019 #define wxUSE_CALENDARCTRL 1
44020 _ACEOF
44021
44022 USES_CONTROLS=1
44023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44024 fi
44025
44026 if test "$wxUSE_CARET" = "yes"; then
44027 cat >>confdefs.h <<\_ACEOF
44028 #define wxUSE_CARET 1
44029 _ACEOF
44030
44031 USES_CONTROLS=1
44032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44033 fi
44034
44035 if test "$wxUSE_COLLPANE" = "yes"; then
44036 cat >>confdefs.h <<\_ACEOF
44037 #define wxUSE_COLLPANE 1
44038 _ACEOF
44039
44040 USES_CONTROLS=1
44041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44042 fi
44043
44044 if test "$wxUSE_COMBOBOX" = "yes"; then
44045 cat >>confdefs.h <<\_ACEOF
44046 #define wxUSE_COMBOBOX 1
44047 _ACEOF
44048
44049 USES_CONTROLS=1
44050 fi
44051
44052 if test "$wxUSE_COMBOCTRL" = "yes"; then
44053 cat >>confdefs.h <<\_ACEOF
44054 #define wxUSE_COMBOCTRL 1
44055 _ACEOF
44056
44057 USES_CONTROLS=1
44058 fi
44059
44060 if test "$wxUSE_CHOICE" = "yes"; then
44061 cat >>confdefs.h <<\_ACEOF
44062 #define wxUSE_CHOICE 1
44063 _ACEOF
44064
44065 USES_CONTROLS=1
44066 fi
44067
44068 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44069 cat >>confdefs.h <<\_ACEOF
44070 #define wxUSE_CHOICEBOOK 1
44071 _ACEOF
44072
44073 USES_CONTROLS=1
44074 fi
44075
44076 if test "$wxUSE_CHECKBOX" = "yes"; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define wxUSE_CHECKBOX 1
44079 _ACEOF
44080
44081 USES_CONTROLS=1
44082 fi
44083
44084 if test "$wxUSE_CHECKLST" = "yes"; then
44085 cat >>confdefs.h <<\_ACEOF
44086 #define wxUSE_CHECKLISTBOX 1
44087 _ACEOF
44088
44089 USES_CONTROLS=1
44090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44091 fi
44092
44093 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44094 cat >>confdefs.h <<\_ACEOF
44095 #define wxUSE_COLOURPICKERCTRL 1
44096 _ACEOF
44097
44098 USES_CONTROLS=1
44099 fi
44100
44101 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44102 cat >>confdefs.h <<\_ACEOF
44103 #define wxUSE_DATEPICKCTRL 1
44104 _ACEOF
44105
44106 USES_CONTROLS=1
44107 fi
44108
44109 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44110 cat >>confdefs.h <<\_ACEOF
44111 #define wxUSE_DIRPICKERCTRL 1
44112 _ACEOF
44113
44114 USES_CONTROLS=1
44115 fi
44116
44117 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44118 cat >>confdefs.h <<\_ACEOF
44119 #define wxUSE_FILEPICKERCTRL 1
44120 _ACEOF
44121
44122 USES_CONTROLS=1
44123 fi
44124
44125 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44126 cat >>confdefs.h <<\_ACEOF
44127 #define wxUSE_FONTPICKERCTRL 1
44128 _ACEOF
44129
44130 USES_CONTROLS=1
44131 fi
44132
44133 if test "$wxUSE_DISPLAY" = "yes"; then
44134 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44135 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44136 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44137 wxUSE_DISPLAY=no
44138 else
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_DISPLAY 1
44141 _ACEOF
44142
44143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44144 fi
44145 fi
44146
44147 if test "$wxUSE_DETECT_SM" = "yes"; then
44148 cat >>confdefs.h <<\_ACEOF
44149 #define wxUSE_DETECT_SM 1
44150 _ACEOF
44151
44152 fi
44153
44154 if test "$wxUSE_GAUGE" = "yes"; then
44155 cat >>confdefs.h <<\_ACEOF
44156 #define wxUSE_GAUGE 1
44157 _ACEOF
44158
44159 USES_CONTROLS=1
44160 fi
44161
44162 if test "$wxUSE_GRID" = "yes"; then
44163 cat >>confdefs.h <<\_ACEOF
44164 #define wxUSE_GRID 1
44165 _ACEOF
44166
44167 USES_CONTROLS=1
44168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44169 fi
44170
44171 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44172 cat >>confdefs.h <<\_ACEOF
44173 #define wxUSE_HYPERLINKCTRL 1
44174 _ACEOF
44175
44176 USES_CONTROLS=1
44177 fi
44178
44179 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44180 cat >>confdefs.h <<\_ACEOF
44181 #define wxUSE_BITMAPCOMBOBOX 1
44182 _ACEOF
44183
44184 USES_CONTROLS=1
44185 fi
44186
44187 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44188 cat >>confdefs.h <<\_ACEOF
44189 #define wxUSE_DATAVIEWCTRL 1
44190 _ACEOF
44191
44192 USES_CONTROLS=1
44193 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44194 fi
44195
44196 if test "$wxUSE_IMAGLIST" = "yes"; then
44197 cat >>confdefs.h <<\_ACEOF
44198 #define wxUSE_IMAGLIST 1
44199 _ACEOF
44200
44201 fi
44202
44203 if test "$wxUSE_LISTBOOK" = "yes"; then
44204 cat >>confdefs.h <<\_ACEOF
44205 #define wxUSE_LISTBOOK 1
44206 _ACEOF
44207
44208 USES_CONTROLS=1
44209 fi
44210
44211 if test "$wxUSE_LISTBOX" = "yes"; then
44212 cat >>confdefs.h <<\_ACEOF
44213 #define wxUSE_LISTBOX 1
44214 _ACEOF
44215
44216 USES_CONTROLS=1
44217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44218 fi
44219
44220 if test "$wxUSE_LISTCTRL" = "yes"; then
44221 if test "$wxUSE_IMAGLIST" = "yes"; then
44222 cat >>confdefs.h <<\_ACEOF
44223 #define wxUSE_LISTCTRL 1
44224 _ACEOF
44225
44226 USES_CONTROLS=1
44227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44228 else
44229 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44230 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44231 fi
44232 fi
44233
44234 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44235 cat >>confdefs.h <<\_ACEOF
44236 #define wxUSE_EDITABLELISTBOX 1
44237 _ACEOF
44238
44239 USES_CONTROLS=1
44240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44241 fi
44242
44243 if test "$wxUSE_NOTEBOOK" = "yes"; then
44244 cat >>confdefs.h <<\_ACEOF
44245 #define wxUSE_NOTEBOOK 1
44246 _ACEOF
44247
44248 USES_CONTROLS=1
44249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44250 fi
44251
44252 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44253 cat >>confdefs.h <<\_ACEOF
44254 #define wxUSE_ODCOMBOBOX 1
44255 _ACEOF
44256
44257 USES_CONTROLS=1
44258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44259 fi
44260
44261
44262 if test "$wxUSE_RADIOBOX" = "yes"; then
44263 cat >>confdefs.h <<\_ACEOF
44264 #define wxUSE_RADIOBOX 1
44265 _ACEOF
44266
44267 USES_CONTROLS=1
44268 fi
44269
44270 if test "$wxUSE_RADIOBTN" = "yes"; then
44271 cat >>confdefs.h <<\_ACEOF
44272 #define wxUSE_RADIOBTN 1
44273 _ACEOF
44274
44275 USES_CONTROLS=1
44276 fi
44277
44278 if test "$wxUSE_SASH" = "yes"; then
44279 cat >>confdefs.h <<\_ACEOF
44280 #define wxUSE_SASH 1
44281 _ACEOF
44282
44283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44284 fi
44285
44286 if test "$wxUSE_SCROLLBAR" = "yes"; then
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_SCROLLBAR 1
44289 _ACEOF
44290
44291 USES_CONTROLS=1
44292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44293 fi
44294
44295 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44296 cat >>confdefs.h <<\_ACEOF
44297 #define wxUSE_SEARCHCTRL 1
44298 _ACEOF
44299
44300 USES_CONTROLS=1
44301 fi
44302
44303 if test "$wxUSE_SLIDER" = "yes"; then
44304 cat >>confdefs.h <<\_ACEOF
44305 #define wxUSE_SLIDER 1
44306 _ACEOF
44307
44308 USES_CONTROLS=1
44309 fi
44310
44311 if test "$wxUSE_SPINBTN" = "yes"; then
44312 cat >>confdefs.h <<\_ACEOF
44313 #define wxUSE_SPINBTN 1
44314 _ACEOF
44315
44316 USES_CONTROLS=1
44317 fi
44318
44319 if test "$wxUSE_SPINCTRL" = "yes"; then
44320 cat >>confdefs.h <<\_ACEOF
44321 #define wxUSE_SPINCTRL 1
44322 _ACEOF
44323
44324 USES_CONTROLS=1
44325 fi
44326
44327 if test "$wxUSE_SPLITTER" = "yes"; then
44328 cat >>confdefs.h <<\_ACEOF
44329 #define wxUSE_SPLITTER 1
44330 _ACEOF
44331
44332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44333 fi
44334
44335 if test "$wxUSE_STATBMP" = "yes"; then
44336 cat >>confdefs.h <<\_ACEOF
44337 #define wxUSE_STATBMP 1
44338 _ACEOF
44339
44340 USES_CONTROLS=1
44341 fi
44342
44343 if test "$wxUSE_STATBOX" = "yes"; then
44344 cat >>confdefs.h <<\_ACEOF
44345 #define wxUSE_STATBOX 1
44346 _ACEOF
44347
44348 USES_CONTROLS=1
44349 fi
44350
44351 if test "$wxUSE_STATTEXT" = "yes"; then
44352 cat >>confdefs.h <<\_ACEOF
44353 #define wxUSE_STATTEXT 1
44354 _ACEOF
44355
44356 USES_CONTROLS=1
44357 fi
44358
44359 if test "$wxUSE_STATLINE" = "yes"; then
44360 cat >>confdefs.h <<\_ACEOF
44361 #define wxUSE_STATLINE 1
44362 _ACEOF
44363
44364 USES_CONTROLS=1
44365 fi
44366
44367 if test "$wxUSE_STATUSBAR" = "yes"; then
44368 cat >>confdefs.h <<\_ACEOF
44369 #define wxUSE_NATIVE_STATUSBAR 1
44370 _ACEOF
44371
44372 cat >>confdefs.h <<\_ACEOF
44373 #define wxUSE_STATUSBAR 1
44374 _ACEOF
44375
44376 USES_CONTROLS=1
44377
44378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44379 fi
44380
44381 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44382 cat >>confdefs.h <<\_ACEOF
44383 #define wxUSE_TAB_DIALOG 1
44384 _ACEOF
44385
44386 fi
44387
44388 if test "$wxUSE_TEXTCTRL" = "yes"; then
44389 cat >>confdefs.h <<\_ACEOF
44390 #define wxUSE_TEXTCTRL 1
44391 _ACEOF
44392
44393 USES_CONTROLS=1
44394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44395 fi
44396
44397 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44398 if test "$wxUSE_COCOA" = 1 ; then
44399 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44400 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44401 wxUSE_TOGGLEBTN=no
44402 fi
44403
44404 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define wxUSE_TOGGLEBTN 1
44407 _ACEOF
44408
44409 USES_CONTROLS=1
44410 fi
44411 fi
44412
44413 if test "$wxUSE_TOOLBAR" = "yes"; then
44414 cat >>confdefs.h <<\_ACEOF
44415 #define wxUSE_TOOLBAR 1
44416 _ACEOF
44417
44418 USES_CONTROLS=1
44419
44420 if test "$wxUSE_UNIVERSAL" = "yes"; then
44421 wxUSE_TOOLBAR_NATIVE="no"
44422 else
44423 wxUSE_TOOLBAR_NATIVE="yes"
44424 cat >>confdefs.h <<\_ACEOF
44425 #define wxUSE_TOOLBAR_NATIVE 1
44426 _ACEOF
44427
44428 fi
44429
44430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44431 fi
44432
44433 if test "$wxUSE_TOOLTIPS" = "yes"; then
44434 if test "$wxUSE_MOTIF" = 1; then
44435 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44436 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44437 else
44438 if test "$wxUSE_UNIVERSAL" = "yes"; then
44439 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44440 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44441 else
44442 cat >>confdefs.h <<\_ACEOF
44443 #define wxUSE_TOOLTIPS 1
44444 _ACEOF
44445
44446 fi
44447 fi
44448 fi
44449
44450 if test "$wxUSE_TREEBOOK" = "yes"; then
44451 cat >>confdefs.h <<\_ACEOF
44452 #define wxUSE_TREEBOOK 1
44453 _ACEOF
44454
44455 USES_CONTROLS=1
44456 fi
44457
44458 if test "$wxUSE_TOOLBOOK" = "yes"; then
44459 cat >>confdefs.h <<\_ACEOF
44460 #define wxUSE_TOOLBOOK 1
44461 _ACEOF
44462
44463 USES_CONTROLS=1
44464 fi
44465
44466 if test "$wxUSE_TREECTRL" = "yes"; then
44467 if test "$wxUSE_IMAGLIST" = "yes"; then
44468 cat >>confdefs.h <<\_ACEOF
44469 #define wxUSE_TREECTRL 1
44470 _ACEOF
44471
44472 USES_CONTROLS=1
44473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44474 else
44475 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44476 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44477 fi
44478 fi
44479
44480 if test "$wxUSE_POPUPWIN" = "yes"; then
44481 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44482 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44483 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44484 else
44485 if test "$wxUSE_PM" = 1; then
44486 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44487 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44488 else
44489 cat >>confdefs.h <<\_ACEOF
44490 #define wxUSE_POPUPWIN 1
44491 _ACEOF
44492
44493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44494
44495 USES_CONTROLS=1
44496 fi
44497 fi
44498 fi
44499
44500 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44501 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44502 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44503 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44504 else
44505 cat >>confdefs.h <<\_ACEOF
44506 #define wxUSE_DIALUP_MANAGER 1
44507 _ACEOF
44508
44509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44510 fi
44511 fi
44512
44513 if test "$wxUSE_TIPWINDOW" = "yes"; then
44514 if test "$wxUSE_PM" = 1; then
44515 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44516 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44517 else
44518 cat >>confdefs.h <<\_ACEOF
44519 #define wxUSE_TIPWINDOW 1
44520 _ACEOF
44521
44522 fi
44523 fi
44524
44525 if test "$USES_CONTROLS" = 1; then
44526 cat >>confdefs.h <<\_ACEOF
44527 #define wxUSE_CONTROLS 1
44528 _ACEOF
44529
44530 fi
44531
44532
44533 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44534 cat >>confdefs.h <<\_ACEOF
44535 #define wxUSE_ACCESSIBILITY 1
44536 _ACEOF
44537
44538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44539 fi
44540
44541 if test "$wxUSE_DC_CACHEING" = "yes"; then
44542 cat >>confdefs.h <<\_ACEOF
44543 #define wxUSE_DC_CACHEING 1
44544 _ACEOF
44545
44546 fi
44547
44548 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44549 cat >>confdefs.h <<\_ACEOF
44550 #define wxUSE_DRAGIMAGE 1
44551 _ACEOF
44552
44553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44554 fi
44555
44556 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44557 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44558 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44559 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44560 else
44561 cat >>confdefs.h <<\_ACEOF
44562 #define wxUSE_EXCEPTIONS 1
44563 _ACEOF
44564
44565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44566 fi
44567 fi
44568
44569 USE_HTML=0
44570 if test "$wxUSE_HTML" = "yes"; then
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_HTML 1
44573 _ACEOF
44574
44575 USE_HTML=1
44576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44577 if test "$wxUSE_MAC" = 1; then
44578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44579 fi
44580 fi
44581 if test "$wxUSE_WEBKIT" = "yes"; then
44582 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44583 old_CPPFLAGS="$CPPFLAGS"
44584 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44585 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44586 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44587 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44588 echo $ECHO_N "(cached) $ECHO_C" >&6
44589 else
44590 cat >conftest.$ac_ext <<_ACEOF
44591 /* confdefs.h. */
44592 _ACEOF
44593 cat confdefs.h >>conftest.$ac_ext
44594 cat >>conftest.$ac_ext <<_ACEOF
44595 /* end confdefs.h. */
44596
44597 #include <Carbon/Carbon.h>
44598 #include <WebKit/WebKit.h>
44599
44600
44601 #include <WebKit/HIWebView.h>
44602 _ACEOF
44603 rm -f conftest.$ac_objext
44604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44605 (eval $ac_compile) 2>conftest.er1
44606 ac_status=$?
44607 grep -v '^ *+' conftest.er1 >conftest.err
44608 rm -f conftest.er1
44609 cat conftest.err >&5
44610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44611 (exit $ac_status); } &&
44612 { ac_try='test -z "$ac_c_werror_flag"
44613 || test ! -s conftest.err'
44614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44615 (eval $ac_try) 2>&5
44616 ac_status=$?
44617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44618 (exit $ac_status); }; } &&
44619 { ac_try='test -s conftest.$ac_objext'
44620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44621 (eval $ac_try) 2>&5
44622 ac_status=$?
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); }; }; then
44625 ac_cv_header_WebKit_HIWebView_h=yes
44626 else
44627 echo "$as_me: failed program was:" >&5
44628 sed 's/^/| /' conftest.$ac_ext >&5
44629
44630 ac_cv_header_WebKit_HIWebView_h=no
44631 fi
44632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44633 fi
44634 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44635 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44636 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44637
44638 cat >>confdefs.h <<\_ACEOF
44639 #define wxUSE_WEBKIT 1
44640 _ACEOF
44641
44642 WEBKIT_LINK="-framework WebKit"
44643
44644 else
44645
44646 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44647 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44648 wxUSE_WEBKIT=no
44649
44650 fi
44651
44652
44653 CPPFLAGS="$old_CPPFLAGS"
44654 elif test "$wxUSE_COCOA" = 1; then
44655 cat >>confdefs.h <<\_ACEOF
44656 #define wxUSE_WEBKIT 1
44657 _ACEOF
44658
44659 else
44660 wxUSE_WEBKIT=no
44661 fi
44662 fi
44663
44664 USE_XRC=0
44665 if test "$wxUSE_XRC" = "yes"; then
44666 if test "$wxUSE_XML" != "yes"; then
44667 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44668 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44669 wxUSE_XRC=no
44670 else
44671 cat >>confdefs.h <<\_ACEOF
44672 #define wxUSE_XRC 1
44673 _ACEOF
44674
44675 USE_XRC=1
44676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44677 fi
44678 fi
44679
44680 USE_AUI=0
44681 if test "$wxUSE_AUI" = "yes"; then
44682 cat >>confdefs.h <<\_ACEOF
44683 #define wxUSE_AUI 1
44684 _ACEOF
44685
44686 USE_AUI=1
44687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44688 fi
44689
44690 USE_STC=0
44691 if test "$wxUSE_STC" = "yes"; then
44692 cat >>confdefs.h <<\_ACEOF
44693 #define wxUSE_STC 1
44694 _ACEOF
44695
44696 USE_STC=1
44697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44698 fi
44699
44700 if test "$wxUSE_MENUS" = "yes"; then
44701 cat >>confdefs.h <<\_ACEOF
44702 #define wxUSE_MENUS 1
44703 _ACEOF
44704
44705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44706 fi
44707
44708 if test "$wxUSE_METAFILE" = "yes"; then
44709 cat >>confdefs.h <<\_ACEOF
44710 #define wxUSE_METAFILE 1
44711 _ACEOF
44712
44713 fi
44714
44715 if test "$wxUSE_MIMETYPE" = "yes"; then
44716 cat >>confdefs.h <<\_ACEOF
44717 #define wxUSE_MIMETYPE 1
44718 _ACEOF
44719
44720 fi
44721
44722 if test "$wxUSE_MINIFRAME" = "yes"; then
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_MINIFRAME 1
44725 _ACEOF
44726
44727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44728 fi
44729
44730 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44731 cat >>confdefs.h <<\_ACEOF
44732 #define wxUSE_SYSTEM_OPTIONS 1
44733 _ACEOF
44734
44735 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44736 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44738 fi
44739 fi
44740
44741
44742 if test "$wxUSE_VALIDATORS" = "yes"; then
44743 cat >>confdefs.h <<\_ACEOF
44744 #define wxUSE_VALIDATORS 1
44745 _ACEOF
44746
44747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44748 fi
44749
44750 if test "$wxUSE_PALETTE" = "yes" ; then
44751 if test "$wxUSE_DFB" = 1; then
44752 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44753 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44754 wxUSE_PALETTE=no
44755 else
44756 cat >>confdefs.h <<\_ACEOF
44757 #define wxUSE_PALETTE 1
44758 _ACEOF
44759
44760 fi
44761 fi
44762
44763 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44764 LIBS=" -lunicows $LIBS"
44765 fi
44766
44767 USE_RICHTEXT=0
44768 if test "$wxUSE_RICHTEXT" = "yes"; then
44769 cat >>confdefs.h <<\_ACEOF
44770 #define wxUSE_RICHTEXT 1
44771 _ACEOF
44772
44773 USE_RICHTEXT=1
44774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44775 fi
44776
44777
44778 if test "$wxUSE_IMAGE" = "yes" ; then
44779 cat >>confdefs.h <<\_ACEOF
44780 #define wxUSE_IMAGE 1
44781 _ACEOF
44782
44783
44784 if test "$wxUSE_GIF" = "yes" ; then
44785 cat >>confdefs.h <<\_ACEOF
44786 #define wxUSE_GIF 1
44787 _ACEOF
44788
44789 fi
44790
44791 if test "$wxUSE_PCX" = "yes" ; then
44792 cat >>confdefs.h <<\_ACEOF
44793 #define wxUSE_PCX 1
44794 _ACEOF
44795
44796 fi
44797
44798 if test "$wxUSE_TGA" = "yes" ; then
44799 cat >>confdefs.h <<\_ACEOF
44800 #define wxUSE_TGA 1
44801 _ACEOF
44802
44803 fi
44804
44805 if test "$wxUSE_IFF" = "yes" ; then
44806 cat >>confdefs.h <<\_ACEOF
44807 #define wxUSE_IFF 1
44808 _ACEOF
44809
44810 fi
44811
44812 if test "$wxUSE_PNM" = "yes" ; then
44813 cat >>confdefs.h <<\_ACEOF
44814 #define wxUSE_PNM 1
44815 _ACEOF
44816
44817 fi
44818
44819 if test "$wxUSE_XPM" = "yes" ; then
44820 cat >>confdefs.h <<\_ACEOF
44821 #define wxUSE_XPM 1
44822 _ACEOF
44823
44824 fi
44825
44826 if test "$wxUSE_ICO_CUR" = "yes" ; then
44827 cat >>confdefs.h <<\_ACEOF
44828 #define wxUSE_ICO_CUR 1
44829 _ACEOF
44830
44831 fi
44832 fi
44833
44834
44835 if test "$wxUSE_ABOUTDLG" = "yes"; then
44836 cat >>confdefs.h <<\_ACEOF
44837 #define wxUSE_ABOUTDLG 1
44838 _ACEOF
44839
44840 fi
44841
44842 if test "$wxUSE_CHOICEDLG" = "yes"; then
44843 cat >>confdefs.h <<\_ACEOF
44844 #define wxUSE_CHOICEDLG 1
44845 _ACEOF
44846
44847 fi
44848
44849 if test "$wxUSE_COLOURDLG" = "yes"; then
44850 cat >>confdefs.h <<\_ACEOF
44851 #define wxUSE_COLOURDLG 1
44852 _ACEOF
44853
44854 fi
44855
44856 if test "$wxUSE_FILEDLG" = "yes"; then
44857 cat >>confdefs.h <<\_ACEOF
44858 #define wxUSE_FILEDLG 1
44859 _ACEOF
44860
44861 fi
44862
44863 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44864 cat >>confdefs.h <<\_ACEOF
44865 #define wxUSE_FINDREPLDLG 1
44866 _ACEOF
44867
44868 fi
44869
44870 if test "$wxUSE_FONTDLG" = "yes"; then
44871 cat >>confdefs.h <<\_ACEOF
44872 #define wxUSE_FONTDLG 1
44873 _ACEOF
44874
44875 fi
44876
44877 if test "$wxUSE_DIRDLG" = "yes"; then
44878 if test "$wxUSE_TREECTRL" != "yes"; then
44879 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44880 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44881 else
44882 cat >>confdefs.h <<\_ACEOF
44883 #define wxUSE_DIRDLG 1
44884 _ACEOF
44885
44886 fi
44887 fi
44888
44889 if test "$wxUSE_MSGDLG" = "yes"; then
44890 cat >>confdefs.h <<\_ACEOF
44891 #define wxUSE_MSGDLG 1
44892 _ACEOF
44893
44894 fi
44895
44896 if test "$wxUSE_NUMBERDLG" = "yes"; then
44897 cat >>confdefs.h <<\_ACEOF
44898 #define wxUSE_NUMBERDLG 1
44899 _ACEOF
44900
44901 fi
44902
44903 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44904 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44905 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44906 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44907 else
44908 cat >>confdefs.h <<\_ACEOF
44909 #define wxUSE_PROGRESSDLG 1
44910 _ACEOF
44911
44912 fi
44913 fi
44914
44915 if test "$wxUSE_SPLASH" = "yes"; then
44916 cat >>confdefs.h <<\_ACEOF
44917 #define wxUSE_SPLASH 1
44918 _ACEOF
44919
44920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44921 fi
44922
44923 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44924 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44925 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44926 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44927 else
44928 cat >>confdefs.h <<\_ACEOF
44929 #define wxUSE_STARTUP_TIPS 1
44930 _ACEOF
44931
44932 fi
44933 fi
44934
44935 if test "$wxUSE_TEXTDLG" = "yes"; then
44936 cat >>confdefs.h <<\_ACEOF
44937 #define wxUSE_TEXTDLG 1
44938 _ACEOF
44939
44940 fi
44941
44942 if test "$wxUSE_WIZARDDLG" = "yes"; then
44943 cat >>confdefs.h <<\_ACEOF
44944 #define wxUSE_WIZARDDLG 1
44945 _ACEOF
44946
44947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44948 fi
44949
44950
44951 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44952 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44953 cat >>confdefs.h <<\_ACEOF
44954 #define wxUSE_GRAPHICS_CONTEXT 1
44955 _ACEOF
44956
44957 elif test "$wxUSE_GTK" != 1; then
44958 cat >>confdefs.h <<\_ACEOF
44959 #define wxUSE_GRAPHICS_CONTEXT 1
44960 _ACEOF
44961
44962 else
44963
44964 pkg_failed=no
44965 echo "$as_me:$LINENO: checking for CAIRO" >&5
44966 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
44967
44968 if test -n "$PKG_CONFIG"; then
44969 if test -n "$CAIRO_CFLAGS"; then
44970 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44971 else
44972 if test -n "$PKG_CONFIG" && \
44973 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44974 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44975 ac_status=$?
44976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44977 (exit $ac_status); }; then
44978 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44979 else
44980 pkg_failed=yes
44981 fi
44982 fi
44983 else
44984 pkg_failed=untried
44985 fi
44986 if test -n "$PKG_CONFIG"; then
44987 if test -n "$CAIRO_LIBS"; then
44988 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
44989 else
44990 if test -n "$PKG_CONFIG" && \
44991 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44992 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44993 ac_status=$?
44994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44995 (exit $ac_status); }; then
44996 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
44997 else
44998 pkg_failed=yes
44999 fi
45000 fi
45001 else
45002 pkg_failed=untried
45003 fi
45004
45005
45006
45007 if test $pkg_failed = yes; then
45008
45009 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45010 _pkg_short_errors_supported=yes
45011 else
45012 _pkg_short_errors_supported=no
45013 fi
45014 if test $_pkg_short_errors_supported = yes; then
45015 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45016 else
45017 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45018 fi
45019 # Put the nasty error message in config.log where it belongs
45020 echo "$CAIRO_PKG_ERRORS" >&5
45021
45022 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45023 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45024
45025 elif test $pkg_failed = untried; then
45026 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45027 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45028
45029 else
45030 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45031 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45032 echo "$as_me:$LINENO: result: yes" >&5
45033 echo "${ECHO_T}yes" >&6
45034 cat >>confdefs.h <<\_ACEOF
45035 #define wxUSE_GRAPHICS_CONTEXT 1
45036 _ACEOF
45037
45038 fi
45039 fi
45040 fi
45041
45042
45043 USE_MEDIA=0
45044
45045 if test "$wxUSE_MEDIACTRL" = "yes"; then
45046 USE_MEDIA=1
45047
45048 if test "$wxUSE_GTK" = 1; then
45049 wxUSE_GSTREAMER="no"
45050
45051 GST_VERSION_MAJOR=0
45052 GST_VERSION_MINOR=10
45053 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45054
45055 if test "$wxUSE_GSTREAMER8" = "no"; then
45056
45057 pkg_failed=no
45058 echo "$as_me:$LINENO: checking for GST" >&5
45059 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45060
45061 if test -n "$PKG_CONFIG"; then
45062 if test -n "$GST_CFLAGS"; then
45063 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45064 else
45065 if test -n "$PKG_CONFIG" && \
45066 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45067 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45068 ac_status=$?
45069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45070 (exit $ac_status); }; then
45071 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45072 else
45073 pkg_failed=yes
45074 fi
45075 fi
45076 else
45077 pkg_failed=untried
45078 fi
45079 if test -n "$PKG_CONFIG"; then
45080 if test -n "$GST_LIBS"; then
45081 pkg_cv_GST_LIBS="$GST_LIBS"
45082 else
45083 if test -n "$PKG_CONFIG" && \
45084 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45085 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45086 ac_status=$?
45087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45088 (exit $ac_status); }; then
45089 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45090 else
45091 pkg_failed=yes
45092 fi
45093 fi
45094 else
45095 pkg_failed=untried
45096 fi
45097
45098
45099
45100 if test $pkg_failed = yes; then
45101
45102 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45103 _pkg_short_errors_supported=yes
45104 else
45105 _pkg_short_errors_supported=no
45106 fi
45107 if test $_pkg_short_errors_supported = yes; then
45108 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45109 else
45110 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45111 fi
45112 # Put the nasty error message in config.log where it belongs
45113 echo "$GST_PKG_ERRORS" >&5
45114
45115
45116 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45117 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45118 GST_VERSION_MINOR=8
45119
45120
45121 elif test $pkg_failed = untried; then
45122
45123 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45124 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45125 GST_VERSION_MINOR=8
45126
45127
45128 else
45129 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45130 GST_LIBS=$pkg_cv_GST_LIBS
45131 echo "$as_me:$LINENO: result: yes" >&5
45132 echo "${ECHO_T}yes" >&6
45133
45134 wxUSE_GSTREAMER="yes"
45135 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45136
45137 fi
45138 else
45139 GST_VERSION_MINOR=8
45140 fi
45141
45142 if test $GST_VERSION_MINOR = "8"; then
45143 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45144
45145 pkg_failed=no
45146 echo "$as_me:$LINENO: checking for GST" >&5
45147 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45148
45149 if test -n "$PKG_CONFIG"; then
45150 if test -n "$GST_CFLAGS"; then
45151 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45152 else
45153 if test -n "$PKG_CONFIG" && \
45154 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45155 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45156 ac_status=$?
45157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45158 (exit $ac_status); }; then
45159 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45160 else
45161 pkg_failed=yes
45162 fi
45163 fi
45164 else
45165 pkg_failed=untried
45166 fi
45167 if test -n "$PKG_CONFIG"; then
45168 if test -n "$GST_LIBS"; then
45169 pkg_cv_GST_LIBS="$GST_LIBS"
45170 else
45171 if test -n "$PKG_CONFIG" && \
45172 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45173 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45174 ac_status=$?
45175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45176 (exit $ac_status); }; then
45177 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45178 else
45179 pkg_failed=yes
45180 fi
45181 fi
45182 else
45183 pkg_failed=untried
45184 fi
45185
45186
45187
45188 if test $pkg_failed = yes; then
45189
45190 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45191 _pkg_short_errors_supported=yes
45192 else
45193 _pkg_short_errors_supported=no
45194 fi
45195 if test $_pkg_short_errors_supported = yes; then
45196 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45197 else
45198 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45199 fi
45200 # Put the nasty error message in config.log where it belongs
45201 echo "$GST_PKG_ERRORS" >&5
45202
45203
45204 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45205 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45206
45207 elif test $pkg_failed = untried; then
45208
45209 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45210 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45211
45212 else
45213 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45214 GST_LIBS=$pkg_cv_GST_LIBS
45215 echo "$as_me:$LINENO: result: yes" >&5
45216 echo "${ECHO_T}yes" >&6
45217 wxUSE_GSTREAMER="yes"
45218 fi
45219 fi
45220
45221
45222 if test "$wxUSE_GSTREAMER" = "yes"; then
45223 case "${host}" in
45224 *-*-solaris2* )
45225 if "$GCC" = yes; then
45226 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45227 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45228 fi
45229 esac
45230
45231 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45232 LIBS="$GST_LIBS $LIBS"
45233
45234 cat >>confdefs.h <<\_ACEOF
45235 #define wxUSE_GSTREAMER 1
45236 _ACEOF
45237
45238 else
45239 USE_MEDIA=0
45240 fi
45241 fi
45242
45243 if test $USE_MEDIA = 1; then
45244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_MEDIACTRL 1
45247 _ACEOF
45248
45249 fi
45250 fi
45251
45252
45253 if test "$cross_compiling" = "yes"; then
45254 OSINFO="\"$host\""
45255 else
45256 OSINFO=`uname -s -r -m`
45257 OSINFO="\"$OSINFO\""
45258 fi
45259
45260 cat >>confdefs.h <<_ACEOF
45261 #define WXWIN_OS_DESCRIPTION $OSINFO
45262 _ACEOF
45263
45264
45265
45266 if test "x$prefix" != "xNONE"; then
45267 wxPREFIX=$prefix
45268 else
45269 wxPREFIX=$ac_default_prefix
45270 fi
45271
45272 cat >>confdefs.h <<_ACEOF
45273 #define wxINSTALL_PREFIX "$wxPREFIX"
45274 _ACEOF
45275
45276
45277
45278
45279 CORE_BASE_LIBS="net base"
45280 CORE_GUI_LIBS="adv core"
45281
45282 if test "$wxUSE_XML" = "yes" ; then
45283 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45284 fi
45285 if test "$wxUSE_ODBC" != "no" ; then
45286 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45287 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45288 fi
45289 if test "$wxUSE_HTML" = "yes" ; then
45290 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45291 fi
45292 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45293 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45294 fi
45295 if test "$wxUSE_XRC" = "yes" ; then
45296 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45297 fi
45298 if test "$wxUSE_AUI" = "yes" ; then
45299 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45300 fi
45301 if test "$wxUSE_STC" = "yes" ; then
45302 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45303 fi
45304
45305 if test "$wxUSE_GUI" != "yes"; then
45306 CORE_GUI_LIBS=""
45307 fi
45308
45309
45310
45311
45312
45313
45314 if test "$wxUSE_MAC" = 1 ; then
45315 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45316 if test "$USE_DARWIN" = 1; then
45317 LDFLAGS="$LDFLAGS -framework QuickTime"
45318 else
45319 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45320 fi
45321 fi
45322 if test "$USE_DARWIN" = 1; then
45323 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45324 else
45325 LDFLAGS="$LDFLAGS -lCarbonLib"
45326 fi
45327 fi
45328 if test "$wxUSE_COCOA" = 1 ; then
45329 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45330 if test "$wxUSE_MEDIACTRL" = "yes"; then
45331 LDFLAGS="$LDFLAGS -framework QuickTime"
45332 fi
45333 fi
45334 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45335 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45336 fi
45337
45338 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45339
45340 if test "$wxUSE_GUI" = "yes"; then
45341
45342
45343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45344 dynamic erase event exec font image minimal mobile \
45345 mobile/wxedit mobile/styles propsize render \
45346 rotate shaped svg taborder vscroll widgets"
45347
45348 if test "$wxUSE_MONOLITHIC" != "yes"; then
45349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45350 fi
45351 if test "$TOOLKIT" = "MSW"; then
45352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45353 if test "$wxUSE_UNIVERSAL" != "yes"; then
45354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45355 fi
45356 fi
45357 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45359 fi
45360 else
45361 SAMPLES_SUBDIRS="console"
45362 fi
45363
45364
45365 if test "x$INTELCC" = "xyes" ; then
45366 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45367 elif test "$GCC" = yes ; then
45368 CWARNINGS="-Wall -Wundef"
45369 fi
45370
45371 if test "x$INTELCXX" = "xyes" ; then
45372 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45373 elif test "$GXX" = yes ; then
45374 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45375 fi
45376
45377
45378 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45379 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45380
45381
45382 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45383 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45384 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45385 $CPPFLAGS `
45386
45387 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45388 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45389 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45390
45391 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45392
45393
45394 if test "x$MWCC" = "xyes"; then
45395
45396 CC="$CC -cwd source -I-"
45397 CXX="$CXX -cwd source -I-"
45398 fi
45399
45400
45401 LIBS=`echo $LIBS`
45402 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45403 EXTRALIBS_XML="$EXPAT_LINK"
45404 EXTRALIBS_HTML="$MSPACK_LINK"
45405 EXTRALIBS_ODBC="$ODBC_LINK"
45406 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45407 if test "$wxUSE_GUI" = "yes"; then
45408 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45409 fi
45410 if test "$wxUSE_OPENGL" = "yes"; then
45411 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45412 fi
45413
45414 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45415
45416 WXCONFIG_LIBS="$LIBS"
45417
45418 if test "$wxUSE_REGEX" = "builtin" ; then
45419 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45420 fi
45421 if test "$wxUSE_EXPAT" = "builtin" ; then
45422 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45423 fi
45424 if test "$wxUSE_ODBC" = "builtin" ; then
45425 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45426 fi
45427 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45428 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45429 fi
45430 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45431 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45432 fi
45433 if test "$wxUSE_LIBPNG" = "builtin" ; then
45434 wxconfig_3rdparty="png $wxconfig_3rdparty"
45435 fi
45436 if test "$wxUSE_ZLIB" = "builtin" ; then
45437 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45438 fi
45439
45440 for i in $wxconfig_3rdparty ; do
45441 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45442 done
45443
45444
45445 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45446 WXUNIV=1
45447
45448 case "$wxUNIV_THEMES" in
45449 ''|all)
45450 cat >>confdefs.h <<\_ACEOF
45451 #define wxUSE_ALL_THEMES 1
45452 _ACEOF
45453
45454 ;;
45455
45456 *)
45457 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45458 cat >>confdefs.h <<_ACEOF
45459 #define wxUSE_THEME_$t 1
45460 _ACEOF
45461
45462 done
45463 esac
45464 else
45465 WXUNIV=0
45466 fi
45467
45468
45469
45470
45471
45472
45473
45474
45475
45476 if test $wxUSE_MONOLITHIC = "yes" ; then
45477 MONOLITHIC=1
45478 else
45479 MONOLITHIC=0
45480 fi
45481
45482 if test $wxUSE_PLUGINS = "yes" ; then
45483 USE_PLUGINS=1
45484 else
45485 USE_PLUGINS=0
45486 fi
45487
45488 if test $wxUSE_ODBC != "no" ; then
45489 USE_ODBC=1
45490 else
45491 USE_ODBC=0
45492 fi
45493
45494 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45495 USE_QA=1
45496 else
45497 USE_QA=0
45498 fi
45499
45500 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45501 OFFICIAL_BUILD=1
45502 else
45503 OFFICIAL_BUILD=0
45504 fi
45505
45506
45507
45508
45509
45510
45511
45512
45513
45514
45515
45516
45517
45518
45519
45520
45521
45522
45523
45524
45525
45526
45527
45528
45529
45530
45531 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45532
45533
45534
45535
45536
45537
45538
45539
45540 case "$TOOLKIT" in
45541 GTK)
45542 TOOLKIT_DESC="GTK+"
45543 if test "$WXGTK20" = 1; then
45544 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45545 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45546 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45547 fi
45548 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45549 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45550 fi
45551 if test "$wxUSE_LIBHILDON" = "yes"; then
45552 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45553 fi
45554
45555 if test "$TOOLKIT_EXTRA" != ""; then
45556 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45557 fi
45558 fi
45559 ;;
45560
45561 ?*)
45562 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45563 ;;
45564
45565 *)
45566 TOOLKIT_DESC="base only"
45567 ;;
45568 esac
45569
45570 if test "$wxUSE_WINE" = "yes"; then
45571 BAKEFILE_FORCE_PLATFORM=win32
45572 fi
45573
45574 if test "$wxUSE_MAC" = 1 ; then
45575 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45576 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45577 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45578 else
45579 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45580 fi
45581 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45582 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45583 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45584 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45585 bk_use_pch=no
45586 fi
45587 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45588 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45589 fi
45590
45591 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45592 then
45593 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45594 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
45595 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45596 echo $ECHO_N "(cached) $ECHO_C" >&6
45597 else
45598
45599 echo '#include <stdio.h>
45600 const wchar_t test_var[] = L"awidetest";' > conftest.h
45601
45602 echo '#include "conftest.h"
45603 int main()
45604 {
45605 printf("%ls", test_var);
45606 return 0;
45607 }' > conftest.cpp
45608
45609 wx_cv_gcc_pch_bug="pch not supported"
45610
45611 if $CXX conftest.h >/dev/null 2>&1
45612 then
45613 wx_cv_gcc_pch_bug=
45614
45615 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45616 then
45617 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45618 grep awidetest >/dev/null
45619 then
45620 wx_cv_gcc_pch_bug=no
45621 else
45622 wx_cv_gcc_pch_bug=yes
45623 fi
45624 fi
45625 fi
45626
45627 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45628
45629 fi
45630 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45631 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
45632
45633 if test "$wx_cv_gcc_pch_bug" = yes; then
45634 bk_use_pch=no
45635 fi
45636 fi
45637
45638
45639
45640
45641 if test "x$BAKEFILE_HOST" = "x"; then
45642 if test "x${host}" = "x" ; then
45643 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45644 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45645 { (exit 1); exit 1; }; }
45646 fi
45647
45648 BAKEFILE_HOST="${host}"
45649 fi
45650
45651 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45652
45653 if test -n "$ac_tool_prefix"; then
45654 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45655 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45656 echo "$as_me:$LINENO: checking for $ac_word" >&5
45657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45658 if test "${ac_cv_prog_RANLIB+set}" = set; then
45659 echo $ECHO_N "(cached) $ECHO_C" >&6
45660 else
45661 if test -n "$RANLIB"; then
45662 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45663 else
45664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45665 for as_dir in $PATH
45666 do
45667 IFS=$as_save_IFS
45668 test -z "$as_dir" && as_dir=.
45669 for ac_exec_ext in '' $ac_executable_extensions; do
45670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45671 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45673 break 2
45674 fi
45675 done
45676 done
45677
45678 fi
45679 fi
45680 RANLIB=$ac_cv_prog_RANLIB
45681 if test -n "$RANLIB"; then
45682 echo "$as_me:$LINENO: result: $RANLIB" >&5
45683 echo "${ECHO_T}$RANLIB" >&6
45684 else
45685 echo "$as_me:$LINENO: result: no" >&5
45686 echo "${ECHO_T}no" >&6
45687 fi
45688
45689 fi
45690 if test -z "$ac_cv_prog_RANLIB"; then
45691 ac_ct_RANLIB=$RANLIB
45692 # Extract the first word of "ranlib", so it can be a program name with args.
45693 set dummy ranlib; ac_word=$2
45694 echo "$as_me:$LINENO: checking for $ac_word" >&5
45695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45696 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45697 echo $ECHO_N "(cached) $ECHO_C" >&6
45698 else
45699 if test -n "$ac_ct_RANLIB"; then
45700 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45701 else
45702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45703 for as_dir in $PATH
45704 do
45705 IFS=$as_save_IFS
45706 test -z "$as_dir" && as_dir=.
45707 for ac_exec_ext in '' $ac_executable_extensions; do
45708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45709 ac_cv_prog_ac_ct_RANLIB="ranlib"
45710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45711 break 2
45712 fi
45713 done
45714 done
45715
45716 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
45717 fi
45718 fi
45719 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45720 if test -n "$ac_ct_RANLIB"; then
45721 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45722 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45723 else
45724 echo "$as_me:$LINENO: result: no" >&5
45725 echo "${ECHO_T}no" >&6
45726 fi
45727
45728 RANLIB=$ac_ct_RANLIB
45729 else
45730 RANLIB="$ac_cv_prog_RANLIB"
45731 fi
45732
45733 # Find a good install program. We prefer a C program (faster),
45734 # so one script is as good as another. But avoid the broken or
45735 # incompatible versions:
45736 # SysV /etc/install, /usr/sbin/install
45737 # SunOS /usr/etc/install
45738 # IRIX /sbin/install
45739 # AIX /bin/install
45740 # AmigaOS /C/install, which installs bootblocks on floppy discs
45741 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45742 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45743 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45744 # OS/2's system install, which has a completely different semantic
45745 # ./install, which can be erroneously created by make from ./install.sh.
45746 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45747 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45748 if test -z "$INSTALL"; then
45749 if test "${ac_cv_path_install+set}" = set; then
45750 echo $ECHO_N "(cached) $ECHO_C" >&6
45751 else
45752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45753 for as_dir in $PATH
45754 do
45755 IFS=$as_save_IFS
45756 test -z "$as_dir" && as_dir=.
45757 # Account for people who put trailing slashes in PATH elements.
45758 case $as_dir/ in
45759 ./ | .// | /cC/* | \
45760 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45761 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45762 /usr/ucb/* ) ;;
45763 *)
45764 # OSF1 and SCO ODT 3.0 have their own names for install.
45765 # Don't use installbsd from OSF since it installs stuff as root
45766 # by default.
45767 for ac_prog in ginstall scoinst install; do
45768 for ac_exec_ext in '' $ac_executable_extensions; do
45769 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45770 if test $ac_prog = install &&
45771 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45772 # AIX install. It has an incompatible calling convention.
45773 :
45774 elif test $ac_prog = install &&
45775 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45776 # program-specific install script used by HP pwplus--don't use.
45777 :
45778 else
45779 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45780 break 3
45781 fi
45782 fi
45783 done
45784 done
45785 ;;
45786 esac
45787 done
45788
45789
45790 fi
45791 if test "${ac_cv_path_install+set}" = set; then
45792 INSTALL=$ac_cv_path_install
45793 else
45794 # As a last resort, use the slow shell script. We don't cache a
45795 # path for INSTALL within a source directory, because that will
45796 # break other packages using the cache if that directory is
45797 # removed, or if the path is relative.
45798 INSTALL=$ac_install_sh
45799 fi
45800 fi
45801 echo "$as_me:$LINENO: result: $INSTALL" >&5
45802 echo "${ECHO_T}$INSTALL" >&6
45803
45804 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45805 # It thinks the first close brace ends the variable substitution.
45806 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45807
45808 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45809
45810 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45811
45812 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45813 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45814 LN_S=$as_ln_s
45815 if test "$LN_S" = "ln -s"; then
45816 echo "$as_me:$LINENO: result: yes" >&5
45817 echo "${ECHO_T}yes" >&6
45818 else
45819 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45820 echo "${ECHO_T}no, using $LN_S" >&6
45821 fi
45822
45823
45824 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45825 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45826 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45827 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45828 echo $ECHO_N "(cached) $ECHO_C" >&6
45829 else
45830 cat >conftest.make <<\_ACEOF
45831 all:
45832 @echo 'ac_maketemp="$(MAKE)"'
45833 _ACEOF
45834 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45835 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45836 if test -n "$ac_maketemp"; then
45837 eval ac_cv_prog_make_${ac_make}_set=yes
45838 else
45839 eval ac_cv_prog_make_${ac_make}_set=no
45840 fi
45841 rm -f conftest.make
45842 fi
45843 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45844 echo "$as_me:$LINENO: result: yes" >&5
45845 echo "${ECHO_T}yes" >&6
45846 SET_MAKE=
45847 else
45848 echo "$as_me:$LINENO: result: no" >&5
45849 echo "${ECHO_T}no" >&6
45850 SET_MAKE="MAKE=${MAKE-make}"
45851 fi
45852
45853
45854
45855 if test "x$SUNCXX" = "xyes"; then
45856 AR=$CXX
45857 AROPTIONS="-xar -o"
45858
45859 elif test "x$SGICC" = "xyes"; then
45860 AR=$CXX
45861 AROPTIONS="-ar -o"
45862
45863 else
45864 if test -n "$ac_tool_prefix"; then
45865 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45866 set dummy ${ac_tool_prefix}ar; ac_word=$2
45867 echo "$as_me:$LINENO: checking for $ac_word" >&5
45868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45869 if test "${ac_cv_prog_AR+set}" = set; then
45870 echo $ECHO_N "(cached) $ECHO_C" >&6
45871 else
45872 if test -n "$AR"; then
45873 ac_cv_prog_AR="$AR" # Let the user override the test.
45874 else
45875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45876 for as_dir in $PATH
45877 do
45878 IFS=$as_save_IFS
45879 test -z "$as_dir" && as_dir=.
45880 for ac_exec_ext in '' $ac_executable_extensions; do
45881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45882 ac_cv_prog_AR="${ac_tool_prefix}ar"
45883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45884 break 2
45885 fi
45886 done
45887 done
45888
45889 fi
45890 fi
45891 AR=$ac_cv_prog_AR
45892 if test -n "$AR"; then
45893 echo "$as_me:$LINENO: result: $AR" >&5
45894 echo "${ECHO_T}$AR" >&6
45895 else
45896 echo "$as_me:$LINENO: result: no" >&5
45897 echo "${ECHO_T}no" >&6
45898 fi
45899
45900 fi
45901 if test -z "$ac_cv_prog_AR"; then
45902 ac_ct_AR=$AR
45903 # Extract the first word of "ar", so it can be a program name with args.
45904 set dummy ar; ac_word=$2
45905 echo "$as_me:$LINENO: checking for $ac_word" >&5
45906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45907 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45908 echo $ECHO_N "(cached) $ECHO_C" >&6
45909 else
45910 if test -n "$ac_ct_AR"; then
45911 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45912 else
45913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45914 for as_dir in $PATH
45915 do
45916 IFS=$as_save_IFS
45917 test -z "$as_dir" && as_dir=.
45918 for ac_exec_ext in '' $ac_executable_extensions; do
45919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45920 ac_cv_prog_ac_ct_AR="ar"
45921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45922 break 2
45923 fi
45924 done
45925 done
45926
45927 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
45928 fi
45929 fi
45930 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45931 if test -n "$ac_ct_AR"; then
45932 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45933 echo "${ECHO_T}$ac_ct_AR" >&6
45934 else
45935 echo "$as_me:$LINENO: result: no" >&5
45936 echo "${ECHO_T}no" >&6
45937 fi
45938
45939 AR=$ac_ct_AR
45940 else
45941 AR="$ac_cv_prog_AR"
45942 fi
45943
45944 AROPTIONS=rcu
45945 fi
45946
45947
45948 if test -n "$ac_tool_prefix"; then
45949 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45950 set dummy ${ac_tool_prefix}strip; ac_word=$2
45951 echo "$as_me:$LINENO: checking for $ac_word" >&5
45952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45953 if test "${ac_cv_prog_STRIP+set}" = set; then
45954 echo $ECHO_N "(cached) $ECHO_C" >&6
45955 else
45956 if test -n "$STRIP"; then
45957 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45958 else
45959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45960 for as_dir in $PATH
45961 do
45962 IFS=$as_save_IFS
45963 test -z "$as_dir" && as_dir=.
45964 for ac_exec_ext in '' $ac_executable_extensions; do
45965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45966 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45968 break 2
45969 fi
45970 done
45971 done
45972
45973 fi
45974 fi
45975 STRIP=$ac_cv_prog_STRIP
45976 if test -n "$STRIP"; then
45977 echo "$as_me:$LINENO: result: $STRIP" >&5
45978 echo "${ECHO_T}$STRIP" >&6
45979 else
45980 echo "$as_me:$LINENO: result: no" >&5
45981 echo "${ECHO_T}no" >&6
45982 fi
45983
45984 fi
45985 if test -z "$ac_cv_prog_STRIP"; then
45986 ac_ct_STRIP=$STRIP
45987 # Extract the first word of "strip", so it can be a program name with args.
45988 set dummy strip; ac_word=$2
45989 echo "$as_me:$LINENO: checking for $ac_word" >&5
45990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45991 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45992 echo $ECHO_N "(cached) $ECHO_C" >&6
45993 else
45994 if test -n "$ac_ct_STRIP"; then
45995 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45996 else
45997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45998 for as_dir in $PATH
45999 do
46000 IFS=$as_save_IFS
46001 test -z "$as_dir" && as_dir=.
46002 for ac_exec_ext in '' $ac_executable_extensions; do
46003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46004 ac_cv_prog_ac_ct_STRIP="strip"
46005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46006 break 2
46007 fi
46008 done
46009 done
46010
46011 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
46012 fi
46013 fi
46014 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46015 if test -n "$ac_ct_STRIP"; then
46016 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46017 echo "${ECHO_T}$ac_ct_STRIP" >&6
46018 else
46019 echo "$as_me:$LINENO: result: no" >&5
46020 echo "${ECHO_T}no" >&6
46021 fi
46022
46023 STRIP=$ac_ct_STRIP
46024 else
46025 STRIP="$ac_cv_prog_STRIP"
46026 fi
46027
46028 if test -n "$ac_tool_prefix"; then
46029 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46030 set dummy ${ac_tool_prefix}nm; ac_word=$2
46031 echo "$as_me:$LINENO: checking for $ac_word" >&5
46032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46033 if test "${ac_cv_prog_NM+set}" = set; then
46034 echo $ECHO_N "(cached) $ECHO_C" >&6
46035 else
46036 if test -n "$NM"; then
46037 ac_cv_prog_NM="$NM" # Let the user override the test.
46038 else
46039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46040 for as_dir in $PATH
46041 do
46042 IFS=$as_save_IFS
46043 test -z "$as_dir" && as_dir=.
46044 for ac_exec_ext in '' $ac_executable_extensions; do
46045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46046 ac_cv_prog_NM="${ac_tool_prefix}nm"
46047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46048 break 2
46049 fi
46050 done
46051 done
46052
46053 fi
46054 fi
46055 NM=$ac_cv_prog_NM
46056 if test -n "$NM"; then
46057 echo "$as_me:$LINENO: result: $NM" >&5
46058 echo "${ECHO_T}$NM" >&6
46059 else
46060 echo "$as_me:$LINENO: result: no" >&5
46061 echo "${ECHO_T}no" >&6
46062 fi
46063
46064 fi
46065 if test -z "$ac_cv_prog_NM"; then
46066 ac_ct_NM=$NM
46067 # Extract the first word of "nm", so it can be a program name with args.
46068 set dummy nm; ac_word=$2
46069 echo "$as_me:$LINENO: checking for $ac_word" >&5
46070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46071 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46072 echo $ECHO_N "(cached) $ECHO_C" >&6
46073 else
46074 if test -n "$ac_ct_NM"; then
46075 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46076 else
46077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46078 for as_dir in $PATH
46079 do
46080 IFS=$as_save_IFS
46081 test -z "$as_dir" && as_dir=.
46082 for ac_exec_ext in '' $ac_executable_extensions; do
46083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46084 ac_cv_prog_ac_ct_NM="nm"
46085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46086 break 2
46087 fi
46088 done
46089 done
46090
46091 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
46092 fi
46093 fi
46094 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46095 if test -n "$ac_ct_NM"; then
46096 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46097 echo "${ECHO_T}$ac_ct_NM" >&6
46098 else
46099 echo "$as_me:$LINENO: result: no" >&5
46100 echo "${ECHO_T}no" >&6
46101 fi
46102
46103 NM=$ac_ct_NM
46104 else
46105 NM="$ac_cv_prog_NM"
46106 fi
46107
46108
46109 case ${BAKEFILE_HOST} in
46110 *-hp-hpux* )
46111 INSTALL_DIR="mkdir -p"
46112 ;;
46113 * )
46114 INSTALL_DIR='$(INSTALL) -d'
46115 ;;
46116 esac
46117
46118
46119 LDFLAGS_GUI=
46120 case ${BAKEFILE_HOST} in
46121 *-*-cygwin* | *-*-mingw32* )
46122 LDFLAGS_GUI="-mwindows"
46123 esac
46124
46125
46126 fi
46127
46128 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46129 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46130 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46131 echo $ECHO_N "(cached) $ECHO_C" >&6
46132 else
46133
46134 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46135 egrep -s GNU > /dev/null); then
46136 bakefile_cv_prog_makeisgnu="yes"
46137 else
46138 bakefile_cv_prog_makeisgnu="no"
46139 fi
46140
46141 fi
46142 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46143 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46144
46145 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46146 IF_GNU_MAKE=""
46147 else
46148 IF_GNU_MAKE="#"
46149 fi
46150
46151
46152
46153 PLATFORM_UNIX=0
46154 PLATFORM_WIN32=0
46155 PLATFORM_MSDOS=0
46156 PLATFORM_MAC=0
46157 PLATFORM_MACOS=0
46158 PLATFORM_MACOSX=0
46159 PLATFORM_OS2=0
46160 PLATFORM_BEOS=0
46161
46162 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46163 case "${BAKEFILE_HOST}" in
46164 *-*-mingw32* )
46165 PLATFORM_WIN32=1
46166 ;;
46167 *-pc-msdosdjgpp )
46168 PLATFORM_MSDOS=1
46169 ;;
46170 *-pc-os2_emx | *-pc-os2-emx )
46171 PLATFORM_OS2=1
46172 ;;
46173 *-*-darwin* )
46174 PLATFORM_MAC=1
46175 PLATFORM_MACOSX=1
46176 ;;
46177 *-*-beos* )
46178 PLATFORM_BEOS=1
46179 ;;
46180 powerpc-apple-macos* )
46181 PLATFORM_MAC=1
46182 PLATFORM_MACOS=1
46183 ;;
46184 * )
46185 PLATFORM_UNIX=1
46186 ;;
46187 esac
46188 else
46189 case "$BAKEFILE_FORCE_PLATFORM" in
46190 win32 )
46191 PLATFORM_WIN32=1
46192 ;;
46193 msdos )
46194 PLATFORM_MSDOS=1
46195 ;;
46196 os2 )
46197 PLATFORM_OS2=1
46198 ;;
46199 darwin )
46200 PLATFORM_MAC=1
46201 PLATFORM_MACOSX=1
46202 ;;
46203 unix )
46204 PLATFORM_UNIX=1
46205 ;;
46206 beos )
46207 PLATFORM_BEOS=1
46208 ;;
46209 * )
46210 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46211 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46212 { (exit 1); exit 1; }; }
46213 ;;
46214 esac
46215 fi
46216
46217
46218
46219
46220
46221
46222
46223
46224
46225
46226
46227 # Check whether --enable-omf or --disable-omf was given.
46228 if test "${enable_omf+set}" = set; then
46229 enableval="$enable_omf"
46230 bk_os2_use_omf="$enableval"
46231 fi;
46232
46233 case "${BAKEFILE_HOST}" in
46234 *-*-darwin* )
46235 if test "x$GCC" = "xyes"; then
46236 CFLAGS="$CFLAGS -fno-common"
46237 CXXFLAGS="$CXXFLAGS -fno-common"
46238 fi
46239 if test "x$XLCC" = "xyes"; then
46240 CFLAGS="$CFLAGS -qnocommon"
46241 CXXFLAGS="$CXXFLAGS -qnocommon"
46242 fi
46243 ;;
46244
46245 *-pc-os2_emx | *-pc-os2-emx )
46246 if test "x$bk_os2_use_omf" = "xyes" ; then
46247 AR=emxomfar
46248 RANLIB=:
46249 LDFLAGS="-Zomf $LDFLAGS"
46250 CFLAGS="-Zomf $CFLAGS"
46251 CXXFLAGS="-Zomf $CXXFLAGS"
46252 OS2_LIBEXT="lib"
46253 else
46254 OS2_LIBEXT="a"
46255 fi
46256 ;;
46257
46258 i*86-*-beos* )
46259 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46260 ;;
46261 esac
46262
46263
46264 SO_SUFFIX="so"
46265 SO_SUFFIX_MODULE="so"
46266 EXEEXT=""
46267 LIBPREFIX="lib"
46268 LIBEXT=".a"
46269 DLLPREFIX="lib"
46270 DLLPREFIX_MODULE=""
46271 DLLIMP_SUFFIX=""
46272 dlldir="$libdir"
46273
46274 case "${BAKEFILE_HOST}" in
46275 *-hp-hpux* )
46276 SO_SUFFIX="sl"
46277 SO_SUFFIX_MODULE="sl"
46278 ;;
46279 *-*-aix* )
46280 SO_SUFFIX="a"
46281 SO_SUFFIX_MODULE="a"
46282 ;;
46283 *-*-cygwin* )
46284 SO_SUFFIX="dll"
46285 SO_SUFFIX_MODULE="dll"
46286 DLLIMP_SUFFIX="dll.a"
46287 EXEEXT=".exe"
46288 DLLPREFIX="cyg"
46289 dlldir="$bindir"
46290 ;;
46291 *-*-mingw32* )
46292 SO_SUFFIX="dll"
46293 SO_SUFFIX_MODULE="dll"
46294 DLLIMP_SUFFIX="dll.a"
46295 EXEEXT=".exe"
46296 DLLPREFIX=""
46297 dlldir="$bindir"
46298 ;;
46299 *-pc-msdosdjgpp )
46300 EXEEXT=".exe"
46301 DLLPREFIX=""
46302 dlldir="$bindir"
46303 ;;
46304 *-pc-os2_emx | *-pc-os2-emx )
46305 SO_SUFFIX="dll"
46306 SO_SUFFIX_MODULE="dll"
46307 DLLIMP_SUFFIX=$OS2_LIBEXT
46308 EXEEXT=".exe"
46309 DLLPREFIX=""
46310 LIBPREFIX=""
46311 LIBEXT=".$OS2_LIBEXT"
46312 dlldir="$bindir"
46313 ;;
46314 *-*-darwin* )
46315 SO_SUFFIX="dylib"
46316 SO_SUFFIX_MODULE="bundle"
46317 ;;
46318 esac
46319
46320 if test "x$DLLIMP_SUFFIX" = "x" ; then
46321 DLLIMP_SUFFIX="$SO_SUFFIX"
46322 fi
46323
46324
46325
46326
46327
46328
46329
46330
46331
46332
46333
46334
46335 PIC_FLAG=""
46336 if test "x$GCC" = "xyes"; then
46337 PIC_FLAG="-fPIC"
46338 fi
46339
46340 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46341 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46342 WINDOWS_IMPLIB=0
46343
46344 case "${BAKEFILE_HOST}" in
46345 *-hp-hpux* )
46346 if test "x$GCC" != "xyes"; then
46347 LDFLAGS="$LDFLAGS -L/usr/lib"
46348
46349 SHARED_LD_CC="${CC} -b -o"
46350 SHARED_LD_CXX="${CXX} -b -o"
46351 PIC_FLAG="+Z"
46352 fi
46353 ;;
46354
46355 *-*-linux* )
46356 if test "x$GCC" != "xyes"; then
46357 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46358 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46359 if test "${bakefile_cv_prog_icc+set}" = set; then
46360 echo $ECHO_N "(cached) $ECHO_C" >&6
46361 else
46362
46363 cat >conftest.$ac_ext <<_ACEOF
46364 /* confdefs.h. */
46365 _ACEOF
46366 cat confdefs.h >>conftest.$ac_ext
46367 cat >>conftest.$ac_ext <<_ACEOF
46368 /* end confdefs.h. */
46369
46370 int
46371 main ()
46372 {
46373
46374 #ifndef __INTEL_COMPILER
46375 This is not ICC
46376 #endif
46377
46378 ;
46379 return 0;
46380 }
46381 _ACEOF
46382 rm -f conftest.$ac_objext
46383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46384 (eval $ac_compile) 2>conftest.er1
46385 ac_status=$?
46386 grep -v '^ *+' conftest.er1 >conftest.err
46387 rm -f conftest.er1
46388 cat conftest.err >&5
46389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46390 (exit $ac_status); } &&
46391 { ac_try='test -z "$ac_c_werror_flag"
46392 || test ! -s conftest.err'
46393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46394 (eval $ac_try) 2>&5
46395 ac_status=$?
46396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46397 (exit $ac_status); }; } &&
46398 { ac_try='test -s conftest.$ac_objext'
46399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46400 (eval $ac_try) 2>&5
46401 ac_status=$?
46402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46403 (exit $ac_status); }; }; then
46404 bakefile_cv_prog_icc=yes
46405 else
46406 echo "$as_me: failed program was:" >&5
46407 sed 's/^/| /' conftest.$ac_ext >&5
46408
46409 bakefile_cv_prog_icc=no
46410
46411 fi
46412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46413
46414 fi
46415 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46416 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46417 if test "$bakefile_cv_prog_icc" = "yes"; then
46418 PIC_FLAG="-KPIC"
46419 fi
46420 fi
46421 ;;
46422
46423 *-*-solaris2* )
46424 if test "x$GCC" != xyes ; then
46425 SHARED_LD_CC="${CC} -G -o"
46426 SHARED_LD_CXX="${CXX} -G -o"
46427 PIC_FLAG="-KPIC"
46428 fi
46429 ;;
46430
46431 *-*-darwin* )
46432
46433 D='$'
46434 cat <<EOF >shared-ld-sh
46435 #!/bin/sh
46436 #-----------------------------------------------------------------------------
46437 #-- Name: distrib/mac/shared-ld-sh
46438 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46439 #-- Author: Gilles Depeyrot
46440 #-- Copyright: (c) 2002 Gilles Depeyrot
46441 #-- Licence: any use permitted
46442 #-----------------------------------------------------------------------------
46443
46444 verbose=0
46445 args=""
46446 objects=""
46447 linking_flag="-dynamiclib"
46448 ldargs="-r -keep_private_externs -nostdlib"
46449
46450 while test ${D}# -gt 0; do
46451 case ${D}1 in
46452
46453 -v)
46454 verbose=1
46455 ;;
46456
46457 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46458 # collect these options and values
46459 args="${D}{args} ${D}1 ${D}2"
46460 shift
46461 ;;
46462
46463 -s|-Wl,*)
46464 # collect these load args
46465 ldargs="${D}{ldargs} ${D}1"
46466 ;;
46467
46468 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46469 # collect these options
46470 args="${D}{args} ${D}1"
46471 ;;
46472
46473 -dynamiclib|-bundle)
46474 linking_flag="${D}1"
46475 ;;
46476
46477 -*)
46478 echo "shared-ld: unhandled option '${D}1'"
46479 exit 1
46480 ;;
46481
46482 *.o | *.a | *.dylib)
46483 # collect object files
46484 objects="${D}{objects} ${D}1"
46485 ;;
46486
46487 *)
46488 echo "shared-ld: unhandled argument '${D}1'"
46489 exit 1
46490 ;;
46491
46492 esac
46493 shift
46494 done
46495
46496 status=0
46497
46498 #
46499 # Link one module containing all the others
46500 #
46501 if test ${D}{verbose} = 1; then
46502 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46503 fi
46504 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46505 status=${D}?
46506
46507 #
46508 # Link the shared library from the single module created, but only if the
46509 # previous command didn't fail:
46510 #
46511 if test ${D}{status} = 0; then
46512 if test ${D}{verbose} = 1; then
46513 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46514 fi
46515 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46516 status=${D}?
46517 fi
46518
46519 #
46520 # Remove intermediate module
46521 #
46522 rm -f master.${D}${D}.o
46523
46524 exit ${D}status
46525 EOF
46526
46527 chmod +x shared-ld-sh
46528
46529 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46530 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46531
46532
46533 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46534 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46535 if test "${bakefile_cv_gcc31+set}" = set; then
46536 echo $ECHO_N "(cached) $ECHO_C" >&6
46537 else
46538
46539 cat >conftest.$ac_ext <<_ACEOF
46540 /* confdefs.h. */
46541 _ACEOF
46542 cat confdefs.h >>conftest.$ac_ext
46543 cat >>conftest.$ac_ext <<_ACEOF
46544 /* end confdefs.h. */
46545
46546 int
46547 main ()
46548 {
46549
46550 #if (__GNUC__ < 3) || \
46551 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46552 This is old gcc
46553 #endif
46554
46555 ;
46556 return 0;
46557 }
46558 _ACEOF
46559 rm -f conftest.$ac_objext
46560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46561 (eval $ac_compile) 2>conftest.er1
46562 ac_status=$?
46563 grep -v '^ *+' conftest.er1 >conftest.err
46564 rm -f conftest.er1
46565 cat conftest.err >&5
46566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46567 (exit $ac_status); } &&
46568 { ac_try='test -z "$ac_c_werror_flag"
46569 || test ! -s conftest.err'
46570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46571 (eval $ac_try) 2>&5
46572 ac_status=$?
46573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46574 (exit $ac_status); }; } &&
46575 { ac_try='test -s conftest.$ac_objext'
46576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46577 (eval $ac_try) 2>&5
46578 ac_status=$?
46579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46580 (exit $ac_status); }; }; then
46581
46582 bakefile_cv_gcc31=yes
46583
46584 else
46585 echo "$as_me: failed program was:" >&5
46586 sed 's/^/| /' conftest.$ac_ext >&5
46587
46588
46589 bakefile_cv_gcc31=no
46590
46591
46592 fi
46593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46594
46595 fi
46596 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46597 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46598 if test "$bakefile_cv_gcc31" = "no"; then
46599 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46600 SHARED_LD_CXX="$SHARED_LD_CC"
46601 else
46602 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46603 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46604 fi
46605
46606 if test "x$GCC" == "xyes"; then
46607 PIC_FLAG="-dynamic -fPIC"
46608 fi
46609 if test "x$XLCC" = "xyes"; then
46610 PIC_FLAG="-dynamic -DPIC"
46611 fi
46612 ;;
46613
46614 *-*-aix* )
46615 if test "x$GCC" = "xyes"; then
46616 PIC_FLAG=""
46617
46618 case "${BAKEFILE_HOST}" in
46619 *-*-aix5* )
46620 LD_EXPFULL="-Wl,-bexpfull"
46621 ;;
46622 esac
46623
46624 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46625 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46626 else
46627 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46628 set dummy makeC++SharedLib; ac_word=$2
46629 echo "$as_me:$LINENO: checking for $ac_word" >&5
46630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46631 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46632 echo $ECHO_N "(cached) $ECHO_C" >&6
46633 else
46634 if test -n "$AIX_CXX_LD"; then
46635 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46636 else
46637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46638 for as_dir in $PATH
46639 do
46640 IFS=$as_save_IFS
46641 test -z "$as_dir" && as_dir=.
46642 for ac_exec_ext in '' $ac_executable_extensions; do
46643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46644 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46646 break 2
46647 fi
46648 done
46649 done
46650
46651 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46652 fi
46653 fi
46654 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46655 if test -n "$AIX_CXX_LD"; then
46656 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46657 echo "${ECHO_T}$AIX_CXX_LD" >&6
46658 else
46659 echo "$as_me:$LINENO: result: no" >&5
46660 echo "${ECHO_T}no" >&6
46661 fi
46662
46663 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46664 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46665 fi
46666 ;;
46667
46668 *-*-beos* )
46669 SHARED_LD_CC="${LD} -nostart -o"
46670 SHARED_LD_CXX="${LD} -nostart -o"
46671 ;;
46672
46673 *-*-irix* )
46674 if test "x$GCC" != "xyes"; then
46675 PIC_FLAG="-KPIC"
46676 fi
46677 ;;
46678
46679 *-*-cygwin* | *-*-mingw32* )
46680 PIC_FLAG=""
46681 SHARED_LD_CC="\$(CC) -shared -o"
46682 SHARED_LD_CXX="\$(CXX) -shared -o"
46683 WINDOWS_IMPLIB=1
46684 ;;
46685
46686 *-pc-os2_emx | *-pc-os2-emx )
46687 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46688 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46689 PIC_FLAG=""
46690
46691 D='$'
46692 cat <<EOF >dllar.sh
46693 #!/bin/sh
46694 #
46695 # dllar - a tool to build both a .dll and an .a file
46696 # from a set of object (.o) files for EMX/OS2.
46697 #
46698 # Written by Andrew Zabolotny, bit@freya.etu.ru
46699 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46700 #
46701 # This script will accept a set of files on the command line.
46702 # All the public symbols from the .o files will be exported into
46703 # a .DEF file, then linker will be run (through gcc) against them to
46704 # build a shared library consisting of all given .o files. All libraries
46705 # (.a) will be first decompressed into component .o files then act as
46706 # described above. You can optionally give a description (-d "description")
46707 # which will be put into .DLL. To see the list of accepted options (as well
46708 # as command-line format) simply run this program without options. The .DLL
46709 # is built to be imported by name (there is no guarantee that new versions
46710 # of the library you build will have same ordinals for same symbols).
46711 #
46712 # dllar is free software; you can redistribute it and/or modify
46713 # it under the terms of the GNU General Public License as published by
46714 # the Free Software Foundation; either version 2, or (at your option)
46715 # any later version.
46716 #
46717 # dllar is distributed in the hope that it will be useful,
46718 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46719 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46720 # GNU General Public License for more details.
46721 #
46722 # You should have received a copy of the GNU General Public License
46723 # along with dllar; see the file COPYING. If not, write to the Free
46724 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46725 # 02111-1307, USA.
46726
46727 # To successfuly run this program you will need:
46728 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46729 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46730 # - gcc
46731 # (used to build the .dll)
46732 # - emxexp
46733 # (used to create .def file from .o files)
46734 # - emximp
46735 # (used to create .a file from .def file)
46736 # - GNU text utilites (cat, sort, uniq)
46737 # used to process emxexp output
46738 # - GNU file utilities (mv, rm)
46739 # - GNU sed
46740 # - lxlite (optional, see flag below)
46741 # (used for general .dll cleanup)
46742 #
46743
46744 flag_USE_LXLITE=1;
46745
46746 #
46747 # helper functions
46748 # basnam, variant of basename, which does _not_ remove the path, _iff_
46749 # second argument (suffix to remove) is given
46750 basnam(){
46751 case ${D}# in
46752 1)
46753 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46754 ;;
46755 2)
46756 echo ${D}1 | sed 's/'${D}2'${D}//'
46757 ;;
46758 *)
46759 echo "error in basnam ${D}*"
46760 exit 8
46761 ;;
46762 esac
46763 }
46764
46765 # Cleanup temporary files and output
46766 CleanUp() {
46767 cd ${D}curDir
46768 for i in ${D}inputFiles ; do
46769 case ${D}i in
46770 *!)
46771 rm -rf \`basnam ${D}i !\`
46772 ;;
46773 *)
46774 ;;
46775 esac
46776 done
46777
46778 # Kill result in case of failure as there is just to many stupid make/nmake
46779 # things out there which doesn't do this.
46780 if [ ${D}# -eq 0 ]; then
46781 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46782 fi
46783 }
46784
46785 # Print usage and exit script with rc=1.
46786 PrintHelp() {
46787 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46788 echo ' [-name-mangler-script script.sh]'
46789 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46790 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46791 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46792 echo ' [*.o] [*.a]'
46793 echo '*> "output_file" should have no extension.'
46794 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46795 echo ' The import library name is derived from this and is set to "name".a,'
46796 echo ' unless overridden by -import'
46797 echo '*> "importlib_name" should have no extension.'
46798 echo ' If it has the .o, or .a extension, it is automatically removed.'
46799 echo ' This name is used as the import library name and may be longer and'
46800 echo ' more descriptive than the DLL name which has to follow the old '
46801 echo ' 8.3 convention of FAT.'
46802 echo '*> "script.sh may be given to override the output_file name by a'
46803 echo ' different name. It is mainly useful if the regular make process'
46804 echo ' of some package does not take into account OS/2 restriction of'
46805 echo ' DLL name lengths. It takes the importlib name as input and is'
46806 echo ' supposed to procude a shorter name as output. The script should'
46807 echo ' expect to get importlib_name without extension and should produce'
46808 echo ' a (max.) 8 letter name without extension.'
46809 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46810 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46811 echo ' These flags will be put at the start of GCC command line.'
46812 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46813 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46814 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46815 echo ' If the last character of a symbol is "*", all symbols beginning'
46816 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46817 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46818 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46819 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46820 echo ' C runtime DLLs.'
46821 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46822 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46823 echo ' unchanged to GCC at the end of command line.'
46824 echo '*> If you create a DLL from a library and you do not specify -o,'
46825 echo ' the basename for DLL and import library will be set to library name,'
46826 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46827 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46828 echo ' library will be renamed into gcc_s.a.'
46829 echo '--------'
46830 echo 'Example:'
46831 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46832 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46833 CleanUp
46834 exit 1
46835 }
46836
46837 # Execute a command.
46838 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46839 # @Uses Whatever CleanUp() uses.
46840 doCommand() {
46841 echo "${D}*"
46842 eval ${D}*
46843 rcCmd=${D}?
46844
46845 if [ ${D}rcCmd -ne 0 ]; then
46846 echo "command failed, exit code="${D}rcCmd
46847 CleanUp
46848 exit ${D}rcCmd
46849 fi
46850 }
46851
46852 # main routine
46853 # setup globals
46854 cmdLine=${D}*
46855 outFile=""
46856 outimpFile=""
46857 inputFiles=""
46858 renameScript=""
46859 description=""
46860 CC=gcc.exe
46861 CFLAGS="-s -Zcrtdll"
46862 EXTRA_CFLAGS=""
46863 EXPORT_BY_ORDINALS=0
46864 exclude_symbols=""
46865 library_flags=""
46866 curDir=\`pwd\`
46867 curDirS=curDir
46868 case ${D}curDirS in
46869 */)
46870 ;;
46871 *)
46872 curDirS=${D}{curDirS}"/"
46873 ;;
46874 esac
46875 # Parse commandline
46876 libsToLink=0
46877 omfLinking=0
46878 while [ ${D}1 ]; do
46879 case ${D}1 in
46880 -ord*)
46881 EXPORT_BY_ORDINALS=1;
46882 ;;
46883 -o*)
46884 shift
46885 outFile=${D}1
46886 ;;
46887 -i*)
46888 shift
46889 outimpFile=${D}1
46890 ;;
46891 -name-mangler-script)
46892 shift
46893 renameScript=${D}1
46894 ;;
46895 -d*)
46896 shift
46897 description=${D}1
46898 ;;
46899 -f*)
46900 shift
46901 CFLAGS=${D}1
46902 ;;
46903 -c*)
46904 shift
46905 CC=${D}1
46906 ;;
46907 -h*)
46908 PrintHelp
46909 ;;
46910 -ex*)
46911 shift
46912 exclude_symbols=${D}{exclude_symbols}${D}1" "
46913 ;;
46914 -libf*)
46915 shift
46916 library_flags=${D}{library_flags}${D}1" "
46917 ;;
46918 -nocrt*)
46919 CFLAGS="-s"
46920 ;;
46921 -nolxl*)
46922 flag_USE_LXLITE=0
46923 ;;
46924 -* | /*)
46925 case ${D}1 in
46926 -L* | -l*)
46927 libsToLink=1
46928 ;;
46929 -Zomf)
46930 omfLinking=1
46931 ;;
46932 *)
46933 ;;
46934 esac
46935 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46936 ;;
46937 *.dll)
46938 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46939 if [ ${D}omfLinking -eq 1 ]; then
46940 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46941 else
46942 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46943 fi
46944 ;;
46945 *)
46946 found=0;
46947 if [ ${D}libsToLink -ne 0 ]; then
46948 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46949 else
46950 for file in ${D}1 ; do
46951 if [ -f ${D}file ]; then
46952 inputFiles="${D}{inputFiles} ${D}file"
46953 found=1
46954 fi
46955 done
46956 if [ ${D}found -eq 0 ]; then
46957 echo "ERROR: No file(s) found: "${D}1
46958 exit 8
46959 fi
46960 fi
46961 ;;
46962 esac
46963 shift
46964 done # iterate cmdline words
46965
46966 #
46967 if [ -z "${D}inputFiles" ]; then
46968 echo "dllar: no input files"
46969 PrintHelp
46970 fi
46971
46972 # Now extract all .o files from .a files
46973 newInputFiles=""
46974 for file in ${D}inputFiles ; do
46975 case ${D}file in
46976 *.a | *.lib)
46977 case ${D}file in
46978 *.a)
46979 suffix=".a"
46980 AR="ar"
46981 ;;
46982 *.lib)
46983 suffix=".lib"
46984 AR="emxomfar"
46985 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46986 ;;
46987 *)
46988 ;;
46989 esac
46990 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46991 mkdir ${D}dirname
46992 if [ ${D}? -ne 0 ]; then
46993 echo "Failed to create subdirectory ./${D}dirname"
46994 CleanUp
46995 exit 8;
46996 fi
46997 # Append '!' to indicate archive
46998 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46999 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47000 cd ${D}curDir
47001 found=0;
47002 for subfile in ${D}dirname/*.o* ; do
47003 if [ -f ${D}subfile ]; then
47004 found=1
47005 if [ -s ${D}subfile ]; then
47006 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47007 newInputFiles="${D}newInputFiles ${D}subfile"
47008 fi
47009 fi
47010 done
47011 if [ ${D}found -eq 0 ]; then
47012 echo "WARNING: there are no files in archive \\'${D}file\\'"
47013 fi
47014 ;;
47015 *)
47016 newInputFiles="${D}{newInputFiles} ${D}file"
47017 ;;
47018 esac
47019 done
47020 inputFiles="${D}newInputFiles"
47021
47022 # Output filename(s).
47023 do_backup=0;
47024 if [ -z ${D}outFile ]; then
47025 do_backup=1;
47026 set outFile ${D}inputFiles; outFile=${D}2
47027 fi
47028
47029 # If it is an archive, remove the '!' and the '_%' suffixes
47030 case ${D}outFile in
47031 *_%!)
47032 outFile=\`basnam ${D}outFile _%!\`
47033 ;;
47034 *)
47035 ;;
47036 esac
47037 case ${D}outFile in
47038 *.dll)
47039 outFile=\`basnam ${D}outFile .dll\`
47040 ;;
47041 *.DLL)
47042 outFile=\`basnam ${D}outFile .DLL\`
47043 ;;
47044 *.o)
47045 outFile=\`basnam ${D}outFile .o\`
47046 ;;
47047 *.obj)
47048 outFile=\`basnam ${D}outFile .obj\`
47049 ;;
47050 *.a)
47051 outFile=\`basnam ${D}outFile .a\`
47052 ;;
47053 *.lib)
47054 outFile=\`basnam ${D}outFile .lib\`
47055 ;;
47056 *)
47057 ;;
47058 esac
47059 case ${D}outimpFile in
47060 *.a)
47061 outimpFile=\`basnam ${D}outimpFile .a\`
47062 ;;
47063 *.lib)
47064 outimpFile=\`basnam ${D}outimpFile .lib\`
47065 ;;
47066 *)
47067 ;;
47068 esac
47069 if [ -z ${D}outimpFile ]; then
47070 outimpFile=${D}outFile
47071 fi
47072 defFile="${D}{outFile}.def"
47073 arcFile="${D}{outimpFile}.a"
47074 arcFile2="${D}{outimpFile}.lib"
47075
47076 #create ${D}dllFile as something matching 8.3 restrictions,
47077 if [ -z ${D}renameScript ] ; then
47078 dllFile="${D}outFile"
47079 else
47080 dllFile=\`${D}renameScript ${D}outimpFile\`
47081 fi
47082
47083 if [ ${D}do_backup -ne 0 ] ; then
47084 if [ -f ${D}arcFile ] ; then
47085 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47086 fi
47087 if [ -f ${D}arcFile2 ] ; then
47088 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47089 fi
47090 fi
47091
47092 # Extract public symbols from all the object files.
47093 tmpdefFile=${D}{defFile}_%
47094 rm -f ${D}tmpdefFile
47095 for file in ${D}inputFiles ; do
47096 case ${D}file in
47097 *!)
47098 ;;
47099 *)
47100 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47101 ;;
47102 esac
47103 done
47104
47105 # Create the def file.
47106 rm -f ${D}defFile
47107 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47108 dllFile="${D}{dllFile}.dll"
47109 if [ ! -z ${D}description ]; then
47110 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47111 fi
47112 echo "EXPORTS" >> ${D}defFile
47113
47114 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47115 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47116
47117 # Checks if the export is ok or not.
47118 for word in ${D}exclude_symbols; do
47119 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47120 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47121 done
47122
47123
47124 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47125 sed "=" < ${D}tmpdefFile | \\
47126 sed '
47127 N
47128 : loop
47129 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47130 t loop
47131 ' > ${D}{tmpdefFile}%
47132 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47133 else
47134 rm -f ${D}{tmpdefFile}%
47135 fi
47136 cat ${D}tmpdefFile >> ${D}defFile
47137 rm -f ${D}tmpdefFile
47138
47139 # Do linking, create implib, and apply lxlite.
47140 gccCmdl="";
47141 for file in ${D}inputFiles ; do
47142 case ${D}file in
47143 *!)
47144 ;;
47145 *)
47146 gccCmdl="${D}gccCmdl ${D}file"
47147 ;;
47148 esac
47149 done
47150 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47151 touch "${D}{outFile}.dll"
47152
47153 doCommand "emximp -o ${D}arcFile ${D}defFile"
47154 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47155 add_flags="";
47156 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47157 add_flags="-ynd"
47158 fi
47159 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47160 fi
47161 doCommand "emxomf -s -l ${D}arcFile"
47162
47163 # Successful exit.
47164 CleanUp 1
47165 exit 0
47166 EOF
47167
47168 chmod +x dllar.sh
47169 ;;
47170
47171 powerpc-apple-macos* | \
47172 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47173 *-*-mirbsd* | \
47174 *-*-sunos4* | \
47175 *-*-osf* | \
47176 *-*-dgux5* | \
47177 *-*-sysv5* | \
47178 *-pc-msdosdjgpp )
47179 ;;
47180
47181 *)
47182 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47183 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47184 { (exit 1); exit 1; }; }
47185 esac
47186
47187 if test "x$PIC_FLAG" != "x" ; then
47188 PIC_FLAG="$PIC_FLAG -DPIC"
47189 fi
47190
47191 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47192 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47193 fi
47194 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47195 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47196 fi
47197
47198
47199
47200
47201
47202
47203
47204
47205
47206 USE_SOVERSION=0
47207 USE_SOVERLINUX=0
47208 USE_SOVERSOLARIS=0
47209 USE_SOVERCYGWIN=0
47210 USE_SOSYMLINKS=0
47211 USE_MACVERSION=0
47212 SONAME_FLAG=
47213
47214 case "${BAKEFILE_HOST}" in
47215 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47216 SONAME_FLAG="-Wl,-soname,"
47217 USE_SOVERSION=1
47218 USE_SOVERLINUX=1
47219 USE_SOSYMLINKS=1
47220 ;;
47221
47222 *-*-solaris2* )
47223 SONAME_FLAG="-h "
47224 USE_SOVERSION=1
47225 USE_SOVERSOLARIS=1
47226 USE_SOSYMLINKS=1
47227 ;;
47228
47229 *-*-darwin* )
47230 USE_MACVERSION=1
47231 USE_SOVERSION=1
47232 USE_SOSYMLINKS=1
47233 ;;
47234
47235 *-*-cygwin* )
47236 USE_SOVERSION=1
47237 USE_SOVERCYGWIN=1
47238 ;;
47239 esac
47240
47241
47242
47243
47244
47245
47246
47247
47248
47249
47250 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47251 if test "${enable_dependency_tracking+set}" = set; then
47252 enableval="$enable_dependency_tracking"
47253 bk_use_trackdeps="$enableval"
47254 fi;
47255
47256 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47257 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47258
47259 BK_DEPS=""
47260 if test "x$bk_use_trackdeps" = "xno" ; then
47261 DEPS_TRACKING=0
47262 echo "$as_me:$LINENO: result: disabled" >&5
47263 echo "${ECHO_T}disabled" >&6
47264 else
47265 DEPS_TRACKING=1
47266
47267 if test "x$GCC" = "xyes"; then
47268 DEPSMODE=gcc
47269 case "${BAKEFILE_HOST}" in
47270 *-*-darwin* )
47271 DEPSFLAG="-no-cpp-precomp -MMD"
47272 ;;
47273 * )
47274 DEPSFLAG="-MMD"
47275 ;;
47276 esac
47277 echo "$as_me:$LINENO: result: gcc" >&5
47278 echo "${ECHO_T}gcc" >&6
47279 elif test "x$MWCC" = "xyes"; then
47280 DEPSMODE=mwcc
47281 DEPSFLAG="-MM"
47282 echo "$as_me:$LINENO: result: mwcc" >&5
47283 echo "${ECHO_T}mwcc" >&6
47284 elif test "x$SUNCC" = "xyes"; then
47285 DEPSMODE=unixcc
47286 DEPSFLAG="-xM1"
47287 echo "$as_me:$LINENO: result: Sun cc" >&5
47288 echo "${ECHO_T}Sun cc" >&6
47289 elif test "x$SGICC" = "xyes"; then
47290 DEPSMODE=unixcc
47291 DEPSFLAG="-M"
47292 echo "$as_me:$LINENO: result: SGI cc" >&5
47293 echo "${ECHO_T}SGI cc" >&6
47294 elif test "x$HPCC" = "xyes"; then
47295 DEPSMODE=unixcc
47296 DEPSFLAG="+make"
47297 echo "$as_me:$LINENO: result: HP cc" >&5
47298 echo "${ECHO_T}HP cc" >&6
47299 elif test "x$COMPAQCC" = "xyes"; then
47300 DEPSMODE=gcc
47301 DEPSFLAG="-MD"
47302 echo "$as_me:$LINENO: result: Compaq cc" >&5
47303 echo "${ECHO_T}Compaq cc" >&6
47304 else
47305 DEPS_TRACKING=0
47306 echo "$as_me:$LINENO: result: none" >&5
47307 echo "${ECHO_T}none" >&6
47308 fi
47309
47310 if test $DEPS_TRACKING = 1 ; then
47311
47312 D='$'
47313 cat <<EOF >bk-deps
47314 #!/bin/sh
47315
47316 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47317 # script. It is used to track C/C++ files dependencies in portable way.
47318 #
47319 # Permission is given to use this file in any way.
47320
47321 DEPSMODE=${DEPSMODE}
47322 DEPSDIR=.deps
47323 DEPSFLAG="${DEPSFLAG}"
47324
47325 mkdir -p ${D}DEPSDIR
47326
47327 if test ${D}DEPSMODE = gcc ; then
47328 ${D}* ${D}{DEPSFLAG}
47329 status=${D}?
47330 if test ${D}{status} != 0 ; then
47331 exit ${D}{status}
47332 fi
47333 # move created file to the location we want it in:
47334 while test ${D}# -gt 0; do
47335 case "${D}1" in
47336 -o )
47337 shift
47338 objfile=${D}1
47339 ;;
47340 -* )
47341 ;;
47342 * )
47343 srcfile=${D}1
47344 ;;
47345 esac
47346 shift
47347 done
47348 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47349 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47350 if test -f ${D}depfile ; then
47351 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47352 rm -f ${D}depfile
47353 else
47354 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47355 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47356 if test ! -f ${D}depfile ; then
47357 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47358 depfile="${D}objfile.d"
47359 fi
47360 if test -f ${D}depfile ; then
47361 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47362 rm -f ${D}depfile
47363 fi
47364 fi
47365 exit 0
47366 elif test ${D}DEPSMODE = mwcc ; then
47367 ${D}* || exit ${D}?
47368 # Run mwcc again with -MM and redirect into the dep file we want
47369 # NOTE: We can't use shift here because we need ${D}* to be valid
47370 prevarg=
47371 for arg in ${D}* ; do
47372 if test "${D}prevarg" = "-o"; then
47373 objfile=${D}arg
47374 else
47375 case "${D}arg" in
47376 -* )
47377 ;;
47378 * )
47379 srcfile=${D}arg
47380 ;;
47381 esac
47382 fi
47383 prevarg="${D}arg"
47384 done
47385 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47386 exit 0
47387 elif test ${D}DEPSMODE = unixcc; then
47388 ${D}* || exit ${D}?
47389 # Run compiler again with deps flag and redirect into the dep file.
47390 # It doesn't work if the '-o FILE' option is used, but without it the
47391 # dependency file will contain the wrong name for the object. So it is
47392 # removed from the command line, and the dep file is fixed with sed.
47393 cmd=""
47394 while test ${D}# -gt 0; do
47395 case "${D}1" in
47396 -o )
47397 shift
47398 objfile=${D}1
47399 ;;
47400 * )
47401 eval arg${D}#=\\${D}1
47402 cmd="${D}cmd \\${D}arg${D}#"
47403 ;;
47404 esac
47405 shift
47406 done
47407 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47408 exit 0
47409 else
47410 ${D}*
47411 exit ${D}?
47412 fi
47413 EOF
47414
47415 chmod +x bk-deps
47416 BK_DEPS="`pwd`/bk-deps"
47417 fi
47418 fi
47419
47420
47421
47422
47423
47424 case ${BAKEFILE_HOST} in
47425 *-*-cygwin* | *-*-mingw32* )
47426 if test -n "$ac_tool_prefix"; then
47427 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47428 set dummy ${ac_tool_prefix}windres; ac_word=$2
47429 echo "$as_me:$LINENO: checking for $ac_word" >&5
47430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47431 if test "${ac_cv_prog_WINDRES+set}" = set; then
47432 echo $ECHO_N "(cached) $ECHO_C" >&6
47433 else
47434 if test -n "$WINDRES"; then
47435 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47436 else
47437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47438 for as_dir in $PATH
47439 do
47440 IFS=$as_save_IFS
47441 test -z "$as_dir" && as_dir=.
47442 for ac_exec_ext in '' $ac_executable_extensions; do
47443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47444 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47446 break 2
47447 fi
47448 done
47449 done
47450
47451 fi
47452 fi
47453 WINDRES=$ac_cv_prog_WINDRES
47454 if test -n "$WINDRES"; then
47455 echo "$as_me:$LINENO: result: $WINDRES" >&5
47456 echo "${ECHO_T}$WINDRES" >&6
47457 else
47458 echo "$as_me:$LINENO: result: no" >&5
47459 echo "${ECHO_T}no" >&6
47460 fi
47461
47462 fi
47463 if test -z "$ac_cv_prog_WINDRES"; then
47464 ac_ct_WINDRES=$WINDRES
47465 # Extract the first word of "windres", so it can be a program name with args.
47466 set dummy windres; ac_word=$2
47467 echo "$as_me:$LINENO: checking for $ac_word" >&5
47468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47469 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47470 echo $ECHO_N "(cached) $ECHO_C" >&6
47471 else
47472 if test -n "$ac_ct_WINDRES"; then
47473 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47474 else
47475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47476 for as_dir in $PATH
47477 do
47478 IFS=$as_save_IFS
47479 test -z "$as_dir" && as_dir=.
47480 for ac_exec_ext in '' $ac_executable_extensions; do
47481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47482 ac_cv_prog_ac_ct_WINDRES="windres"
47483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47484 break 2
47485 fi
47486 done
47487 done
47488
47489 fi
47490 fi
47491 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47492 if test -n "$ac_ct_WINDRES"; then
47493 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47494 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47495 else
47496 echo "$as_me:$LINENO: result: no" >&5
47497 echo "${ECHO_T}no" >&6
47498 fi
47499
47500 WINDRES=$ac_ct_WINDRES
47501 else
47502 WINDRES="$ac_cv_prog_WINDRES"
47503 fi
47504
47505 ;;
47506
47507 *-*-darwin* | powerpc-apple-macos* )
47508 # Extract the first word of "Rez", so it can be a program name with args.
47509 set dummy Rez; ac_word=$2
47510 echo "$as_me:$LINENO: checking for $ac_word" >&5
47511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47512 if test "${ac_cv_prog_REZ+set}" = set; then
47513 echo $ECHO_N "(cached) $ECHO_C" >&6
47514 else
47515 if test -n "$REZ"; then
47516 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47517 else
47518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47519 for as_dir in $PATH
47520 do
47521 IFS=$as_save_IFS
47522 test -z "$as_dir" && as_dir=.
47523 for ac_exec_ext in '' $ac_executable_extensions; do
47524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47525 ac_cv_prog_REZ="Rez"
47526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47527 break 2
47528 fi
47529 done
47530 done
47531
47532 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47533 fi
47534 fi
47535 REZ=$ac_cv_prog_REZ
47536 if test -n "$REZ"; then
47537 echo "$as_me:$LINENO: result: $REZ" >&5
47538 echo "${ECHO_T}$REZ" >&6
47539 else
47540 echo "$as_me:$LINENO: result: no" >&5
47541 echo "${ECHO_T}no" >&6
47542 fi
47543
47544 # Extract the first word of "SetFile", so it can be a program name with args.
47545 set dummy SetFile; ac_word=$2
47546 echo "$as_me:$LINENO: checking for $ac_word" >&5
47547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47548 if test "${ac_cv_prog_SETFILE+set}" = set; then
47549 echo $ECHO_N "(cached) $ECHO_C" >&6
47550 else
47551 if test -n "$SETFILE"; then
47552 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47553 else
47554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47555 for as_dir in $PATH
47556 do
47557 IFS=$as_save_IFS
47558 test -z "$as_dir" && as_dir=.
47559 for ac_exec_ext in '' $ac_executable_extensions; do
47560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47561 ac_cv_prog_SETFILE="SetFile"
47562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47563 break 2
47564 fi
47565 done
47566 done
47567
47568 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47569 fi
47570 fi
47571 SETFILE=$ac_cv_prog_SETFILE
47572 if test -n "$SETFILE"; then
47573 echo "$as_me:$LINENO: result: $SETFILE" >&5
47574 echo "${ECHO_T}$SETFILE" >&6
47575 else
47576 echo "$as_me:$LINENO: result: no" >&5
47577 echo "${ECHO_T}no" >&6
47578 fi
47579
47580 ;;
47581 esac
47582
47583
47584
47585
47586
47587
47588 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47589
47590
47591 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47592
47593
47594
47595 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47596 if test "${enable_precomp_headers+set}" = set; then
47597 enableval="$enable_precomp_headers"
47598 bk_use_pch="$enableval"
47599 fi;
47600
47601 GCC_PCH=0
47602 ICC_PCH=0
47603 USE_PCH=0
47604 BK_MAKE_PCH=""
47605
47606 case ${BAKEFILE_HOST} in
47607 *-*-cygwin* )
47608 bk_use_pch="no"
47609 ;;
47610 esac
47611
47612 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47613 if test "x$GCC" = "xyes"; then
47614 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47615 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47616 cat >conftest.$ac_ext <<_ACEOF
47617 /* confdefs.h. */
47618 _ACEOF
47619 cat confdefs.h >>conftest.$ac_ext
47620 cat >>conftest.$ac_ext <<_ACEOF
47621 /* end confdefs.h. */
47622
47623 int
47624 main ()
47625 {
47626
47627 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47628 There is no PCH support
47629 #endif
47630 #if (__GNUC__ < 3)
47631 There is no PCH support
47632 #endif
47633 #if (__GNUC__ == 3) && \
47634 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47635 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47636 ( defined(__INTEL_COMPILER) )
47637 There is no PCH support
47638 #endif
47639
47640 ;
47641 return 0;
47642 }
47643 _ACEOF
47644 rm -f conftest.$ac_objext
47645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47646 (eval $ac_compile) 2>conftest.er1
47647 ac_status=$?
47648 grep -v '^ *+' conftest.er1 >conftest.err
47649 rm -f conftest.er1
47650 cat conftest.err >&5
47651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47652 (exit $ac_status); } &&
47653 { ac_try='test -z "$ac_c_werror_flag"
47654 || test ! -s conftest.err'
47655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47656 (eval $ac_try) 2>&5
47657 ac_status=$?
47658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47659 (exit $ac_status); }; } &&
47660 { ac_try='test -s conftest.$ac_objext'
47661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47662 (eval $ac_try) 2>&5
47663 ac_status=$?
47664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47665 (exit $ac_status); }; }; then
47666
47667 echo "$as_me:$LINENO: result: yes" >&5
47668 echo "${ECHO_T}yes" >&6
47669 GCC_PCH=1
47670
47671 else
47672 echo "$as_me: failed program was:" >&5
47673 sed 's/^/| /' conftest.$ac_ext >&5
47674
47675
47676 cat >conftest.$ac_ext <<_ACEOF
47677 /* confdefs.h. */
47678 _ACEOF
47679 cat confdefs.h >>conftest.$ac_ext
47680 cat >>conftest.$ac_ext <<_ACEOF
47681 /* end confdefs.h. */
47682
47683 int
47684 main ()
47685 {
47686
47687 #if !defined(__INTEL_COMPILER) || \
47688 (__INTEL_COMPILER < 800)
47689 There is no PCH support
47690 #endif
47691
47692 ;
47693 return 0;
47694 }
47695 _ACEOF
47696 rm -f conftest.$ac_objext
47697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47698 (eval $ac_compile) 2>conftest.er1
47699 ac_status=$?
47700 grep -v '^ *+' conftest.er1 >conftest.err
47701 rm -f conftest.er1
47702 cat conftest.err >&5
47703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47704 (exit $ac_status); } &&
47705 { ac_try='test -z "$ac_c_werror_flag"
47706 || test ! -s conftest.err'
47707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47708 (eval $ac_try) 2>&5
47709 ac_status=$?
47710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47711 (exit $ac_status); }; } &&
47712 { ac_try='test -s conftest.$ac_objext'
47713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47714 (eval $ac_try) 2>&5
47715 ac_status=$?
47716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47717 (exit $ac_status); }; }; then
47718
47719 echo "$as_me:$LINENO: result: yes" >&5
47720 echo "${ECHO_T}yes" >&6
47721 ICC_PCH=1
47722
47723 else
47724 echo "$as_me: failed program was:" >&5
47725 sed 's/^/| /' conftest.$ac_ext >&5
47726
47727
47728 echo "$as_me:$LINENO: result: no" >&5
47729 echo "${ECHO_T}no" >&6
47730
47731 fi
47732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47733
47734 fi
47735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47736 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47737 USE_PCH=1
47738
47739 D='$'
47740 cat <<EOF >bk-make-pch
47741 #!/bin/sh
47742
47743 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47744 # script. It is used to generated precompiled headers.
47745 #
47746 # Permission is given to use this file in any way.
47747
47748 outfile="${D}{1}"
47749 header="${D}{2}"
47750 shift
47751 shift
47752
47753 compiler=""
47754 headerfile=""
47755
47756 while test ${D}{#} -gt 0; do
47757 add_to_cmdline=1
47758 case "${D}{1}" in
47759 -I* )
47760 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47761 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47762 headerfile="${D}{incdir}/${D}{header}"
47763 fi
47764 ;;
47765 -use-pch|-use_pch )
47766 shift
47767 add_to_cmdline=0
47768 ;;
47769 esac
47770 if test ${D}add_to_cmdline = 1 ; then
47771 compiler="${D}{compiler} ${D}{1}"
47772 fi
47773 shift
47774 done
47775
47776 if test "x${D}{headerfile}" = "x" ; then
47777 echo "error: can't find header ${D}{header} in include paths" >&2
47778 else
47779 if test -f ${D}{outfile} ; then
47780 rm -f ${D}{outfile}
47781 else
47782 mkdir -p \`dirname ${D}{outfile}\`
47783 fi
47784 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47785 mkdir -p .deps
47786 if test "x${GCC_PCH}" = "x1" ; then
47787 # can do this because gcc is >= 3.4:
47788 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47789 elif test "x${ICC_PCH}" = "x1" ; then
47790 filename=pch_gen-${D}${D}
47791 file=${D}{filename}.c
47792 dfile=${D}{filename}.d
47793 cat > ${D}file <<EOT
47794 #include "${D}header"
47795 EOT
47796 # using -MF icc complains about differing command lines in creation/use
47797 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47798 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47799 rm -f ${D}file ${D}dfile ${D}{filename}.o
47800 fi
47801 exit ${D}{?}
47802 fi
47803 EOF
47804
47805 chmod +x bk-make-pch
47806 BK_MAKE_PCH="`pwd`/bk-make-pch"
47807 fi
47808 fi
47809 fi
47810
47811
47812
47813
47814
47815 COND_BUILD_DEBUG="#"
47816 if test "x$BUILD" = "xdebug" ; then
47817 COND_BUILD_DEBUG=""
47818 fi
47819
47820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47821 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47822 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47823 fi
47824
47825 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47826 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47827 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47828 fi
47829
47830 COND_BUILD_DEBUG_UNICODE_0="#"
47831 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47832 COND_BUILD_DEBUG_UNICODE_0=""
47833 fi
47834
47835 COND_BUILD_DEBUG_UNICODE_1="#"
47836 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47837 COND_BUILD_DEBUG_UNICODE_1=""
47838 fi
47839
47840 COND_BUILD_RELEASE="#"
47841 if test "x$BUILD" = "xrelease" ; then
47842 COND_BUILD_RELEASE=""
47843 fi
47844
47845 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47846 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47847 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47848 fi
47849
47850 COND_BUILD_RELEASE_UNICODE_0="#"
47851 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47852 COND_BUILD_RELEASE_UNICODE_0=""
47853 fi
47854
47855 COND_BUILD_RELEASE_UNICODE_1="#"
47856 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47857 COND_BUILD_RELEASE_UNICODE_1=""
47858 fi
47859
47860 COND_DEBUG_FLAG_1="#"
47861 if test "x$DEBUG_FLAG" = "x1" ; then
47862 COND_DEBUG_FLAG_1=""
47863 fi
47864
47865 COND_DEBUG_INFO_0="#"
47866 if test "x$DEBUG_INFO" = "x0" ; then
47867 COND_DEBUG_INFO_0=""
47868 fi
47869
47870 COND_DEBUG_INFO_1="#"
47871 if test "x$DEBUG_INFO" = "x1" ; then
47872 COND_DEBUG_INFO_1=""
47873 fi
47874
47875 COND_DEPS_TRACKING_0="#"
47876 if test "x$DEPS_TRACKING" = "x0" ; then
47877 COND_DEPS_TRACKING_0=""
47878 fi
47879
47880 COND_DEPS_TRACKING_1="#"
47881 if test "x$DEPS_TRACKING" = "x1" ; then
47882 COND_DEPS_TRACKING_1=""
47883 fi
47884
47885 COND_GCC_PCH_1="#"
47886 if test "x$GCC_PCH" = "x1" ; then
47887 COND_GCC_PCH_1=""
47888 fi
47889
47890 COND_ICC_PCH_1="#"
47891 if test "x$ICC_PCH" = "x1" ; then
47892 COND_ICC_PCH_1=""
47893 fi
47894
47895 COND_MONOLITHIC_0="#"
47896 if test "x$MONOLITHIC" = "x0" ; then
47897 COND_MONOLITHIC_0=""
47898 fi
47899
47900 COND_MONOLITHIC_0_SHARED_0="#"
47901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47902 COND_MONOLITHIC_0_SHARED_0=""
47903 fi
47904
47905 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47907 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47908 fi
47909
47910 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47912 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47913 fi
47914
47915 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47917 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47918 fi
47919
47920 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47921 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47922 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47923 fi
47924
47925 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47926 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47927 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47928 fi
47929
47930 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47931 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47932 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47933 fi
47934
47935 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47936 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47937 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47938 fi
47939
47940 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
47941 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47942 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
47943 fi
47944
47945 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
47946 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47947 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
47948 fi
47949
47950 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47951 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47952 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47953 fi
47954
47955 COND_MONOLITHIC_0_SHARED_1="#"
47956 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47957 COND_MONOLITHIC_0_SHARED_1=""
47958 fi
47959
47960 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
47961 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47962 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
47963 fi
47964
47965 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47966 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47967 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47968 fi
47969
47970 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47971 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47972 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47973 fi
47974
47975 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
47976 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47977 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
47978 fi
47979
47980 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47981 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47982 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47983 fi
47984
47985 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47986 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47987 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47988 fi
47989
47990 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47991 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47992 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47993 fi
47994
47995 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
47996 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
47997 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
47998 fi
47999
48000 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48001 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48002 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48003 fi
48004
48005 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48006 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48007 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48008 fi
48009
48010 COND_MONOLITHIC_0_USE_AUI_1="#"
48011 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48012 COND_MONOLITHIC_0_USE_AUI_1=""
48013 fi
48014
48015 COND_MONOLITHIC_0_USE_GUI_1="#"
48016 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48017 COND_MONOLITHIC_0_USE_GUI_1=""
48018 fi
48019
48020 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48021 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48022 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48023 fi
48024
48025 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48026 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48027 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48028 fi
48029
48030 COND_MONOLITHIC_0_USE_HTML_1="#"
48031 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48032 COND_MONOLITHIC_0_USE_HTML_1=""
48033 fi
48034
48035 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48036 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48037 COND_MONOLITHIC_0_USE_MEDIA_1=""
48038 fi
48039
48040 COND_MONOLITHIC_0_USE_ODBC_1="#"
48041 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48042 COND_MONOLITHIC_0_USE_ODBC_1=""
48043 fi
48044
48045 COND_MONOLITHIC_0_USE_QA_1="#"
48046 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48047 COND_MONOLITHIC_0_USE_QA_1=""
48048 fi
48049
48050 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48051 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48052 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48053 fi
48054
48055 COND_MONOLITHIC_0_USE_STC_1="#"
48056 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48057 COND_MONOLITHIC_0_USE_STC_1=""
48058 fi
48059
48060 COND_MONOLITHIC_0_USE_XRC_1="#"
48061 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48062 COND_MONOLITHIC_0_USE_XRC_1=""
48063 fi
48064
48065 COND_MONOLITHIC_1="#"
48066 if test "x$MONOLITHIC" = "x1" ; then
48067 COND_MONOLITHIC_1=""
48068 fi
48069
48070 COND_MONOLITHIC_1_SHARED_0="#"
48071 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48072 COND_MONOLITHIC_1_SHARED_0=""
48073 fi
48074
48075 COND_MONOLITHIC_1_SHARED_1="#"
48076 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48077 COND_MONOLITHIC_1_SHARED_1=""
48078 fi
48079
48080 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48081 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48082 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48083 fi
48084
48085 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48086 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48087 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48088 fi
48089
48090 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48091 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48092 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48093 fi
48094
48095 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48096 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48097 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48098 fi
48099
48100 COND_PLATFORM_MACOSX_1="#"
48101 if test "x$PLATFORM_MACOSX" = "x1" ; then
48102 COND_PLATFORM_MACOSX_1=""
48103 fi
48104
48105 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48106 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48107 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48108 fi
48109
48110 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48111 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48112 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48113 fi
48114
48115 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48116 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48117 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48118 fi
48119
48120 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48121 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48122 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48123 fi
48124
48125 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48126 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48127 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48128 fi
48129
48130 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48131 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48132 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48133 fi
48134
48135 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48136 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48137 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48138 fi
48139
48140 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48141 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48142 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48143 fi
48144
48145 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48146 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48147 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48148 fi
48149
48150 COND_PLATFORM_MACOS_1="#"
48151 if test "x$PLATFORM_MACOS" = "x1" ; then
48152 COND_PLATFORM_MACOS_1=""
48153 fi
48154
48155 COND_PLATFORM_MAC_1="#"
48156 if test "x$PLATFORM_MAC" = "x1" ; then
48157 COND_PLATFORM_MAC_1=""
48158 fi
48159
48160 COND_PLATFORM_MSDOS_0="#"
48161 if test "x$PLATFORM_MSDOS" = "x0" ; then
48162 COND_PLATFORM_MSDOS_0=""
48163 fi
48164
48165 COND_PLATFORM_MSDOS_1="#"
48166 if test "x$PLATFORM_MSDOS" = "x1" ; then
48167 COND_PLATFORM_MSDOS_1=""
48168 fi
48169
48170 COND_PLATFORM_OS2_1="#"
48171 if test "x$PLATFORM_OS2" = "x1" ; then
48172 COND_PLATFORM_OS2_1=""
48173 fi
48174
48175 COND_PLATFORM_UNIX_0="#"
48176 if test "x$PLATFORM_UNIX" = "x0" ; then
48177 COND_PLATFORM_UNIX_0=""
48178 fi
48179
48180 COND_PLATFORM_UNIX_1="#"
48181 if test "x$PLATFORM_UNIX" = "x1" ; then
48182 COND_PLATFORM_UNIX_1=""
48183 fi
48184
48185 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48186 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48187 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48188 fi
48189
48190 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48191 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48192 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48193 fi
48194
48195 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48196 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48197 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48198 fi
48199
48200 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48201 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48202 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48203 fi
48204
48205 COND_PLATFORM_WIN32_0="#"
48206 if test "x$PLATFORM_WIN32" = "x0" ; then
48207 COND_PLATFORM_WIN32_0=""
48208 fi
48209
48210 COND_PLATFORM_WIN32_1="#"
48211 if test "x$PLATFORM_WIN32" = "x1" ; then
48212 COND_PLATFORM_WIN32_1=""
48213 fi
48214
48215 COND_SHARED_0="#"
48216 if test "x$SHARED" = "x0" ; then
48217 COND_SHARED_0=""
48218 fi
48219
48220 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48221 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48222 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48223 fi
48224
48225 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48226 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48227 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48228 fi
48229
48230 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48231 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48232 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48233 fi
48234
48235 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48236 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48237 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48238 fi
48239
48240 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48241 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48242 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48243 fi
48244
48245 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48246 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48247 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48248 fi
48249
48250 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48251 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48252 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48253 fi
48254
48255 COND_SHARED_0_USE_STC_1="#"
48256 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48257 COND_SHARED_0_USE_STC_1=""
48258 fi
48259
48260 COND_SHARED_0_USE_XRC_1="#"
48261 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48262 COND_SHARED_0_USE_XRC_1=""
48263 fi
48264
48265 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48266 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48267 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48268 fi
48269
48270 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48271 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48272 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48273 fi
48274
48275 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48276 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48277 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48278 fi
48279
48280 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48281 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48282 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48283 fi
48284
48285 COND_SHARED_1="#"
48286 if test "x$SHARED" = "x1" ; then
48287 COND_SHARED_1=""
48288 fi
48289
48290 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48291 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48292 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48293 fi
48294
48295 COND_SHARED_1_USE_XRC_1="#"
48296 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48297 COND_SHARED_1_USE_XRC_1=""
48298 fi
48299
48300 COND_TOOLKIT_="#"
48301 if test "x$TOOLKIT" = "x" ; then
48302 COND_TOOLKIT_=""
48303 fi
48304
48305 COND_TOOLKIT_COCOA="#"
48306 if test "x$TOOLKIT" = "xCOCOA" ; then
48307 COND_TOOLKIT_COCOA=""
48308 fi
48309
48310 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48311 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48312 COND_TOOLKIT_COCOA_USE_GUI_1=""
48313 fi
48314
48315 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48316 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48317 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48318 fi
48319
48320 COND_TOOLKIT_DFB="#"
48321 if test "x$TOOLKIT" = "xDFB" ; then
48322 COND_TOOLKIT_DFB=""
48323 fi
48324
48325 COND_TOOLKIT_DFB_USE_GUI_1="#"
48326 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48327 COND_TOOLKIT_DFB_USE_GUI_1=""
48328 fi
48329
48330 COND_TOOLKIT_GTK="#"
48331 if test "x$TOOLKIT" = "xGTK" ; then
48332 COND_TOOLKIT_GTK=""
48333 fi
48334
48335 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48336 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48337 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48338 fi
48339
48340 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48341 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48342 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48343 fi
48344
48345 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48346 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48347 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48348 fi
48349
48350 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48351 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48352 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48353 fi
48354
48355 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48356 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48357 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48358 fi
48359
48360 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48361 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48362 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48363 fi
48364
48365 COND_TOOLKIT_GTK_USE_GUI_1="#"
48366 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48367 COND_TOOLKIT_GTK_USE_GUI_1=""
48368 fi
48369
48370 COND_TOOLKIT_MAC="#"
48371 if test "x$TOOLKIT" = "xMAC" ; then
48372 COND_TOOLKIT_MAC=""
48373 fi
48374
48375 COND_TOOLKIT_MAC_USE_GUI_1="#"
48376 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48377 COND_TOOLKIT_MAC_USE_GUI_1=""
48378 fi
48379
48380 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48381 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48382 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48383 fi
48384
48385 COND_TOOLKIT_MGL="#"
48386 if test "x$TOOLKIT" = "xMGL" ; then
48387 COND_TOOLKIT_MGL=""
48388 fi
48389
48390 COND_TOOLKIT_MGL_USE_GUI_1="#"
48391 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48392 COND_TOOLKIT_MGL_USE_GUI_1=""
48393 fi
48394
48395 COND_TOOLKIT_MOTIF="#"
48396 if test "x$TOOLKIT" = "xMOTIF" ; then
48397 COND_TOOLKIT_MOTIF=""
48398 fi
48399
48400 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48401 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48402 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48403 fi
48404
48405 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48406 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48407 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48408 fi
48409
48410 COND_TOOLKIT_MSW="#"
48411 if test "x$TOOLKIT" = "xMSW" ; then
48412 COND_TOOLKIT_MSW=""
48413 fi
48414
48415 COND_TOOLKIT_MSW_USE_GUI_1="#"
48416 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48417 COND_TOOLKIT_MSW_USE_GUI_1=""
48418 fi
48419
48420 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48421 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48422 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48423 fi
48424
48425 COND_TOOLKIT_MSW_WXUNIV_0="#"
48426 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48427 COND_TOOLKIT_MSW_WXUNIV_0=""
48428 fi
48429
48430 COND_TOOLKIT_PM="#"
48431 if test "x$TOOLKIT" = "xPM" ; then
48432 COND_TOOLKIT_PM=""
48433 fi
48434
48435 COND_TOOLKIT_PM_USE_GUI_1="#"
48436 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48437 COND_TOOLKIT_PM_USE_GUI_1=""
48438 fi
48439
48440 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48441 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48442 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48443 fi
48444
48445 COND_TOOLKIT_WINCE="#"
48446 if test "x$TOOLKIT" = "xWINCE" ; then
48447 COND_TOOLKIT_WINCE=""
48448 fi
48449
48450 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48451 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48452 COND_TOOLKIT_WINCE_USE_GUI_1=""
48453 fi
48454
48455 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48456 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48457 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48458 fi
48459
48460 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48461 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48462 COND_TOOLKIT_WINCE_WXUNIV_0=""
48463 fi
48464
48465 COND_TOOLKIT_X11="#"
48466 if test "x$TOOLKIT" = "xX11" ; then
48467 COND_TOOLKIT_X11=""
48468 fi
48469
48470 COND_TOOLKIT_X11_USE_GUI_1="#"
48471 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48472 COND_TOOLKIT_X11_USE_GUI_1=""
48473 fi
48474
48475 COND_UNICODE_1="#"
48476 if test "x$UNICODE" = "x1" ; then
48477 COND_UNICODE_1=""
48478 fi
48479
48480 COND_USE_EXCEPTIONS_0="#"
48481 if test "x$USE_EXCEPTIONS" = "x0" ; then
48482 COND_USE_EXCEPTIONS_0=""
48483 fi
48484
48485 COND_USE_EXCEPTIONS_1="#"
48486 if test "x$USE_EXCEPTIONS" = "x1" ; then
48487 COND_USE_EXCEPTIONS_1=""
48488 fi
48489
48490 COND_USE_GUI_0="#"
48491 if test "x$USE_GUI" = "x0" ; then
48492 COND_USE_GUI_0=""
48493 fi
48494
48495 COND_USE_GUI_1="#"
48496 if test "x$USE_GUI" = "x1" ; then
48497 COND_USE_GUI_1=""
48498 fi
48499
48500 COND_USE_GUI_1_USE_OPENGL_1="#"
48501 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48502 COND_USE_GUI_1_USE_OPENGL_1=""
48503 fi
48504
48505 COND_USE_GUI_1_WXUNIV_0="#"
48506 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48507 COND_USE_GUI_1_WXUNIV_0=""
48508 fi
48509
48510 COND_USE_GUI_1_WXUNIV_1="#"
48511 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48512 COND_USE_GUI_1_WXUNIV_1=""
48513 fi
48514
48515 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48516 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48517 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48518 fi
48519
48520 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48521 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48522 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48523 fi
48524
48525 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48526 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48527 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48528 fi
48529
48530 COND_USE_ODBC_1="#"
48531 if test "x$USE_ODBC" = "x1" ; then
48532 COND_USE_ODBC_1=""
48533 fi
48534
48535 COND_USE_OPENGL_1="#"
48536 if test "x$USE_OPENGL" = "x1" ; then
48537 COND_USE_OPENGL_1=""
48538 fi
48539
48540 COND_USE_PCH_1="#"
48541 if test "x$USE_PCH" = "x1" ; then
48542 COND_USE_PCH_1=""
48543 fi
48544
48545 COND_USE_PLUGINS_0="#"
48546 if test "x$USE_PLUGINS" = "x0" ; then
48547 COND_USE_PLUGINS_0=""
48548 fi
48549
48550 COND_USE_RTTI_0="#"
48551 if test "x$USE_RTTI" = "x0" ; then
48552 COND_USE_RTTI_0=""
48553 fi
48554
48555 COND_USE_RTTI_1="#"
48556 if test "x$USE_RTTI" = "x1" ; then
48557 COND_USE_RTTI_1=""
48558 fi
48559
48560 COND_USE_SOSYMLINKS_1="#"
48561 if test "x$USE_SOSYMLINKS" = "x1" ; then
48562 COND_USE_SOSYMLINKS_1=""
48563 fi
48564
48565 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48566 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48567 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48568 fi
48569
48570 COND_USE_SOVERLINUX_1="#"
48571 if test "x$USE_SOVERLINUX" = "x1" ; then
48572 COND_USE_SOVERLINUX_1=""
48573 fi
48574
48575 COND_USE_SOVERSION_0="#"
48576 if test "x$USE_SOVERSION" = "x0" ; then
48577 COND_USE_SOVERSION_0=""
48578 fi
48579
48580 COND_USE_SOVERSOLARIS_1="#"
48581 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48582 COND_USE_SOVERSOLARIS_1=""
48583 fi
48584
48585 COND_USE_STC_1="#"
48586 if test "x$USE_STC" = "x1" ; then
48587 COND_USE_STC_1=""
48588 fi
48589
48590 COND_USE_THREADS_0="#"
48591 if test "x$USE_THREADS" = "x0" ; then
48592 COND_USE_THREADS_0=""
48593 fi
48594
48595 COND_USE_THREADS_1="#"
48596 if test "x$USE_THREADS" = "x1" ; then
48597 COND_USE_THREADS_1=""
48598 fi
48599
48600 COND_USE_XRC_1="#"
48601 if test "x$USE_XRC" = "x1" ; then
48602 COND_USE_XRC_1=""
48603 fi
48604
48605 COND_WINDOWS_IMPLIB_1="#"
48606 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48607 COND_WINDOWS_IMPLIB_1=""
48608 fi
48609
48610 COND_WITH_PLUGIN_SDL_1="#"
48611 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48612 COND_WITH_PLUGIN_SDL_1=""
48613 fi
48614
48615 COND_WXUNIV_0="#"
48616 if test "x$WXUNIV" = "x0" ; then
48617 COND_WXUNIV_0=""
48618 fi
48619
48620 COND_WXUNIV_1="#"
48621 if test "x$WXUNIV" = "x1" ; then
48622 COND_WXUNIV_1=""
48623 fi
48624
48625 COND_WXUSE_EXPAT_BUILTIN="#"
48626 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48627 COND_WXUSE_EXPAT_BUILTIN=""
48628 fi
48629
48630 COND_WXUSE_LIBJPEG_BUILTIN="#"
48631 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48632 COND_WXUSE_LIBJPEG_BUILTIN=""
48633 fi
48634
48635 COND_WXUSE_LIBPNG_BUILTIN="#"
48636 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48637 COND_WXUSE_LIBPNG_BUILTIN=""
48638 fi
48639
48640 COND_WXUSE_LIBTIFF_BUILTIN="#"
48641 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48642 COND_WXUSE_LIBTIFF_BUILTIN=""
48643 fi
48644
48645 COND_WXUSE_ODBC_BUILTIN="#"
48646 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48647 COND_WXUSE_ODBC_BUILTIN=""
48648 fi
48649
48650 COND_WXUSE_REGEX_BUILTIN="#"
48651 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48652 COND_WXUSE_REGEX_BUILTIN=""
48653 fi
48654
48655 COND_WXUSE_ZLIB_BUILTIN="#"
48656 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48657 COND_WXUSE_ZLIB_BUILTIN=""
48658 fi
48659
48660
48661
48662 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48663 { { 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
48664 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;}
48665 { (exit 1); exit 1; }; }
48666 fi
48667
48668 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48669 { { 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
48670 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;}
48671 { (exit 1); exit 1; }; }
48672 fi
48673
48674
48675 if test $GCC_PCH = 1
48676 then
48677 if test "$wx_cv_gcc_pch_bug" = yes; then
48678 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48679 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48680 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48681 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48682 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48683 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48684 fi
48685
48686 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48687 fi
48688
48689
48690 if test "$wxUSE_MAC" = 1 ; then
48691 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48692 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48693 mv temp bk-deps
48694 chmod +x bk-deps
48695 fi
48696 fi
48697
48698 if test "$wxUSE_SHARED" = "yes"; then
48699
48700 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48701 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48702
48703 case "${host}" in
48704 *-pc-os2_emx | *-pc-os2-emx )
48705 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48706 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48707 cp -p ${srcdir}/src/os2/dllnames.sh .
48708 cp -p ${srcdir}/src/os2/dllar.sh .
48709 ;;
48710 esac
48711 else
48712
48713 EXE_LINKER="$CXX -o"
48714
48715 fi
48716 if test "$wxUSE_OMF" = "yes"; then
48717 case "${host}" in
48718 *-pc-os2_emx | *-pc-os2-emx )
48719 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48720 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48721 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48722 ;;
48723 esac
48724 fi
48725
48726 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48727
48728 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48729
48730
48731
48732
48733
48734
48735
48736
48737
48738
48739
48740
48741
48742
48743
48744
48745
48746
48747
48748
48749
48750
48751
48752
48753
48754
48755
48756
48757
48758
48759
48760
48761
48762
48763
48764
48765
48766
48767
48768
48769
48770
48771
48772
48773
48774
48775
48776
48777
48778
48779
48780
48781
48782
48783
48784
48785
48786
48787
48788
48789
48790 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48791 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48792 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48793 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48794 echo $ECHO_N "(cached) $ECHO_C" >&6
48795 else
48796 cat >conftest.make <<\_ACEOF
48797 all:
48798 @echo 'ac_maketemp="$(MAKE)"'
48799 _ACEOF
48800 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48801 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48802 if test -n "$ac_maketemp"; then
48803 eval ac_cv_prog_make_${ac_make}_set=yes
48804 else
48805 eval ac_cv_prog_make_${ac_make}_set=no
48806 fi
48807 rm -f conftest.make
48808 fi
48809 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48810 echo "$as_me:$LINENO: result: yes" >&5
48811 echo "${ECHO_T}yes" >&6
48812 SET_MAKE=
48813 else
48814 echo "$as_me:$LINENO: result: no" >&5
48815 echo "${ECHO_T}no" >&6
48816 SET_MAKE="MAKE=${MAKE-make}"
48817 fi
48818
48819
48820
48821 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48822
48823
48824 if test "$USE_WIN32" = 1; then
48825 ac_config_commands="$ac_config_commands
48826 rcdefs.h
48827 "
48828
48829 fi
48830
48831 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48832
48833
48834 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48835
48836
48837 if test "$wx_cv_version_script" = "yes"; then
48838 ac_config_files="$ac_config_files version-script"
48839
48840 fi
48841 ac_config_files="$ac_config_files Makefile"
48842
48843
48844 ac_config_commands="$ac_config_commands wx-config"
48845
48846
48847
48848 if test "$wxWITH_SUBDIRS" != "no"; then
48849 if test "$wxUSE_GUI" = "yes"; then
48850 SUBDIRS="samples demos utils"
48851 else SUBDIRS="samples utils"
48852 fi
48853
48854
48855
48856 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48857 if test "${with_cppunit_prefix+set}" = set; then
48858 withval="$with_cppunit_prefix"
48859 cppunit_config_prefix="$withval"
48860 else
48861 cppunit_config_prefix=""
48862 fi;
48863
48864 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48865 if test "${with_cppunit_exec_prefix+set}" = set; then
48866 withval="$with_cppunit_exec_prefix"
48867 cppunit_config_exec_prefix="$withval"
48868 else
48869 cppunit_config_exec_prefix=""
48870 fi;
48871
48872 if test x$cppunit_config_exec_prefix != x ; then
48873 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48874 if test x${CPPUNIT_CONFIG+set} != xset ; then
48875 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48876 fi
48877 fi
48878 if test x$cppunit_config_prefix != x ; then
48879 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48880 if test x${CPPUNIT_CONFIG+set} != xset ; then
48881 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48882 fi
48883 fi
48884
48885 # Extract the first word of "cppunit-config", so it can be a program name with args.
48886 set dummy cppunit-config; ac_word=$2
48887 echo "$as_me:$LINENO: checking for $ac_word" >&5
48888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48889 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48890 echo $ECHO_N "(cached) $ECHO_C" >&6
48891 else
48892 case $CPPUNIT_CONFIG in
48893 [\\/]* | ?:[\\/]*)
48894 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48895 ;;
48896 *)
48897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48898 for as_dir in $PATH
48899 do
48900 IFS=$as_save_IFS
48901 test -z "$as_dir" && as_dir=.
48902 for ac_exec_ext in '' $ac_executable_extensions; do
48903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48904 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48906 break 2
48907 fi
48908 done
48909 done
48910
48911 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48912 ;;
48913 esac
48914 fi
48915 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48916
48917 if test -n "$CPPUNIT_CONFIG"; then
48918 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48919 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48920 else
48921 echo "$as_me:$LINENO: result: no" >&5
48922 echo "${ECHO_T}no" >&6
48923 fi
48924
48925 cppunit_version_min=1.8.0
48926
48927 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48928 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48929 no_cppunit=""
48930 if test "$CPPUNIT_CONFIG" = "no" ; then
48931 echo "$as_me:$LINENO: result: no" >&5
48932 echo "${ECHO_T}no" >&6
48933 no_cppunit=yes
48934 else
48935 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48936 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48937 cppunit_version=`$CPPUNIT_CONFIG --version`
48938
48939 cppunit_major_version=`echo $cppunit_version | \
48940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48941 cppunit_minor_version=`echo $cppunit_version | \
48942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48943 cppunit_micro_version=`echo $cppunit_version | \
48944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48945
48946 cppunit_major_min=`echo $cppunit_version_min | \
48947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48948 if test "x${cppunit_major_min}" = "x" ; then
48949 cppunit_major_min=0
48950 fi
48951
48952 cppunit_minor_min=`echo $cppunit_version_min | \
48953 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48954 if test "x${cppunit_minor_min}" = "x" ; then
48955 cppunit_minor_min=0
48956 fi
48957
48958 cppunit_micro_min=`echo $cppunit_version_min | \
48959 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48960 if test "x${cppunit_micro_min}" = "x" ; then
48961 cppunit_micro_min=0
48962 fi
48963
48964 cppunit_version_proper=`expr \
48965 $cppunit_major_version \> $cppunit_major_min \| \
48966 $cppunit_major_version \= $cppunit_major_min \& \
48967 $cppunit_minor_version \> $cppunit_minor_min \| \
48968 $cppunit_major_version \= $cppunit_major_min \& \
48969 $cppunit_minor_version \= $cppunit_minor_min \& \
48970 $cppunit_micro_version \>= $cppunit_micro_min `
48971
48972 if test "$cppunit_version_proper" = "1" ; then
48973 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48974 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48975 else
48976 echo "$as_me:$LINENO: result: no" >&5
48977 echo "${ECHO_T}no" >&6
48978 no_cppunit=yes
48979 fi
48980 fi
48981
48982 if test "x$no_cppunit" = x ; then
48983 SUBDIRS="$SUBDIRS tests"
48984 else
48985 CPPUNIT_CFLAGS=""
48986 CPPUNIT_LIBS=""
48987 :
48988 fi
48989
48990
48991
48992
48993
48994 for subdir in `echo $SUBDIRS`; do
48995 if test -d ${srcdir}/${subdir} ; then
48996 if test "$wxUSE_GUI" = "yes"; then
48997 if test ${subdir} = "samples"; then
48998 makefiles="samples/Makefile.in $makefiles"
48999 for sample in `echo $SAMPLES_SUBDIRS`; do
49000 if test -d $srcdir/samples/$sample; then
49001 makefiles="samples/$sample/Makefile.in $makefiles"
49002 fi
49003 done
49004 else
49005 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49006 eval "disabled=\$$disabled_var"
49007 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49008 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49009 fi
49010 else if test ${subdir} = "samples"; then
49011 makefiles="samples/Makefile.in samples/console/Makefile.in"
49012 elif test ${subdir} = "utils"; then
49013 makefiles=""
49014 for util in HelpGen tex2rtf ; do
49015 if test -d $srcdir/utils/$util ; then
49016 makefiles="utils/$util/Makefile.in \
49017 utils/$util/src/Makefile.in \
49018 $makefiles"
49019 fi
49020 done
49021 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49022 fi
49023 fi
49024
49025 for mkin in $makefiles ; do
49026 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49027 ac_config_files="$ac_config_files $mk"
49028
49029 done
49030 fi
49031 done
49032 fi
49033 cat >confcache <<\_ACEOF
49034 # This file is a shell script that caches the results of configure
49035 # tests run on this system so they can be shared between configure
49036 # scripts and configure runs, see configure's option --config-cache.
49037 # It is not useful on other systems. If it contains results you don't
49038 # want to keep, you may remove or edit it.
49039 #
49040 # config.status only pays attention to the cache file if you give it
49041 # the --recheck option to rerun configure.
49042 #
49043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49045 # following values.
49046
49047 _ACEOF
49048
49049 # The following way of writing the cache mishandles newlines in values,
49050 # but we know of no workaround that is simple, portable, and efficient.
49051 # So, don't put newlines in cache variables' values.
49052 # Ultrix sh set writes to stderr and can't be redirected directly,
49053 # and sets the high bit in the cache file unless we assign to the vars.
49054 {
49055 (set) 2>&1 |
49056 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49057 *ac_space=\ *)
49058 # `set' does not quote correctly, so add quotes (double-quote
49059 # substitution turns \\\\ into \\, and sed turns \\ into \).
49060 sed -n \
49061 "s/'/'\\\\''/g;
49062 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49063 ;;
49064 *)
49065 # `set' quotes correctly as required by POSIX, so do not add quotes.
49066 sed -n \
49067 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49068 ;;
49069 esac;
49070 } |
49071 sed '
49072 t clear
49073 : clear
49074 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49075 t end
49076 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49077 : end' >>confcache
49078 if diff $cache_file confcache >/dev/null 2>&1; then :; else
49079 if test -w $cache_file; then
49080 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49081 cat confcache >$cache_file
49082 else
49083 echo "not updating unwritable cache $cache_file"
49084 fi
49085 fi
49086 rm -f confcache
49087
49088 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49089 # Let make expand exec_prefix.
49090 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49091
49092 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49093 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49094 # trailing colons and then remove the whole line if VPATH becomes empty
49095 # (actually we leave an empty line to preserve line numbers).
49096 if test "x$srcdir" = x.; then
49097 ac_vpsub='/^[ ]*VPATH[ ]*=/{
49098 s/:*\$(srcdir):*/:/;
49099 s/:*\${srcdir}:*/:/;
49100 s/:*@srcdir@:*/:/;
49101 s/^\([^=]*=[ ]*\):*/\1/;
49102 s/:*$//;
49103 s/^[^=]*=[ ]*$//;
49104 }'
49105 fi
49106
49107 DEFS=-DHAVE_CONFIG_H
49108
49109 ac_libobjs=
49110 ac_ltlibobjs=
49111 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49112 # 1. Remove the extension, and $U if already installed.
49113 ac_i=`echo "$ac_i" |
49114 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49115 # 2. Add them.
49116 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
49117 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
49118 done
49119 LIBOBJS=$ac_libobjs
49120
49121 LTLIBOBJS=$ac_ltlibobjs
49122
49123
49124
49125 : ${CONFIG_STATUS=./config.status}
49126 ac_clean_files_save=$ac_clean_files
49127 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49128 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49129 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49130 cat >$CONFIG_STATUS <<_ACEOF
49131 #! $SHELL
49132 # Generated by $as_me.
49133 # Run this file to recreate the current configuration.
49134 # Compiler output produced by configure, useful for debugging
49135 # configure, is in config.log if it exists.
49136
49137 debug=false
49138 ac_cs_recheck=false
49139 ac_cs_silent=false
49140 SHELL=\${CONFIG_SHELL-$SHELL}
49141 _ACEOF
49142
49143 cat >>$CONFIG_STATUS <<\_ACEOF
49144 ## --------------------- ##
49145 ## M4sh Initialization. ##
49146 ## --------------------- ##
49147
49148 # Be Bourne compatible
49149 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49150 emulate sh
49151 NULLCMD=:
49152 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49153 # is contrary to our usage. Disable this feature.
49154 alias -g '${1+"$@"}'='"$@"'
49155 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49156 set -o posix
49157 fi
49158 DUALCASE=1; export DUALCASE # for MKS sh
49159
49160 # Support unset when possible.
49161 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49162 as_unset=unset
49163 else
49164 as_unset=false
49165 fi
49166
49167
49168 # Work around bugs in pre-3.0 UWIN ksh.
49169 $as_unset ENV MAIL MAILPATH
49170 PS1='$ '
49171 PS2='> '
49172 PS4='+ '
49173
49174 # NLS nuisances.
49175 for as_var in \
49176 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49177 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49178 LC_TELEPHONE LC_TIME
49179 do
49180 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49181 eval $as_var=C; export $as_var
49182 else
49183 $as_unset $as_var
49184 fi
49185 done
49186
49187 # Required to use basename.
49188 if expr a : '\(a\)' >/dev/null 2>&1; then
49189 as_expr=expr
49190 else
49191 as_expr=false
49192 fi
49193
49194 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
49195 as_basename=basename
49196 else
49197 as_basename=false
49198 fi
49199
49200
49201 # Name of the executable.
49202 as_me=`$as_basename "$0" ||
49203 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49204 X"$0" : 'X\(//\)$' \| \
49205 X"$0" : 'X\(/\)$' \| \
49206 . : '\(.\)' 2>/dev/null ||
49207 echo X/"$0" |
49208 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49209 /^X\/\(\/\/\)$/{ s//\1/; q; }
49210 /^X\/\(\/\).*/{ s//\1/; q; }
49211 s/.*/./; q'`
49212
49213
49214 # PATH needs CR, and LINENO needs CR and PATH.
49215 # Avoid depending upon Character Ranges.
49216 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49217 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49218 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49219 as_cr_digits='0123456789'
49220 as_cr_alnum=$as_cr_Letters$as_cr_digits
49221
49222 # The user is always right.
49223 if test "${PATH_SEPARATOR+set}" != set; then
49224 echo "#! /bin/sh" >conf$$.sh
49225 echo "exit 0" >>conf$$.sh
49226 chmod +x conf$$.sh
49227 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49228 PATH_SEPARATOR=';'
49229 else
49230 PATH_SEPARATOR=:
49231 fi
49232 rm -f conf$$.sh
49233 fi
49234
49235
49236 as_lineno_1=$LINENO
49237 as_lineno_2=$LINENO
49238 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49239 test "x$as_lineno_1" != "x$as_lineno_2" &&
49240 test "x$as_lineno_3" = "x$as_lineno_2" || {
49241 # Find who we are. Look in the path if we contain no path at all
49242 # relative or not.
49243 case $0 in
49244 *[\\/]* ) as_myself=$0 ;;
49245 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49246 for as_dir in $PATH
49247 do
49248 IFS=$as_save_IFS
49249 test -z "$as_dir" && as_dir=.
49250 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49251 done
49252
49253 ;;
49254 esac
49255 # We did not find ourselves, most probably we were run as `sh COMMAND'
49256 # in which case we are not to be found in the path.
49257 if test "x$as_myself" = x; then
49258 as_myself=$0
49259 fi
49260 if test ! -f "$as_myself"; then
49261 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49262 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49263 { (exit 1); exit 1; }; }
49264 fi
49265 case $CONFIG_SHELL in
49266 '')
49267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49268 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
49269 do
49270 IFS=$as_save_IFS
49271 test -z "$as_dir" && as_dir=.
49272 for as_base in sh bash ksh sh5; do
49273 case $as_dir in
49274 /*)
49275 if ("$as_dir/$as_base" -c '
49276 as_lineno_1=$LINENO
49277 as_lineno_2=$LINENO
49278 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49279 test "x$as_lineno_1" != "x$as_lineno_2" &&
49280 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
49281 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
49282 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
49283 CONFIG_SHELL=$as_dir/$as_base
49284 export CONFIG_SHELL
49285 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49286 fi;;
49287 esac
49288 done
49289 done
49290 ;;
49291 esac
49292
49293 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49294 # uniformly replaced by the line number. The first 'sed' inserts a
49295 # line-number line before each line; the second 'sed' does the real
49296 # work. The second script uses 'N' to pair each line-number line
49297 # with the numbered line, and appends trailing '-' during
49298 # substitution so that $LINENO is not a special case at line end.
49299 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49300 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49301 sed '=' <$as_myself |
49302 sed '
49303 N
49304 s,$,-,
49305 : loop
49306 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49307 t loop
49308 s,-$,,
49309 s,^['$as_cr_digits']*\n,,
49310 ' >$as_me.lineno &&
49311 chmod +x $as_me.lineno ||
49312 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49313 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49314 { (exit 1); exit 1; }; }
49315
49316 # Don't try to exec as it changes $[0], causing all sort of problems
49317 # (the dirname of $[0] is not the place where we might find the
49318 # original and so on. Autoconf is especially sensible to this).
49319 . ./$as_me.lineno
49320 # Exit status is that of the last command.
49321 exit
49322 }
49323
49324
49325 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49326 *c*,-n*) ECHO_N= ECHO_C='
49327 ' ECHO_T=' ' ;;
49328 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
49329 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
49330 esac
49331
49332 if expr a : '\(a\)' >/dev/null 2>&1; then
49333 as_expr=expr
49334 else
49335 as_expr=false
49336 fi
49337
49338 rm -f conf$$ conf$$.exe conf$$.file
49339 echo >conf$$.file
49340 if ln -s conf$$.file conf$$ 2>/dev/null; then
49341 # We could just check for DJGPP; but this test a) works b) is more generic
49342 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49343 if test -f conf$$.exe; then
49344 # Don't use ln at all; we don't have any links
49345 as_ln_s='cp -p'
49346 else
49347 as_ln_s='ln -s'
49348 fi
49349 elif ln conf$$.file conf$$ 2>/dev/null; then
49350 as_ln_s=ln
49351 else
49352 as_ln_s='cp -p'
49353 fi
49354 rm -f conf$$ conf$$.exe conf$$.file
49355
49356 if mkdir -p . 2>/dev/null; then
49357 as_mkdir_p=:
49358 else
49359 test -d ./-p && rmdir ./-p
49360 as_mkdir_p=false
49361 fi
49362
49363 as_executable_p="test -f"
49364
49365 # Sed expression to map a string onto a valid CPP name.
49366 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49367
49368 # Sed expression to map a string onto a valid variable name.
49369 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49370
49371
49372 # IFS
49373 # We need space, tab and new line, in precisely that order.
49374 as_nl='
49375 '
49376 IFS=" $as_nl"
49377
49378 # CDPATH.
49379 $as_unset CDPATH
49380
49381 exec 6>&1
49382
49383 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49384 # report actual input values of CONFIG_FILES etc. instead of their
49385 # values after options handling. Logging --version etc. is OK.
49386 exec 5>>config.log
49387 {
49388 echo
49389 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49390 ## Running $as_me. ##
49391 _ASBOX
49392 } >&5
49393 cat >&5 <<_CSEOF
49394
49395 This file was extended by wxWidgets $as_me 2.9.0, which was
49396 generated by GNU Autoconf 2.59. Invocation command line was
49397
49398 CONFIG_FILES = $CONFIG_FILES
49399 CONFIG_HEADERS = $CONFIG_HEADERS
49400 CONFIG_LINKS = $CONFIG_LINKS
49401 CONFIG_COMMANDS = $CONFIG_COMMANDS
49402 $ $0 $@
49403
49404 _CSEOF
49405 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49406 echo >&5
49407 _ACEOF
49408
49409 # Files that config.status was made for.
49410 if test -n "$ac_config_files"; then
49411 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49412 fi
49413
49414 if test -n "$ac_config_headers"; then
49415 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49416 fi
49417
49418 if test -n "$ac_config_links"; then
49419 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49420 fi
49421
49422 if test -n "$ac_config_commands"; then
49423 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49424 fi
49425
49426 cat >>$CONFIG_STATUS <<\_ACEOF
49427
49428 ac_cs_usage="\
49429 \`$as_me' instantiates files from templates according to the
49430 current configuration.
49431
49432 Usage: $0 [OPTIONS] [FILE]...
49433
49434 -h, --help print this help, then exit
49435 -V, --version print version number, then exit
49436 -q, --quiet do not print progress messages
49437 -d, --debug don't remove temporary files
49438 --recheck update $as_me by reconfiguring in the same conditions
49439 --file=FILE[:TEMPLATE]
49440 instantiate the configuration file FILE
49441 --header=FILE[:TEMPLATE]
49442 instantiate the configuration header FILE
49443
49444 Configuration files:
49445 $config_files
49446
49447 Configuration headers:
49448 $config_headers
49449
49450 Configuration commands:
49451 $config_commands
49452
49453 Report bugs to <bug-autoconf@gnu.org>."
49454 _ACEOF
49455
49456 cat >>$CONFIG_STATUS <<_ACEOF
49457 ac_cs_version="\\
49458 wxWidgets config.status 2.9.0
49459 configured by $0, generated by GNU Autoconf 2.59,
49460 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49461
49462 Copyright (C) 2003 Free Software Foundation, Inc.
49463 This config.status script is free software; the Free Software Foundation
49464 gives unlimited permission to copy, distribute and modify it."
49465 srcdir=$srcdir
49466 INSTALL="$INSTALL"
49467 _ACEOF
49468
49469 cat >>$CONFIG_STATUS <<\_ACEOF
49470 # If no file are specified by the user, then we need to provide default
49471 # value. By we need to know if files were specified by the user.
49472 ac_need_defaults=:
49473 while test $# != 0
49474 do
49475 case $1 in
49476 --*=*)
49477 ac_option=`expr "x$1" : 'x\([^=]*\)='`
49478 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
49479 ac_shift=:
49480 ;;
49481 -*)
49482 ac_option=$1
49483 ac_optarg=$2
49484 ac_shift=shift
49485 ;;
49486 *) # This is not an option, so the user has probably given explicit
49487 # arguments.
49488 ac_option=$1
49489 ac_need_defaults=false;;
49490 esac
49491
49492 case $ac_option in
49493 # Handling of the options.
49494 _ACEOF
49495 cat >>$CONFIG_STATUS <<\_ACEOF
49496 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49497 ac_cs_recheck=: ;;
49498 --version | --vers* | -V )
49499 echo "$ac_cs_version"; exit 0 ;;
49500 --he | --h)
49501 # Conflict between --help and --header
49502 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49503 Try \`$0 --help' for more information." >&5
49504 echo "$as_me: error: ambiguous option: $1
49505 Try \`$0 --help' for more information." >&2;}
49506 { (exit 1); exit 1; }; };;
49507 --help | --hel | -h )
49508 echo "$ac_cs_usage"; exit 0 ;;
49509 --debug | --d* | -d )
49510 debug=: ;;
49511 --file | --fil | --fi | --f )
49512 $ac_shift
49513 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49514 ac_need_defaults=false;;
49515 --header | --heade | --head | --hea )
49516 $ac_shift
49517 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49518 ac_need_defaults=false;;
49519 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49520 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49521 ac_cs_silent=: ;;
49522
49523 # This is an error.
49524 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49525 Try \`$0 --help' for more information." >&5
49526 echo "$as_me: error: unrecognized option: $1
49527 Try \`$0 --help' for more information." >&2;}
49528 { (exit 1); exit 1; }; } ;;
49529
49530 *) ac_config_targets="$ac_config_targets $1" ;;
49531
49532 esac
49533 shift
49534 done
49535
49536 ac_configure_extra_args=
49537
49538 if $ac_cs_silent; then
49539 exec 6>/dev/null
49540 ac_configure_extra_args="$ac_configure_extra_args --silent"
49541 fi
49542
49543 _ACEOF
49544 cat >>$CONFIG_STATUS <<_ACEOF
49545 if \$ac_cs_recheck; then
49546 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49547 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49548 fi
49549
49550 _ACEOF
49551
49552 cat >>$CONFIG_STATUS <<_ACEOF
49553 #
49554 # INIT-COMMANDS section.
49555 #
49556
49557
49558 CPP="$CPP"
49559 infile="$srcdir/include/wx/msw/genrcdefs.h"
49560 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49561
49562
49563 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49564 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49565 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49566 LN_S="${LN_S}"
49567
49568
49569 _ACEOF
49570
49571
49572
49573 cat >>$CONFIG_STATUS <<\_ACEOF
49574 for ac_config_target in $ac_config_targets
49575 do
49576 case "$ac_config_target" in
49577 # Handling of arguments.
49578 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49579 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49580 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
49581 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49582 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
49583 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49584 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49585 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49586 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49587 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49588 { (exit 1); exit 1; }; };;
49589 esac
49590 done
49591
49592 # If the user did not use the arguments to specify the items to instantiate,
49593 # then the envvar interface is used. Set only those that are not.
49594 # We use the long form for the default assignment because of an extremely
49595 # bizarre bug on SunOS 4.1.3.
49596 if $ac_need_defaults; then
49597 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49598 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49599 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49600 fi
49601
49602 # Have a temporary directory for convenience. Make it in the build tree
49603 # simply because there is no reason to put it here, and in addition,
49604 # creating and moving files from /tmp can sometimes cause problems.
49605 # Create a temporary directory, and hook for its removal unless debugging.
49606 $debug ||
49607 {
49608 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49609 trap '{ (exit 1); exit 1; }' 1 2 13 15
49610 }
49611
49612 # Create a (secure) tmp directory for tmp files.
49613
49614 {
49615 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49616 test -n "$tmp" && test -d "$tmp"
49617 } ||
49618 {
49619 tmp=./confstat$$-$RANDOM
49620 (umask 077 && mkdir $tmp)
49621 } ||
49622 {
49623 echo "$me: cannot create a temporary directory in ." >&2
49624 { (exit 1); exit 1; }
49625 }
49626
49627 _ACEOF
49628
49629 cat >>$CONFIG_STATUS <<_ACEOF
49630
49631 #
49632 # CONFIG_FILES section.
49633 #
49634
49635 # No need to generate the scripts if there are no CONFIG_FILES.
49636 # This happens for instance when ./config.status config.h
49637 if test -n "\$CONFIG_FILES"; then
49638 # Protect against being on the right side of a sed subst in config.status.
49639 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49640 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49641 s,@SHELL@,$SHELL,;t t
49642 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49643 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49644 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49645 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49646 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49647 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49648 s,@exec_prefix@,$exec_prefix,;t t
49649 s,@prefix@,$prefix,;t t
49650 s,@program_transform_name@,$program_transform_name,;t t
49651 s,@bindir@,$bindir,;t t
49652 s,@sbindir@,$sbindir,;t t
49653 s,@libexecdir@,$libexecdir,;t t
49654 s,@datadir@,$datadir,;t t
49655 s,@sysconfdir@,$sysconfdir,;t t
49656 s,@sharedstatedir@,$sharedstatedir,;t t
49657 s,@localstatedir@,$localstatedir,;t t
49658 s,@libdir@,$libdir,;t t
49659 s,@includedir@,$includedir,;t t
49660 s,@oldincludedir@,$oldincludedir,;t t
49661 s,@infodir@,$infodir,;t t
49662 s,@mandir@,$mandir,;t t
49663 s,@build_alias@,$build_alias,;t t
49664 s,@host_alias@,$host_alias,;t t
49665 s,@target_alias@,$target_alias,;t t
49666 s,@DEFS@,$DEFS,;t t
49667 s,@ECHO_C@,$ECHO_C,;t t
49668 s,@ECHO_N@,$ECHO_N,;t t
49669 s,@ECHO_T@,$ECHO_T,;t t
49670 s,@LIBS@,$LIBS,;t t
49671 s,@build@,$build,;t t
49672 s,@build_cpu@,$build_cpu,;t t
49673 s,@build_vendor@,$build_vendor,;t t
49674 s,@build_os@,$build_os,;t t
49675 s,@host@,$host,;t t
49676 s,@host_cpu@,$host_cpu,;t t
49677 s,@host_vendor@,$host_vendor,;t t
49678 s,@host_os@,$host_os,;t t
49679 s,@target@,$target,;t t
49680 s,@target_cpu@,$target_cpu,;t t
49681 s,@target_vendor@,$target_vendor,;t t
49682 s,@target_os@,$target_os,;t t
49683 s,@wx_top_builddir@,$wx_top_builddir,;t t
49684 s,@CC@,$CC,;t t
49685 s,@CFLAGS@,$CFLAGS,;t t
49686 s,@LDFLAGS@,$LDFLAGS,;t t
49687 s,@CPPFLAGS@,$CPPFLAGS,;t t
49688 s,@ac_ct_CC@,$ac_ct_CC,;t t
49689 s,@EXEEXT@,$EXEEXT,;t t
49690 s,@OBJEXT@,$OBJEXT,;t t
49691 s,@CPP@,$CPP,;t t
49692 s,@EGREP@,$EGREP,;t t
49693 s,@CXX@,$CXX,;t t
49694 s,@CXXFLAGS@,$CXXFLAGS,;t t
49695 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49696 s,@RANLIB@,$RANLIB,;t t
49697 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49698 s,@AR@,$AR,;t t
49699 s,@ac_ct_AR@,$ac_ct_AR,;t t
49700 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49701 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49702 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49703 s,@STRIP@,$STRIP,;t t
49704 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49705 s,@WINDRES@,$WINDRES,;t t
49706 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49707 s,@DLLTOOL@,$DLLTOOL,;t t
49708 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49709 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49710 s,@LN_S@,$LN_S,;t t
49711 s,@subdirs@,$subdirs,;t t
49712 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49713 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49714 s,@GTK_LIBS@,$GTK_LIBS,;t t
49715 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49716 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
49717 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
49718 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
49719 s,@X_CFLAGS@,$X_CFLAGS,;t t
49720 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49721 s,@X_LIBS@,$X_LIBS,;t t
49722 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49723 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49724 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49725 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49726 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49727 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49728 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49729 s,@REZ@,$REZ,;t t
49730 s,@DEREZ@,$DEREZ,;t t
49731 s,@SETFILE@,$SETFILE,;t t
49732 s,@LIBICONV@,$LIBICONV,;t t
49733 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49734 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49735 s,@SDL_LIBS@,$SDL_LIBS,;t t
49736 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49737 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49738 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49739 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49740 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49741 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49742 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
49743 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
49744 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49745 s,@GST_LIBS@,$GST_LIBS,;t t
49746 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49747 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49748 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49749 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49750 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49751 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49752 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49753 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49754 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49755 s,@VENDOR@,$VENDOR,;t t
49756 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49757 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49758 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49759 s,@WXUNIV@,$WXUNIV,;t t
49760 s,@MONOLITHIC@,$MONOLITHIC,;t t
49761 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49762 s,@CXXWARNINGS@,$CXXWARNINGS,;t t
49763 s,@EXTRALIBS@,$EXTRALIBS,;t t
49764 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49765 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49766 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49767 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49768 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49769 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49770 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49771 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49772 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49773 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49774 s,@UNICODE@,$UNICODE,;t t
49775 s,@BUILD@,$BUILD,;t t
49776 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49777 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49778 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49779 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49780 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49781 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49782 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49783 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49784 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49785 s,@SET_MAKE@,$SET_MAKE,;t t
49786 s,@MAKE_SET@,$MAKE_SET,;t t
49787 s,@AROPTIONS@,$AROPTIONS,;t t
49788 s,@NM@,$NM,;t t
49789 s,@ac_ct_NM@,$ac_ct_NM,;t t
49790 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49791 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49792 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49793 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49794 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49795 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49796 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49797 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49798 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49799 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49800 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49801 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49802 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49803 s,@LIBPREFIX@,$LIBPREFIX,;t t
49804 s,@LIBEXT@,$LIBEXT,;t t
49805 s,@DLLPREFIX@,$DLLPREFIX,;t t
49806 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49807 s,@dlldir@,$dlldir,;t t
49808 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49809 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49810 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49811 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49812 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49813 s,@PIC_FLAG@,$PIC_FLAG,;t t
49814 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49815 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49816 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49817 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49818 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49819 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49820 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49821 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49822 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49823 s,@BK_DEPS@,$BK_DEPS,;t t
49824 s,@GCC_PCH@,$GCC_PCH,;t t
49825 s,@ICC_PCH@,$ICC_PCH,;t t
49826 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
49827 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49828 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49829 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49830 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49831 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49832 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49833 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49834 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49835 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49836 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49837 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49838 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49839 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49840 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49841 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49842 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49843 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49844 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49845 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49846 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49847 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
49848 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1,;t t
49849 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
49850 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
49851 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49852 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
49853 s,@COND_MONOLITHIC_0_SHARED_0_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_STC_1,;t t
49854 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49855 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49856 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49857 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49858 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
49859 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1,;t t
49860 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
49861 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
49862 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49863 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
49864 s,@COND_MONOLITHIC_0_SHARED_1_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_STC_1,;t t
49865 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49866 s,@COND_MONOLITHIC_0_USE_AUI_1@,$COND_MONOLITHIC_0_USE_AUI_1,;t t
49867 s,@COND_MONOLITHIC_0_USE_GUI_1@,$COND_MONOLITHIC_0_USE_GUI_1,;t t
49868 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1,;t t
49869 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1,;t t
49870 s,@COND_MONOLITHIC_0_USE_HTML_1@,$COND_MONOLITHIC_0_USE_HTML_1,;t t
49871 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49872 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49873 s,@COND_MONOLITHIC_0_USE_QA_1@,$COND_MONOLITHIC_0_USE_QA_1,;t t
49874 s,@COND_MONOLITHIC_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_USE_RICHTEXT_1,;t t
49875 s,@COND_MONOLITHIC_0_USE_STC_1@,$COND_MONOLITHIC_0_USE_STC_1,;t t
49876 s,@COND_MONOLITHIC_0_USE_XRC_1@,$COND_MONOLITHIC_0_USE_XRC_1,;t t
49877 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49878 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49879 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49880 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49881 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49882 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49883 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49884 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49885 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49886 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49887 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49888 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49889 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49890 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49891 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49892 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49893 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49894 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49895 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49896 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49897 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49898 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49899 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49900 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49901 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
49902 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
49903 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49904 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49905 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49906 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49907 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49908 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49909 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49910 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49911 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49912 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49913 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49914 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49915 s,@COND_SHARED_0_USE_STC_1@,$COND_SHARED_0_USE_STC_1,;t t
49916 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49917 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49918 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49919 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49920 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49921 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49922 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49923 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49924 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49925 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49926 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49927 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49928 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
49929 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
49930 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49931 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49932 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49933 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49934 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
49935 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49936 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49937 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49938 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49939 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49940 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49941 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49942 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49943 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49944 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49945 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49946 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49947 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49948 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49949 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49950 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49951 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49952 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49953 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49954 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49955 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49956 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49957 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49958 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49959 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49960 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49961 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49962 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49963 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49964 s,@COND_USE_GUI_1_USE_OPENGL_1@,$COND_USE_GUI_1_USE_OPENGL_1,;t t
49965 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49966 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49967 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49968 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49969 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49970 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49971 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49972 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49973 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49974 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49975 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49976 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49977 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49978 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49979 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49980 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49981 s,@COND_USE_STC_1@,$COND_USE_STC_1,;t t
49982 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49983 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49984 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49985 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49986 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49987 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49988 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49989 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49990 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49991 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49992 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49993 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49994 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49995 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49996 s,@SHARED@,$SHARED,;t t
49997 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49998 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49999 s,@USE_GUI@,$USE_GUI,;t t
50000 s,@AFMINSTALL@,$AFMINSTALL,;t t
50001 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50002 s,@TOOLKIT@,$TOOLKIT,;t t
50003 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50004 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50005 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50006 s,@cross_compiling@,$cross_compiling,;t t
50007 s,@WIDGET_SET@,$WIDGET_SET,;t t
50008 s,@WX_RELEASE@,$WX_RELEASE,;t t
50009 s,@WX_VERSION@,$WX_VERSION,;t t
50010 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50011 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50012 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50013 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50014 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50015 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50016 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50017 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50018 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50019 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50020 s,@EXE_LINKER@,$EXE_LINKER,;t t
50021 s,@GUIDIST@,$GUIDIST,;t t
50022 s,@DISTDIR@,$DISTDIR,;t t
50023 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50024 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50025 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50026 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50027 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50028 s,@RESCOMP@,$RESCOMP,;t t
50029 s,@RESFLAGS@,$RESFLAGS,;t t
50030 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50031 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50032 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50033 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50034 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50035 s,@MACSETFILE@,$MACSETFILE,;t t
50036 s,@GCC@,$GCC,;t t
50037 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50038 s,@LIBOBJS@,$LIBOBJS,;t t
50039 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50040 CEOF
50041
50042 _ACEOF
50043
50044 cat >>$CONFIG_STATUS <<\_ACEOF
50045 # Split the substitutions into bite-sized pieces for seds with
50046 # small command number limits, like on Digital OSF/1 and HP-UX.
50047 ac_max_sed_lines=48
50048 ac_sed_frag=1 # Number of current file.
50049 ac_beg=1 # First line for current file.
50050 ac_end=$ac_max_sed_lines # Line after last line for current file.
50051 ac_more_lines=:
50052 ac_sed_cmds=
50053 while $ac_more_lines; do
50054 if test $ac_beg -gt 1; then
50055 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50056 else
50057 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50058 fi
50059 if test ! -s $tmp/subs.frag; then
50060 ac_more_lines=false
50061 else
50062 # The purpose of the label and of the branching condition is to
50063 # speed up the sed processing (if there are no `@' at all, there
50064 # is no need to browse any of the substitutions).
50065 # These are the two extra sed commands mentioned above.
50066 (echo ':t
50067 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
50068 if test -z "$ac_sed_cmds"; then
50069 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
50070 else
50071 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50072 fi
50073 ac_sed_frag=`expr $ac_sed_frag + 1`
50074 ac_beg=$ac_end
50075 ac_end=`expr $ac_end + $ac_max_sed_lines`
50076 fi
50077 done
50078 if test -z "$ac_sed_cmds"; then
50079 ac_sed_cmds=cat
50080 fi
50081 fi # test -n "$CONFIG_FILES"
50082
50083 _ACEOF
50084 cat >>$CONFIG_STATUS <<\_ACEOF
50085 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
50086 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50087 case $ac_file in
50088 - | *:- | *:-:* ) # input from stdin
50089 cat >$tmp/stdin
50090 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50091 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50092 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50093 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50094 * ) ac_file_in=$ac_file.in ;;
50095 esac
50096
50097 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50098 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50099 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50100 X"$ac_file" : 'X\(//\)[^/]' \| \
50101 X"$ac_file" : 'X\(//\)$' \| \
50102 X"$ac_file" : 'X\(/\)' \| \
50103 . : '\(.\)' 2>/dev/null ||
50104 echo X"$ac_file" |
50105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50106 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50107 /^X\(\/\/\)$/{ s//\1/; q; }
50108 /^X\(\/\).*/{ s//\1/; q; }
50109 s/.*/./; q'`
50110 { if $as_mkdir_p; then
50111 mkdir -p "$ac_dir"
50112 else
50113 as_dir="$ac_dir"
50114 as_dirs=
50115 while test ! -d "$as_dir"; do
50116 as_dirs="$as_dir $as_dirs"
50117 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50118 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50119 X"$as_dir" : 'X\(//\)[^/]' \| \
50120 X"$as_dir" : 'X\(//\)$' \| \
50121 X"$as_dir" : 'X\(/\)' \| \
50122 . : '\(.\)' 2>/dev/null ||
50123 echo X"$as_dir" |
50124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50125 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50126 /^X\(\/\/\)$/{ s//\1/; q; }
50127 /^X\(\/\).*/{ s//\1/; q; }
50128 s/.*/./; q'`
50129 done
50130 test ! -n "$as_dirs" || mkdir $as_dirs
50131 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50132 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50133 { (exit 1); exit 1; }; }; }
50134
50135 ac_builddir=.
50136
50137 if test "$ac_dir" != .; then
50138 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50139 # A "../" for each directory in $ac_dir_suffix.
50140 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50141 else
50142 ac_dir_suffix= ac_top_builddir=
50143 fi
50144
50145 case $srcdir in
50146 .) # No --srcdir option. We are building in place.
50147 ac_srcdir=.
50148 if test -z "$ac_top_builddir"; then
50149 ac_top_srcdir=.
50150 else
50151 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50152 fi ;;
50153 [\\/]* | ?:[\\/]* ) # Absolute path.
50154 ac_srcdir=$srcdir$ac_dir_suffix;
50155 ac_top_srcdir=$srcdir ;;
50156 *) # Relative path.
50157 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50158 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50159 esac
50160
50161 # Do not use `cd foo && pwd` to compute absolute paths, because
50162 # the directories may not exist.
50163 case `pwd` in
50164 .) ac_abs_builddir="$ac_dir";;
50165 *)
50166 case "$ac_dir" in
50167 .) ac_abs_builddir=`pwd`;;
50168 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50169 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50170 esac;;
50171 esac
50172 case $ac_abs_builddir in
50173 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50174 *)
50175 case ${ac_top_builddir}. in
50176 .) ac_abs_top_builddir=$ac_abs_builddir;;
50177 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50178 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50179 esac;;
50180 esac
50181 case $ac_abs_builddir in
50182 .) ac_abs_srcdir=$ac_srcdir;;
50183 *)
50184 case $ac_srcdir in
50185 .) ac_abs_srcdir=$ac_abs_builddir;;
50186 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50187 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50188 esac;;
50189 esac
50190 case $ac_abs_builddir in
50191 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50192 *)
50193 case $ac_top_srcdir in
50194 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50195 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50196 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50197 esac;;
50198 esac
50199
50200
50201 case $INSTALL in
50202 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50203 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
50204 esac
50205
50206 if test x"$ac_file" != x-; then
50207 { echo "$as_me:$LINENO: creating $ac_file" >&5
50208 echo "$as_me: creating $ac_file" >&6;}
50209 rm -f "$ac_file"
50210 fi
50211 # Let's still pretend it is `configure' which instantiates (i.e., don't
50212 # use $as_me), people would be surprised to read:
50213 # /* config.h. Generated by config.status. */
50214 if test x"$ac_file" = x-; then
50215 configure_input=
50216 else
50217 configure_input="$ac_file. "
50218 fi
50219 configure_input=$configure_input"Generated from `echo $ac_file_in |
50220 sed 's,.*/,,'` by configure."
50221
50222 # First look for the input files in the build tree, otherwise in the
50223 # src tree.
50224 ac_file_inputs=`IFS=:
50225 for f in $ac_file_in; do
50226 case $f in
50227 -) echo $tmp/stdin ;;
50228 [\\/$]*)
50229 # Absolute (can't be DOS-style, as IFS=:)
50230 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50231 echo "$as_me: error: cannot find input file: $f" >&2;}
50232 { (exit 1); exit 1; }; }
50233 echo "$f";;
50234 *) # Relative
50235 if test -f "$f"; then
50236 # Build tree
50237 echo "$f"
50238 elif test -f "$srcdir/$f"; then
50239 # Source tree
50240 echo "$srcdir/$f"
50241 else
50242 # /dev/null tree
50243 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50244 echo "$as_me: error: cannot find input file: $f" >&2;}
50245 { (exit 1); exit 1; }; }
50246 fi;;
50247 esac
50248 done` || { (exit 1); exit 1; }
50249 _ACEOF
50250 cat >>$CONFIG_STATUS <<_ACEOF
50251 sed "$ac_vpsub
50252 $extrasub
50253 _ACEOF
50254 cat >>$CONFIG_STATUS <<\_ACEOF
50255 :t
50256 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50257 s,@configure_input@,$configure_input,;t t
50258 s,@srcdir@,$ac_srcdir,;t t
50259 s,@abs_srcdir@,$ac_abs_srcdir,;t t
50260 s,@top_srcdir@,$ac_top_srcdir,;t t
50261 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
50262 s,@builddir@,$ac_builddir,;t t
50263 s,@abs_builddir@,$ac_abs_builddir,;t t
50264 s,@top_builddir@,$ac_top_builddir,;t t
50265 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
50266 s,@INSTALL@,$ac_INSTALL,;t t
50267 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50268 rm -f $tmp/stdin
50269 if test x"$ac_file" != x-; then
50270 mv $tmp/out $ac_file
50271 else
50272 cat $tmp/out
50273 rm -f $tmp/out
50274 fi
50275
50276 # Run the commands associated with the file.
50277 case $ac_file in
50278 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50279 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50280 esac
50281 done
50282 _ACEOF
50283 cat >>$CONFIG_STATUS <<\_ACEOF
50284
50285 #
50286 # CONFIG_HEADER section.
50287 #
50288
50289 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
50290 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50291 #
50292 # ac_d sets the value in "#define NAME VALUE" lines.
50293 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50294 ac_dB='[ ].*$,\1#\2'
50295 ac_dC=' '
50296 ac_dD=',;t'
50297 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50298 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50299 ac_uB='$,\1#\2define\3'
50300 ac_uC=' '
50301 ac_uD=',;t'
50302
50303 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
50304 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50305 case $ac_file in
50306 - | *:- | *:-:* ) # input from stdin
50307 cat >$tmp/stdin
50308 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50309 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50310 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50311 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50312 * ) ac_file_in=$ac_file.in ;;
50313 esac
50314
50315 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50316 echo "$as_me: creating $ac_file" >&6;}
50317
50318 # First look for the input files in the build tree, otherwise in the
50319 # src tree.
50320 ac_file_inputs=`IFS=:
50321 for f in $ac_file_in; do
50322 case $f in
50323 -) echo $tmp/stdin ;;
50324 [\\/$]*)
50325 # Absolute (can't be DOS-style, as IFS=:)
50326 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50327 echo "$as_me: error: cannot find input file: $f" >&2;}
50328 { (exit 1); exit 1; }; }
50329 # Do quote $f, to prevent DOS paths from being IFS'd.
50330 echo "$f";;
50331 *) # Relative
50332 if test -f "$f"; then
50333 # Build tree
50334 echo "$f"
50335 elif test -f "$srcdir/$f"; then
50336 # Source tree
50337 echo "$srcdir/$f"
50338 else
50339 # /dev/null tree
50340 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50341 echo "$as_me: error: cannot find input file: $f" >&2;}
50342 { (exit 1); exit 1; }; }
50343 fi;;
50344 esac
50345 done` || { (exit 1); exit 1; }
50346 # Remove the trailing spaces.
50347 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50348
50349 _ACEOF
50350
50351 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50352 # `conftest.undefs', that substitutes the proper values into
50353 # config.h.in to produce config.h. The first handles `#define'
50354 # templates, and the second `#undef' templates.
50355 # And first: Protect against being on the right side of a sed subst in
50356 # config.status. Protect against being in an unquoted here document
50357 # in config.status.
50358 rm -f conftest.defines conftest.undefs
50359 # Using a here document instead of a string reduces the quoting nightmare.
50360 # Putting comments in sed scripts is not portable.
50361 #
50362 # `end' is used to avoid that the second main sed command (meant for
50363 # 0-ary CPP macros) applies to n-ary macro definitions.
50364 # See the Autoconf documentation for `clear'.
50365 cat >confdef2sed.sed <<\_ACEOF
50366 s/[\\&,]/\\&/g
50367 s,[\\$`],\\&,g
50368 t clear
50369 : clear
50370 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50371 t end
50372 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50373 : end
50374 _ACEOF
50375 # If some macros were called several times there might be several times
50376 # the same #defines, which is useless. Nevertheless, we may not want to
50377 # sort them, since we want the *last* AC-DEFINE to be honored.
50378 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50379 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50380 rm -f confdef2sed.sed
50381
50382 # This sed command replaces #undef with comments. This is necessary, for
50383 # example, in the case of _POSIX_SOURCE, which is predefined and required
50384 # on some systems where configure will not decide to define it.
50385 cat >>conftest.undefs <<\_ACEOF
50386 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50387 _ACEOF
50388
50389 # Break up conftest.defines because some shells have a limit on the size
50390 # of here documents, and old seds have small limits too (100 cmds).
50391 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50392 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50393 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50394 echo ' :' >>$CONFIG_STATUS
50395 rm -f conftest.tail
50396 while grep . conftest.defines >/dev/null
50397 do
50398 # Write a limited-size here document to $tmp/defines.sed.
50399 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50400 # Speed up: don't consider the non `#define' lines.
50401 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50402 # Work around the forget-to-reset-the-flag bug.
50403 echo 't clr' >>$CONFIG_STATUS
50404 echo ': clr' >>$CONFIG_STATUS
50405 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
50406 echo 'CEOF
50407 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50408 rm -f $tmp/in
50409 mv $tmp/out $tmp/in
50410 ' >>$CONFIG_STATUS
50411 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
50412 rm -f conftest.defines
50413 mv conftest.tail conftest.defines
50414 done
50415 rm -f conftest.defines
50416 echo ' fi # grep' >>$CONFIG_STATUS
50417 echo >>$CONFIG_STATUS
50418
50419 # Break up conftest.undefs because some shells have a limit on the size
50420 # of here documents, and old seds have small limits too (100 cmds).
50421 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50422 rm -f conftest.tail
50423 while grep . conftest.undefs >/dev/null
50424 do
50425 # Write a limited-size here document to $tmp/undefs.sed.
50426 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50427 # Speed up: don't consider the non `#undef'
50428 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50429 # Work around the forget-to-reset-the-flag bug.
50430 echo 't clr' >>$CONFIG_STATUS
50431 echo ': clr' >>$CONFIG_STATUS
50432 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50433 echo 'CEOF
50434 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50435 rm -f $tmp/in
50436 mv $tmp/out $tmp/in
50437 ' >>$CONFIG_STATUS
50438 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50439 rm -f conftest.undefs
50440 mv conftest.tail conftest.undefs
50441 done
50442 rm -f conftest.undefs
50443
50444 cat >>$CONFIG_STATUS <<\_ACEOF
50445 # Let's still pretend it is `configure' which instantiates (i.e., don't
50446 # use $as_me), people would be surprised to read:
50447 # /* config.h. Generated by config.status. */
50448 if test x"$ac_file" = x-; then
50449 echo "/* Generated by configure. */" >$tmp/config.h
50450 else
50451 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50452 fi
50453 cat $tmp/in >>$tmp/config.h
50454 rm -f $tmp/in
50455 if test x"$ac_file" != x-; then
50456 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
50457 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50458 echo "$as_me: $ac_file is unchanged" >&6;}
50459 else
50460 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50461 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50462 X"$ac_file" : 'X\(//\)[^/]' \| \
50463 X"$ac_file" : 'X\(//\)$' \| \
50464 X"$ac_file" : 'X\(/\)' \| \
50465 . : '\(.\)' 2>/dev/null ||
50466 echo X"$ac_file" |
50467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50468 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50469 /^X\(\/\/\)$/{ s//\1/; q; }
50470 /^X\(\/\).*/{ s//\1/; q; }
50471 s/.*/./; q'`
50472 { if $as_mkdir_p; then
50473 mkdir -p "$ac_dir"
50474 else
50475 as_dir="$ac_dir"
50476 as_dirs=
50477 while test ! -d "$as_dir"; do
50478 as_dirs="$as_dir $as_dirs"
50479 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50480 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50481 X"$as_dir" : 'X\(//\)[^/]' \| \
50482 X"$as_dir" : 'X\(//\)$' \| \
50483 X"$as_dir" : 'X\(/\)' \| \
50484 . : '\(.\)' 2>/dev/null ||
50485 echo X"$as_dir" |
50486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50487 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50488 /^X\(\/\/\)$/{ s//\1/; q; }
50489 /^X\(\/\).*/{ s//\1/; q; }
50490 s/.*/./; q'`
50491 done
50492 test ! -n "$as_dirs" || mkdir $as_dirs
50493 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50494 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50495 { (exit 1); exit 1; }; }; }
50496
50497 rm -f $ac_file
50498 mv $tmp/config.h $ac_file
50499 fi
50500 else
50501 cat $tmp/config.h
50502 rm -f $tmp/config.h
50503 fi
50504 done
50505 _ACEOF
50506 cat >>$CONFIG_STATUS <<\_ACEOF
50507
50508 #
50509 # CONFIG_COMMANDS section.
50510 #
50511 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
50512 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
50513 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
50514 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
50515 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50516 X"$ac_dest" : 'X\(//\)[^/]' \| \
50517 X"$ac_dest" : 'X\(//\)$' \| \
50518 X"$ac_dest" : 'X\(/\)' \| \
50519 . : '\(.\)' 2>/dev/null ||
50520 echo X"$ac_dest" |
50521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50522 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50523 /^X\(\/\/\)$/{ s//\1/; q; }
50524 /^X\(\/\).*/{ s//\1/; q; }
50525 s/.*/./; q'`
50526 { if $as_mkdir_p; then
50527 mkdir -p "$ac_dir"
50528 else
50529 as_dir="$ac_dir"
50530 as_dirs=
50531 while test ! -d "$as_dir"; do
50532 as_dirs="$as_dir $as_dirs"
50533 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50534 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50535 X"$as_dir" : 'X\(//\)[^/]' \| \
50536 X"$as_dir" : 'X\(//\)$' \| \
50537 X"$as_dir" : 'X\(/\)' \| \
50538 . : '\(.\)' 2>/dev/null ||
50539 echo X"$as_dir" |
50540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50541 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50542 /^X\(\/\/\)$/{ s//\1/; q; }
50543 /^X\(\/\).*/{ s//\1/; q; }
50544 s/.*/./; q'`
50545 done
50546 test ! -n "$as_dirs" || mkdir $as_dirs
50547 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50548 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50549 { (exit 1); exit 1; }; }; }
50550
50551 ac_builddir=.
50552
50553 if test "$ac_dir" != .; then
50554 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50555 # A "../" for each directory in $ac_dir_suffix.
50556 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50557 else
50558 ac_dir_suffix= ac_top_builddir=
50559 fi
50560
50561 case $srcdir in
50562 .) # No --srcdir option. We are building in place.
50563 ac_srcdir=.
50564 if test -z "$ac_top_builddir"; then
50565 ac_top_srcdir=.
50566 else
50567 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50568 fi ;;
50569 [\\/]* | ?:[\\/]* ) # Absolute path.
50570 ac_srcdir=$srcdir$ac_dir_suffix;
50571 ac_top_srcdir=$srcdir ;;
50572 *) # Relative path.
50573 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50574 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50575 esac
50576
50577 # Do not use `cd foo && pwd` to compute absolute paths, because
50578 # the directories may not exist.
50579 case `pwd` in
50580 .) ac_abs_builddir="$ac_dir";;
50581 *)
50582 case "$ac_dir" in
50583 .) ac_abs_builddir=`pwd`;;
50584 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50585 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50586 esac;;
50587 esac
50588 case $ac_abs_builddir in
50589 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50590 *)
50591 case ${ac_top_builddir}. in
50592 .) ac_abs_top_builddir=$ac_abs_builddir;;
50593 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50594 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50595 esac;;
50596 esac
50597 case $ac_abs_builddir in
50598 .) ac_abs_srcdir=$ac_srcdir;;
50599 *)
50600 case $ac_srcdir in
50601 .) ac_abs_srcdir=$ac_abs_builddir;;
50602 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50603 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50604 esac;;
50605 esac
50606 case $ac_abs_builddir in
50607 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50608 *)
50609 case $ac_top_srcdir in
50610 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50611 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50612 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50613 esac;;
50614 esac
50615
50616
50617 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50618 echo "$as_me: executing $ac_dest commands" >&6;}
50619 case $ac_dest in
50620 rcdefs.h )
50621 mkdir -p $outdir &&
50622 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50623 ;;
50624 wx-config ) rm -f wx-config
50625 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50626 ;;
50627 esac
50628 done
50629 _ACEOF
50630
50631 cat >>$CONFIG_STATUS <<\_ACEOF
50632
50633 { (exit 0); exit 0; }
50634 _ACEOF
50635 chmod +x $CONFIG_STATUS
50636 ac_clean_files=$ac_clean_files_save
50637
50638
50639 # configure is writing to config.log, and then calls config.status.
50640 # config.status does its own redirection, appending to config.log.
50641 # Unfortunately, on DOS this fails, as config.log is still kept open
50642 # by configure, so config.status won't be able to write to it; its
50643 # output is simply discarded. So we exec the FD to /dev/null,
50644 # effectively closing config.log, so it can be properly (re)opened and
50645 # appended to by config.status. When coming back to configure, we
50646 # need to make the FD available again.
50647 if test "$no_create" != yes; then
50648 ac_cs_success=:
50649 ac_config_status_args=
50650 test "$silent" = yes &&
50651 ac_config_status_args="$ac_config_status_args --quiet"
50652 exec 5>/dev/null
50653 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50654 exec 5>>config.log
50655 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50656 # would make configure fail if this is the last instruction.
50657 $ac_cs_success || { (exit 1); exit 1; }
50658 fi
50659
50660 #
50661 # CONFIG_SUBDIRS section.
50662 #
50663 if test "$no_recursion" != yes; then
50664
50665 # Remove --cache-file and --srcdir arguments so they do not pile up.
50666 ac_sub_configure_args=
50667 ac_prev=
50668 for ac_arg in $ac_configure_args; do
50669 if test -n "$ac_prev"; then
50670 ac_prev=
50671 continue
50672 fi
50673 case $ac_arg in
50674 -cache-file | --cache-file | --cache-fil | --cache-fi \
50675 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50676 ac_prev=cache_file ;;
50677 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50678 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50679 | --c=*)
50680 ;;
50681 --config-cache | -C)
50682 ;;
50683 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50684 ac_prev=srcdir ;;
50685 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50686 ;;
50687 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50688 ac_prev=prefix ;;
50689 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50690 ;;
50691 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
50692 esac
50693 done
50694
50695 # Always prepend --prefix to ensure using the same prefix
50696 # in subdir configurations.
50697 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
50698
50699 ac_popdir=`pwd`
50700 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50701
50702 # Do not complain, so a configure script can configure whichever
50703 # parts of a large source tree are present.
50704 test -d $srcdir/$ac_dir || continue
50705
50706 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50707 echo "$as_me: configuring in $ac_dir" >&6;}
50708 { if $as_mkdir_p; then
50709 mkdir -p "$ac_dir"
50710 else
50711 as_dir="$ac_dir"
50712 as_dirs=
50713 while test ! -d "$as_dir"; do
50714 as_dirs="$as_dir $as_dirs"
50715 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50716 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50717 X"$as_dir" : 'X\(//\)[^/]' \| \
50718 X"$as_dir" : 'X\(//\)$' \| \
50719 X"$as_dir" : 'X\(/\)' \| \
50720 . : '\(.\)' 2>/dev/null ||
50721 echo X"$as_dir" |
50722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50724 /^X\(\/\/\)$/{ s//\1/; q; }
50725 /^X\(\/\).*/{ s//\1/; q; }
50726 s/.*/./; q'`
50727 done
50728 test ! -n "$as_dirs" || mkdir $as_dirs
50729 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50730 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50731 { (exit 1); exit 1; }; }; }
50732
50733 ac_builddir=.
50734
50735 if test "$ac_dir" != .; then
50736 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50737 # A "../" for each directory in $ac_dir_suffix.
50738 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50739 else
50740 ac_dir_suffix= ac_top_builddir=
50741 fi
50742
50743 case $srcdir in
50744 .) # No --srcdir option. We are building in place.
50745 ac_srcdir=.
50746 if test -z "$ac_top_builddir"; then
50747 ac_top_srcdir=.
50748 else
50749 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50750 fi ;;
50751 [\\/]* | ?:[\\/]* ) # Absolute path.
50752 ac_srcdir=$srcdir$ac_dir_suffix;
50753 ac_top_srcdir=$srcdir ;;
50754 *) # Relative path.
50755 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50756 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50757 esac
50758
50759 # Do not use `cd foo && pwd` to compute absolute paths, because
50760 # the directories may not exist.
50761 case `pwd` in
50762 .) ac_abs_builddir="$ac_dir";;
50763 *)
50764 case "$ac_dir" in
50765 .) ac_abs_builddir=`pwd`;;
50766 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50767 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50768 esac;;
50769 esac
50770 case $ac_abs_builddir in
50771 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50772 *)
50773 case ${ac_top_builddir}. in
50774 .) ac_abs_top_builddir=$ac_abs_builddir;;
50775 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50776 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50777 esac;;
50778 esac
50779 case $ac_abs_builddir in
50780 .) ac_abs_srcdir=$ac_srcdir;;
50781 *)
50782 case $ac_srcdir in
50783 .) ac_abs_srcdir=$ac_abs_builddir;;
50784 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50785 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50786 esac;;
50787 esac
50788 case $ac_abs_builddir in
50789 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50790 *)
50791 case $ac_top_srcdir in
50792 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50793 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50794 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50795 esac;;
50796 esac
50797
50798
50799 cd $ac_dir
50800
50801 # Check for guested configure; otherwise get Cygnus style configure.
50802 if test -f $ac_srcdir/configure.gnu; then
50803 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
50804 elif test -f $ac_srcdir/configure; then
50805 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
50806 elif test -f $ac_srcdir/configure.in; then
50807 ac_sub_configure=$ac_configure
50808 else
50809 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50810 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50811 ac_sub_configure=
50812 fi
50813
50814 # The recursion is here.
50815 if test -n "$ac_sub_configure"; then
50816 # Make the cache file name correct relative to the subdirectory.
50817 case $cache_file in
50818 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50819 *) # Relative path.
50820 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
50821 esac
50822
50823 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50824 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50825 # The eval makes quoting arguments work.
50826 eval $ac_sub_configure $ac_sub_configure_args \
50827 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50828 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50829 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50830 { (exit 1); exit 1; }; }
50831 fi
50832
50833 cd $ac_popdir
50834 done
50835 fi
50836
50837
50838 echo
50839 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50840 echo ""
50841 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50842 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50843
50844 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50845 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50846 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50847
50848 echo " What level of wxWidgets compatibility should be enabled?"
50849 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50850 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50851
50852 echo " Which libraries should wxWidgets use?"
50853 echo " jpeg ${wxUSE_LIBJPEG-none}"
50854 echo " png ${wxUSE_LIBPNG-none}"
50855 echo " regex ${wxUSE_REGEX}"
50856 echo " tiff ${wxUSE_LIBTIFF-none}"
50857 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50858 echo " xpm ${wxUSE_LIBXPM-none}"
50859 fi
50860 echo " zlib ${wxUSE_ZLIB}"
50861 echo " odbc ${wxUSE_ODBC}"
50862 echo " expat ${wxUSE_EXPAT}"
50863 echo " libmspack ${wxUSE_LIBMSPACK}"
50864 echo " sdl ${wxUSE_LIBSDL}"
50865
50866 echo ""
50867